@cueframe/kernel 0.1.2 → 0.1.4

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 (126) hide show
  1. package/dist/_members/authoring/agent/errors.d.ts +8 -0
  2. package/dist/_members/authoring/index.d.ts +1 -1
  3. package/dist/_members/authoring/motion/materializeMotionPresetOps.d.ts +4 -0
  4. package/dist/_members/authoring/prompts/index.d.ts +0 -1
  5. package/dist/_members/authoring/types.d.ts +1 -1
  6. package/dist/_members/cloud-import/CloudImportService.d.ts +3 -4
  7. package/dist/_members/cloud-import/ImportProvider.d.ts +3 -7
  8. package/dist/_members/cloud-import/cloudConfig.d.ts +0 -6
  9. package/dist/_members/cloud-import/index.d.ts +2 -4
  10. package/dist/_members/composition/graphics-plan/schemas.d.ts +20 -20
  11. package/dist/_members/composition/primitive-catalog/projection.d.ts +2 -1
  12. package/dist/_members/composition/projection/behind-readiness.d.ts +4 -2
  13. package/dist/_members/composition/validators/brandKit.d.ts +54 -94
  14. package/dist/_members/composition/validators/composePlan.d.ts +52 -52
  15. package/dist/_members/composition/validators/composition.d.ts +213 -253
  16. package/dist/_members/composition/validators/font.d.ts +2 -2
  17. package/dist/_members/composition/validators/index.d.ts +1 -0
  18. package/dist/_members/composition/validators/opaqueId.d.ts +13 -0
  19. package/dist/_members/composition/validators/project.d.ts +11 -15
  20. package/dist/_members/composition/validators/render.d.ts +372 -534
  21. package/dist/_members/composition/validators/session.d.ts +19 -39
  22. package/dist/_members/composition/validators/webhook.d.ts +8 -16
  23. package/dist/_members/composition-ops/index.d.ts +192 -228
  24. package/dist/_members/director/ai-sdk/messages.d.ts +2 -2
  25. package/dist/_members/director/domain/chat.d.ts +4 -4
  26. package/dist/_members/director/testing/contract.d.ts +1 -1
  27. package/dist/_members/errors/registry.d.ts +115 -1
  28. package/dist/_members/mcp/adapter.d.ts +19 -0
  29. package/dist/_members/mcp/core.d.ts +1 -1
  30. package/dist/_members/mcp/curation.d.ts +4 -0
  31. package/dist/_members/mcp/generated/harness.d.ts +1 -1
  32. package/dist/_members/mcp/generated/operations.d.ts +12 -0
  33. package/dist/_members/mcp/wait.d.ts +1 -1
  34. package/dist/_members/media-model/api.d.ts +53 -109
  35. package/dist/_members/media-model/generation.d.ts +2 -2
  36. package/dist/_members/media-model/index.d.ts +1 -0
  37. package/dist/_members/media-model/opaqueId.d.ts +10 -0
  38. package/dist/_members/render-harness/localRender.d.ts +3 -0
  39. package/dist/_members/render-harness/localRender.d.ts.map +1 -1
  40. package/dist/_members/render-harness/remotion-runtime.d.ts +53 -0
  41. package/dist/authoring/build-tools.js +6 -6
  42. package/dist/authoring/context.js +4 -4
  43. package/dist/authoring/prompts.js +1 -5
  44. package/dist/authoring/tools.js +5 -5
  45. package/dist/authoring.js +40 -27
  46. package/dist/chunk-2SNY75AR.js +498 -0
  47. package/dist/{chunk-XQ72DZKJ.js → chunk-7TQCR7AB.js} +1 -1
  48. package/dist/{chunk-QETYXKQQ.js → chunk-7V3F5HO4.js} +97 -14
  49. package/dist/{chunk-BZZTVOGG.js → chunk-D2EGO543.js} +5 -5
  50. package/dist/{chunk-ZPLJ24OV.js → chunk-D6S3ZKIY.js} +1 -1
  51. package/dist/{chunk-K2IUBCND.js → chunk-HFC3MKXA.js} +0 -51
  52. package/dist/{chunk-ICSZF37W.js → chunk-JRIPQ7DN.js} +1 -1
  53. package/dist/{chunk-TFGKUWHY.js → chunk-JTVFIN6H.js} +15 -19
  54. package/dist/{chunk-DCVJWGIA.js → chunk-JY26PIRP.js} +2 -2
  55. package/dist/{chunk-DWLNPNC4.js → chunk-LSP4HN5N.js} +1 -1
  56. package/dist/{chunk-AO744WIK.js → chunk-PJ4R4N4Q.js} +123 -38
  57. package/dist/{chunk-VFMW3JUY.js → chunk-QSDFTYKV.js} +1 -1
  58. package/dist/{chunk-LLUW26BS.js → chunk-R5BMJ2NX.js} +38 -2
  59. package/dist/{chunk-W3SIWT7J.js → chunk-RQ2G4DXI.js} +406 -174
  60. package/dist/{chunk-VHF66LCQ.js → chunk-RXCEPCAQ.js} +102 -41
  61. package/dist/{chunk-LJ5W4ZBU.js → chunk-TLVPDT4R.js} +1 -1
  62. package/dist/{chunk-PIURX6IZ.js → chunk-WTT3GGCA.js} +9 -4
  63. package/dist/{chunk-CAJQ7H5A.js → chunk-YE3F4LNJ.js} +17 -17
  64. package/dist/{chunk-TD347SSX.js → chunk-YXEZ75MB.js} +31 -20
  65. package/dist/{chunk-TPA6PYN2.js → chunk-ZBRPF6GV.js} +25 -10
  66. package/dist/cloud-import.js +20 -116
  67. package/dist/compose/renderer.js +17 -17
  68. package/dist/compose.js +18 -18
  69. package/dist/composition/graphics-plan.js +1 -1
  70. package/dist/composition/ops.js +3 -3
  71. package/dist/composition/primitive-catalog.js +1 -1
  72. package/dist/composition/projection.js +2 -2
  73. package/dist/composition/validators.js +4 -2
  74. package/dist/composition-ops.js +6 -6
  75. package/dist/composition.js +6 -4
  76. package/dist/{context-JLLU3MYD.js → context-XWNT6QZH.js} +4 -4
  77. package/dist/core/render.js +3 -3
  78. package/dist/core/select.js +2 -2
  79. package/dist/core.js +3 -3
  80. package/dist/director/ai-sdk.js +3 -3
  81. package/dist/director/domain.js +2 -2
  82. package/dist/director.js +3 -3
  83. package/dist/errors.js +1 -1
  84. package/dist/mcp/adapter.js +59 -22
  85. package/dist/mcp/core.js +1 -1
  86. package/dist/mcp/curation.js +5 -1
  87. package/dist/mcp/server.js +4 -4
  88. package/dist/mcp.js +4 -4
  89. package/dist/media-model/media-kind.js +98 -9
  90. package/dist/media-model/testing.js +6 -6
  91. package/dist/media-model.js +83 -77
  92. package/dist/nle-export.js +18 -18
  93. package/dist/primitives/backgrounds.js +2 -2
  94. package/dist/primitives/captions.js +3 -3
  95. package/dist/primitives/effects.js +2 -2
  96. package/dist/primitives/hero-text.js +2 -2
  97. package/dist/primitives/layouts.js +2 -2
  98. package/dist/primitives/lib/index.js +12 -12
  99. package/dist/primitives/lib.js +12 -12
  100. package/dist/primitives/scenes.js +2 -2
  101. package/dist/primitives/text.js +2 -2
  102. package/dist/primitives/ui-blocks.js +2 -2
  103. package/dist/primitives.js +19 -19
  104. package/dist/render-harness.js +4 -2
  105. package/package.json +13 -37
  106. package/dist/_members/authoring/prompts/designReviewerPrompt.d.ts +0 -2
  107. package/dist/_members/cloud-import/MediaItemPreprocessor.d.ts +0 -18
  108. package/dist/_members/cloud-import/multipartUpload.d.ts +0 -12
  109. package/dist/_members/convex-api/api.d.ts +0 -2
  110. package/dist/_members/convex-api/dataModel.d.ts +0 -4
  111. package/dist/chunk-6IU2UQI5.js +0 -107
  112. package/dist/chunk-EP2Y6M2J.js +0 -64
  113. package/dist/chunk-WZH57M53.js +0 -494
  114. package/dist/cloud-import/multipart.d.ts +0 -1
  115. package/dist/cloud-import/multipart.js +0 -8
  116. package/dist/convex-api/dataModel.d.ts +0 -1
  117. package/dist/convex-api/dataModel.js +0 -0
  118. package/dist/convex-api.d.ts +0 -1
  119. package/dist/convex-api.js +0 -8
  120. package/dist/{chunk-RP4SXXLJ.js → chunk-3PM6VICZ.js} +3 -3
  121. package/dist/{chunk-UQSOS726.js → chunk-6ABIXGLO.js} +4 -4
  122. package/dist/{chunk-SAMQUUO5.js → chunk-BIBYZJL3.js} +3 -3
  123. package/dist/{chunk-GMD33ZD7.js → chunk-O7GNE4BQ.js} +3 -3
  124. package/dist/{chunk-BKHGL4MB.js → chunk-THJAY7QS.js} +4 -4
  125. package/dist/{chunk-DYZE7JZA.js → chunk-TMIBBD5E.js} +3 -3
  126. package/dist/{chunk-G5BFI32U.js → chunk-XATRRDVG.js} +3 -3
@@ -38,19 +38,15 @@ export declare const RegistryPin: z.ZodObject<{
38
38
  }>;
39
39
  export type RegistryPin = z.infer<typeof RegistryPin>;
40
40
  export declare const MediaSourceSnapshot: z.ZodObject<{
41
- mediaId: import("convex-helpers/server/zod3").Zid<"mediaItems">;
41
+ mediaId: z.ZodString;
42
42
  presignedUrl: z.ZodString;
43
43
  expiresAt: z.ZodOptional<z.ZodNumber>;
44
44
  }, "strip", z.ZodTypeAny, {
45
- mediaId: string & {
46
- __tableName: "mediaItems";
47
- };
45
+ mediaId: string;
48
46
  presignedUrl: string;
49
47
  expiresAt?: number | undefined;
50
48
  }, {
51
- mediaId: string & {
52
- __tableName: "mediaItems";
53
- };
49
+ mediaId: string;
54
50
  presignedUrl: string;
55
51
  expiresAt?: number | undefined;
56
52
  }>;
@@ -59,17 +55,17 @@ export declare const RenderSnapshot: z.ZodObject<{
59
55
  v: z.ZodLiteral<1>;
60
56
  format: z.ZodObject<{
61
57
  aspectRatio: z.ZodEnum<["16:9", "9:16", "1:1", "4:5"]>;
62
- fps: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<24>, z.ZodLiteral<30>, z.ZodLiteral<60>]>>;
58
+ fps: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<24>, z.ZodLiteral<25>, z.ZodLiteral<30>, z.ZodLiteral<60>]>>;
63
59
  resolution: z.ZodOptional<z.ZodEnum<["hd", "fhd", "4k"]>>;
64
60
  platform: z.ZodOptional<z.ZodString>;
65
61
  }, "strip", z.ZodTypeAny, {
66
62
  aspectRatio: "16:9" | "9:16" | "1:1" | "4:5";
67
- fps?: 24 | 30 | 60 | undefined;
63
+ fps?: 24 | 25 | 30 | 60 | undefined;
68
64
  resolution?: "hd" | "fhd" | "4k" | undefined;
69
65
  platform?: string | undefined;
70
66
  }, {
71
67
  aspectRatio: "16:9" | "9:16" | "1:1" | "4:5";
72
- fps?: 24 | 30 | 60 | undefined;
68
+ fps?: 24 | 25 | 30 | 60 | undefined;
73
69
  resolution?: "hd" | "fhd" | "4k" | undefined;
74
70
  platform?: string | undefined;
75
71
  }>;
@@ -85,17 +81,7 @@ export declare const RenderSnapshot: z.ZodObject<{
85
81
  startTime: number;
86
82
  source: {
87
83
  kind: "media";
88
- mediaId: string & {
89
- __tableName: "mediaItems";
90
- };
91
- trim?: {
92
- start: number;
93
- end: number;
94
- } | undefined;
95
- anchor?: {
96
- clipId: string;
97
- offsetMs: number;
98
- } | undefined;
84
+ mediaId: string;
99
85
  reframe?: {
100
86
  segments: {
101
87
  startSec: number;
@@ -128,6 +114,10 @@ export declare const RenderSnapshot: z.ZodObject<{
128
114
  }[];
129
115
  } | undefined;
130
116
  kenBurns?: "none" | "in" | "out" | "pan-l" | "pan-r" | undefined;
117
+ trim?: {
118
+ start: number;
119
+ end: number;
120
+ } | undefined;
131
121
  excludedRanges?: {
132
122
  start: number;
133
123
  end: number;
@@ -151,14 +141,18 @@ export declare const RenderSnapshot: z.ZodObject<{
151
141
  endMs: number;
152
142
  }[] | undefined;
153
143
  } | undefined;
144
+ anchor?: {
145
+ clipId: string;
146
+ offsetMs: number;
147
+ } | undefined;
154
148
  } | {
155
149
  kind: "component";
156
150
  componentId: string;
157
151
  props: Record<string, unknown>;
158
152
  zPlane?: "front" | "behind-subject" | undefined;
159
153
  } | {
160
- kind: "overlay";
161
154
  params: Record<string, unknown>;
155
+ kind: "overlay";
162
156
  primitiveId: string;
163
157
  anchor?: {
164
158
  x: number;
@@ -226,25 +220,13 @@ export declare const RenderSnapshot: z.ZodObject<{
226
220
  startTime: number;
227
221
  }, unknown>, "many">;
228
222
  }, "strict", z.ZodTypeAny, {
229
- id: string;
230
- kind: "overlay" | "video" | "effect" | "audio" | "image";
231
223
  contents: ({
232
224
  id: string;
233
225
  duration: number;
234
226
  startTime: number;
235
227
  source: {
236
228
  kind: "media";
237
- mediaId: string & {
238
- __tableName: "mediaItems";
239
- };
240
- trim?: {
241
- start: number;
242
- end: number;
243
- } | undefined;
244
- anchor?: {
245
- clipId: string;
246
- offsetMs: number;
247
- } | undefined;
229
+ mediaId: string;
248
230
  reframe?: {
249
231
  segments: {
250
232
  startSec: number;
@@ -277,6 +259,10 @@ export declare const RenderSnapshot: z.ZodObject<{
277
259
  }[];
278
260
  } | undefined;
279
261
  kenBurns?: "none" | "in" | "out" | "pan-l" | "pan-r" | undefined;
262
+ trim?: {
263
+ start: number;
264
+ end: number;
265
+ } | undefined;
280
266
  excludedRanges?: {
281
267
  start: number;
282
268
  end: number;
@@ -300,14 +286,18 @@ export declare const RenderSnapshot: z.ZodObject<{
300
286
  endMs: number;
301
287
  }[] | undefined;
302
288
  } | undefined;
289
+ anchor?: {
290
+ clipId: string;
291
+ offsetMs: number;
292
+ } | undefined;
303
293
  } | {
304
294
  kind: "component";
305
295
  componentId: string;
306
296
  props: Record<string, unknown>;
307
297
  zPlane?: "front" | "behind-subject" | undefined;
308
298
  } | {
309
- kind: "overlay";
310
299
  params: Record<string, unknown>;
300
+ kind: "overlay";
311
301
  primitiveId: string;
312
302
  anchor?: {
313
303
  x: number;
@@ -374,13 +364,15 @@ export declare const RenderSnapshot: z.ZodObject<{
374
364
  duration: number;
375
365
  startTime: number;
376
366
  })[];
367
+ id: string;
368
+ kind: "overlay" | "video" | "effect" | "audio" | "image";
377
369
  enabled?: boolean | undefined;
378
370
  volume?: number | undefined;
379
371
  name?: string | undefined;
380
372
  }, {
373
+ contents: unknown[];
381
374
  id: string;
382
375
  kind: "overlay" | "video" | "effect" | "audio" | "image";
383
- contents: unknown[];
384
376
  enabled?: boolean | undefined;
385
377
  volume?: number | undefined;
386
378
  name?: string | undefined;
@@ -924,30 +916,18 @@ export declare const RenderSnapshot: z.ZodObject<{
924
916
  v: 1;
925
917
  format: {
926
918
  aspectRatio: "16:9" | "9:16" | "1:1" | "4:5";
927
- fps?: 24 | 30 | 60 | undefined;
919
+ fps?: 24 | 25 | 30 | 60 | undefined;
928
920
  resolution?: "hd" | "fhd" | "4k" | undefined;
929
921
  platform?: string | undefined;
930
922
  };
931
923
  tracks: {
932
- id: string;
933
- kind: "overlay" | "video" | "effect" | "audio" | "image";
934
924
  contents: ({
935
925
  id: string;
936
926
  duration: number;
937
927
  startTime: number;
938
928
  source: {
939
929
  kind: "media";
940
- mediaId: string & {
941
- __tableName: "mediaItems";
942
- };
943
- trim?: {
944
- start: number;
945
- end: number;
946
- } | undefined;
947
- anchor?: {
948
- clipId: string;
949
- offsetMs: number;
950
- } | undefined;
930
+ mediaId: string;
951
931
  reframe?: {
952
932
  segments: {
953
933
  startSec: number;
@@ -980,6 +960,10 @@ export declare const RenderSnapshot: z.ZodObject<{
980
960
  }[];
981
961
  } | undefined;
982
962
  kenBurns?: "none" | "in" | "out" | "pan-l" | "pan-r" | undefined;
963
+ trim?: {
964
+ start: number;
965
+ end: number;
966
+ } | undefined;
983
967
  excludedRanges?: {
984
968
  start: number;
985
969
  end: number;
@@ -1003,14 +987,18 @@ export declare const RenderSnapshot: z.ZodObject<{
1003
987
  endMs: number;
1004
988
  }[] | undefined;
1005
989
  } | undefined;
990
+ anchor?: {
991
+ clipId: string;
992
+ offsetMs: number;
993
+ } | undefined;
1006
994
  } | {
1007
995
  kind: "component";
1008
996
  componentId: string;
1009
997
  props: Record<string, unknown>;
1010
998
  zPlane?: "front" | "behind-subject" | undefined;
1011
999
  } | {
1012
- kind: "overlay";
1013
1000
  params: Record<string, unknown>;
1001
+ kind: "overlay";
1014
1002
  primitiveId: string;
1015
1003
  anchor?: {
1016
1004
  x: number;
@@ -1077,6 +1065,8 @@ export declare const RenderSnapshot: z.ZodObject<{
1077
1065
  duration: number;
1078
1066
  startTime: number;
1079
1067
  })[];
1068
+ id: string;
1069
+ kind: "overlay" | "video" | "effect" | "audio" | "image";
1080
1070
  enabled?: boolean | undefined;
1081
1071
  volume?: number | undefined;
1082
1072
  name?: string | undefined;
@@ -1206,14 +1196,14 @@ export declare const RenderSnapshot: z.ZodObject<{
1206
1196
  v: 1;
1207
1197
  format: {
1208
1198
  aspectRatio: "16:9" | "9:16" | "1:1" | "4:5";
1209
- fps?: 24 | 30 | 60 | undefined;
1199
+ fps?: 24 | 25 | 30 | 60 | undefined;
1210
1200
  resolution?: "hd" | "fhd" | "4k" | undefined;
1211
1201
  platform?: string | undefined;
1212
1202
  };
1213
1203
  tracks: {
1204
+ contents: unknown[];
1214
1205
  id: string;
1215
1206
  kind: "overlay" | "video" | "effect" | "audio" | "image";
1216
- contents: unknown[];
1217
1207
  enabled?: boolean | undefined;
1218
1208
  volume?: number | undefined;
1219
1209
  name?: string | undefined;
@@ -1410,19 +1400,15 @@ export declare const RenderSnapshot: z.ZodObject<{
1410
1400
  url?: string | undefined;
1411
1401
  }>, z.ZodObject<{
1412
1402
  kind: z.ZodLiteral<"uploaded">;
1413
- fontId: import("convex-helpers/server/zod3").Zid<"fonts">;
1403
+ fontId: z.ZodString;
1414
1404
  family: z.ZodOptional<z.ZodString>;
1415
1405
  }, "strip", z.ZodTypeAny, {
1416
1406
  kind: "uploaded";
1417
- fontId: string & {
1418
- __tableName: "fonts";
1419
- };
1407
+ fontId: string;
1420
1408
  family?: string | undefined;
1421
1409
  }, {
1422
1410
  kind: "uploaded";
1423
- fontId: string & {
1424
- __tableName: "fonts";
1425
- };
1411
+ fontId: string;
1426
1412
  family?: string | undefined;
1427
1413
  }>]>;
1428
1414
  body: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
@@ -1448,19 +1434,15 @@ export declare const RenderSnapshot: z.ZodObject<{
1448
1434
  url?: string | undefined;
1449
1435
  }>, z.ZodObject<{
1450
1436
  kind: z.ZodLiteral<"uploaded">;
1451
- fontId: import("convex-helpers/server/zod3").Zid<"fonts">;
1437
+ fontId: z.ZodString;
1452
1438
  family: z.ZodOptional<z.ZodString>;
1453
1439
  }, "strip", z.ZodTypeAny, {
1454
1440
  kind: "uploaded";
1455
- fontId: string & {
1456
- __tableName: "fonts";
1457
- };
1441
+ fontId: string;
1458
1442
  family?: string | undefined;
1459
1443
  }, {
1460
1444
  kind: "uploaded";
1461
- fontId: string & {
1462
- __tableName: "fonts";
1463
- };
1445
+ fontId: string;
1464
1446
  family?: string | undefined;
1465
1447
  }>]>>;
1466
1448
  caption: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
@@ -1486,19 +1468,15 @@ export declare const RenderSnapshot: z.ZodObject<{
1486
1468
  url?: string | undefined;
1487
1469
  }>, z.ZodObject<{
1488
1470
  kind: z.ZodLiteral<"uploaded">;
1489
- fontId: import("convex-helpers/server/zod3").Zid<"fonts">;
1471
+ fontId: z.ZodString;
1490
1472
  family: z.ZodOptional<z.ZodString>;
1491
1473
  }, "strip", z.ZodTypeAny, {
1492
1474
  kind: "uploaded";
1493
- fontId: string & {
1494
- __tableName: "fonts";
1495
- };
1475
+ fontId: string;
1496
1476
  family?: string | undefined;
1497
1477
  }, {
1498
1478
  kind: "uploaded";
1499
- fontId: string & {
1500
- __tableName: "fonts";
1501
- };
1479
+ fontId: string;
1502
1480
  family?: string | undefined;
1503
1481
  }>]>>;
1504
1482
  }, "strip", z.ZodTypeAny, {
@@ -1511,9 +1489,7 @@ export declare const RenderSnapshot: z.ZodObject<{
1511
1489
  url?: string | undefined;
1512
1490
  } | {
1513
1491
  kind: "uploaded";
1514
- fontId: string & {
1515
- __tableName: "fonts";
1516
- };
1492
+ fontId: string;
1517
1493
  family?: string | undefined;
1518
1494
  };
1519
1495
  body?: {
@@ -1525,9 +1501,7 @@ export declare const RenderSnapshot: z.ZodObject<{
1525
1501
  url?: string | undefined;
1526
1502
  } | {
1527
1503
  kind: "uploaded";
1528
- fontId: string & {
1529
- __tableName: "fonts";
1530
- };
1504
+ fontId: string;
1531
1505
  family?: string | undefined;
1532
1506
  } | undefined;
1533
1507
  caption?: {
@@ -1539,9 +1513,7 @@ export declare const RenderSnapshot: z.ZodObject<{
1539
1513
  url?: string | undefined;
1540
1514
  } | {
1541
1515
  kind: "uploaded";
1542
- fontId: string & {
1543
- __tableName: "fonts";
1544
- };
1516
+ fontId: string;
1545
1517
  family?: string | undefined;
1546
1518
  } | undefined;
1547
1519
  }, {
@@ -1554,9 +1526,7 @@ export declare const RenderSnapshot: z.ZodObject<{
1554
1526
  url?: string | undefined;
1555
1527
  } | {
1556
1528
  kind: "uploaded";
1557
- fontId: string & {
1558
- __tableName: "fonts";
1559
- };
1529
+ fontId: string;
1560
1530
  family?: string | undefined;
1561
1531
  };
1562
1532
  body?: {
@@ -1568,9 +1538,7 @@ export declare const RenderSnapshot: z.ZodObject<{
1568
1538
  url?: string | undefined;
1569
1539
  } | {
1570
1540
  kind: "uploaded";
1571
- fontId: string & {
1572
- __tableName: "fonts";
1573
- };
1541
+ fontId: string;
1574
1542
  family?: string | undefined;
1575
1543
  } | undefined;
1576
1544
  caption?: {
@@ -1582,9 +1550,7 @@ export declare const RenderSnapshot: z.ZodObject<{
1582
1550
  url?: string | undefined;
1583
1551
  } | {
1584
1552
  kind: "uploaded";
1585
- fontId: string & {
1586
- __tableName: "fonts";
1587
- };
1553
+ fontId: string;
1588
1554
  family?: string | undefined;
1589
1555
  } | undefined;
1590
1556
  }>;
@@ -2133,6 +2099,21 @@ export declare const RenderSnapshot: z.ZodObject<{
2133
2099
  }, "strip", z.ZodTypeAny, {
2134
2100
  id: string;
2135
2101
  name: string;
2102
+ colors: {
2103
+ text: string;
2104
+ accent: string;
2105
+ primary: string;
2106
+ background: string;
2107
+ card?: string | undefined;
2108
+ surface?: string | undefined;
2109
+ secondary?: string | undefined;
2110
+ textMuted?: string | undefined;
2111
+ border?: string | undefined;
2112
+ gridLine?: string | undefined;
2113
+ accentMuted?: string | undefined;
2114
+ textOnAccent?: string | undefined;
2115
+ textOnSurface?: string | undefined;
2116
+ };
2136
2117
  fonts: {
2137
2118
  heading: {
2138
2119
  kind: "system";
@@ -2143,9 +2124,7 @@ export declare const RenderSnapshot: z.ZodObject<{
2143
2124
  url?: string | undefined;
2144
2125
  } | {
2145
2126
  kind: "uploaded";
2146
- fontId: string & {
2147
- __tableName: "fonts";
2148
- };
2127
+ fontId: string;
2149
2128
  family?: string | undefined;
2150
2129
  };
2151
2130
  body?: {
@@ -2157,9 +2136,7 @@ export declare const RenderSnapshot: z.ZodObject<{
2157
2136
  url?: string | undefined;
2158
2137
  } | {
2159
2138
  kind: "uploaded";
2160
- fontId: string & {
2161
- __tableName: "fonts";
2162
- };
2139
+ fontId: string;
2163
2140
  family?: string | undefined;
2164
2141
  } | undefined;
2165
2142
  caption?: {
@@ -2171,27 +2148,10 @@ export declare const RenderSnapshot: z.ZodObject<{
2171
2148
  url?: string | undefined;
2172
2149
  } | {
2173
2150
  kind: "uploaded";
2174
- fontId: string & {
2175
- __tableName: "fonts";
2176
- };
2151
+ fontId: string;
2177
2152
  family?: string | undefined;
2178
2153
  } | undefined;
2179
2154
  };
2180
- colors: {
2181
- text: string;
2182
- accent: string;
2183
- primary: string;
2184
- background: string;
2185
- card?: string | undefined;
2186
- surface?: string | undefined;
2187
- secondary?: string | undefined;
2188
- textMuted?: string | undefined;
2189
- border?: string | undefined;
2190
- gridLine?: string | undefined;
2191
- accentMuted?: string | undefined;
2192
- textOnAccent?: string | undefined;
2193
- textOnSurface?: string | undefined;
2194
- };
2195
2155
  audio?: {
2196
2156
  sfxIntensity?: "standard" | "off" | "light" | "dense" | undefined;
2197
2157
  musicEnabled?: boolean | undefined;
@@ -2353,6 +2313,21 @@ export declare const RenderSnapshot: z.ZodObject<{
2353
2313
  }, {
2354
2314
  id: string;
2355
2315
  name: string;
2316
+ colors: {
2317
+ text: string;
2318
+ accent: string;
2319
+ primary: string;
2320
+ background: string;
2321
+ card?: string | undefined;
2322
+ surface?: string | undefined;
2323
+ secondary?: string | undefined;
2324
+ textMuted?: string | undefined;
2325
+ border?: string | undefined;
2326
+ gridLine?: string | undefined;
2327
+ accentMuted?: string | undefined;
2328
+ textOnAccent?: string | undefined;
2329
+ textOnSurface?: string | undefined;
2330
+ };
2356
2331
  fonts: {
2357
2332
  heading: {
2358
2333
  kind: "system";
@@ -2363,9 +2338,7 @@ export declare const RenderSnapshot: z.ZodObject<{
2363
2338
  url?: string | undefined;
2364
2339
  } | {
2365
2340
  kind: "uploaded";
2366
- fontId: string & {
2367
- __tableName: "fonts";
2368
- };
2341
+ fontId: string;
2369
2342
  family?: string | undefined;
2370
2343
  };
2371
2344
  body?: {
@@ -2377,9 +2350,7 @@ export declare const RenderSnapshot: z.ZodObject<{
2377
2350
  url?: string | undefined;
2378
2351
  } | {
2379
2352
  kind: "uploaded";
2380
- fontId: string & {
2381
- __tableName: "fonts";
2382
- };
2353
+ fontId: string;
2383
2354
  family?: string | undefined;
2384
2355
  } | undefined;
2385
2356
  caption?: {
@@ -2391,27 +2362,10 @@ export declare const RenderSnapshot: z.ZodObject<{
2391
2362
  url?: string | undefined;
2392
2363
  } | {
2393
2364
  kind: "uploaded";
2394
- fontId: string & {
2395
- __tableName: "fonts";
2396
- };
2365
+ fontId: string;
2397
2366
  family?: string | undefined;
2398
2367
  } | undefined;
2399
2368
  };
2400
- colors: {
2401
- text: string;
2402
- accent: string;
2403
- primary: string;
2404
- background: string;
2405
- card?: string | undefined;
2406
- surface?: string | undefined;
2407
- secondary?: string | undefined;
2408
- textMuted?: string | undefined;
2409
- border?: string | undefined;
2410
- gridLine?: string | undefined;
2411
- accentMuted?: string | undefined;
2412
- textOnAccent?: string | undefined;
2413
- textOnSurface?: string | undefined;
2414
- };
2415
2369
  audio?: {
2416
2370
  sfxIntensity?: "standard" | "off" | "light" | "dense" | undefined;
2417
2371
  musicEnabled?: boolean | undefined;
@@ -2572,19 +2526,15 @@ export declare const RenderSnapshot: z.ZodObject<{
2572
2526
  } | undefined;
2573
2527
  }>>;
2574
2528
  mediaSources: z.ZodArray<z.ZodObject<{
2575
- mediaId: import("convex-helpers/server/zod3").Zid<"mediaItems">;
2529
+ mediaId: z.ZodString;
2576
2530
  presignedUrl: z.ZodString;
2577
2531
  expiresAt: z.ZodOptional<z.ZodNumber>;
2578
2532
  }, "strip", z.ZodTypeAny, {
2579
- mediaId: string & {
2580
- __tableName: "mediaItems";
2581
- };
2533
+ mediaId: string;
2582
2534
  presignedUrl: string;
2583
2535
  expiresAt?: number | undefined;
2584
2536
  }, {
2585
- mediaId: string & {
2586
- __tableName: "mediaItems";
2587
- };
2537
+ mediaId: string;
2588
2538
  presignedUrl: string;
2589
2539
  expiresAt?: number | undefined;
2590
2540
  }>, "many">;
@@ -2607,30 +2557,18 @@ export declare const RenderSnapshot: z.ZodObject<{
2607
2557
  v: 1;
2608
2558
  format: {
2609
2559
  aspectRatio: "16:9" | "9:16" | "1:1" | "4:5";
2610
- fps?: 24 | 30 | 60 | undefined;
2560
+ fps?: 24 | 25 | 30 | 60 | undefined;
2611
2561
  resolution?: "hd" | "fhd" | "4k" | undefined;
2612
2562
  platform?: string | undefined;
2613
2563
  };
2614
2564
  tracks: {
2615
- id: string;
2616
- kind: "overlay" | "video" | "effect" | "audio" | "image";
2617
2565
  contents: ({
2618
2566
  id: string;
2619
2567
  duration: number;
2620
2568
  startTime: number;
2621
2569
  source: {
2622
2570
  kind: "media";
2623
- mediaId: string & {
2624
- __tableName: "mediaItems";
2625
- };
2626
- trim?: {
2627
- start: number;
2628
- end: number;
2629
- } | undefined;
2630
- anchor?: {
2631
- clipId: string;
2632
- offsetMs: number;
2633
- } | undefined;
2571
+ mediaId: string;
2634
2572
  reframe?: {
2635
2573
  segments: {
2636
2574
  startSec: number;
@@ -2663,6 +2601,10 @@ export declare const RenderSnapshot: z.ZodObject<{
2663
2601
  }[];
2664
2602
  } | undefined;
2665
2603
  kenBurns?: "none" | "in" | "out" | "pan-l" | "pan-r" | undefined;
2604
+ trim?: {
2605
+ start: number;
2606
+ end: number;
2607
+ } | undefined;
2666
2608
  excludedRanges?: {
2667
2609
  start: number;
2668
2610
  end: number;
@@ -2686,14 +2628,18 @@ export declare const RenderSnapshot: z.ZodObject<{
2686
2628
  endMs: number;
2687
2629
  }[] | undefined;
2688
2630
  } | undefined;
2631
+ anchor?: {
2632
+ clipId: string;
2633
+ offsetMs: number;
2634
+ } | undefined;
2689
2635
  } | {
2690
2636
  kind: "component";
2691
2637
  componentId: string;
2692
2638
  props: Record<string, unknown>;
2693
2639
  zPlane?: "front" | "behind-subject" | undefined;
2694
2640
  } | {
2695
- kind: "overlay";
2696
2641
  params: Record<string, unknown>;
2642
+ kind: "overlay";
2697
2643
  primitiveId: string;
2698
2644
  anchor?: {
2699
2645
  x: number;
@@ -2760,6 +2706,8 @@ export declare const RenderSnapshot: z.ZodObject<{
2760
2706
  duration: number;
2761
2707
  startTime: number;
2762
2708
  })[];
2709
+ id: string;
2710
+ kind: "overlay" | "video" | "effect" | "audio" | "image";
2763
2711
  enabled?: boolean | undefined;
2764
2712
  volume?: number | undefined;
2765
2713
  name?: string | undefined;
@@ -2887,9 +2835,7 @@ export declare const RenderSnapshot: z.ZodObject<{
2887
2835
  } | undefined;
2888
2836
  };
2889
2837
  mediaSources: {
2890
- mediaId: string & {
2891
- __tableName: "mediaItems";
2892
- };
2838
+ mediaId: string;
2893
2839
  presignedUrl: string;
2894
2840
  expiresAt?: number | undefined;
2895
2841
  }[];
@@ -2902,6 +2848,21 @@ export declare const RenderSnapshot: z.ZodObject<{
2902
2848
  brandKit?: {
2903
2849
  id: string;
2904
2850
  name: string;
2851
+ colors: {
2852
+ text: string;
2853
+ accent: string;
2854
+ primary: string;
2855
+ background: string;
2856
+ card?: string | undefined;
2857
+ surface?: string | undefined;
2858
+ secondary?: string | undefined;
2859
+ textMuted?: string | undefined;
2860
+ border?: string | undefined;
2861
+ gridLine?: string | undefined;
2862
+ accentMuted?: string | undefined;
2863
+ textOnAccent?: string | undefined;
2864
+ textOnSurface?: string | undefined;
2865
+ };
2905
2866
  fonts: {
2906
2867
  heading: {
2907
2868
  kind: "system";
@@ -2912,9 +2873,7 @@ export declare const RenderSnapshot: z.ZodObject<{
2912
2873
  url?: string | undefined;
2913
2874
  } | {
2914
2875
  kind: "uploaded";
2915
- fontId: string & {
2916
- __tableName: "fonts";
2917
- };
2876
+ fontId: string;
2918
2877
  family?: string | undefined;
2919
2878
  };
2920
2879
  body?: {
@@ -2926,9 +2885,7 @@ export declare const RenderSnapshot: z.ZodObject<{
2926
2885
  url?: string | undefined;
2927
2886
  } | {
2928
2887
  kind: "uploaded";
2929
- fontId: string & {
2930
- __tableName: "fonts";
2931
- };
2888
+ fontId: string;
2932
2889
  family?: string | undefined;
2933
2890
  } | undefined;
2934
2891
  caption?: {
@@ -2940,27 +2897,10 @@ export declare const RenderSnapshot: z.ZodObject<{
2940
2897
  url?: string | undefined;
2941
2898
  } | {
2942
2899
  kind: "uploaded";
2943
- fontId: string & {
2944
- __tableName: "fonts";
2945
- };
2900
+ fontId: string;
2946
2901
  family?: string | undefined;
2947
2902
  } | undefined;
2948
2903
  };
2949
- colors: {
2950
- text: string;
2951
- accent: string;
2952
- primary: string;
2953
- background: string;
2954
- card?: string | undefined;
2955
- surface?: string | undefined;
2956
- secondary?: string | undefined;
2957
- textMuted?: string | undefined;
2958
- border?: string | undefined;
2959
- gridLine?: string | undefined;
2960
- accentMuted?: string | undefined;
2961
- textOnAccent?: string | undefined;
2962
- textOnSurface?: string | undefined;
2963
- };
2964
2904
  audio?: {
2965
2905
  sfxIntensity?: "standard" | "off" | "light" | "dense" | undefined;
2966
2906
  musicEnabled?: boolean | undefined;
@@ -3125,14 +3065,14 @@ export declare const RenderSnapshot: z.ZodObject<{
3125
3065
  v: 1;
3126
3066
  format: {
3127
3067
  aspectRatio: "16:9" | "9:16" | "1:1" | "4:5";
3128
- fps?: 24 | 30 | 60 | undefined;
3068
+ fps?: 24 | 25 | 30 | 60 | undefined;
3129
3069
  resolution?: "hd" | "fhd" | "4k" | undefined;
3130
3070
  platform?: string | undefined;
3131
3071
  };
3132
3072
  tracks: {
3073
+ contents: unknown[];
3133
3074
  id: string;
3134
3075
  kind: "overlay" | "video" | "effect" | "audio" | "image";
3135
- contents: unknown[];
3136
3076
  enabled?: boolean | undefined;
3137
3077
  volume?: number | undefined;
3138
3078
  name?: string | undefined;
@@ -3260,9 +3200,7 @@ export declare const RenderSnapshot: z.ZodObject<{
3260
3200
  } | undefined;
3261
3201
  };
3262
3202
  mediaSources: {
3263
- mediaId: string & {
3264
- __tableName: "mediaItems";
3265
- };
3203
+ mediaId: string;
3266
3204
  presignedUrl: string;
3267
3205
  expiresAt?: number | undefined;
3268
3206
  }[];
@@ -3275,6 +3213,21 @@ export declare const RenderSnapshot: z.ZodObject<{
3275
3213
  brandKit?: {
3276
3214
  id: string;
3277
3215
  name: string;
3216
+ colors: {
3217
+ text: string;
3218
+ accent: string;
3219
+ primary: string;
3220
+ background: string;
3221
+ card?: string | undefined;
3222
+ surface?: string | undefined;
3223
+ secondary?: string | undefined;
3224
+ textMuted?: string | undefined;
3225
+ border?: string | undefined;
3226
+ gridLine?: string | undefined;
3227
+ accentMuted?: string | undefined;
3228
+ textOnAccent?: string | undefined;
3229
+ textOnSurface?: string | undefined;
3230
+ };
3278
3231
  fonts: {
3279
3232
  heading: {
3280
3233
  kind: "system";
@@ -3285,9 +3238,7 @@ export declare const RenderSnapshot: z.ZodObject<{
3285
3238
  url?: string | undefined;
3286
3239
  } | {
3287
3240
  kind: "uploaded";
3288
- fontId: string & {
3289
- __tableName: "fonts";
3290
- };
3241
+ fontId: string;
3291
3242
  family?: string | undefined;
3292
3243
  };
3293
3244
  body?: {
@@ -3299,9 +3250,7 @@ export declare const RenderSnapshot: z.ZodObject<{
3299
3250
  url?: string | undefined;
3300
3251
  } | {
3301
3252
  kind: "uploaded";
3302
- fontId: string & {
3303
- __tableName: "fonts";
3304
- };
3253
+ fontId: string;
3305
3254
  family?: string | undefined;
3306
3255
  } | undefined;
3307
3256
  caption?: {
@@ -3313,27 +3262,10 @@ export declare const RenderSnapshot: z.ZodObject<{
3313
3262
  url?: string | undefined;
3314
3263
  } | {
3315
3264
  kind: "uploaded";
3316
- fontId: string & {
3317
- __tableName: "fonts";
3318
- };
3265
+ fontId: string;
3319
3266
  family?: string | undefined;
3320
3267
  } | undefined;
3321
3268
  };
3322
- colors: {
3323
- text: string;
3324
- accent: string;
3325
- primary: string;
3326
- background: string;
3327
- card?: string | undefined;
3328
- surface?: string | undefined;
3329
- secondary?: string | undefined;
3330
- textMuted?: string | undefined;
3331
- border?: string | undefined;
3332
- gridLine?: string | undefined;
3333
- accentMuted?: string | undefined;
3334
- textOnAccent?: string | undefined;
3335
- textOnSurface?: string | undefined;
3336
- };
3337
3269
  audio?: {
3338
3270
  sfxIntensity?: "standard" | "off" | "light" | "dense" | undefined;
3339
3271
  musicEnabled?: boolean | undefined;
@@ -3514,16 +3446,16 @@ export declare const S3Destination: z.ZodObject<{
3514
3446
  acl: z.ZodOptional<z.ZodString>;
3515
3447
  }, "strip", z.ZodTypeAny, {
3516
3448
  kind: "s3";
3517
- key: string;
3518
3449
  credentialId: string;
3519
3450
  bucket: string;
3451
+ key: string;
3520
3452
  region?: string | undefined;
3521
3453
  acl?: string | undefined;
3522
3454
  }, {
3523
3455
  kind: "s3";
3524
- key: string;
3525
3456
  credentialId: string;
3526
3457
  bucket: string;
3458
+ key: string;
3527
3459
  region?: string | undefined;
3528
3460
  acl?: string | undefined;
3529
3461
  }>;
@@ -3596,16 +3528,16 @@ export declare const Destination: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
3596
3528
  acl: z.ZodOptional<z.ZodString>;
3597
3529
  }, "strip", z.ZodTypeAny, {
3598
3530
  kind: "s3";
3599
- key: string;
3600
3531
  credentialId: string;
3601
3532
  bucket: string;
3533
+ key: string;
3602
3534
  region?: string | undefined;
3603
3535
  acl?: string | undefined;
3604
3536
  }, {
3605
3537
  kind: "s3";
3606
- key: string;
3607
3538
  credentialId: string;
3608
3539
  bucket: string;
3540
+ key: string;
3609
3541
  region?: string | undefined;
3610
3542
  acl?: string | undefined;
3611
3543
  }>, z.ZodObject<{
@@ -3681,9 +3613,9 @@ export declare const DestinationResult: z.ZodObject<{
3681
3613
  }>;
3682
3614
  export type DestinationResult = z.infer<typeof DestinationResult>;
3683
3615
  export declare const RenderJob: z.ZodObject<{
3684
- id: import("convex-helpers/server/zod3").Zid<"renderJobs">;
3685
- projectId: z.ZodOptional<import("convex-helpers/server/zod3").Zid<"projects">>;
3686
- compositionId: import("convex-helpers/server/zod3").Zid<"compositions">;
3616
+ id: z.ZodString;
3617
+ projectId: z.ZodOptional<z.ZodString>;
3618
+ compositionId: z.ZodString;
3687
3619
  compositionVersionId: z.ZodString;
3688
3620
  status: z.ZodEnum<["pending", "rendering", "complete", "error", "cancelled"]>;
3689
3621
  progress: z.ZodOptional<z.ZodObject<{
@@ -3707,17 +3639,17 @@ export declare const RenderJob: z.ZodObject<{
3707
3639
  v: z.ZodLiteral<1>;
3708
3640
  format: z.ZodObject<{
3709
3641
  aspectRatio: z.ZodEnum<["16:9", "9:16", "1:1", "4:5"]>;
3710
- fps: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<24>, z.ZodLiteral<30>, z.ZodLiteral<60>]>>;
3642
+ fps: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<24>, z.ZodLiteral<25>, z.ZodLiteral<30>, z.ZodLiteral<60>]>>;
3711
3643
  resolution: z.ZodOptional<z.ZodEnum<["hd", "fhd", "4k"]>>;
3712
3644
  platform: z.ZodOptional<z.ZodString>;
3713
3645
  }, "strip", z.ZodTypeAny, {
3714
3646
  aspectRatio: "16:9" | "9:16" | "1:1" | "4:5";
3715
- fps?: 24 | 30 | 60 | undefined;
3647
+ fps?: 24 | 25 | 30 | 60 | undefined;
3716
3648
  resolution?: "hd" | "fhd" | "4k" | undefined;
3717
3649
  platform?: string | undefined;
3718
3650
  }, {
3719
3651
  aspectRatio: "16:9" | "9:16" | "1:1" | "4:5";
3720
- fps?: 24 | 30 | 60 | undefined;
3652
+ fps?: 24 | 25 | 30 | 60 | undefined;
3721
3653
  resolution?: "hd" | "fhd" | "4k" | undefined;
3722
3654
  platform?: string | undefined;
3723
3655
  }>;
@@ -3733,17 +3665,7 @@ export declare const RenderJob: z.ZodObject<{
3733
3665
  startTime: number;
3734
3666
  source: {
3735
3667
  kind: "media";
3736
- mediaId: string & {
3737
- __tableName: "mediaItems";
3738
- };
3739
- trim?: {
3740
- start: number;
3741
- end: number;
3742
- } | undefined;
3743
- anchor?: {
3744
- clipId: string;
3745
- offsetMs: number;
3746
- } | undefined;
3668
+ mediaId: string;
3747
3669
  reframe?: {
3748
3670
  segments: {
3749
3671
  startSec: number;
@@ -3776,6 +3698,10 @@ export declare const RenderJob: z.ZodObject<{
3776
3698
  }[];
3777
3699
  } | undefined;
3778
3700
  kenBurns?: "none" | "in" | "out" | "pan-l" | "pan-r" | undefined;
3701
+ trim?: {
3702
+ start: number;
3703
+ end: number;
3704
+ } | undefined;
3779
3705
  excludedRanges?: {
3780
3706
  start: number;
3781
3707
  end: number;
@@ -3799,14 +3725,18 @@ export declare const RenderJob: z.ZodObject<{
3799
3725
  endMs: number;
3800
3726
  }[] | undefined;
3801
3727
  } | undefined;
3728
+ anchor?: {
3729
+ clipId: string;
3730
+ offsetMs: number;
3731
+ } | undefined;
3802
3732
  } | {
3803
3733
  kind: "component";
3804
3734
  componentId: string;
3805
3735
  props: Record<string, unknown>;
3806
3736
  zPlane?: "front" | "behind-subject" | undefined;
3807
3737
  } | {
3808
- kind: "overlay";
3809
3738
  params: Record<string, unknown>;
3739
+ kind: "overlay";
3810
3740
  primitiveId: string;
3811
3741
  anchor?: {
3812
3742
  x: number;
@@ -3874,25 +3804,13 @@ export declare const RenderJob: z.ZodObject<{
3874
3804
  startTime: number;
3875
3805
  }, unknown>, "many">;
3876
3806
  }, "strict", z.ZodTypeAny, {
3877
- id: string;
3878
- kind: "overlay" | "video" | "effect" | "audio" | "image";
3879
3807
  contents: ({
3880
3808
  id: string;
3881
3809
  duration: number;
3882
3810
  startTime: number;
3883
3811
  source: {
3884
3812
  kind: "media";
3885
- mediaId: string & {
3886
- __tableName: "mediaItems";
3887
- };
3888
- trim?: {
3889
- start: number;
3890
- end: number;
3891
- } | undefined;
3892
- anchor?: {
3893
- clipId: string;
3894
- offsetMs: number;
3895
- } | undefined;
3813
+ mediaId: string;
3896
3814
  reframe?: {
3897
3815
  segments: {
3898
3816
  startSec: number;
@@ -3925,6 +3843,10 @@ export declare const RenderJob: z.ZodObject<{
3925
3843
  }[];
3926
3844
  } | undefined;
3927
3845
  kenBurns?: "none" | "in" | "out" | "pan-l" | "pan-r" | undefined;
3846
+ trim?: {
3847
+ start: number;
3848
+ end: number;
3849
+ } | undefined;
3928
3850
  excludedRanges?: {
3929
3851
  start: number;
3930
3852
  end: number;
@@ -3948,14 +3870,18 @@ export declare const RenderJob: z.ZodObject<{
3948
3870
  endMs: number;
3949
3871
  }[] | undefined;
3950
3872
  } | undefined;
3873
+ anchor?: {
3874
+ clipId: string;
3875
+ offsetMs: number;
3876
+ } | undefined;
3951
3877
  } | {
3952
3878
  kind: "component";
3953
3879
  componentId: string;
3954
3880
  props: Record<string, unknown>;
3955
3881
  zPlane?: "front" | "behind-subject" | undefined;
3956
3882
  } | {
3957
- kind: "overlay";
3958
3883
  params: Record<string, unknown>;
3884
+ kind: "overlay";
3959
3885
  primitiveId: string;
3960
3886
  anchor?: {
3961
3887
  x: number;
@@ -4022,13 +3948,15 @@ export declare const RenderJob: z.ZodObject<{
4022
3948
  duration: number;
4023
3949
  startTime: number;
4024
3950
  })[];
3951
+ id: string;
3952
+ kind: "overlay" | "video" | "effect" | "audio" | "image";
4025
3953
  enabled?: boolean | undefined;
4026
3954
  volume?: number | undefined;
4027
3955
  name?: string | undefined;
4028
3956
  }, {
3957
+ contents: unknown[];
4029
3958
  id: string;
4030
3959
  kind: "overlay" | "video" | "effect" | "audio" | "image";
4031
- contents: unknown[];
4032
3960
  enabled?: boolean | undefined;
4033
3961
  volume?: number | undefined;
4034
3962
  name?: string | undefined;
@@ -4572,30 +4500,18 @@ export declare const RenderJob: z.ZodObject<{
4572
4500
  v: 1;
4573
4501
  format: {
4574
4502
  aspectRatio: "16:9" | "9:16" | "1:1" | "4:5";
4575
- fps?: 24 | 30 | 60 | undefined;
4503
+ fps?: 24 | 25 | 30 | 60 | undefined;
4576
4504
  resolution?: "hd" | "fhd" | "4k" | undefined;
4577
4505
  platform?: string | undefined;
4578
4506
  };
4579
4507
  tracks: {
4580
- id: string;
4581
- kind: "overlay" | "video" | "effect" | "audio" | "image";
4582
4508
  contents: ({
4583
4509
  id: string;
4584
4510
  duration: number;
4585
4511
  startTime: number;
4586
4512
  source: {
4587
4513
  kind: "media";
4588
- mediaId: string & {
4589
- __tableName: "mediaItems";
4590
- };
4591
- trim?: {
4592
- start: number;
4593
- end: number;
4594
- } | undefined;
4595
- anchor?: {
4596
- clipId: string;
4597
- offsetMs: number;
4598
- } | undefined;
4514
+ mediaId: string;
4599
4515
  reframe?: {
4600
4516
  segments: {
4601
4517
  startSec: number;
@@ -4628,6 +4544,10 @@ export declare const RenderJob: z.ZodObject<{
4628
4544
  }[];
4629
4545
  } | undefined;
4630
4546
  kenBurns?: "none" | "in" | "out" | "pan-l" | "pan-r" | undefined;
4547
+ trim?: {
4548
+ start: number;
4549
+ end: number;
4550
+ } | undefined;
4631
4551
  excludedRanges?: {
4632
4552
  start: number;
4633
4553
  end: number;
@@ -4651,14 +4571,18 @@ export declare const RenderJob: z.ZodObject<{
4651
4571
  endMs: number;
4652
4572
  }[] | undefined;
4653
4573
  } | undefined;
4574
+ anchor?: {
4575
+ clipId: string;
4576
+ offsetMs: number;
4577
+ } | undefined;
4654
4578
  } | {
4655
4579
  kind: "component";
4656
4580
  componentId: string;
4657
4581
  props: Record<string, unknown>;
4658
4582
  zPlane?: "front" | "behind-subject" | undefined;
4659
4583
  } | {
4660
- kind: "overlay";
4661
4584
  params: Record<string, unknown>;
4585
+ kind: "overlay";
4662
4586
  primitiveId: string;
4663
4587
  anchor?: {
4664
4588
  x: number;
@@ -4725,6 +4649,8 @@ export declare const RenderJob: z.ZodObject<{
4725
4649
  duration: number;
4726
4650
  startTime: number;
4727
4651
  })[];
4652
+ id: string;
4653
+ kind: "overlay" | "video" | "effect" | "audio" | "image";
4728
4654
  enabled?: boolean | undefined;
4729
4655
  volume?: number | undefined;
4730
4656
  name?: string | undefined;
@@ -4854,14 +4780,14 @@ export declare const RenderJob: z.ZodObject<{
4854
4780
  v: 1;
4855
4781
  format: {
4856
4782
  aspectRatio: "16:9" | "9:16" | "1:1" | "4:5";
4857
- fps?: 24 | 30 | 60 | undefined;
4783
+ fps?: 24 | 25 | 30 | 60 | undefined;
4858
4784
  resolution?: "hd" | "fhd" | "4k" | undefined;
4859
4785
  platform?: string | undefined;
4860
4786
  };
4861
4787
  tracks: {
4788
+ contents: unknown[];
4862
4789
  id: string;
4863
4790
  kind: "overlay" | "video" | "effect" | "audio" | "image";
4864
- contents: unknown[];
4865
4791
  enabled?: boolean | undefined;
4866
4792
  volume?: number | undefined;
4867
4793
  name?: string | undefined;
@@ -5058,19 +4984,15 @@ export declare const RenderJob: z.ZodObject<{
5058
4984
  url?: string | undefined;
5059
4985
  }>, z.ZodObject<{
5060
4986
  kind: z.ZodLiteral<"uploaded">;
5061
- fontId: import("convex-helpers/server/zod3").Zid<"fonts">;
4987
+ fontId: z.ZodString;
5062
4988
  family: z.ZodOptional<z.ZodString>;
5063
4989
  }, "strip", z.ZodTypeAny, {
5064
4990
  kind: "uploaded";
5065
- fontId: string & {
5066
- __tableName: "fonts";
5067
- };
4991
+ fontId: string;
5068
4992
  family?: string | undefined;
5069
4993
  }, {
5070
4994
  kind: "uploaded";
5071
- fontId: string & {
5072
- __tableName: "fonts";
5073
- };
4995
+ fontId: string;
5074
4996
  family?: string | undefined;
5075
4997
  }>]>;
5076
4998
  body: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
@@ -5096,19 +5018,15 @@ export declare const RenderJob: z.ZodObject<{
5096
5018
  url?: string | undefined;
5097
5019
  }>, z.ZodObject<{
5098
5020
  kind: z.ZodLiteral<"uploaded">;
5099
- fontId: import("convex-helpers/server/zod3").Zid<"fonts">;
5021
+ fontId: z.ZodString;
5100
5022
  family: z.ZodOptional<z.ZodString>;
5101
5023
  }, "strip", z.ZodTypeAny, {
5102
5024
  kind: "uploaded";
5103
- fontId: string & {
5104
- __tableName: "fonts";
5105
- };
5025
+ fontId: string;
5106
5026
  family?: string | undefined;
5107
5027
  }, {
5108
5028
  kind: "uploaded";
5109
- fontId: string & {
5110
- __tableName: "fonts";
5111
- };
5029
+ fontId: string;
5112
5030
  family?: string | undefined;
5113
5031
  }>]>>;
5114
5032
  caption: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
@@ -5134,19 +5052,15 @@ export declare const RenderJob: z.ZodObject<{
5134
5052
  url?: string | undefined;
5135
5053
  }>, z.ZodObject<{
5136
5054
  kind: z.ZodLiteral<"uploaded">;
5137
- fontId: import("convex-helpers/server/zod3").Zid<"fonts">;
5055
+ fontId: z.ZodString;
5138
5056
  family: z.ZodOptional<z.ZodString>;
5139
5057
  }, "strip", z.ZodTypeAny, {
5140
5058
  kind: "uploaded";
5141
- fontId: string & {
5142
- __tableName: "fonts";
5143
- };
5059
+ fontId: string;
5144
5060
  family?: string | undefined;
5145
5061
  }, {
5146
5062
  kind: "uploaded";
5147
- fontId: string & {
5148
- __tableName: "fonts";
5149
- };
5063
+ fontId: string;
5150
5064
  family?: string | undefined;
5151
5065
  }>]>>;
5152
5066
  }, "strip", z.ZodTypeAny, {
@@ -5159,9 +5073,7 @@ export declare const RenderJob: z.ZodObject<{
5159
5073
  url?: string | undefined;
5160
5074
  } | {
5161
5075
  kind: "uploaded";
5162
- fontId: string & {
5163
- __tableName: "fonts";
5164
- };
5076
+ fontId: string;
5165
5077
  family?: string | undefined;
5166
5078
  };
5167
5079
  body?: {
@@ -5173,9 +5085,7 @@ export declare const RenderJob: z.ZodObject<{
5173
5085
  url?: string | undefined;
5174
5086
  } | {
5175
5087
  kind: "uploaded";
5176
- fontId: string & {
5177
- __tableName: "fonts";
5178
- };
5088
+ fontId: string;
5179
5089
  family?: string | undefined;
5180
5090
  } | undefined;
5181
5091
  caption?: {
@@ -5187,9 +5097,7 @@ export declare const RenderJob: z.ZodObject<{
5187
5097
  url?: string | undefined;
5188
5098
  } | {
5189
5099
  kind: "uploaded";
5190
- fontId: string & {
5191
- __tableName: "fonts";
5192
- };
5100
+ fontId: string;
5193
5101
  family?: string | undefined;
5194
5102
  } | undefined;
5195
5103
  }, {
@@ -5202,9 +5110,7 @@ export declare const RenderJob: z.ZodObject<{
5202
5110
  url?: string | undefined;
5203
5111
  } | {
5204
5112
  kind: "uploaded";
5205
- fontId: string & {
5206
- __tableName: "fonts";
5207
- };
5113
+ fontId: string;
5208
5114
  family?: string | undefined;
5209
5115
  };
5210
5116
  body?: {
@@ -5216,9 +5122,7 @@ export declare const RenderJob: z.ZodObject<{
5216
5122
  url?: string | undefined;
5217
5123
  } | {
5218
5124
  kind: "uploaded";
5219
- fontId: string & {
5220
- __tableName: "fonts";
5221
- };
5125
+ fontId: string;
5222
5126
  family?: string | undefined;
5223
5127
  } | undefined;
5224
5128
  caption?: {
@@ -5230,9 +5134,7 @@ export declare const RenderJob: z.ZodObject<{
5230
5134
  url?: string | undefined;
5231
5135
  } | {
5232
5136
  kind: "uploaded";
5233
- fontId: string & {
5234
- __tableName: "fonts";
5235
- };
5137
+ fontId: string;
5236
5138
  family?: string | undefined;
5237
5139
  } | undefined;
5238
5140
  }>;
@@ -5781,6 +5683,21 @@ export declare const RenderJob: z.ZodObject<{
5781
5683
  }, "strip", z.ZodTypeAny, {
5782
5684
  id: string;
5783
5685
  name: string;
5686
+ colors: {
5687
+ text: string;
5688
+ accent: string;
5689
+ primary: string;
5690
+ background: string;
5691
+ card?: string | undefined;
5692
+ surface?: string | undefined;
5693
+ secondary?: string | undefined;
5694
+ textMuted?: string | undefined;
5695
+ border?: string | undefined;
5696
+ gridLine?: string | undefined;
5697
+ accentMuted?: string | undefined;
5698
+ textOnAccent?: string | undefined;
5699
+ textOnSurface?: string | undefined;
5700
+ };
5784
5701
  fonts: {
5785
5702
  heading: {
5786
5703
  kind: "system";
@@ -5791,9 +5708,7 @@ export declare const RenderJob: z.ZodObject<{
5791
5708
  url?: string | undefined;
5792
5709
  } | {
5793
5710
  kind: "uploaded";
5794
- fontId: string & {
5795
- __tableName: "fonts";
5796
- };
5711
+ fontId: string;
5797
5712
  family?: string | undefined;
5798
5713
  };
5799
5714
  body?: {
@@ -5805,9 +5720,7 @@ export declare const RenderJob: z.ZodObject<{
5805
5720
  url?: string | undefined;
5806
5721
  } | {
5807
5722
  kind: "uploaded";
5808
- fontId: string & {
5809
- __tableName: "fonts";
5810
- };
5723
+ fontId: string;
5811
5724
  family?: string | undefined;
5812
5725
  } | undefined;
5813
5726
  caption?: {
@@ -5819,27 +5732,10 @@ export declare const RenderJob: z.ZodObject<{
5819
5732
  url?: string | undefined;
5820
5733
  } | {
5821
5734
  kind: "uploaded";
5822
- fontId: string & {
5823
- __tableName: "fonts";
5824
- };
5735
+ fontId: string;
5825
5736
  family?: string | undefined;
5826
5737
  } | undefined;
5827
5738
  };
5828
- colors: {
5829
- text: string;
5830
- accent: string;
5831
- primary: string;
5832
- background: string;
5833
- card?: string | undefined;
5834
- surface?: string | undefined;
5835
- secondary?: string | undefined;
5836
- textMuted?: string | undefined;
5837
- border?: string | undefined;
5838
- gridLine?: string | undefined;
5839
- accentMuted?: string | undefined;
5840
- textOnAccent?: string | undefined;
5841
- textOnSurface?: string | undefined;
5842
- };
5843
5739
  audio?: {
5844
5740
  sfxIntensity?: "standard" | "off" | "light" | "dense" | undefined;
5845
5741
  musicEnabled?: boolean | undefined;
@@ -6001,6 +5897,21 @@ export declare const RenderJob: z.ZodObject<{
6001
5897
  }, {
6002
5898
  id: string;
6003
5899
  name: string;
5900
+ colors: {
5901
+ text: string;
5902
+ accent: string;
5903
+ primary: string;
5904
+ background: string;
5905
+ card?: string | undefined;
5906
+ surface?: string | undefined;
5907
+ secondary?: string | undefined;
5908
+ textMuted?: string | undefined;
5909
+ border?: string | undefined;
5910
+ gridLine?: string | undefined;
5911
+ accentMuted?: string | undefined;
5912
+ textOnAccent?: string | undefined;
5913
+ textOnSurface?: string | undefined;
5914
+ };
6004
5915
  fonts: {
6005
5916
  heading: {
6006
5917
  kind: "system";
@@ -6011,9 +5922,7 @@ export declare const RenderJob: z.ZodObject<{
6011
5922
  url?: string | undefined;
6012
5923
  } | {
6013
5924
  kind: "uploaded";
6014
- fontId: string & {
6015
- __tableName: "fonts";
6016
- };
5925
+ fontId: string;
6017
5926
  family?: string | undefined;
6018
5927
  };
6019
5928
  body?: {
@@ -6025,9 +5934,7 @@ export declare const RenderJob: z.ZodObject<{
6025
5934
  url?: string | undefined;
6026
5935
  } | {
6027
5936
  kind: "uploaded";
6028
- fontId: string & {
6029
- __tableName: "fonts";
6030
- };
5937
+ fontId: string;
6031
5938
  family?: string | undefined;
6032
5939
  } | undefined;
6033
5940
  caption?: {
@@ -6039,27 +5946,10 @@ export declare const RenderJob: z.ZodObject<{
6039
5946
  url?: string | undefined;
6040
5947
  } | {
6041
5948
  kind: "uploaded";
6042
- fontId: string & {
6043
- __tableName: "fonts";
6044
- };
5949
+ fontId: string;
6045
5950
  family?: string | undefined;
6046
5951
  } | undefined;
6047
5952
  };
6048
- colors: {
6049
- text: string;
6050
- accent: string;
6051
- primary: string;
6052
- background: string;
6053
- card?: string | undefined;
6054
- surface?: string | undefined;
6055
- secondary?: string | undefined;
6056
- textMuted?: string | undefined;
6057
- border?: string | undefined;
6058
- gridLine?: string | undefined;
6059
- accentMuted?: string | undefined;
6060
- textOnAccent?: string | undefined;
6061
- textOnSurface?: string | undefined;
6062
- };
6063
5953
  audio?: {
6064
5954
  sfxIntensity?: "standard" | "off" | "light" | "dense" | undefined;
6065
5955
  musicEnabled?: boolean | undefined;
@@ -6220,19 +6110,15 @@ export declare const RenderJob: z.ZodObject<{
6220
6110
  } | undefined;
6221
6111
  }>>;
6222
6112
  mediaSources: z.ZodArray<z.ZodObject<{
6223
- mediaId: import("convex-helpers/server/zod3").Zid<"mediaItems">;
6113
+ mediaId: z.ZodString;
6224
6114
  presignedUrl: z.ZodString;
6225
6115
  expiresAt: z.ZodOptional<z.ZodNumber>;
6226
6116
  }, "strip", z.ZodTypeAny, {
6227
- mediaId: string & {
6228
- __tableName: "mediaItems";
6229
- };
6117
+ mediaId: string;
6230
6118
  presignedUrl: string;
6231
6119
  expiresAt?: number | undefined;
6232
6120
  }, {
6233
- mediaId: string & {
6234
- __tableName: "mediaItems";
6235
- };
6121
+ mediaId: string;
6236
6122
  presignedUrl: string;
6237
6123
  expiresAt?: number | undefined;
6238
6124
  }>, "many">;
@@ -6255,30 +6141,18 @@ export declare const RenderJob: z.ZodObject<{
6255
6141
  v: 1;
6256
6142
  format: {
6257
6143
  aspectRatio: "16:9" | "9:16" | "1:1" | "4:5";
6258
- fps?: 24 | 30 | 60 | undefined;
6144
+ fps?: 24 | 25 | 30 | 60 | undefined;
6259
6145
  resolution?: "hd" | "fhd" | "4k" | undefined;
6260
6146
  platform?: string | undefined;
6261
6147
  };
6262
6148
  tracks: {
6263
- id: string;
6264
- kind: "overlay" | "video" | "effect" | "audio" | "image";
6265
6149
  contents: ({
6266
6150
  id: string;
6267
6151
  duration: number;
6268
6152
  startTime: number;
6269
6153
  source: {
6270
6154
  kind: "media";
6271
- mediaId: string & {
6272
- __tableName: "mediaItems";
6273
- };
6274
- trim?: {
6275
- start: number;
6276
- end: number;
6277
- } | undefined;
6278
- anchor?: {
6279
- clipId: string;
6280
- offsetMs: number;
6281
- } | undefined;
6155
+ mediaId: string;
6282
6156
  reframe?: {
6283
6157
  segments: {
6284
6158
  startSec: number;
@@ -6311,6 +6185,10 @@ export declare const RenderJob: z.ZodObject<{
6311
6185
  }[];
6312
6186
  } | undefined;
6313
6187
  kenBurns?: "none" | "in" | "out" | "pan-l" | "pan-r" | undefined;
6188
+ trim?: {
6189
+ start: number;
6190
+ end: number;
6191
+ } | undefined;
6314
6192
  excludedRanges?: {
6315
6193
  start: number;
6316
6194
  end: number;
@@ -6334,14 +6212,18 @@ export declare const RenderJob: z.ZodObject<{
6334
6212
  endMs: number;
6335
6213
  }[] | undefined;
6336
6214
  } | undefined;
6215
+ anchor?: {
6216
+ clipId: string;
6217
+ offsetMs: number;
6218
+ } | undefined;
6337
6219
  } | {
6338
6220
  kind: "component";
6339
6221
  componentId: string;
6340
6222
  props: Record<string, unknown>;
6341
6223
  zPlane?: "front" | "behind-subject" | undefined;
6342
6224
  } | {
6343
- kind: "overlay";
6344
6225
  params: Record<string, unknown>;
6226
+ kind: "overlay";
6345
6227
  primitiveId: string;
6346
6228
  anchor?: {
6347
6229
  x: number;
@@ -6408,6 +6290,8 @@ export declare const RenderJob: z.ZodObject<{
6408
6290
  duration: number;
6409
6291
  startTime: number;
6410
6292
  })[];
6293
+ id: string;
6294
+ kind: "overlay" | "video" | "effect" | "audio" | "image";
6411
6295
  enabled?: boolean | undefined;
6412
6296
  volume?: number | undefined;
6413
6297
  name?: string | undefined;
@@ -6535,9 +6419,7 @@ export declare const RenderJob: z.ZodObject<{
6535
6419
  } | undefined;
6536
6420
  };
6537
6421
  mediaSources: {
6538
- mediaId: string & {
6539
- __tableName: "mediaItems";
6540
- };
6422
+ mediaId: string;
6541
6423
  presignedUrl: string;
6542
6424
  expiresAt?: number | undefined;
6543
6425
  }[];
@@ -6550,6 +6432,21 @@ export declare const RenderJob: z.ZodObject<{
6550
6432
  brandKit?: {
6551
6433
  id: string;
6552
6434
  name: string;
6435
+ colors: {
6436
+ text: string;
6437
+ accent: string;
6438
+ primary: string;
6439
+ background: string;
6440
+ card?: string | undefined;
6441
+ surface?: string | undefined;
6442
+ secondary?: string | undefined;
6443
+ textMuted?: string | undefined;
6444
+ border?: string | undefined;
6445
+ gridLine?: string | undefined;
6446
+ accentMuted?: string | undefined;
6447
+ textOnAccent?: string | undefined;
6448
+ textOnSurface?: string | undefined;
6449
+ };
6553
6450
  fonts: {
6554
6451
  heading: {
6555
6452
  kind: "system";
@@ -6560,9 +6457,7 @@ export declare const RenderJob: z.ZodObject<{
6560
6457
  url?: string | undefined;
6561
6458
  } | {
6562
6459
  kind: "uploaded";
6563
- fontId: string & {
6564
- __tableName: "fonts";
6565
- };
6460
+ fontId: string;
6566
6461
  family?: string | undefined;
6567
6462
  };
6568
6463
  body?: {
@@ -6574,9 +6469,7 @@ export declare const RenderJob: z.ZodObject<{
6574
6469
  url?: string | undefined;
6575
6470
  } | {
6576
6471
  kind: "uploaded";
6577
- fontId: string & {
6578
- __tableName: "fonts";
6579
- };
6472
+ fontId: string;
6580
6473
  family?: string | undefined;
6581
6474
  } | undefined;
6582
6475
  caption?: {
@@ -6588,27 +6481,10 @@ export declare const RenderJob: z.ZodObject<{
6588
6481
  url?: string | undefined;
6589
6482
  } | {
6590
6483
  kind: "uploaded";
6591
- fontId: string & {
6592
- __tableName: "fonts";
6593
- };
6484
+ fontId: string;
6594
6485
  family?: string | undefined;
6595
6486
  } | undefined;
6596
6487
  };
6597
- colors: {
6598
- text: string;
6599
- accent: string;
6600
- primary: string;
6601
- background: string;
6602
- card?: string | undefined;
6603
- surface?: string | undefined;
6604
- secondary?: string | undefined;
6605
- textMuted?: string | undefined;
6606
- border?: string | undefined;
6607
- gridLine?: string | undefined;
6608
- accentMuted?: string | undefined;
6609
- textOnAccent?: string | undefined;
6610
- textOnSurface?: string | undefined;
6611
- };
6612
6488
  audio?: {
6613
6489
  sfxIntensity?: "standard" | "off" | "light" | "dense" | undefined;
6614
6490
  musicEnabled?: boolean | undefined;
@@ -6773,14 +6649,14 @@ export declare const RenderJob: z.ZodObject<{
6773
6649
  v: 1;
6774
6650
  format: {
6775
6651
  aspectRatio: "16:9" | "9:16" | "1:1" | "4:5";
6776
- fps?: 24 | 30 | 60 | undefined;
6652
+ fps?: 24 | 25 | 30 | 60 | undefined;
6777
6653
  resolution?: "hd" | "fhd" | "4k" | undefined;
6778
6654
  platform?: string | undefined;
6779
6655
  };
6780
6656
  tracks: {
6657
+ contents: unknown[];
6781
6658
  id: string;
6782
6659
  kind: "overlay" | "video" | "effect" | "audio" | "image";
6783
- contents: unknown[];
6784
6660
  enabled?: boolean | undefined;
6785
6661
  volume?: number | undefined;
6786
6662
  name?: string | undefined;
@@ -6908,9 +6784,7 @@ export declare const RenderJob: z.ZodObject<{
6908
6784
  } | undefined;
6909
6785
  };
6910
6786
  mediaSources: {
6911
- mediaId: string & {
6912
- __tableName: "mediaItems";
6913
- };
6787
+ mediaId: string;
6914
6788
  presignedUrl: string;
6915
6789
  expiresAt?: number | undefined;
6916
6790
  }[];
@@ -6923,6 +6797,21 @@ export declare const RenderJob: z.ZodObject<{
6923
6797
  brandKit?: {
6924
6798
  id: string;
6925
6799
  name: string;
6800
+ colors: {
6801
+ text: string;
6802
+ accent: string;
6803
+ primary: string;
6804
+ background: string;
6805
+ card?: string | undefined;
6806
+ surface?: string | undefined;
6807
+ secondary?: string | undefined;
6808
+ textMuted?: string | undefined;
6809
+ border?: string | undefined;
6810
+ gridLine?: string | undefined;
6811
+ accentMuted?: string | undefined;
6812
+ textOnAccent?: string | undefined;
6813
+ textOnSurface?: string | undefined;
6814
+ };
6926
6815
  fonts: {
6927
6816
  heading: {
6928
6817
  kind: "system";
@@ -6933,9 +6822,7 @@ export declare const RenderJob: z.ZodObject<{
6933
6822
  url?: string | undefined;
6934
6823
  } | {
6935
6824
  kind: "uploaded";
6936
- fontId: string & {
6937
- __tableName: "fonts";
6938
- };
6825
+ fontId: string;
6939
6826
  family?: string | undefined;
6940
6827
  };
6941
6828
  body?: {
@@ -6947,9 +6834,7 @@ export declare const RenderJob: z.ZodObject<{
6947
6834
  url?: string | undefined;
6948
6835
  } | {
6949
6836
  kind: "uploaded";
6950
- fontId: string & {
6951
- __tableName: "fonts";
6952
- };
6837
+ fontId: string;
6953
6838
  family?: string | undefined;
6954
6839
  } | undefined;
6955
6840
  caption?: {
@@ -6961,27 +6846,10 @@ export declare const RenderJob: z.ZodObject<{
6961
6846
  url?: string | undefined;
6962
6847
  } | {
6963
6848
  kind: "uploaded";
6964
- fontId: string & {
6965
- __tableName: "fonts";
6966
- };
6849
+ fontId: string;
6967
6850
  family?: string | undefined;
6968
6851
  } | undefined;
6969
6852
  };
6970
- colors: {
6971
- text: string;
6972
- accent: string;
6973
- primary: string;
6974
- background: string;
6975
- card?: string | undefined;
6976
- surface?: string | undefined;
6977
- secondary?: string | undefined;
6978
- textMuted?: string | undefined;
6979
- border?: string | undefined;
6980
- gridLine?: string | undefined;
6981
- accentMuted?: string | undefined;
6982
- textOnAccent?: string | undefined;
6983
- textOnSurface?: string | undefined;
6984
- };
6985
6853
  audio?: {
6986
6854
  sfxIntensity?: "standard" | "off" | "light" | "dense" | undefined;
6987
6855
  musicEnabled?: boolean | undefined;
@@ -7163,16 +7031,16 @@ export declare const RenderJob: z.ZodObject<{
7163
7031
  acl: z.ZodOptional<z.ZodString>;
7164
7032
  }, "strip", z.ZodTypeAny, {
7165
7033
  kind: "s3";
7166
- key: string;
7167
7034
  credentialId: string;
7168
7035
  bucket: string;
7036
+ key: string;
7169
7037
  region?: string | undefined;
7170
7038
  acl?: string | undefined;
7171
7039
  }, {
7172
7040
  kind: "s3";
7173
- key: string;
7174
7041
  credentialId: string;
7175
7042
  bucket: string;
7043
+ key: string;
7176
7044
  region?: string | undefined;
7177
7045
  acl?: string | undefined;
7178
7046
  }>, z.ZodObject<{
@@ -7260,13 +7128,9 @@ export declare const RenderJob: z.ZodObject<{
7260
7128
  createdAt: z.ZodNumber;
7261
7129
  updatedAt: z.ZodNumber;
7262
7130
  }, "strip", z.ZodTypeAny, {
7263
- id: string & {
7264
- __tableName: "renderJobs";
7265
- };
7266
7131
  status: "error" | "pending" | "rendering" | "complete" | "cancelled";
7267
- compositionId: string & {
7268
- __tableName: "compositions";
7269
- };
7132
+ id: string;
7133
+ compositionId: string;
7270
7134
  createdAt: number;
7271
7135
  priority: "standard" | "background" | "interactive";
7272
7136
  compositionVersionId: string;
@@ -7278,7 +7142,7 @@ export declare const RenderJob: z.ZodObject<{
7278
7142
  message: string;
7279
7143
  details?: Record<string, unknown> | undefined;
7280
7144
  } | undefined;
7281
- projectId?: import("convex/values").GenericId<"projects"> | undefined;
7145
+ projectId?: string | undefined;
7282
7146
  progress?: {
7283
7147
  phase: string;
7284
7148
  percent: number;
@@ -7289,30 +7153,18 @@ export declare const RenderJob: z.ZodObject<{
7289
7153
  v: 1;
7290
7154
  format: {
7291
7155
  aspectRatio: "16:9" | "9:16" | "1:1" | "4:5";
7292
- fps?: 24 | 30 | 60 | undefined;
7156
+ fps?: 24 | 25 | 30 | 60 | undefined;
7293
7157
  resolution?: "hd" | "fhd" | "4k" | undefined;
7294
7158
  platform?: string | undefined;
7295
7159
  };
7296
7160
  tracks: {
7297
- id: string;
7298
- kind: "overlay" | "video" | "effect" | "audio" | "image";
7299
7161
  contents: ({
7300
7162
  id: string;
7301
7163
  duration: number;
7302
7164
  startTime: number;
7303
7165
  source: {
7304
7166
  kind: "media";
7305
- mediaId: string & {
7306
- __tableName: "mediaItems";
7307
- };
7308
- trim?: {
7309
- start: number;
7310
- end: number;
7311
- } | undefined;
7312
- anchor?: {
7313
- clipId: string;
7314
- offsetMs: number;
7315
- } | undefined;
7167
+ mediaId: string;
7316
7168
  reframe?: {
7317
7169
  segments: {
7318
7170
  startSec: number;
@@ -7345,6 +7197,10 @@ export declare const RenderJob: z.ZodObject<{
7345
7197
  }[];
7346
7198
  } | undefined;
7347
7199
  kenBurns?: "none" | "in" | "out" | "pan-l" | "pan-r" | undefined;
7200
+ trim?: {
7201
+ start: number;
7202
+ end: number;
7203
+ } | undefined;
7348
7204
  excludedRanges?: {
7349
7205
  start: number;
7350
7206
  end: number;
@@ -7368,14 +7224,18 @@ export declare const RenderJob: z.ZodObject<{
7368
7224
  endMs: number;
7369
7225
  }[] | undefined;
7370
7226
  } | undefined;
7227
+ anchor?: {
7228
+ clipId: string;
7229
+ offsetMs: number;
7230
+ } | undefined;
7371
7231
  } | {
7372
7232
  kind: "component";
7373
7233
  componentId: string;
7374
7234
  props: Record<string, unknown>;
7375
7235
  zPlane?: "front" | "behind-subject" | undefined;
7376
7236
  } | {
7377
- kind: "overlay";
7378
7237
  params: Record<string, unknown>;
7238
+ kind: "overlay";
7379
7239
  primitiveId: string;
7380
7240
  anchor?: {
7381
7241
  x: number;
@@ -7442,6 +7302,8 @@ export declare const RenderJob: z.ZodObject<{
7442
7302
  duration: number;
7443
7303
  startTime: number;
7444
7304
  })[];
7305
+ id: string;
7306
+ kind: "overlay" | "video" | "effect" | "audio" | "image";
7445
7307
  enabled?: boolean | undefined;
7446
7308
  volume?: number | undefined;
7447
7309
  name?: string | undefined;
@@ -7569,9 +7431,7 @@ export declare const RenderJob: z.ZodObject<{
7569
7431
  } | undefined;
7570
7432
  };
7571
7433
  mediaSources: {
7572
- mediaId: string & {
7573
- __tableName: "mediaItems";
7574
- };
7434
+ mediaId: string;
7575
7435
  presignedUrl: string;
7576
7436
  expiresAt?: number | undefined;
7577
7437
  }[];
@@ -7584,6 +7444,21 @@ export declare const RenderJob: z.ZodObject<{
7584
7444
  brandKit?: {
7585
7445
  id: string;
7586
7446
  name: string;
7447
+ colors: {
7448
+ text: string;
7449
+ accent: string;
7450
+ primary: string;
7451
+ background: string;
7452
+ card?: string | undefined;
7453
+ surface?: string | undefined;
7454
+ secondary?: string | undefined;
7455
+ textMuted?: string | undefined;
7456
+ border?: string | undefined;
7457
+ gridLine?: string | undefined;
7458
+ accentMuted?: string | undefined;
7459
+ textOnAccent?: string | undefined;
7460
+ textOnSurface?: string | undefined;
7461
+ };
7587
7462
  fonts: {
7588
7463
  heading: {
7589
7464
  kind: "system";
@@ -7594,9 +7469,7 @@ export declare const RenderJob: z.ZodObject<{
7594
7469
  url?: string | undefined;
7595
7470
  } | {
7596
7471
  kind: "uploaded";
7597
- fontId: string & {
7598
- __tableName: "fonts";
7599
- };
7472
+ fontId: string;
7600
7473
  family?: string | undefined;
7601
7474
  };
7602
7475
  body?: {
@@ -7608,9 +7481,7 @@ export declare const RenderJob: z.ZodObject<{
7608
7481
  url?: string | undefined;
7609
7482
  } | {
7610
7483
  kind: "uploaded";
7611
- fontId: string & {
7612
- __tableName: "fonts";
7613
- };
7484
+ fontId: string;
7614
7485
  family?: string | undefined;
7615
7486
  } | undefined;
7616
7487
  caption?: {
@@ -7622,27 +7493,10 @@ export declare const RenderJob: z.ZodObject<{
7622
7493
  url?: string | undefined;
7623
7494
  } | {
7624
7495
  kind: "uploaded";
7625
- fontId: string & {
7626
- __tableName: "fonts";
7627
- };
7496
+ fontId: string;
7628
7497
  family?: string | undefined;
7629
7498
  } | undefined;
7630
7499
  };
7631
- colors: {
7632
- text: string;
7633
- accent: string;
7634
- primary: string;
7635
- background: string;
7636
- card?: string | undefined;
7637
- surface?: string | undefined;
7638
- secondary?: string | undefined;
7639
- textMuted?: string | undefined;
7640
- border?: string | undefined;
7641
- gridLine?: string | undefined;
7642
- accentMuted?: string | undefined;
7643
- textOnAccent?: string | undefined;
7644
- textOnSurface?: string | undefined;
7645
- };
7646
7500
  audio?: {
7647
7501
  sfxIntensity?: "standard" | "off" | "light" | "dense" | undefined;
7648
7502
  musicEnabled?: boolean | undefined;
@@ -7811,9 +7665,9 @@ export declare const RenderJob: z.ZodObject<{
7811
7665
  path?: string | undefined;
7812
7666
  } | {
7813
7667
  kind: "s3";
7814
- key: string;
7815
7668
  credentialId: string;
7816
7669
  bucket: string;
7670
+ key: string;
7817
7671
  region?: string | undefined;
7818
7672
  acl?: string | undefined;
7819
7673
  } | {
@@ -7842,13 +7696,9 @@ export declare const RenderJob: z.ZodObject<{
7842
7696
  }[] | undefined;
7843
7697
  cancelReason?: "user" | "agent" | "error" | "cost_limit" | "superseded" | "source_removed" | "timeout" | undefined;
7844
7698
  }, {
7845
- id: string & {
7846
- __tableName: "renderJobs";
7847
- };
7848
7699
  status: "error" | "pending" | "rendering" | "complete" | "cancelled";
7849
- compositionId: string & {
7850
- __tableName: "compositions";
7851
- };
7700
+ id: string;
7701
+ compositionId: string;
7852
7702
  createdAt: number;
7853
7703
  priority: "standard" | "background" | "interactive";
7854
7704
  compositionVersionId: string;
@@ -7860,7 +7710,7 @@ export declare const RenderJob: z.ZodObject<{
7860
7710
  message: string;
7861
7711
  details?: Record<string, unknown> | undefined;
7862
7712
  } | undefined;
7863
- projectId?: import("convex/values").GenericId<"projects"> | undefined;
7713
+ projectId?: string | undefined;
7864
7714
  progress?: {
7865
7715
  phase: string;
7866
7716
  percent: number;
@@ -7871,14 +7721,14 @@ export declare const RenderJob: z.ZodObject<{
7871
7721
  v: 1;
7872
7722
  format: {
7873
7723
  aspectRatio: "16:9" | "9:16" | "1:1" | "4:5";
7874
- fps?: 24 | 30 | 60 | undefined;
7724
+ fps?: 24 | 25 | 30 | 60 | undefined;
7875
7725
  resolution?: "hd" | "fhd" | "4k" | undefined;
7876
7726
  platform?: string | undefined;
7877
7727
  };
7878
7728
  tracks: {
7729
+ contents: unknown[];
7879
7730
  id: string;
7880
7731
  kind: "overlay" | "video" | "effect" | "audio" | "image";
7881
- contents: unknown[];
7882
7732
  enabled?: boolean | undefined;
7883
7733
  volume?: number | undefined;
7884
7734
  name?: string | undefined;
@@ -8006,9 +7856,7 @@ export declare const RenderJob: z.ZodObject<{
8006
7856
  } | undefined;
8007
7857
  };
8008
7858
  mediaSources: {
8009
- mediaId: string & {
8010
- __tableName: "mediaItems";
8011
- };
7859
+ mediaId: string;
8012
7860
  presignedUrl: string;
8013
7861
  expiresAt?: number | undefined;
8014
7862
  }[];
@@ -8021,6 +7869,21 @@ export declare const RenderJob: z.ZodObject<{
8021
7869
  brandKit?: {
8022
7870
  id: string;
8023
7871
  name: string;
7872
+ colors: {
7873
+ text: string;
7874
+ accent: string;
7875
+ primary: string;
7876
+ background: string;
7877
+ card?: string | undefined;
7878
+ surface?: string | undefined;
7879
+ secondary?: string | undefined;
7880
+ textMuted?: string | undefined;
7881
+ border?: string | undefined;
7882
+ gridLine?: string | undefined;
7883
+ accentMuted?: string | undefined;
7884
+ textOnAccent?: string | undefined;
7885
+ textOnSurface?: string | undefined;
7886
+ };
8024
7887
  fonts: {
8025
7888
  heading: {
8026
7889
  kind: "system";
@@ -8031,9 +7894,7 @@ export declare const RenderJob: z.ZodObject<{
8031
7894
  url?: string | undefined;
8032
7895
  } | {
8033
7896
  kind: "uploaded";
8034
- fontId: string & {
8035
- __tableName: "fonts";
8036
- };
7897
+ fontId: string;
8037
7898
  family?: string | undefined;
8038
7899
  };
8039
7900
  body?: {
@@ -8045,9 +7906,7 @@ export declare const RenderJob: z.ZodObject<{
8045
7906
  url?: string | undefined;
8046
7907
  } | {
8047
7908
  kind: "uploaded";
8048
- fontId: string & {
8049
- __tableName: "fonts";
8050
- };
7909
+ fontId: string;
8051
7910
  family?: string | undefined;
8052
7911
  } | undefined;
8053
7912
  caption?: {
@@ -8059,27 +7918,10 @@ export declare const RenderJob: z.ZodObject<{
8059
7918
  url?: string | undefined;
8060
7919
  } | {
8061
7920
  kind: "uploaded";
8062
- fontId: string & {
8063
- __tableName: "fonts";
8064
- };
7921
+ fontId: string;
8065
7922
  family?: string | undefined;
8066
7923
  } | undefined;
8067
7924
  };
8068
- colors: {
8069
- text: string;
8070
- accent: string;
8071
- primary: string;
8072
- background: string;
8073
- card?: string | undefined;
8074
- surface?: string | undefined;
8075
- secondary?: string | undefined;
8076
- textMuted?: string | undefined;
8077
- border?: string | undefined;
8078
- gridLine?: string | undefined;
8079
- accentMuted?: string | undefined;
8080
- textOnAccent?: string | undefined;
8081
- textOnSurface?: string | undefined;
8082
- };
8083
7925
  audio?: {
8084
7926
  sfxIntensity?: "standard" | "off" | "light" | "dense" | undefined;
8085
7927
  musicEnabled?: boolean | undefined;
@@ -8248,9 +8090,9 @@ export declare const RenderJob: z.ZodObject<{
8248
8090
  path?: string | undefined;
8249
8091
  } | {
8250
8092
  kind: "s3";
8251
- key: string;
8252
8093
  credentialId: string;
8253
8094
  bucket: string;
8095
+ key: string;
8254
8096
  region?: string | undefined;
8255
8097
  acl?: string | undefined;
8256
8098
  } | {
@@ -8281,24 +8123,20 @@ export declare const RenderJob: z.ZodObject<{
8281
8123
  }>;
8282
8124
  export type RenderJob = z.infer<typeof RenderJob>;
8283
8125
  export declare const RenderProgress: z.ZodObject<{
8284
- jobId: import("convex-helpers/server/zod3").Zid<"renderJobs">;
8126
+ jobId: z.ZodString;
8285
8127
  status: z.ZodEnum<["pending", "rendering", "complete", "error", "cancelled"]>;
8286
8128
  percent: z.ZodOptional<z.ZodNumber>;
8287
8129
  framesRendered: z.ZodOptional<z.ZodNumber>;
8288
8130
  framesTotal: z.ZodOptional<z.ZodNumber>;
8289
8131
  }, "strip", z.ZodTypeAny, {
8290
8132
  status: "error" | "pending" | "rendering" | "complete" | "cancelled";
8291
- jobId: string & {
8292
- __tableName: "renderJobs";
8293
- };
8133
+ jobId: string;
8294
8134
  percent?: number | undefined;
8295
8135
  framesRendered?: number | undefined;
8296
8136
  framesTotal?: number | undefined;
8297
8137
  }, {
8298
8138
  status: "error" | "pending" | "rendering" | "complete" | "cancelled";
8299
- jobId: string & {
8300
- __tableName: "renderJobs";
8301
- };
8139
+ jobId: string;
8302
8140
  percent?: number | undefined;
8303
8141
  framesRendered?: number | undefined;
8304
8142
  framesTotal?: number | undefined;