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
123456789101112131415import type { TalkGroupRecord, TalkRecord } from './records.ts'
type DroppedHousekeeping = '$type' | 'createdAt'type UpcomingOnly = 'endDate' | 'location' | 'image'
export type TalkGroup = Omit<TalkGroupRecord, DroppedHousekeeping> & { _id: string}
export type Talk = Omit<TalkRecord, DroppedHousekeeping | UpcomingOnly | 'title' | 'group'> & { _id: string title: string group?: TalkGroup}