vidspotai-shared 1.0.136 → 1.0.138

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (106) hide show
  1. package/lib/globals/aiModels/enums.d.ts +2 -0
  2. package/lib/globals/aiModels/enums.d.ts.map +1 -1
  3. package/lib/globals/aiModels/enums.js +7 -0
  4. package/lib/globals/aiModels/index.d.ts.map +1 -1
  5. package/lib/globals/aiModels/index.js +2 -0
  6. package/lib/globals/film/filmCatalog.d.ts +88 -0
  7. package/lib/globals/film/filmCatalog.d.ts.map +1 -0
  8. package/lib/globals/film/filmCatalog.js +218 -0
  9. package/lib/globals/index.d.ts +2 -0
  10. package/lib/globals/index.d.ts.map +1 -1
  11. package/lib/globals/index.js +2 -0
  12. package/lib/globals/reelRemake.d.ts +116 -0
  13. package/lib/globals/reelRemake.d.ts.map +1 -0
  14. package/lib/globals/reelRemake.js +142 -0
  15. package/lib/globals/types.d.ts +15 -1
  16. package/lib/globals/types.d.ts.map +1 -1
  17. package/lib/globals/types.js +16 -0
  18. package/lib/libs/storage/cdnUrl.d.ts +1 -3
  19. package/lib/libs/storage/cdnUrl.d.ts.map +1 -1
  20. package/lib/libs/storage/cdnUrl.js +8 -6
  21. package/lib/models/filmProject.model.d.ts +424 -0
  22. package/lib/models/filmProject.model.d.ts.map +1 -0
  23. package/lib/models/filmProject.model.js +14 -0
  24. package/lib/models/image.model.d.ts +3 -0
  25. package/lib/models/image.model.d.ts.map +1 -1
  26. package/lib/models/index.d.ts +2 -0
  27. package/lib/models/index.d.ts.map +1 -1
  28. package/lib/models/index.js +2 -0
  29. package/lib/models/reelRemake.model.d.ts +222 -0
  30. package/lib/models/reelRemake.model.d.ts.map +1 -0
  31. package/lib/models/reelRemake.model.js +2 -0
  32. package/lib/models/video.model.d.ts +5 -0
  33. package/lib/models/video.model.d.ts.map +1 -1
  34. package/lib/schemas/film.schema.d.ts +500 -0
  35. package/lib/schemas/film.schema.d.ts.map +1 -0
  36. package/lib/schemas/film.schema.js +201 -0
  37. package/lib/schemas/index.d.ts +1 -0
  38. package/lib/schemas/index.d.ts.map +1 -1
  39. package/lib/schemas/index.js +1 -0
  40. package/lib/services/agent/providerFallback/chains.d.ts.map +1 -1
  41. package/lib/services/agent/providerFallback/chains.js +13 -0
  42. package/lib/services/agent/tools/generateVideo.tool.d.ts.map +1 -1
  43. package/lib/services/agent/tools/generateVideo.tool.js +2 -1
  44. package/lib/services/aiGen/aiGenFactory.service.d.ts.map +1 -1
  45. package/lib/services/aiGen/aiGenFactory.service.js +4 -0
  46. package/lib/services/aiGen/providers/bytedance/bytedance.service.d.ts.map +1 -1
  47. package/lib/services/aiGen/providers/bytedance/bytedance.service.js +17 -0
  48. package/lib/services/aiGen/providers/fal/index.d.ts +1 -0
  49. package/lib/services/aiGen/providers/fal/index.d.ts.map +1 -1
  50. package/lib/services/aiGen/providers/fal/index.js +1 -0
  51. package/lib/services/aiGen/providers/kling/klingRequests.d.ts.map +1 -1
  52. package/lib/services/aiGen/providers/kling/klingRequests.js +3 -0
  53. package/lib/services/aiGen/providers/types.d.ts +6 -0
  54. package/lib/services/aiGen/providers/types.d.ts.map +1 -1
  55. package/lib/services/film/compileShotPrompt.d.ts +16 -0
  56. package/lib/services/film/compileShotPrompt.d.ts.map +1 -0
  57. package/lib/services/film/compileShotPrompt.js +152 -0
  58. package/lib/services/film/filmAssets.d.ts +73 -0
  59. package/lib/services/film/filmAssets.d.ts.map +1 -0
  60. package/lib/services/film/filmAssets.js +341 -0
  61. package/lib/services/film/filmCut.d.ts +159 -0
  62. package/lib/services/film/filmCut.d.ts.map +1 -0
  63. package/lib/services/film/filmCut.js +616 -0
  64. package/lib/services/film/filmPublic.d.ts +9 -0
  65. package/lib/services/film/filmPublic.d.ts.map +1 -0
  66. package/lib/services/film/filmPublic.js +39 -0
  67. package/lib/services/film/filmTakes.d.ts +65 -0
  68. package/lib/services/film/filmTakes.d.ts.map +1 -0
  69. package/lib/services/film/filmTakes.js +168 -0
  70. package/lib/services/film/writersRoom.d.ts +276 -0
  71. package/lib/services/film/writersRoom.d.ts.map +1 -0
  72. package/lib/services/film/writersRoom.js +431 -0
  73. package/lib/services/firestore.service.d.ts +7 -0
  74. package/lib/services/firestore.service.d.ts.map +1 -1
  75. package/lib/services/firestore.service.js +15 -0
  76. package/lib/services/index.d.ts +12 -0
  77. package/lib/services/index.d.ts.map +1 -1
  78. package/lib/services/index.js +12 -0
  79. package/lib/services/providerHealth.service.d.ts +12 -0
  80. package/lib/services/providerHealth.service.d.ts.map +1 -0
  81. package/lib/services/providerHealth.service.js +75 -0
  82. package/lib/services/reelRemake/castDetection.d.ts +56 -0
  83. package/lib/services/reelRemake/castDetection.d.ts.map +1 -0
  84. package/lib/services/reelRemake/castDetection.js +146 -0
  85. package/lib/services/reelRemake/castSuggestion.d.ts +43 -0
  86. package/lib/services/reelRemake/castSuggestion.d.ts.map +1 -0
  87. package/lib/services/reelRemake/castSuggestion.js +99 -0
  88. package/lib/services/reelRemake/keyframeSwap.d.ts +44 -0
  89. package/lib/services/reelRemake/keyframeSwap.d.ts.map +1 -0
  90. package/lib/services/reelRemake/keyframeSwap.js +139 -0
  91. package/lib/services/reelRemake/shootPlan.d.ts +65 -0
  92. package/lib/services/reelRemake/shootPlan.d.ts.map +1 -0
  93. package/lib/services/reelRemake/shootPlan.js +193 -0
  94. package/lib/services/reelRemake/stopWork.d.ts +54 -0
  95. package/lib/services/reelRemake/stopWork.d.ts.map +1 -0
  96. package/lib/services/reelRemake/stopWork.js +91 -0
  97. package/lib/services/translation/translation.service.d.ts +10 -1
  98. package/lib/services/translation/translation.service.d.ts.map +1 -1
  99. package/lib/services/translation/translation.service.js +34 -1
  100. package/lib/utils/errors.d.ts +3 -0
  101. package/lib/utils/errors.d.ts.map +1 -1
  102. package/lib/utils/errors.js +6 -0
  103. package/lib/utils/helpers.d.ts +1 -1
  104. package/lib/utils/helpers.d.ts.map +1 -1
  105. package/lib/utils/helpers.js +2 -1
  106. package/package.json +1 -1
@@ -0,0 +1,424 @@
1
+ /**
2
+ * Film Studio — short films and vertical drama series.
3
+ *
4
+ * A film is a project with exactly one episode; a series has many. Cast,
5
+ * locations and the episode/scene outline live inline on the project doc
6
+ * (all small, bounded lists). Shots live in the top-level `filmShots`
7
+ * collection: a series can run to hundreds of shots, which would push the
8
+ * project doc toward Firestore's 1 MiB cap, and one indexed query
9
+ * (userId + projectId + episodeId, ordered) is all the shot list needs.
10
+ *
11
+ * Plan: notes/FILM_STUDIO_PLAN.md (workspace root).
12
+ */
13
+ export type FilmFormat = "film" | "series";
14
+ export type FilmAspectRatio = "16:9" | "21:9" | "9:16";
15
+ /** Video models Film Studio can shoot with. Keys match the aiModels registry. */
16
+ export type FilmVideoModel = "bytedance-seedance-2.5" | "kling-v3-omni-video";
17
+ /**
18
+ * Director controls. Every field is a catalog key (see globals/film/filmCatalog.ts)
19
+ * or undefined for "Auto" (let the model decide). Set on the project as the
20
+ * default look; a shot may override any field.
21
+ */
22
+ export interface FilmLook {
23
+ genre?: string;
24
+ era?: string;
25
+ tempo?: string;
26
+ cameraBody?: string;
27
+ lens?: string;
28
+ focalLength?: string;
29
+ aperture?: string;
30
+ palette?: string;
31
+ lighting?: string;
32
+ }
33
+ export type FilmCastRole = "lead" | "supporting" | "extra";
34
+ /** Which generated image a film asset job fills in. */
35
+ export type FilmAssetSlot = "portrait" | "sheet" | "plate";
36
+ /**
37
+ * A generated cast/location image in flight. The image itself runs through the
38
+ * regular imageJobs pipeline (billing, refunds, library); the image worker
39
+ * writes the outcome back here via `filmTarget` on the image job.
40
+ */
41
+ export interface FilmAssetJob {
42
+ /** imageJobs doc id, or "pending" between the project write and the enqueue. */
43
+ imageJobId: string;
44
+ status: "queued" | "succeeded" | "failed";
45
+ error?: string;
46
+ startedAt: string;
47
+ }
48
+ /** Any Film Studio image the image worker writes back: cast/location assets, shot keyframes and the cover. */
49
+ export type FilmImageSlot = FilmAssetSlot | "keyframe" | "cover";
50
+ /** Back-reference stamped on an imageJobs doc created by Film Studio. */
51
+ export interface FilmImageTarget {
52
+ projectId: string;
53
+ slot: FilmImageSlot;
54
+ /** Cast member id (portrait, sheet), location id (plate), shot id (keyframe) or project id (cover). */
55
+ targetId: string;
56
+ }
57
+ /** Back-reference stamped on the videoJobs doc that holds an episode's cut. */
58
+ export interface FilmCutTarget {
59
+ projectId: string;
60
+ episodeId: string;
61
+ }
62
+ /** Back-reference stamped on a videoJobs doc created by the Shoot step. */
63
+ export interface FilmVideoTarget {
64
+ projectId: string;
65
+ shotId: string;
66
+ }
67
+ export interface FilmCastMember {
68
+ id: string;
69
+ name: string;
70
+ role: FilmCastRole;
71
+ /** Verbatim visual description, re-stated in every shot the character appears in. */
72
+ description: string;
73
+ portraitUrl?: string;
74
+ /** Turnaround / expression sheet images used as model references. */
75
+ sheetUrls?: string[];
76
+ /** TTS voice id (Stage 3). */
77
+ voiceId?: string;
78
+ /** Set once the character has been saved to the user's Reference Library. */
79
+ refId?: string;
80
+ /** Server-owned: portrait / turnaround generation in flight or last outcome. */
81
+ portraitJob?: FilmAssetJob;
82
+ sheetJob?: FilmAssetJob;
83
+ }
84
+ export interface FilmLocation {
85
+ id: string;
86
+ name: string;
87
+ description: string;
88
+ /** Establishing plate used as a model reference. */
89
+ plateUrl?: string;
90
+ /** Server-owned: plate generation in flight or last outcome. */
91
+ plateJob?: FilmAssetJob;
92
+ }
93
+ export interface FilmScene {
94
+ id: string;
95
+ /** Screenplay slug line, e.g. "INT. DINER - NIGHT". */
96
+ heading: string;
97
+ summary?: string;
98
+ locationId?: string;
99
+ }
100
+ export type FilmRenderStatus = "idle" | "queued" | "rendering" | "succeeded" | "failed";
101
+ /** Where a cut job is: voicing silent dialogue, scoring, assembling the timeline, then the render queue. */
102
+ export type FilmCutStage = "queued" | "voicing" | "effects" | "scoring" | "assembling" | "rendering";
103
+ /** Score for the cut: a free track from the licensed library, an original AI-composed bed, or none. */
104
+ export type FilmScoreSource = "library" | "original" | "none";
105
+ export interface FilmCutOptions {
106
+ score: FilmScoreSource;
107
+ subtitles: boolean;
108
+ /** Opening title card (project title, plus "Episode N" for a series). */
109
+ titleCard: boolean;
110
+ /** Closing card: "To be continued…" on a series episode with a cliffhanger, else "The End". */
111
+ endCard: boolean;
112
+ /** draft = half-resolution preview render; final = full resolution. */
113
+ quality: "draft" | "final";
114
+ /** Generate each shot's sound-effects cue for shots whose picture has no sound of its own. */
115
+ sfx: boolean;
116
+ }
117
+ /**
118
+ * The episode's cut (Stage 6). Server-owned. While a cut runs, `url` keeps the
119
+ * previous render so the player isn't empty; `cutJobId` is the cut job's lease.
120
+ */
121
+ export interface FilmEpisodeRender {
122
+ status: FilmRenderStatus;
123
+ renderJobId?: string;
124
+ url?: string;
125
+ posterUrl?: string;
126
+ error?: string;
127
+ updatedAt?: string;
128
+ /** Current / last cut job (lease: a newer cut supersedes it). */
129
+ cutJobId?: string;
130
+ stage?: FilmCutStage;
131
+ /** Epoch ms, bumped as the cut progresses; stale ⇒ the job died. */
132
+ heartbeatAt?: number;
133
+ options?: FilmCutOptions;
134
+ /** The videoJobs doc holding the cut's canonical Project (opens in the editor). */
135
+ videoJobId?: string;
136
+ durationSec?: number;
137
+ /** Credits charged for this cut (voices + effects + score); unused credits are refunded. */
138
+ credits?: number;
139
+ /** Org wallet the credits came from, so a reaped cut refunds to the right place. */
140
+ chargedOrgId?: string;
141
+ /** Shots left out (no take and no frame), and shots shown as stills from their frame. */
142
+ missingShotIds?: string[];
143
+ stillShotIds?: string[];
144
+ /** Stage 7: the critic's review of the finished render. Cleared by a new render. */
145
+ qa?: FilmCutQa;
146
+ /**
147
+ * Stage 8: wall-clock per stage (queued → voicing → effects → scoring →
148
+ * assembling → render-queue → rendering), so a slow cut shows where it sat.
149
+ */
150
+ timings?: FilmStageTiming[];
151
+ /** Stage 8: what the cut charged, spent and refunded, by component. */
152
+ cost?: FilmCutCost;
153
+ }
154
+ /** One stage's wall clock (feedback_track_stage_timings). `ms` is set when the stage ends. */
155
+ export interface FilmStageTiming {
156
+ stage: string;
157
+ /** Epoch ms. */
158
+ startedAt: number;
159
+ ms?: number;
160
+ }
161
+ /** Credits for one cut, by component. `refunded` = charged − spent. */
162
+ export interface FilmCutCost {
163
+ charged: number;
164
+ spent: number;
165
+ refunded: number;
166
+ voice: {
167
+ lines: number;
168
+ voiced: number;
169
+ chars: number;
170
+ credits: number;
171
+ };
172
+ sfx: {
173
+ cues: number;
174
+ made: number;
175
+ seconds: number;
176
+ credits: number;
177
+ };
178
+ score: {
179
+ source: string;
180
+ credits: number;
181
+ };
182
+ }
183
+ export interface FilmCutQaCheck {
184
+ id: string;
185
+ label: string;
186
+ status: "pass" | "warn" | "fail";
187
+ detail: string;
188
+ }
189
+ export interface FilmCutQaFinding {
190
+ severity: "pass" | "warn" | "fail";
191
+ dimension: string;
192
+ message: string;
193
+ }
194
+ /**
195
+ * Review of a finished cut: ffprobe/ffmpeg checks on the file (runtime, audio,
196
+ * faststart, geometry), plus an optional Gemini watch-back (score + notes).
197
+ * Read-only: the critic never rewrites the render.
198
+ */
199
+ export interface FilmCutQa {
200
+ /** The render this review belongs to; a newer render makes it stale. */
201
+ renderJobId: string;
202
+ status: "running" | "done" | "failed";
203
+ /** No check failed (warnings tolerated). */
204
+ ok?: boolean;
205
+ shippable?: boolean;
206
+ /** Checks that came back warn or fail; passes are only counted. */
207
+ issues?: FilmCutQaCheck[];
208
+ passed?: number;
209
+ /** Perceptual review, 0–10, when it ran. */
210
+ score?: number;
211
+ summary?: string;
212
+ findings?: FilmCutQaFinding[];
213
+ ranAt?: string;
214
+ }
215
+ export interface FilmEpisode {
216
+ id: string;
217
+ /** 1-based episode number. */
218
+ index: number;
219
+ title: string;
220
+ synopsis?: string;
221
+ /** Series only: the hook the episode ends on. */
222
+ cliffhanger?: string;
223
+ scenes: FilmScene[];
224
+ render?: FilmEpisodeRender;
225
+ }
226
+ export type FilmProjectStatus = "draft" | "writing" | "ready" | "shooting" | "cutting" | "complete";
227
+ /** What a Writers' Room job rewrites. Wider scopes replace everything beneath them. */
228
+ export type FilmWriteScopeKind = "project" | "episode" | "scene" | "shot";
229
+ export type FilmWriteStage = "queued" | "bible" | "episodes" | "shots" | "saving" | "done";
230
+ /**
231
+ * Live state of the current Writers' Room job, streamed onto the project doc
232
+ * so the workspace shows progress via onSnapshot. `jobId` doubles as a lease:
233
+ * a worker whose payload jobId no longer matches was superseded and bails.
234
+ */
235
+ export interface IFilmWriteRun {
236
+ jobId: string;
237
+ scope: FilmWriteScopeKind;
238
+ status: "queued" | "running" | "succeeded" | "failed";
239
+ stage: FilmWriteStage;
240
+ /** Units finished / total (episodes for a project write, else 0/1). */
241
+ done: number;
242
+ total: number;
243
+ /** Target of a narrow write, for the UI to highlight. */
244
+ episodeId?: string;
245
+ sceneId?: string;
246
+ shotId?: string;
247
+ error?: string;
248
+ startedAt: string;
249
+ finishedAt?: string;
250
+ /** Epoch ms, bumped as the worker progresses; stale ⇒ the job died. */
251
+ heartbeatAt: number;
252
+ /** Stage 8: wall-clock per writers' room stage. */
253
+ timings?: FilmStageTiming[];
254
+ }
255
+ /** BullMQ payload for FILM_JOBS. */
256
+ export type FilmJobPayload = FilmWriteJobPayload | FilmCutJobPayload;
257
+ /** Stage 6: voice, score, assemble and render one episode. */
258
+ export interface FilmCutJobPayload {
259
+ kind: "cut";
260
+ jobId: string;
261
+ projectId: string;
262
+ userId: string;
263
+ episodeId: string;
264
+ options: FilmCutOptions;
265
+ /** Charged up front (voices + score); the worker refunds what it didn't use. */
266
+ credits: number;
267
+ /** Org wallet the credits came from, for the refund. */
268
+ chargedOrgId?: string;
269
+ enqueuedAt: number;
270
+ }
271
+ export interface FilmWriteJobPayload {
272
+ kind: "write";
273
+ jobId: string;
274
+ projectId: string;
275
+ userId: string;
276
+ scope: FilmWriteScopeKind;
277
+ episodeId?: string;
278
+ sceneId?: string;
279
+ shotId?: string;
280
+ /** Project write: premise override (else the project's logline). */
281
+ premise?: string;
282
+ /** Project write, series only. */
283
+ episodeCount?: number;
284
+ /** Target runtime per episode (film: the whole film), seconds. */
285
+ targetSeconds?: number;
286
+ /** Free-text direction for a rewrite, e.g. "make it funnier". */
287
+ note?: string;
288
+ enqueuedAt: number;
289
+ }
290
+ export interface IFilmProjectModel {
291
+ id: string;
292
+ userId: string;
293
+ format: FilmFormat;
294
+ title: string;
295
+ logline?: string;
296
+ synopsis?: string;
297
+ aspectRatio: FilmAspectRatio;
298
+ videoModel: FilmVideoModel;
299
+ look: FilmLook;
300
+ cast: FilmCastMember[];
301
+ locations: FilmLocation[];
302
+ episodes: FilmEpisode[];
303
+ coverUrl?: string;
304
+ /** Server-owned: cover art generation in flight or last outcome (Stage 7). */
305
+ coverJob?: FilmAssetJob;
306
+ status: FilmProjectStatus;
307
+ /** Public share link (Stage 7), set while sharing is on. */
308
+ share?: {
309
+ token: string;
310
+ createdAt: string;
311
+ };
312
+ /** Current / last Writers' Room job. */
313
+ writing?: IFilmWriteRun;
314
+ createdAt: string;
315
+ updatedAt: string;
316
+ }
317
+ export type FilmAssetStatus = "idle" | "queued" | "running" | "succeeded" | "failed";
318
+ /** A generated keyframe or video take for a shot. */
319
+ export interface FilmShotAsset {
320
+ status: FilmAssetStatus;
321
+ url?: string;
322
+ /** Image / video job id in the existing generation pipelines. */
323
+ jobId?: string;
324
+ model?: string;
325
+ error?: string;
326
+ createdAt?: string;
327
+ /** Keyframe only: where the image came from. */
328
+ source?: "generated" | "upload";
329
+ /** Keyframe only: the user signed off on this frame for the Shoot step. Reset by a new image. */
330
+ approved?: boolean;
331
+ /** Take only: seconds shot. */
332
+ durationSec?: number;
333
+ /** Take only: the model voiced the dialogue itself (otherwise the Cut step lays TTS over it). */
334
+ audio?: boolean;
335
+ /** Take only: started from the shot's keyframe. */
336
+ fromKeyframe?: boolean;
337
+ /** Take only: credits charged up front (reconciled on the video job). */
338
+ credits?: number;
339
+ }
340
+ export interface FilmDialogueLine {
341
+ castId: string;
342
+ line: string;
343
+ /** How the line is delivered, e.g. "whispered", "furious". */
344
+ delivery?: string;
345
+ }
346
+ export interface IFilmShotModel {
347
+ id: string;
348
+ userId: string;
349
+ projectId: string;
350
+ episodeId: string;
351
+ sceneId: string;
352
+ /** Sort key within the episode. Sparse (steps of 1000) so inserts rarely renumber. */
353
+ order: number;
354
+ shotType?: string;
355
+ /** Ordered camera-move catalog keys; several per shot, played in sequence. */
356
+ cameraMoves: string[];
357
+ durationSec: number;
358
+ /** What happens on screen. */
359
+ action: string;
360
+ castIds: string[];
361
+ locationId?: string;
362
+ dialogue: FilmDialogueLine[];
363
+ sfx?: string;
364
+ /** Per-shot override of the project look. */
365
+ look?: FilmLook;
366
+ keyframe?: FilmShotAsset;
367
+ /** The picked take: the one the Cut step uses. A copy of an entry in `takes`. */
368
+ take?: FilmShotAsset;
369
+ /**
370
+ * Every take, newest first, including one still shooting. `jobId` (the
371
+ * videoJobs id) identifies a take. Capped at FILM_MAX_TAKES; the picked and
372
+ * the live take are never trimmed.
373
+ */
374
+ takes?: FilmShotAsset[];
375
+ createdAt: string;
376
+ updatedAt: string;
377
+ }
378
+ /** A finished episode as the public sees it: share page and showcase. */
379
+ export interface FilmPublicEpisode {
380
+ id: string;
381
+ index: number;
382
+ title: string;
383
+ synopsis?: string;
384
+ durationSec?: number;
385
+ url: string;
386
+ posterUrl?: string;
387
+ }
388
+ /** A film stripped to what a viewer needs: no cast sheets, prompts or job state. */
389
+ export interface FilmPublicView {
390
+ title: string;
391
+ logline?: string;
392
+ synopsis?: string;
393
+ format: FilmFormat;
394
+ aspectRatio: FilmAspectRatio;
395
+ genre?: string;
396
+ coverUrl?: string;
397
+ /** Only episodes with a finished cut, in order. */
398
+ episodes: FilmPublicEpisode[];
399
+ }
400
+ /** `filmShares/{token}`: a public link to one project. Doc id = token. */
401
+ export interface IFilmShareModel {
402
+ token: string;
403
+ projectId: string;
404
+ ownerId: string;
405
+ createdAt: string;
406
+ viewCount: number;
407
+ revoked?: boolean;
408
+ }
409
+ /**
410
+ * `filmShowcase/{id}`: a curated film on the Film Studio home. A frozen copy
411
+ * of the film at publish time, so later edits or deletion of the source
412
+ * project never change what's on show. Written only by the admin script.
413
+ */
414
+ export interface IFilmShowcaseModel extends FilmPublicView {
415
+ id: string;
416
+ /** Home row it sits in, e.g. "Featured", "Drama series". */
417
+ row: string;
418
+ /** Sort key within the row, ascending. */
419
+ order: number;
420
+ sourceProjectId: string;
421
+ publishedAt: string;
422
+ hidden?: boolean;
423
+ }
424
+ //# sourceMappingURL=filmProject.model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"filmProject.model.d.ts","sourceRoot":"","sources":["../../src/models/filmProject.model.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,QAAQ,CAAC;AAE3C,MAAM,MAAM,eAAe,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC;AAEvD,iFAAiF;AACjF,MAAM,MAAM,cAAc,GAAG,wBAAwB,GAAG,qBAAqB,CAAC;AAE9E;;;;GAIG;AACH,MAAM,WAAW,QAAQ;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,MAAM,YAAY,GAAG,MAAM,GAAG,YAAY,GAAG,OAAO,CAAC;AAE3D,uDAAuD;AACvD,MAAM,MAAM,aAAa,GAAG,UAAU,GAAG,OAAO,GAAG,OAAO,CAAC;AAE3D;;;;GAIG;AACH,MAAM,WAAW,YAAY;IAC3B,gFAAgF;IAChF,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,E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,0CAA0C;IAC1C,KAAK,EAAE,MAAM,CAAC;IACd,eAAe,EAAE,MAAM,CAAC;IACxB,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB"}
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ /**
3
+ * Film Studio — short films and vertical drama series.
4
+ *
5
+ * A film is a project with exactly one episode; a series has many. Cast,
6
+ * locations and the episode/scene outline live inline on the project doc
7
+ * (all small, bounded lists). Shots live in the top-level `filmShots`
8
+ * collection: a series can run to hundreds of shots, which would push the
9
+ * project doc toward Firestore's 1 MiB cap, and one indexed query
10
+ * (userId + projectId + episodeId, ordered) is all the shot list needs.
11
+ *
12
+ * Plan: notes/FILM_STUDIO_PLAN.md (workspace root).
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,6 +1,7 @@
1
1
  import { FieldValue } from "firebase-admin/firestore";
2
2
  import { EImageGenModelKey } from "../globals/aiModels";
3
3
  import { EImageJobStatus } from "../globals/types";
4
+ import type { FilmImageTarget } from "./filmProject.model";
4
5
  /**
5
6
  * One output of a Seedream layer decomposition. zIndex 0 is the base image;
6
7
  * layers stack in ascending zIndex. `bbox` is [left, top, right, bottom] in
@@ -66,6 +67,8 @@ export interface IImageJobModel {
66
67
  creditReconciliationStatus?: "completed" | "pending";
67
68
  creditReconciliationError?: string;
68
69
  isPublic?: boolean;
70
+ /** Set when Film Studio created the job; the worker writes the result back onto the project. */
71
+ filmTarget?: FilmImageTarget;
69
72
  createdAt: FieldValue;
70
73
  updatedAt: FieldValue;
71
74
  }
@@ -1 +1 @@
1
- {"version":3,"file":"image.model.d.ts","sourceRoot":"","sources":["../../src/models/image.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACtD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAEnD;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AU,GAAG,MAAM,CAAC;IACjC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAG7B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,MAAM,CAAC,EAAE,WAAW,EAAE,CAAC;IAGvB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,UAAU,CAAC;IAG7B,0BAA0B,CAAC,EAAE,WAAW,GAAG,SAAS,CAAC;IACrD,yBAAyB,CAAC,EAAE,MAAM,CAAC;IAInC,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,gGAAgG;IAChG,UAAU,CAAC,EAAE,eAAe,CAAC;IAE7B,SAAS,EAAE,UAAU,CAAC;IACtB,SAAS,EAAE,UAAU,CAAC;CACvB"}
@@ -22,7 +22,9 @@ export * from "./assetPool.model";
22
22
  export * from "./posterProject.model";
23
23
  export * from "./upscale.model";
24
24
  export * from "./klingElement.model";
25
+ export * from "./filmProject.model";
25
26
  export * from "./videoTool.model";
27
+ export * from "./reelRemake.model";
26
28
  export * from "./musicJob.model";
27
29
  export * from "./posterExport.model";
28
30
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/models/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,sBAAsB,CAAC;AACrC,cAAc,cAAc,CAAC;AAC7B,c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,cAAc,uBAAuB,CAAC;AACtC,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC"}
@@ -38,6 +38,8 @@ __exportStar(require("./assetPool.model"), exports);
38
38
  __exportStar(require("./posterProject.model"), exports);
39
39
  __exportStar(require("./upscale.model"), exports);
40
40
  __exportStar(require("./klingElement.model"), exports);
41
+ __exportStar(require("./filmProject.model"), exports);
41
42
  __exportStar(require("./videoTool.model"), exports);
43
+ __exportStar(require("./reelRemake.model"), exports);
42
44
  __exportStar(require("./musicJob.model"), exports);
43
45
  __exportStar(require("./posterExport.model"), exports);