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.
TypeScript
12345678910111213import type { UsesCategoryRecord, UsesItemRecord } from './records.ts'import type { ResolvedViewImage } from './image.ts'
export type UsesItem = Omit<UsesItemRecord, '$type' | 'category' | 'image' | 'links' | 'createdAt'> & { links: { uri: string, label?: string }[] image: ResolvedViewImage | null}
export type UsesCategory = Omit<UsesCategoryRecord, '$type' | 'createdAt'> & { _id: string items: UsesItem[]}