fixes and modelgen insert

This commit is contained in:
2026-02-04 09:53:48 -03:00
parent b88f75fce0
commit 30b2e1cf44
52 changed files with 5317 additions and 178 deletions

View File

@@ -1,8 +1,7 @@
/**
* MPR TypeScript Types - GENERATED FILE
* TypeScript Types - GENERATED FILE
*
* Do not edit directly. Modify schema/models/*.py and run:
* python schema/generate.py --typescript
* Do not edit directly. Regenerate using modelgen.
*/
export type AssetStatus = "pending" | "ready" | "error";
@@ -72,25 +71,3 @@ export interface TranscodeJob {
started_at: string | null;
completed_at: string | null;
}
// API Request/Response Types
export interface CreateJobRequest {
source_asset_id: string;
preset_id: string | null;
trim_start: number | null;
trim_end: number | null;
output_filename: string | null;
}
export interface SystemStatus {
status: string;
version: string;
}
export interface WorkerStatus {
available: boolean;
active_jobs: number;
supported_codecs: string[];
gpu_available: boolean;
}