feat: Task 1D — engineConfig singleton + mediaAsset + automatedVideo v2 by codercatdev · Pull Request #665 · CodingCatDev/codingcat.dev
and others added 2 commits
…+ config module rewrite Consolidates 6 config singletons + dashboardSettings into single engineConfig. Adds mediaAsset schema for shared image assets with source tracking. Updates automatedVideo with v2 status flow (12 states), quality gate, shorts, thumbnails, social posts, workflowId, r2Prefix. Rewrites lib/config.ts for single-document fetch.
…emove old singletons Co-authored-by: content <content@miriad.systems>
…wrappers 1. Add legacy v1 status values to automatedVideo options list so existing production documents display correctly in Studio (script_ready, audio_gen, video_gen, rendering, uploading, flagged, infographics_generating, enriching) 2. Add comments on audioUrl/videoUrl/shortUrl explaining string type is intentional — R2/CDN paths may include query params that Sanity url validator rejects 3. Replace misleading getConfig alias with real wrapper functions that accept and ignore the old table name parameter. Also adds getConfigValue wrapper. Both marked for removal in Task 1F. Co-authored-by: content <content@miriad.systems>
This was referenced
codercatdev added a commit that referenced this pull request
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters