UNPKG

editia-core

Version:

Core services and utilities for Editia applications - Authentication, Monetization, Video Generation Types, and Database Management

18 lines 890 B
/** * Video generation constants and enums * Shared across mobile and server-primary services */ export type Language = 'en' | 'fr' | 'es' | 'de' | 'it' | 'pt' | 'ru' | 'ja' | 'ko' | 'zh'; export declare const LANGUAGES: Record<Language, string>; export declare enum VideoRequestStatus { QUEUED = "queued", PROCESSING = "rendering",// Unified name (was 'rendering' in server) COMPLETED = "done",// Unified name (was 'done' in server) FAILED = "error" } export declare const CAPTION_PLACEMENTS: readonly ["top", "center", "bottom"]; export type CaptionPlacement = typeof CAPTION_PLACEMENTS[number]; export declare const TRANSCRIPT_EFFECTS: readonly ["karaoke", "highlight", "fade", "bounce", "slide", "enlarge"]; export type TranscriptEffect = typeof TRANSCRIPT_EFFECTS[number]; export declare const VIDEO_DURATION_MULTIPLIER = 0.5; //# sourceMappingURL=constants.d.ts.map