import type { Generated, Insertable, Selectable, Updateable, } from 'kysely' export interface Database { videos: VideosTable reports: ReportsTable } export interface VideosTable { uuid: Generated id: string title: string description: string thumbnail: string source: string published: string archived: string channel: string channelId: string channelVerified: boolean channelAvatar: string playlist?: string | null disabled: boolean hasBeenReported: boolean } export type Video = Selectable export type NewVideo = Insertable export type UpdateVideo = Updateable export interface ReportsTable { uuid: Generated target: string title: string details: string date: Date } export type Report = Selectable export type NewReport = Insertable export type UpdateReport = Updateable