Skip to content

PersistentAI API Documentation / @persistentai/fireflow-types / FileMetadataSchema

Variable: FileMetadataSchema

const FileMetadataSchema: ZodObject<{ createdAt: ZodOptional<ZodNumber>; custom: ZodOptional<ZodRecord<ZodString, ZodUnknown>>; description: ZodOptional<ZodString>; duration: ZodOptional<ZodNumber>; height: ZodOptional<ZodNumber>; originalUrl: ZodOptional<ZodString>; prompt: ZodOptional<ZodString>; sourceModel: ZodOptional<ZodString>; tags: ZodOptional<ZodArray<ZodString, "many">>; thumbnailFileId: ZodOptional<ZodString>; width: ZodOptional<ZodNumber>; }, "strip", ZodTypeAny, { createdAt?: number; custom?: Record<string, unknown>; description?: string; duration?: number; height?: number; originalUrl?: string; prompt?: string; sourceModel?: string; tags?: string[]; thumbnailFileId?: string; width?: number; }, { createdAt?: number; custom?: Record<string, unknown>; description?: string; duration?: number; height?: number; originalUrl?: string; prompt?: string; sourceModel?: string; tags?: string[]; thumbnailFileId?: string; width?: number; }>

Defined in: packages/fireflow-types/src/file/file-reference.ts:15

Licensed under BUSL-1.1