UNPKG

@coursebuilder/core

Version:

Core package for Course Builder

46 lines (43 loc) 1.94 kB
import { z } from 'zod'; declare const VideoResourceSchema: z.ZodObject<{ id: z.ZodString; updatedAt: z.ZodOptional<z.ZodDate>; createdAt: z.ZodOptional<z.ZodDate>; title: z.ZodNullable<z.ZodOptional<z.ZodString>>; duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>; muxPlaybackId: z.ZodNullable<z.ZodOptional<z.ZodString>>; muxAssetId: z.ZodNullable<z.ZodOptional<z.ZodString>>; transcript: z.ZodNullable<z.ZodOptional<z.ZodString>>; transcriptWithScreenshots: z.ZodNullable<z.ZodOptional<z.ZodString>>; srt: z.ZodNullable<z.ZodOptional<z.ZodString>>; wordLevelSrt: z.ZodNullable<z.ZodOptional<z.ZodString>>; state: z.ZodEnum<["new", "processing", "preparing", "ready", "errored", "deleted"]>; }, "strip", z.ZodTypeAny, { id: string; state: "deleted" | "new" | "processing" | "preparing" | "ready" | "errored"; createdAt?: Date | undefined; updatedAt?: Date | undefined; title?: string | null | undefined; duration?: number | null | undefined; muxPlaybackId?: string | null | undefined; muxAssetId?: string | null | undefined; transcript?: string | null | undefined; transcriptWithScreenshots?: string | null | undefined; srt?: string | null | undefined; wordLevelSrt?: string | null | undefined; }, { id: string; state: "deleted" | "new" | "processing" | "preparing" | "ready" | "errored"; createdAt?: Date | undefined; updatedAt?: Date | undefined; title?: string | null | undefined; duration?: number | null | undefined; muxPlaybackId?: string | null | undefined; muxAssetId?: string | null | undefined; transcript?: string | null | undefined; transcriptWithScreenshots?: string | null | undefined; srt?: string | null | undefined; wordLevelSrt?: string | null | undefined; }>; type VideoResource = z.infer<typeof VideoResourceSchema>; export { type VideoResource, VideoResourceSchema };