@coursebuilder/core
Version:
Core package for Course Builder
31 lines (29 loc) • 796 B
JavaScript
import {
z
} from "./chunk-JLNB6NRA.js";
// src/schemas/video-resource.ts
var VideoResourceSchema = z.object({
id: z.string(),
updatedAt: z.coerce.date().optional(),
createdAt: z.coerce.date().optional(),
title: z.string().optional().nullable(),
duration: z.number().optional().nullable(),
muxPlaybackId: z.string().optional().nullable(),
muxAssetId: z.string().optional().nullable(),
transcript: z.string().optional().nullable(),
transcriptWithScreenshots: z.string().optional().nullable(),
srt: z.string().optional().nullable(),
wordLevelSrt: z.string().optional().nullable(),
state: z.enum([
"new",
"processing",
"preparing",
"ready",
"errored",
"deleted"
])
});
export {
VideoResourceSchema
};
//# sourceMappingURL=chunk-ZXRVZVJR.js.map