import { VideoAssetKind, VideoAssetProvider, type UploadReservation, type Video, type VideoAsset, type VideoVersion, } from '@prisma/client'; import { db } from '@/lib/db'; import { nextSeq } from './seq'; export interface CreateVideoInput { projectId: string; title?: string; description?: string | null; position?: number; } export async function createVideo(input: CreateVideoInput): Promise