@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
@@ -2,17 +2,17 @@ import { z } from "zod";
2
2
  export { Focus, ReframeSegment, ReframeSegmentFields, Reframe } from "../reframe/index.js";
3
3
  export declare const Format: z.ZodObject<{
4
4
  aspectRatio: z.ZodEnum<["16:9", "9:16", "1:1", "4:5"]>;
5
- fps: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<24>, z.ZodLiteral<30>, z.ZodLiteral<60>]>>;
5
+ fps: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<24>, z.ZodLiteral<25>, z.ZodLiteral<30>, z.ZodLiteral<60>]>>;
6
6
  resolution: z.ZodOptional<z.ZodEnum<["hd", "fhd", "4k"]>>;
7
7
  platform: z.ZodOptional<z.ZodString>;
8
8
  }, "strip", z.ZodTypeAny, {
9
9
  aspectRatio: "16:9" | "9:16" | "1:1" | "4:5";
10
- fps?: 24 | 30 | 60 | undefined;
10
+ fps?: 24 | 25 | 30 | 60 | undefined;
11
11
  resolution?: "hd" | "fhd" | "4k" | undefined;
12
12
  platform?: string | undefined;
13
13
  }, {
14
14
  aspectRatio: "16:9" | "9:16" | "1:1" | "4:5";
15
- fps?: 24 | 30 | 60 | undefined;
15
+ fps?: 24 | 25 | 30 | 60 | undefined;
16
16
  resolution?: "hd" | "fhd" | "4k" | undefined;
17
17
  platform?: string | undefined;
18
18
  }>;
@@ -33,7 +33,7 @@ declare const ExcludedRange: z.ZodObject<{
33
33
  export type ExcludedRange = z.infer<typeof ExcludedRange>;
34
34
  export declare const MediaClipSource: z.ZodObject<{
35
35
  kind: z.ZodLiteral<"media">;
36
- mediaId: import("convex-helpers/server/zod3").Zid<"mediaItems">;
36
+ mediaId: z.ZodString;
37
37
  trim: z.ZodOptional<z.ZodObject<{
38
38
  start: z.ZodNumber;
39
39
  end: z.ZodNumber;
@@ -353,17 +353,7 @@ export declare const MediaClipSource: z.ZodObject<{
353
353
  }>>;
354
354
  }, "strip", z.ZodTypeAny, {
355
355
  kind: "media";
356
- mediaId: string & {
357
- __tableName: "mediaItems";
358
- };
359
- trim?: {
360
- start: number;
361
- end: number;
362
- } | undefined;
363
- anchor?: {
364
- clipId: string;
365
- offsetMs: number;
366
- } | undefined;
356
+ mediaId: string;
367
357
  reframe?: {
368
358
  segments: {
369
359
  startSec: number;
@@ -396,6 +386,10 @@ export declare const MediaClipSource: z.ZodObject<{
396
386
  }[];
397
387
  } | undefined;
398
388
  kenBurns?: "none" | "in" | "out" | "pan-l" | "pan-r" | undefined;
389
+ trim?: {
390
+ start: number;
391
+ end: number;
392
+ } | undefined;
399
393
  excludedRanges?: {
400
394
  start: number;
401
395
  end: number;
@@ -419,19 +413,13 @@ export declare const MediaClipSource: z.ZodObject<{
419
413
  endMs: number;
420
414
  }[] | undefined;
421
415
  } | undefined;
422
- }, {
423
- kind: "media";
424
- mediaId: string & {
425
- __tableName: "mediaItems";
426
- };
427
- trim?: {
428
- start: number;
429
- end: number;
430
- } | undefined;
431
416
  anchor?: {
432
417
  clipId: string;
433
418
  offsetMs: number;
434
419
  } | undefined;
420
+ }, {
421
+ kind: "media";
422
+ mediaId: string;
435
423
  reframe?: {
436
424
  segments: {
437
425
  startSec: number;
@@ -464,6 +452,10 @@ export declare const MediaClipSource: z.ZodObject<{
464
452
  }[];
465
453
  } | undefined;
466
454
  kenBurns?: "none" | "in" | "out" | "pan-l" | "pan-r" | undefined;
455
+ trim?: {
456
+ start: number;
457
+ end: number;
458
+ } | undefined;
467
459
  excludedRanges?: {
468
460
  start: number;
469
461
  end: number;
@@ -487,6 +479,10 @@ export declare const MediaClipSource: z.ZodObject<{
487
479
  endMs: number;
488
480
  }[] | undefined;
489
481
  } | undefined;
482
+ anchor?: {
483
+ clipId: string;
484
+ offsetMs: number;
485
+ } | undefined;
490
486
  }>;
491
487
  export declare const ComponentClipSource: z.ZodObject<{
492
488
  kind: z.ZodLiteral<"component">;
@@ -524,8 +520,8 @@ export declare const OverlayClipSource: z.ZodObject<{
524
520
  }>>;
525
521
  parallax: z.ZodOptional<z.ZodNumber>;
526
522
  }, "strip", z.ZodTypeAny, {
527
- kind: "overlay";
528
523
  params: Record<string, unknown>;
524
+ kind: "overlay";
529
525
  primitiveId: string;
530
526
  anchor?: {
531
527
  x: number;
@@ -535,8 +531,8 @@ export declare const OverlayClipSource: z.ZodObject<{
535
531
  zPlane?: "front" | "behind-subject" | undefined;
536
532
  parallax?: number | undefined;
537
533
  }, {
538
- kind: "overlay";
539
534
  params: Record<string, unknown>;
535
+ kind: "overlay";
540
536
  primitiveId: string;
541
537
  anchor?: {
542
538
  x: number;
@@ -622,7 +618,7 @@ export declare const CompositionClipSource: z.ZodObject<{
622
618
  export type CompositionClipSource = z.infer<typeof CompositionClipSource>;
623
619
  export declare const ClipSource: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
624
620
  kind: z.ZodLiteral<"media">;
625
- mediaId: import("convex-helpers/server/zod3").Zid<"mediaItems">;
621
+ mediaId: z.ZodString;
626
622
  trim: z.ZodOptional<z.ZodObject<{
627
623
  start: z.ZodNumber;
628
624
  end: z.ZodNumber;
@@ -942,17 +938,7 @@ export declare const ClipSource: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
942
938
  }>>;
943
939
  }, "strip", z.ZodTypeAny, {
944
940
  kind: "media";
945
- mediaId: string & {
946
- __tableName: "mediaItems";
947
- };
948
- trim?: {
949
- start: number;
950
- end: number;
951
- } | undefined;
952
- anchor?: {
953
- clipId: string;
954
- offsetMs: number;
955
- } | undefined;
941
+ mediaId: string;
956
942
  reframe?: {
957
943
  segments: {
958
944
  startSec: number;
@@ -985,6 +971,10 @@ export declare const ClipSource: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
985
971
  }[];
986
972
  } | undefined;
987
973
  kenBurns?: "none" | "in" | "out" | "pan-l" | "pan-r" | undefined;
974
+ trim?: {
975
+ start: number;
976
+ end: number;
977
+ } | undefined;
988
978
  excludedRanges?: {
989
979
  start: number;
990
980
  end: number;
@@ -1008,19 +998,13 @@ export declare const ClipSource: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
1008
998
  endMs: number;
1009
999
  }[] | undefined;
1010
1000
  } | undefined;
1011
- }, {
1012
- kind: "media";
1013
- mediaId: string & {
1014
- __tableName: "mediaItems";
1015
- };
1016
- trim?: {
1017
- start: number;
1018
- end: number;
1019
- } | undefined;
1020
1001
  anchor?: {
1021
1002
  clipId: string;
1022
1003
  offsetMs: number;
1023
1004
  } | undefined;
1005
+ }, {
1006
+ kind: "media";
1007
+ mediaId: string;
1024
1008
  reframe?: {
1025
1009
  segments: {
1026
1010
  startSec: number;
@@ -1053,6 +1037,10 @@ export declare const ClipSource: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
1053
1037
  }[];
1054
1038
  } | undefined;
1055
1039
  kenBurns?: "none" | "in" | "out" | "pan-l" | "pan-r" | undefined;
1040
+ trim?: {
1041
+ start: number;
1042
+ end: number;
1043
+ } | undefined;
1056
1044
  excludedRanges?: {
1057
1045
  start: number;
1058
1046
  end: number;
@@ -1076,6 +1064,10 @@ export declare const ClipSource: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
1076
1064
  endMs: number;
1077
1065
  }[] | undefined;
1078
1066
  } | undefined;
1067
+ anchor?: {
1068
+ clipId: string;
1069
+ offsetMs: number;
1070
+ } | undefined;
1079
1071
  }>, z.ZodObject<{
1080
1072
  kind: z.ZodLiteral<"component">;
1081
1073
  componentId: z.ZodString;
@@ -1111,8 +1103,8 @@ export declare const ClipSource: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
1111
1103
  }>>;
1112
1104
  parallax: z.ZodOptional<z.ZodNumber>;
1113
1105
  }, "strip", z.ZodTypeAny, {
1114
- kind: "overlay";
1115
1106
  params: Record<string, unknown>;
1107
+ kind: "overlay";
1116
1108
  primitiveId: string;
1117
1109
  anchor?: {
1118
1110
  x: number;
@@ -1122,8 +1114,8 @@ export declare const ClipSource: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
1122
1114
  zPlane?: "front" | "behind-subject" | undefined;
1123
1115
  parallax?: number | undefined;
1124
1116
  }, {
1125
- kind: "overlay";
1126
1117
  params: Record<string, unknown>;
1118
+ kind: "overlay";
1127
1119
  primitiveId: string;
1128
1120
  anchor?: {
1129
1121
  x: number;
@@ -1309,7 +1301,7 @@ export declare const TimelineClip: z.ZodObject<{
1309
1301
  duration: z.ZodNumber;
1310
1302
  source: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
1311
1303
  kind: z.ZodLiteral<"media">;
1312
- mediaId: import("convex-helpers/server/zod3").Zid<"mediaItems">;
1304
+ mediaId: z.ZodString;
1313
1305
  trim: z.ZodOptional<z.ZodObject<{
1314
1306
  start: z.ZodNumber;
1315
1307
  end: z.ZodNumber;
@@ -1629,17 +1621,7 @@ export declare const TimelineClip: z.ZodObject<{
1629
1621
  }>>;
1630
1622
  }, "strip", z.ZodTypeAny, {
1631
1623
  kind: "media";
1632
- mediaId: string & {
1633
- __tableName: "mediaItems";
1634
- };
1635
- trim?: {
1636
- start: number;
1637
- end: number;
1638
- } | undefined;
1639
- anchor?: {
1640
- clipId: string;
1641
- offsetMs: number;
1642
- } | undefined;
1624
+ mediaId: string;
1643
1625
  reframe?: {
1644
1626
  segments: {
1645
1627
  startSec: number;
@@ -1672,6 +1654,10 @@ export declare const TimelineClip: z.ZodObject<{
1672
1654
  }[];
1673
1655
  } | undefined;
1674
1656
  kenBurns?: "none" | "in" | "out" | "pan-l" | "pan-r" | undefined;
1657
+ trim?: {
1658
+ start: number;
1659
+ end: number;
1660
+ } | undefined;
1675
1661
  excludedRanges?: {
1676
1662
  start: number;
1677
1663
  end: number;
@@ -1695,19 +1681,13 @@ export declare const TimelineClip: z.ZodObject<{
1695
1681
  endMs: number;
1696
1682
  }[] | undefined;
1697
1683
  } | undefined;
1698
- }, {
1699
- kind: "media";
1700
- mediaId: string & {
1701
- __tableName: "mediaItems";
1702
- };
1703
- trim?: {
1704
- start: number;
1705
- end: number;
1706
- } | undefined;
1707
1684
  anchor?: {
1708
1685
  clipId: string;
1709
1686
  offsetMs: number;
1710
1687
  } | undefined;
1688
+ }, {
1689
+ kind: "media";
1690
+ mediaId: string;
1711
1691
  reframe?: {
1712
1692
  segments: {
1713
1693
  startSec: number;
@@ -1740,6 +1720,10 @@ export declare const TimelineClip: z.ZodObject<{
1740
1720
  }[];
1741
1721
  } | undefined;
1742
1722
  kenBurns?: "none" | "in" | "out" | "pan-l" | "pan-r" | undefined;
1723
+ trim?: {
1724
+ start: number;
1725
+ end: number;
1726
+ } | undefined;
1743
1727
  excludedRanges?: {
1744
1728
  start: number;
1745
1729
  end: number;
@@ -1763,6 +1747,10 @@ export declare const TimelineClip: z.ZodObject<{
1763
1747
  endMs: number;
1764
1748
  }[] | undefined;
1765
1749
  } | undefined;
1750
+ anchor?: {
1751
+ clipId: string;
1752
+ offsetMs: number;
1753
+ } | undefined;
1766
1754
  }>, z.ZodObject<{
1767
1755
  kind: z.ZodLiteral<"component">;
1768
1756
  componentId: z.ZodString;
@@ -1798,8 +1786,8 @@ export declare const TimelineClip: z.ZodObject<{
1798
1786
  }>>;
1799
1787
  parallax: z.ZodOptional<z.ZodNumber>;
1800
1788
  }, "strip", z.ZodTypeAny, {
1801
- kind: "overlay";
1802
1789
  params: Record<string, unknown>;
1790
+ kind: "overlay";
1803
1791
  primitiveId: string;
1804
1792
  anchor?: {
1805
1793
  x: number;
@@ -1809,8 +1797,8 @@ export declare const TimelineClip: z.ZodObject<{
1809
1797
  zPlane?: "front" | "behind-subject" | undefined;
1810
1798
  parallax?: number | undefined;
1811
1799
  }, {
1812
- kind: "overlay";
1813
1800
  params: Record<string, unknown>;
1801
+ kind: "overlay";
1814
1802
  primitiveId: string;
1815
1803
  anchor?: {
1816
1804
  x: number;
@@ -1982,17 +1970,7 @@ export declare const TimelineClip: z.ZodObject<{
1982
1970
  startTime: number;
1983
1971
  source: {
1984
1972
  kind: "media";
1985
- mediaId: string & {
1986
- __tableName: "mediaItems";
1987
- };
1988
- trim?: {
1989
- start: number;
1990
- end: number;
1991
- } | undefined;
1992
- anchor?: {
1993
- clipId: string;
1994
- offsetMs: number;
1995
- } | undefined;
1973
+ mediaId: string;
1996
1974
  reframe?: {
1997
1975
  segments: {
1998
1976
  startSec: number;
@@ -2025,6 +2003,10 @@ export declare const TimelineClip: z.ZodObject<{
2025
2003
  }[];
2026
2004
  } | undefined;
2027
2005
  kenBurns?: "none" | "in" | "out" | "pan-l" | "pan-r" | undefined;
2006
+ trim?: {
2007
+ start: number;
2008
+ end: number;
2009
+ } | undefined;
2028
2010
  excludedRanges?: {
2029
2011
  start: number;
2030
2012
  end: number;
@@ -2048,14 +2030,18 @@ export declare const TimelineClip: z.ZodObject<{
2048
2030
  endMs: number;
2049
2031
  }[] | undefined;
2050
2032
  } | undefined;
2033
+ anchor?: {
2034
+ clipId: string;
2035
+ offsetMs: number;
2036
+ } | undefined;
2051
2037
  } | {
2052
2038
  kind: "component";
2053
2039
  componentId: string;
2054
2040
  props: Record<string, unknown>;
2055
2041
  zPlane?: "front" | "behind-subject" | undefined;
2056
2042
  } | {
2057
- kind: "overlay";
2058
2043
  params: Record<string, unknown>;
2044
+ kind: "overlay";
2059
2045
  primitiveId: string;
2060
2046
  anchor?: {
2061
2047
  x: number;
@@ -2123,17 +2109,7 @@ export declare const TimelineClip: z.ZodObject<{
2123
2109
  startTime: number;
2124
2110
  source: {
2125
2111
  kind: "media";
2126
- mediaId: string & {
2127
- __tableName: "mediaItems";
2128
- };
2129
- trim?: {
2130
- start: number;
2131
- end: number;
2132
- } | undefined;
2133
- anchor?: {
2134
- clipId: string;
2135
- offsetMs: number;
2136
- } | undefined;
2112
+ mediaId: string;
2137
2113
  reframe?: {
2138
2114
  segments: {
2139
2115
  startSec: number;
@@ -2166,6 +2142,10 @@ export declare const TimelineClip: z.ZodObject<{
2166
2142
  }[];
2167
2143
  } | undefined;
2168
2144
  kenBurns?: "none" | "in" | "out" | "pan-l" | "pan-r" | undefined;
2145
+ trim?: {
2146
+ start: number;
2147
+ end: number;
2148
+ } | undefined;
2169
2149
  excludedRanges?: {
2170
2150
  start: number;
2171
2151
  end: number;
@@ -2189,14 +2169,18 @@ export declare const TimelineClip: z.ZodObject<{
2189
2169
  endMs: number;
2190
2170
  }[] | undefined;
2191
2171
  } | undefined;
2172
+ anchor?: {
2173
+ clipId: string;
2174
+ offsetMs: number;
2175
+ } | undefined;
2192
2176
  } | {
2193
2177
  kind: "component";
2194
2178
  componentId: string;
2195
2179
  props: Record<string, unknown>;
2196
2180
  zPlane?: "front" | "behind-subject" | undefined;
2197
2181
  } | {
2198
- kind: "overlay";
2199
2182
  params: Record<string, unknown>;
2183
+ kind: "overlay";
2200
2184
  primitiveId: string;
2201
2185
  anchor?: {
2202
2186
  x: number;
@@ -2280,17 +2264,7 @@ export declare const TrackContent: z.ZodEffects<z.ZodUnknown, {
2280
2264
  startTime: number;
2281
2265
  source: {
2282
2266
  kind: "media";
2283
- mediaId: string & {
2284
- __tableName: "mediaItems";
2285
- };
2286
- trim?: {
2287
- start: number;
2288
- end: number;
2289
- } | undefined;
2290
- anchor?: {
2291
- clipId: string;
2292
- offsetMs: number;
2293
- } | undefined;
2267
+ mediaId: string;
2294
2268
  reframe?: {
2295
2269
  segments: {
2296
2270
  startSec: number;
@@ -2323,6 +2297,10 @@ export declare const TrackContent: z.ZodEffects<z.ZodUnknown, {
2323
2297
  }[];
2324
2298
  } | undefined;
2325
2299
  kenBurns?: "none" | "in" | "out" | "pan-l" | "pan-r" | undefined;
2300
+ trim?: {
2301
+ start: number;
2302
+ end: number;
2303
+ } | undefined;
2326
2304
  excludedRanges?: {
2327
2305
  start: number;
2328
2306
  end: number;
@@ -2346,14 +2324,18 @@ export declare const TrackContent: z.ZodEffects<z.ZodUnknown, {
2346
2324
  endMs: number;
2347
2325
  }[] | undefined;
2348
2326
  } | undefined;
2327
+ anchor?: {
2328
+ clipId: string;
2329
+ offsetMs: number;
2330
+ } | undefined;
2349
2331
  } | {
2350
2332
  kind: "component";
2351
2333
  componentId: string;
2352
2334
  props: Record<string, unknown>;
2353
2335
  zPlane?: "front" | "behind-subject" | undefined;
2354
2336
  } | {
2355
- kind: "overlay";
2356
2337
  params: Record<string, unknown>;
2338
+ kind: "overlay";
2357
2339
  primitiveId: string;
2358
2340
  anchor?: {
2359
2341
  x: number;
@@ -2433,17 +2415,7 @@ export declare const Track: z.ZodObject<{
2433
2415
  startTime: number;
2434
2416
  source: {
2435
2417
  kind: "media";
2436
- mediaId: string & {
2437
- __tableName: "mediaItems";
2438
- };
2439
- trim?: {
2440
- start: number;
2441
- end: number;
2442
- } | undefined;
2443
- anchor?: {
2444
- clipId: string;
2445
- offsetMs: number;
2446
- } | undefined;
2418
+ mediaId: string;
2447
2419
  reframe?: {
2448
2420
  segments: {
2449
2421
  startSec: number;
@@ -2476,6 +2448,10 @@ export declare const Track: z.ZodObject<{
2476
2448
  }[];
2477
2449
  } | undefined;
2478
2450
  kenBurns?: "none" | "in" | "out" | "pan-l" | "pan-r" | undefined;
2451
+ trim?: {
2452
+ start: number;
2453
+ end: number;
2454
+ } | undefined;
2479
2455
  excludedRanges?: {
2480
2456
  start: number;
2481
2457
  end: number;
@@ -2499,14 +2475,18 @@ export declare const Track: z.ZodObject<{
2499
2475
  endMs: number;
2500
2476
  }[] | undefined;
2501
2477
  } | undefined;
2478
+ anchor?: {
2479
+ clipId: string;
2480
+ offsetMs: number;
2481
+ } | undefined;
2502
2482
  } | {
2503
2483
  kind: "component";
2504
2484
  componentId: string;
2505
2485
  props: Record<string, unknown>;
2506
2486
  zPlane?: "front" | "behind-subject" | undefined;
2507
2487
  } | {
2508
- kind: "overlay";
2509
2488
  params: Record<string, unknown>;
2489
+ kind: "overlay";
2510
2490
  primitiveId: string;
2511
2491
  anchor?: {
2512
2492
  x: number;
@@ -2574,25 +2554,13 @@ export declare const Track: z.ZodObject<{
2574
2554
  startTime: number;
2575
2555
  }, unknown>, "many">;
2576
2556
  }, "strict", z.ZodTypeAny, {
2577
- id: string;
2578
- kind: "overlay" | "video" | "effect" | "audio" | "image";
2579
2557
  contents: ({
2580
2558
  id: string;
2581
2559
  duration: number;
2582
2560
  startTime: number;
2583
2561
  source: {
2584
2562
  kind: "media";
2585
- mediaId: string & {
2586
- __tableName: "mediaItems";
2587
- };
2588
- trim?: {
2589
- start: number;
2590
- end: number;
2591
- } | undefined;
2592
- anchor?: {
2593
- clipId: string;
2594
- offsetMs: number;
2595
- } | undefined;
2563
+ mediaId: string;
2596
2564
  reframe?: {
2597
2565
  segments: {
2598
2566
  startSec: number;
@@ -2625,6 +2593,10 @@ export declare const Track: z.ZodObject<{
2625
2593
  }[];
2626
2594
  } | undefined;
2627
2595
  kenBurns?: "none" | "in" | "out" | "pan-l" | "pan-r" | undefined;
2596
+ trim?: {
2597
+ start: number;
2598
+ end: number;
2599
+ } | undefined;
2628
2600
  excludedRanges?: {
2629
2601
  start: number;
2630
2602
  end: number;
@@ -2648,14 +2620,18 @@ export declare const Track: z.ZodObject<{
2648
2620
  endMs: number;
2649
2621
  }[] | undefined;
2650
2622
  } | undefined;
2623
+ anchor?: {
2624
+ clipId: string;
2625
+ offsetMs: number;
2626
+ } | undefined;
2651
2627
  } | {
2652
2628
  kind: "component";
2653
2629
  componentId: string;
2654
2630
  props: Record<string, unknown>;
2655
2631
  zPlane?: "front" | "behind-subject" | undefined;
2656
2632
  } | {
2657
- kind: "overlay";
2658
2633
  params: Record<string, unknown>;
2634
+ kind: "overlay";
2659
2635
  primitiveId: string;
2660
2636
  anchor?: {
2661
2637
  x: number;
@@ -2722,13 +2698,15 @@ export declare const Track: z.ZodObject<{
2722
2698
  duration: number;
2723
2699
  startTime: number;
2724
2700
  })[];
2701
+ id: string;
2702
+ kind: "overlay" | "video" | "effect" | "audio" | "image";
2725
2703
  enabled?: boolean | undefined;
2726
2704
  volume?: number | undefined;
2727
2705
  name?: string | undefined;
2728
2706
  }, {
2707
+ contents: unknown[];
2729
2708
  id: string;
2730
2709
  kind: "overlay" | "video" | "effect" | "audio" | "image";
2731
- contents: unknown[];
2732
2710
  enabled?: boolean | undefined;
2733
2711
  volume?: number | undefined;
2734
2712
  name?: string | undefined;
@@ -3390,17 +3368,17 @@ export declare const Composition: z.ZodObject<{
3390
3368
  v: z.ZodLiteral<1>;
3391
3369
  format: z.ZodObject<{
3392
3370
  aspectRatio: z.ZodEnum<["16:9", "9:16", "1:1", "4:5"]>;
3393
- fps: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<24>, z.ZodLiteral<30>, z.ZodLiteral<60>]>>;
3371
+ fps: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<24>, z.ZodLiteral<25>, z.ZodLiteral<30>, z.ZodLiteral<60>]>>;
3394
3372
  resolution: z.ZodOptional<z.ZodEnum<["hd", "fhd", "4k"]>>;
3395
3373
  platform: z.ZodOptional<z.ZodString>;
3396
3374
  }, "strip", z.ZodTypeAny, {
3397
3375
  aspectRatio: "16:9" | "9:16" | "1:1" | "4:5";
3398
- fps?: 24 | 30 | 60 | undefined;
3376
+ fps?: 24 | 25 | 30 | 60 | undefined;
3399
3377
  resolution?: "hd" | "fhd" | "4k" | undefined;
3400
3378
  platform?: string | undefined;
3401
3379
  }, {
3402
3380
  aspectRatio: "16:9" | "9:16" | "1:1" | "4:5";
3403
- fps?: 24 | 30 | 60 | undefined;
3381
+ fps?: 24 | 25 | 30 | 60 | undefined;
3404
3382
  resolution?: "hd" | "fhd" | "4k" | undefined;
3405
3383
  platform?: string | undefined;
3406
3384
  }>;
@@ -3416,17 +3394,7 @@ export declare const Composition: z.ZodObject<{
3416
3394
  startTime: number;
3417
3395
  source: {
3418
3396
  kind: "media";
3419
- mediaId: string & {
3420
- __tableName: "mediaItems";
3421
- };
3422
- trim?: {
3423
- start: number;
3424
- end: number;
3425
- } | undefined;
3426
- anchor?: {
3427
- clipId: string;
3428
- offsetMs: number;
3429
- } | undefined;
3397
+ mediaId: string;
3430
3398
  reframe?: {
3431
3399
  segments: {
3432
3400
  startSec: number;
@@ -3459,6 +3427,10 @@ export declare const Composition: z.ZodObject<{
3459
3427
  }[];
3460
3428
  } | undefined;
3461
3429
  kenBurns?: "none" | "in" | "out" | "pan-l" | "pan-r" | undefined;
3430
+ trim?: {
3431
+ start: number;
3432
+ end: number;
3433
+ } | undefined;
3462
3434
  excludedRanges?: {
3463
3435
  start: number;
3464
3436
  end: number;
@@ -3482,14 +3454,18 @@ export declare const Composition: z.ZodObject<{
3482
3454
  endMs: number;
3483
3455
  }[] | undefined;
3484
3456
  } | undefined;
3457
+ anchor?: {
3458
+ clipId: string;
3459
+ offsetMs: number;
3460
+ } | undefined;
3485
3461
  } | {
3486
3462
  kind: "component";
3487
3463
  componentId: string;
3488
3464
  props: Record<string, unknown>;
3489
3465
  zPlane?: "front" | "behind-subject" | undefined;
3490
3466
  } | {
3491
- kind: "overlay";
3492
3467
  params: Record<string, unknown>;
3468
+ kind: "overlay";
3493
3469
  primitiveId: string;
3494
3470
  anchor?: {
3495
3471
  x: number;
@@ -3557,25 +3533,13 @@ export declare const Composition: z.ZodObject<{
3557
3533
  startTime: number;
3558
3534
  }, unknown>, "many">;
3559
3535
  }, "strict", z.ZodTypeAny, {
3560
- id: string;
3561
- kind: "overlay" | "video" | "effect" | "audio" | "image";
3562
3536
  contents: ({
3563
3537
  id: string;
3564
3538
  duration: number;
3565
3539
  startTime: number;
3566
3540
  source: {
3567
3541
  kind: "media";
3568
- mediaId: string & {
3569
- __tableName: "mediaItems";
3570
- };
3571
- trim?: {
3572
- start: number;
3573
- end: number;
3574
- } | undefined;
3575
- anchor?: {
3576
- clipId: string;
3577
- offsetMs: number;
3578
- } | undefined;
3542
+ mediaId: string;
3579
3543
  reframe?: {
3580
3544
  segments: {
3581
3545
  startSec: number;
@@ -3608,6 +3572,10 @@ export declare const Composition: z.ZodObject<{
3608
3572
  }[];
3609
3573
  } | undefined;
3610
3574
  kenBurns?: "none" | "in" | "out" | "pan-l" | "pan-r" | undefined;
3575
+ trim?: {
3576
+ start: number;
3577
+ end: number;
3578
+ } | undefined;
3611
3579
  excludedRanges?: {
3612
3580
  start: number;
3613
3581
  end: number;
@@ -3631,14 +3599,18 @@ export declare const Composition: z.ZodObject<{
3631
3599
  endMs: number;
3632
3600
  }[] | undefined;
3633
3601
  } | undefined;
3602
+ anchor?: {
3603
+ clipId: string;
3604
+ offsetMs: number;
3605
+ } | undefined;
3634
3606
  } | {
3635
3607
  kind: "component";
3636
3608
  componentId: string;
3637
3609
  props: Record<string, unknown>;
3638
3610
  zPlane?: "front" | "behind-subject" | undefined;
3639
3611
  } | {
3640
- kind: "overlay";
3641
3612
  params: Record<string, unknown>;
3613
+ kind: "overlay";
3642
3614
  primitiveId: string;
3643
3615
  anchor?: {
3644
3616
  x: number;
@@ -3705,13 +3677,15 @@ export declare const Composition: z.ZodObject<{
3705
3677
  duration: number;
3706
3678
  startTime: number;
3707
3679
  })[];
3680
+ id: string;
3681
+ kind: "overlay" | "video" | "effect" | "audio" | "image";
3708
3682
  enabled?: boolean | undefined;
3709
3683
  volume?: number | undefined;
3710
3684
  name?: string | undefined;
3711
3685
  }, {
3686
+ contents: unknown[];
3712
3687
  id: string;
3713
3688
  kind: "overlay" | "video" | "effect" | "audio" | "image";
3714
- contents: unknown[];
3715
3689
  enabled?: boolean | undefined;
3716
3690
  volume?: number | undefined;
3717
3691
  name?: string | undefined;
@@ -4255,30 +4229,18 @@ export declare const Composition: z.ZodObject<{
4255
4229
  v: 1;
4256
4230
  format: {
4257
4231
  aspectRatio: "16:9" | "9:16" | "1:1" | "4:5";
4258
- fps?: 24 | 30 | 60 | undefined;
4232
+ fps?: 24 | 25 | 30 | 60 | undefined;
4259
4233
  resolution?: "hd" | "fhd" | "4k" | undefined;
4260
4234
  platform?: string | undefined;
4261
4235
  };
4262
4236
  tracks: {
4263
- id: string;
4264
- kind: "overlay" | "video" | "effect" | "audio" | "image";
4265
4237
  contents: ({
4266
4238
  id: string;
4267
4239
  duration: number;
4268
4240
  startTime: number;
4269
4241
  source: {
4270
4242
  kind: "media";
4271
- mediaId: string & {
4272
- __tableName: "mediaItems";
4273
- };
4274
- trim?: {
4275
- start: number;
4276
- end: number;
4277
- } | undefined;
4278
- anchor?: {
4279
- clipId: string;
4280
- offsetMs: number;
4281
- } | undefined;
4243
+ mediaId: string;
4282
4244
  reframe?: {
4283
4245
  segments: {
4284
4246
  startSec: number;
@@ -4311,6 +4273,10 @@ export declare const Composition: z.ZodObject<{
4311
4273
  }[];
4312
4274
  } | undefined;
4313
4275
  kenBurns?: "none" | "in" | "out" | "pan-l" | "pan-r" | undefined;
4276
+ trim?: {
4277
+ start: number;
4278
+ end: number;
4279
+ } | undefined;
4314
4280
  excludedRanges?: {
4315
4281
  start: number;
4316
4282
  end: number;
@@ -4334,14 +4300,18 @@ export declare const Composition: z.ZodObject<{
4334
4300
  endMs: number;
4335
4301
  }[] | undefined;
4336
4302
  } | undefined;
4303
+ anchor?: {
4304
+ clipId: string;
4305
+ offsetMs: number;
4306
+ } | undefined;
4337
4307
  } | {
4338
4308
  kind: "component";
4339
4309
  componentId: string;
4340
4310
  props: Record<string, unknown>;
4341
4311
  zPlane?: "front" | "behind-subject" | undefined;
4342
4312
  } | {
4343
- kind: "overlay";
4344
4313
  params: Record<string, unknown>;
4314
+ kind: "overlay";
4345
4315
  primitiveId: string;
4346
4316
  anchor?: {
4347
4317
  x: number;
@@ -4408,6 +4378,8 @@ export declare const Composition: z.ZodObject<{
4408
4378
  duration: number;
4409
4379
  startTime: number;
4410
4380
  })[];
4381
+ id: string;
4382
+ kind: "overlay" | "video" | "effect" | "audio" | "image";
4411
4383
  enabled?: boolean | undefined;
4412
4384
  volume?: number | undefined;
4413
4385
  name?: string | undefined;
@@ -4537,14 +4509,14 @@ export declare const Composition: z.ZodObject<{
4537
4509
  v: 1;
4538
4510
  format: {
4539
4511
  aspectRatio: "16:9" | "9:16" | "1:1" | "4:5";
4540
- fps?: 24 | 30 | 60 | undefined;
4512
+ fps?: 24 | 25 | 30 | 60 | undefined;
4541
4513
  resolution?: "hd" | "fhd" | "4k" | undefined;
4542
4514
  platform?: string | undefined;
4543
4515
  };
4544
4516
  tracks: {
4517
+ contents: unknown[];
4545
4518
  id: string;
4546
4519
  kind: "overlay" | "video" | "effect" | "audio" | "image";
4547
- contents: unknown[];
4548
4520
  enabled?: boolean | undefined;
4549
4521
  volume?: number | undefined;
4550
4522
  name?: string | undefined;
@@ -4679,7 +4651,7 @@ export declare const CompositionAuthorKind: z.ZodEnum<["user", "agent", "import"
4679
4651
  export type CompositionAuthorKind = z.infer<typeof CompositionAuthorKind>;
4680
4652
  export declare const CompositionVersion: z.ZodObject<{
4681
4653
  id: z.ZodString;
4682
- compositionId: import("convex-helpers/server/zod3").Zid<"compositions">;
4654
+ compositionId: z.ZodString;
4683
4655
  predecessorId: z.ZodOptional<z.ZodString>;
4684
4656
  createdAt: z.ZodNumber;
4685
4657
  etag: z.ZodString;
@@ -4689,17 +4661,17 @@ export declare const CompositionVersion: z.ZodObject<{
4689
4661
  v: z.ZodLiteral<1>;
4690
4662
  format: z.ZodObject<{
4691
4663
  aspectRatio: z.ZodEnum<["16:9", "9:16", "1:1", "4:5"]>;
4692
- fps: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<24>, z.ZodLiteral<30>, z.ZodLiteral<60>]>>;
4664
+ fps: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<24>, z.ZodLiteral<25>, z.ZodLiteral<30>, z.ZodLiteral<60>]>>;
4693
4665
  resolution: z.ZodOptional<z.ZodEnum<["hd", "fhd", "4k"]>>;
4694
4666
  platform: z.ZodOptional<z.ZodString>;
4695
4667
  }, "strip", z.ZodTypeAny, {
4696
4668
  aspectRatio: "16:9" | "9:16" | "1:1" | "4:5";
4697
- fps?: 24 | 30 | 60 | undefined;
4669
+ fps?: 24 | 25 | 30 | 60 | undefined;
4698
4670
  resolution?: "hd" | "fhd" | "4k" | undefined;
4699
4671
  platform?: string | undefined;
4700
4672
  }, {
4701
4673
  aspectRatio: "16:9" | "9:16" | "1:1" | "4:5";
4702
- fps?: 24 | 30 | 60 | undefined;
4674
+ fps?: 24 | 25 | 30 | 60 | undefined;
4703
4675
  resolution?: "hd" | "fhd" | "4k" | undefined;
4704
4676
  platform?: string | undefined;
4705
4677
  }>;
@@ -4715,17 +4687,7 @@ export declare const CompositionVersion: z.ZodObject<{
4715
4687
  startTime: number;
4716
4688
  source: {
4717
4689
  kind: "media";
4718
- mediaId: string & {
4719
- __tableName: "mediaItems";
4720
- };
4721
- trim?: {
4722
- start: number;
4723
- end: number;
4724
- } | undefined;
4725
- anchor?: {
4726
- clipId: string;
4727
- offsetMs: number;
4728
- } | undefined;
4690
+ mediaId: string;
4729
4691
  reframe?: {
4730
4692
  segments: {
4731
4693
  startSec: number;
@@ -4758,6 +4720,10 @@ export declare const CompositionVersion: z.ZodObject<{
4758
4720
  }[];
4759
4721
  } | undefined;
4760
4722
  kenBurns?: "none" | "in" | "out" | "pan-l" | "pan-r" | undefined;
4723
+ trim?: {
4724
+ start: number;
4725
+ end: number;
4726
+ } | undefined;
4761
4727
  excludedRanges?: {
4762
4728
  start: number;
4763
4729
  end: number;
@@ -4781,14 +4747,18 @@ export declare const CompositionVersion: z.ZodObject<{
4781
4747
  endMs: number;
4782
4748
  }[] | undefined;
4783
4749
  } | undefined;
4750
+ anchor?: {
4751
+ clipId: string;
4752
+ offsetMs: number;
4753
+ } | undefined;
4784
4754
  } | {
4785
4755
  kind: "component";
4786
4756
  componentId: string;
4787
4757
  props: Record<string, unknown>;
4788
4758
  zPlane?: "front" | "behind-subject" | undefined;
4789
4759
  } | {
4790
- kind: "overlay";
4791
4760
  params: Record<string, unknown>;
4761
+ kind: "overlay";
4792
4762
  primitiveId: string;
4793
4763
  anchor?: {
4794
4764
  x: number;
@@ -4856,25 +4826,13 @@ export declare const CompositionVersion: z.ZodObject<{
4856
4826
  startTime: number;
4857
4827
  }, unknown>, "many">;
4858
4828
  }, "strict", z.ZodTypeAny, {
4859
- id: string;
4860
- kind: "overlay" | "video" | "effect" | "audio" | "image";
4861
4829
  contents: ({
4862
4830
  id: string;
4863
4831
  duration: number;
4864
4832
  startTime: number;
4865
4833
  source: {
4866
4834
  kind: "media";
4867
- mediaId: string & {
4868
- __tableName: "mediaItems";
4869
- };
4870
- trim?: {
4871
- start: number;
4872
- end: number;
4873
- } | undefined;
4874
- anchor?: {
4875
- clipId: string;
4876
- offsetMs: number;
4877
- } | undefined;
4835
+ mediaId: string;
4878
4836
  reframe?: {
4879
4837
  segments: {
4880
4838
  startSec: number;
@@ -4907,6 +4865,10 @@ export declare const CompositionVersion: z.ZodObject<{
4907
4865
  }[];
4908
4866
  } | undefined;
4909
4867
  kenBurns?: "none" | "in" | "out" | "pan-l" | "pan-r" | undefined;
4868
+ trim?: {
4869
+ start: number;
4870
+ end: number;
4871
+ } | undefined;
4910
4872
  excludedRanges?: {
4911
4873
  start: number;
4912
4874
  end: number;
@@ -4930,14 +4892,18 @@ export declare const CompositionVersion: z.ZodObject<{
4930
4892
  endMs: number;
4931
4893
  }[] | undefined;
4932
4894
  } | undefined;
4895
+ anchor?: {
4896
+ clipId: string;
4897
+ offsetMs: number;
4898
+ } | undefined;
4933
4899
  } | {
4934
4900
  kind: "component";
4935
4901
  componentId: string;
4936
4902
  props: Record<string, unknown>;
4937
4903
  zPlane?: "front" | "behind-subject" | undefined;
4938
4904
  } | {
4939
- kind: "overlay";
4940
4905
  params: Record<string, unknown>;
4906
+ kind: "overlay";
4941
4907
  primitiveId: string;
4942
4908
  anchor?: {
4943
4909
  x: number;
@@ -5004,13 +4970,15 @@ export declare const CompositionVersion: z.ZodObject<{
5004
4970
  duration: number;
5005
4971
  startTime: number;
5006
4972
  })[];
4973
+ id: string;
4974
+ kind: "overlay" | "video" | "effect" | "audio" | "image";
5007
4975
  enabled?: boolean | undefined;
5008
4976
  volume?: number | undefined;
5009
4977
  name?: string | undefined;
5010
4978
  }, {
4979
+ contents: unknown[];
5011
4980
  id: string;
5012
4981
  kind: "overlay" | "video" | "effect" | "audio" | "image";
5013
- contents: unknown[];
5014
4982
  enabled?: boolean | undefined;
5015
4983
  volume?: number | undefined;
5016
4984
  name?: string | undefined;
@@ -5554,30 +5522,18 @@ export declare const CompositionVersion: z.ZodObject<{
5554
5522
  v: 1;
5555
5523
  format: {
5556
5524
  aspectRatio: "16:9" | "9:16" | "1:1" | "4:5";
5557
- fps?: 24 | 30 | 60 | undefined;
5525
+ fps?: 24 | 25 | 30 | 60 | undefined;
5558
5526
  resolution?: "hd" | "fhd" | "4k" | undefined;
5559
5527
  platform?: string | undefined;
5560
5528
  };
5561
5529
  tracks: {
5562
- id: string;
5563
- kind: "overlay" | "video" | "effect" | "audio" | "image";
5564
5530
  contents: ({
5565
5531
  id: string;
5566
5532
  duration: number;
5567
5533
  startTime: number;
5568
5534
  source: {
5569
5535
  kind: "media";
5570
- mediaId: string & {
5571
- __tableName: "mediaItems";
5572
- };
5573
- trim?: {
5574
- start: number;
5575
- end: number;
5576
- } | undefined;
5577
- anchor?: {
5578
- clipId: string;
5579
- offsetMs: number;
5580
- } | undefined;
5536
+ mediaId: string;
5581
5537
  reframe?: {
5582
5538
  segments: {
5583
5539
  startSec: number;
@@ -5610,6 +5566,10 @@ export declare const CompositionVersion: z.ZodObject<{
5610
5566
  }[];
5611
5567
  } | undefined;
5612
5568
  kenBurns?: "none" | "in" | "out" | "pan-l" | "pan-r" | undefined;
5569
+ trim?: {
5570
+ start: number;
5571
+ end: number;
5572
+ } | undefined;
5613
5573
  excludedRanges?: {
5614
5574
  start: number;
5615
5575
  end: number;
@@ -5633,14 +5593,18 @@ export declare const CompositionVersion: z.ZodObject<{
5633
5593
  endMs: number;
5634
5594
  }[] | undefined;
5635
5595
  } | undefined;
5596
+ anchor?: {
5597
+ clipId: string;
5598
+ offsetMs: number;
5599
+ } | undefined;
5636
5600
  } | {
5637
5601
  kind: "component";
5638
5602
  componentId: string;
5639
5603
  props: Record<string, unknown>;
5640
5604
  zPlane?: "front" | "behind-subject" | undefined;
5641
5605
  } | {
5642
- kind: "overlay";
5643
5606
  params: Record<string, unknown>;
5607
+ kind: "overlay";
5644
5608
  primitiveId: string;
5645
5609
  anchor?: {
5646
5610
  x: number;
@@ -5707,6 +5671,8 @@ export declare const CompositionVersion: z.ZodObject<{
5707
5671
  duration: number;
5708
5672
  startTime: number;
5709
5673
  })[];
5674
+ id: string;
5675
+ kind: "overlay" | "video" | "effect" | "audio" | "image";
5710
5676
  enabled?: boolean | undefined;
5711
5677
  volume?: number | undefined;
5712
5678
  name?: string | undefined;
@@ -5836,14 +5802,14 @@ export declare const CompositionVersion: z.ZodObject<{
5836
5802
  v: 1;
5837
5803
  format: {
5838
5804
  aspectRatio: "16:9" | "9:16" | "1:1" | "4:5";
5839
- fps?: 24 | 30 | 60 | undefined;
5805
+ fps?: 24 | 25 | 30 | 60 | undefined;
5840
5806
  resolution?: "hd" | "fhd" | "4k" | undefined;
5841
5807
  platform?: string | undefined;
5842
5808
  };
5843
5809
  tracks: {
5810
+ contents: unknown[];
5844
5811
  id: string;
5845
5812
  kind: "overlay" | "video" | "effect" | "audio" | "image";
5846
- contents: unknown[];
5847
5813
  enabled?: boolean | undefined;
5848
5814
  volume?: number | undefined;
5849
5815
  name?: string | undefined;
@@ -5976,30 +5942,18 @@ export declare const CompositionVersion: z.ZodObject<{
5976
5942
  v: 1;
5977
5943
  format: {
5978
5944
  aspectRatio: "16:9" | "9:16" | "1:1" | "4:5";
5979
- fps?: 24 | 30 | 60 | undefined;
5945
+ fps?: 24 | 25 | 30 | 60 | undefined;
5980
5946
  resolution?: "hd" | "fhd" | "4k" | undefined;
5981
5947
  platform?: string | undefined;
5982
5948
  };
5983
5949
  tracks: {
5984
- id: string;
5985
- kind: "overlay" | "video" | "effect" | "audio" | "image";
5986
5950
  contents: ({
5987
5951
  id: string;
5988
5952
  duration: number;
5989
5953
  startTime: number;
5990
5954
  source: {
5991
5955
  kind: "media";
5992
- mediaId: string & {
5993
- __tableName: "mediaItems";
5994
- };
5995
- trim?: {
5996
- start: number;
5997
- end: number;
5998
- } | undefined;
5999
- anchor?: {
6000
- clipId: string;
6001
- offsetMs: number;
6002
- } | undefined;
5956
+ mediaId: string;
6003
5957
  reframe?: {
6004
5958
  segments: {
6005
5959
  startSec: number;
@@ -6032,6 +5986,10 @@ export declare const CompositionVersion: z.ZodObject<{
6032
5986
  }[];
6033
5987
  } | undefined;
6034
5988
  kenBurns?: "none" | "in" | "out" | "pan-l" | "pan-r" | undefined;
5989
+ trim?: {
5990
+ start: number;
5991
+ end: number;
5992
+ } | undefined;
6035
5993
  excludedRanges?: {
6036
5994
  start: number;
6037
5995
  end: number;
@@ -6055,14 +6013,18 @@ export declare const CompositionVersion: z.ZodObject<{
6055
6013
  endMs: number;
6056
6014
  }[] | undefined;
6057
6015
  } | undefined;
6016
+ anchor?: {
6017
+ clipId: string;
6018
+ offsetMs: number;
6019
+ } | undefined;
6058
6020
  } | {
6059
6021
  kind: "component";
6060
6022
  componentId: string;
6061
6023
  props: Record<string, unknown>;
6062
6024
  zPlane?: "front" | "behind-subject" | undefined;
6063
6025
  } | {
6064
- kind: "overlay";
6065
6026
  params: Record<string, unknown>;
6027
+ kind: "overlay";
6066
6028
  primitiveId: string;
6067
6029
  anchor?: {
6068
6030
  x: number;
@@ -6129,6 +6091,8 @@ export declare const CompositionVersion: z.ZodObject<{
6129
6091
  duration: number;
6130
6092
  startTime: number;
6131
6093
  })[];
6094
+ id: string;
6095
+ kind: "overlay" | "video" | "effect" | "audio" | "image";
6132
6096
  enabled?: boolean | undefined;
6133
6097
  volume?: number | undefined;
6134
6098
  name?: string | undefined;
@@ -6255,9 +6219,7 @@ export declare const CompositionVersion: z.ZodObject<{
6255
6219
  writerOrgIds?: string[] | undefined;
6256
6220
  } | undefined;
6257
6221
  };
6258
- compositionId: string & {
6259
- __tableName: "compositions";
6260
- };
6222
+ compositionId: string;
6261
6223
  createdAt: number;
6262
6224
  etag: string;
6263
6225
  authorKind: "user" | "agent" | "import";
@@ -6269,14 +6231,14 @@ export declare const CompositionVersion: z.ZodObject<{
6269
6231
  v: 1;
6270
6232
  format: {
6271
6233
  aspectRatio: "16:9" | "9:16" | "1:1" | "4:5";
6272
- fps?: 24 | 30 | 60 | undefined;
6234
+ fps?: 24 | 25 | 30 | 60 | undefined;
6273
6235
  resolution?: "hd" | "fhd" | "4k" | undefined;
6274
6236
  platform?: string | undefined;
6275
6237
  };
6276
6238
  tracks: {
6239
+ contents: unknown[];
6277
6240
  id: string;
6278
6241
  kind: "overlay" | "video" | "effect" | "audio" | "image";
6279
- contents: unknown[];
6280
6242
  enabled?: boolean | undefined;
6281
6243
  volume?: number | undefined;
6282
6244
  name?: string | undefined;
@@ -6403,9 +6365,7 @@ export declare const CompositionVersion: z.ZodObject<{
6403
6365
  writerOrgIds?: string[] | undefined;
6404
6366
  } | undefined;
6405
6367
  };
6406
- compositionId: string & {
6407
- __tableName: "compositions";
6408
- };
6368
+ compositionId: string;
6409
6369
  createdAt: number;
6410
6370
  etag: string;
6411
6371
  authorKind: "user" | "agent" | "import";