Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/danielroe/roe.dev. This is the code and content for my personal website, built in Nuxt. roe.dev
Something went wrong. Try again.
1234567891011121314151617181920212223242526import type { dev } from '../lex/index.ts'import type { Strict } from './strict.ts'
/** * The view model the /projects page renders. Records store * `community.lexicon.app.defs` links and images; the read path picks the ones * the page uses (site link, source link, screenshot) so the page doesn't have * to know about link roles and image purposes. */export type Project = Omit<Strict<dev.roe.project.Main>, '$type' | 'category' | 'links' | 'images' | 'status' | 'createdAt'> & { url: string | null repo: string | null archived: boolean image: { url: string alt: string width: number | null height: number | null } | null}
export type ProjectCategory = Omit<Strict<dev.roe.projectCategory.Main>, '$type' | 'createdAt'> & { _id: string items: Project[]}