28 lines
634 B
TypeScript
28 lines
634 B
TypeScript
export interface MediaAsset {
|
|||
|
|
id: string;
|
||
|
|
workspace_id: string;
|
||
|
|
document_id: string;
|
||
|
|
asset_type: string;
|
||
|
|
file_url: string | null;
|
||
|
|
thumbnail_url: string | null;
|
||
|
|
file_name: string | null;
|
||
|
|
file_size: number | null;
|
||
|
|
mime_type: string | null;
|
||
|
|
ocr_text: string | null;
|
||
|
|
ocr_status: string | null;
|
||
|
|
created_at: string;
|
||
|
|
updated_at: string;
|
||
|
|
}
|
||
|
|
|
||
|
|
export interface MediaSelection {
|
||
|
|
assetId: string;
|
||
|
|
fileUrl: string;
|
||
|
|
thumbnailUrl?: string | null;
|
||
|
|
assetType?: string;
|
||
|
|
fileName?: string | null;
|
||
|
|
fileSize?: number | null;
|
||
|
|
mimeType?: string | null;
|
||
|
|
}
|
||
|
|
|
||
|
|
export type MediaKind = "image" | "video" | "audio" | "file";
|