@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.
- package/dist/_members/authoring/agent/errors.d.ts +8 -0
- package/dist/_members/authoring/index.d.ts +1 -1
- package/dist/_members/authoring/motion/materializeMotionPresetOps.d.ts +4 -0
- package/dist/_members/authoring/prompts/index.d.ts +0 -1
- package/dist/_members/authoring/types.d.ts +1 -1
- package/dist/_members/cloud-import/CloudImportService.d.ts +3 -4
- package/dist/_members/cloud-import/ImportProvider.d.ts +3 -7
- package/dist/_members/cloud-import/cloudConfig.d.ts +0 -6
- package/dist/_members/cloud-import/index.d.ts +2 -4
- package/dist/_members/composition/graphics-plan/schemas.d.ts +20 -20
- package/dist/_members/composition/primitive-catalog/projection.d.ts +2 -1
- package/dist/_members/composition/projection/behind-readiness.d.ts +4 -2
- package/dist/_members/composition/validators/brandKit.d.ts +54 -94
- package/dist/_members/composition/validators/composePlan.d.ts +52 -52
- package/dist/_members/composition/validators/composition.d.ts +213 -253
- package/dist/_members/composition/validators/font.d.ts +2 -2
- package/dist/_members/composition/validators/index.d.ts +1 -0
- package/dist/_members/composition/validators/opaqueId.d.ts +13 -0
- package/dist/_members/composition/validators/project.d.ts +11 -15
- package/dist/_members/composition/validators/render.d.ts +372 -534
- package/dist/_members/composition/validators/session.d.ts +19 -39
- package/dist/_members/composition/validators/webhook.d.ts +8 -16
- package/dist/_members/composition-ops/index.d.ts +192 -228
- package/dist/_members/director/ai-sdk/messages.d.ts +2 -2
- package/dist/_members/director/domain/chat.d.ts +4 -4
- package/dist/_members/director/testing/contract.d.ts +1 -1
- package/dist/_members/errors/registry.d.ts +115 -1
- package/dist/_members/mcp/adapter.d.ts +19 -0
- package/dist/_members/mcp/core.d.ts +1 -1
- package/dist/_members/mcp/curation.d.ts +4 -0
- package/dist/_members/mcp/generated/harness.d.ts +1 -1
- package/dist/_members/mcp/generated/operations.d.ts +12 -0
- package/dist/_members/mcp/wait.d.ts +1 -1
- package/dist/_members/media-model/api.d.ts +53 -109
- package/dist/_members/media-model/generation.d.ts +2 -2
- package/dist/_members/media-model/index.d.ts +1 -0
- package/dist/_members/media-model/opaqueId.d.ts +10 -0
- package/dist/_members/render-harness/localRender.d.ts +3 -0
- package/dist/_members/render-harness/localRender.d.ts.map +1 -1
- package/dist/_members/render-harness/remotion-runtime.d.ts +53 -0
- package/dist/authoring/build-tools.js +6 -6
- package/dist/authoring/context.js +4 -4
- package/dist/authoring/prompts.js +1 -5
- package/dist/authoring/tools.js +5 -5
- package/dist/authoring.js +40 -27
- package/dist/chunk-2SNY75AR.js +498 -0
- package/dist/{chunk-XQ72DZKJ.js → chunk-7TQCR7AB.js} +1 -1
- package/dist/{chunk-QETYXKQQ.js → chunk-7V3F5HO4.js} +97 -14
- package/dist/{chunk-BZZTVOGG.js → chunk-D2EGO543.js} +5 -5
- package/dist/{chunk-ZPLJ24OV.js → chunk-D6S3ZKIY.js} +1 -1
- package/dist/{chunk-K2IUBCND.js → chunk-HFC3MKXA.js} +0 -51
- package/dist/{chunk-ICSZF37W.js → chunk-JRIPQ7DN.js} +1 -1
- package/dist/{chunk-TFGKUWHY.js → chunk-JTVFIN6H.js} +15 -19
- package/dist/{chunk-DCVJWGIA.js → chunk-JY26PIRP.js} +2 -2
- package/dist/{chunk-DWLNPNC4.js → chunk-LSP4HN5N.js} +1 -1
- package/dist/{chunk-AO744WIK.js → chunk-PJ4R4N4Q.js} +123 -38
- package/dist/{chunk-VFMW3JUY.js → chunk-QSDFTYKV.js} +1 -1
- package/dist/{chunk-LLUW26BS.js → chunk-R5BMJ2NX.js} +38 -2
- package/dist/{chunk-W3SIWT7J.js → chunk-RQ2G4DXI.js} +406 -174
- package/dist/{chunk-VHF66LCQ.js → chunk-RXCEPCAQ.js} +102 -41
- package/dist/{chunk-LJ5W4ZBU.js → chunk-TLVPDT4R.js} +1 -1
- package/dist/{chunk-PIURX6IZ.js → chunk-WTT3GGCA.js} +9 -4
- package/dist/{chunk-CAJQ7H5A.js → chunk-YE3F4LNJ.js} +17 -17
- package/dist/{chunk-TD347SSX.js → chunk-YXEZ75MB.js} +31 -20
- package/dist/{chunk-TPA6PYN2.js → chunk-ZBRPF6GV.js} +25 -10
- package/dist/cloud-import.js +20 -116
- package/dist/compose/renderer.js +17 -17
- package/dist/compose.js +18 -18
- package/dist/composition/graphics-plan.js +1 -1
- package/dist/composition/ops.js +3 -3
- package/dist/composition/primitive-catalog.js +1 -1
- package/dist/composition/projection.js +2 -2
- package/dist/composition/validators.js +4 -2
- package/dist/composition-ops.js +6 -6
- package/dist/composition.js +6 -4
- package/dist/{context-JLLU3MYD.js → context-XWNT6QZH.js} +4 -4
- package/dist/core/render.js +3 -3
- package/dist/core/select.js +2 -2
- package/dist/core.js +3 -3
- package/dist/director/ai-sdk.js +3 -3
- package/dist/director/domain.js +2 -2
- package/dist/director.js +3 -3
- package/dist/errors.js +1 -1
- package/dist/mcp/adapter.js +59 -22
- package/dist/mcp/core.js +1 -1
- package/dist/mcp/curation.js +5 -1
- package/dist/mcp/server.js +4 -4
- package/dist/mcp.js +4 -4
- package/dist/media-model/media-kind.js +98 -9
- package/dist/media-model/testing.js +6 -6
- package/dist/media-model.js +83 -77
- package/dist/nle-export.js +18 -18
- package/dist/primitives/backgrounds.js +2 -2
- package/dist/primitives/captions.js +3 -3
- package/dist/primitives/effects.js +2 -2
- package/dist/primitives/hero-text.js +2 -2
- package/dist/primitives/layouts.js +2 -2
- package/dist/primitives/lib/index.js +12 -12
- package/dist/primitives/lib.js +12 -12
- package/dist/primitives/scenes.js +2 -2
- package/dist/primitives/text.js +2 -2
- package/dist/primitives/ui-blocks.js +2 -2
- package/dist/primitives.js +19 -19
- package/dist/render-harness.js +4 -2
- package/package.json +13 -37
- package/dist/_members/authoring/prompts/designReviewerPrompt.d.ts +0 -2
- package/dist/_members/cloud-import/MediaItemPreprocessor.d.ts +0 -18
- package/dist/_members/cloud-import/multipartUpload.d.ts +0 -12
- package/dist/_members/convex-api/api.d.ts +0 -2
- package/dist/_members/convex-api/dataModel.d.ts +0 -4
- package/dist/chunk-6IU2UQI5.js +0 -107
- package/dist/chunk-EP2Y6M2J.js +0 -64
- package/dist/chunk-WZH57M53.js +0 -494
- package/dist/cloud-import/multipart.d.ts +0 -1
- package/dist/cloud-import/multipart.js +0 -8
- package/dist/convex-api/dataModel.d.ts +0 -1
- package/dist/convex-api/dataModel.js +0 -0
- package/dist/convex-api.d.ts +0 -1
- package/dist/convex-api.js +0 -8
- package/dist/{chunk-RP4SXXLJ.js → chunk-3PM6VICZ.js} +3 -3
- package/dist/{chunk-UQSOS726.js → chunk-6ABIXGLO.js} +4 -4
- package/dist/{chunk-SAMQUUO5.js → chunk-BIBYZJL3.js} +3 -3
- package/dist/{chunk-GMD33ZD7.js → chunk-O7GNE4BQ.js} +3 -3
- package/dist/{chunk-BKHGL4MB.js → chunk-THJAY7QS.js} +4 -4
- package/dist/{chunk-DYZE7JZA.js → chunk-TMIBBD5E.js} +3 -3
- package/dist/{chunk-G5BFI32U.js → chunk-XATRRDVG.js} +3 -3
|
@@ -14,7 +14,7 @@ export declare const CompositionOp: z.ZodDiscriminatedUnion<"type", [z.ZodObject
|
|
|
14
14
|
duration: z.ZodNumber;
|
|
15
15
|
source: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
16
16
|
kind: z.ZodLiteral<"media">;
|
|
17
|
-
mediaId:
|
|
17
|
+
mediaId: z.ZodString;
|
|
18
18
|
trim: z.ZodOptional<z.ZodObject<{
|
|
19
19
|
start: z.ZodNumber;
|
|
20
20
|
end: z.ZodNumber;
|
|
@@ -334,17 +334,7 @@ export declare const CompositionOp: z.ZodDiscriminatedUnion<"type", [z.ZodObject
|
|
|
334
334
|
}>>;
|
|
335
335
|
}, "strip", z.ZodTypeAny, {
|
|
336
336
|
kind: "media";
|
|
337
|
-
mediaId: string
|
|
338
|
-
__tableName: "mediaItems";
|
|
339
|
-
};
|
|
340
|
-
trim?: {
|
|
341
|
-
start: number;
|
|
342
|
-
end: number;
|
|
343
|
-
} | undefined;
|
|
344
|
-
anchor?: {
|
|
345
|
-
clipId: string;
|
|
346
|
-
offsetMs: number;
|
|
347
|
-
} | undefined;
|
|
337
|
+
mediaId: string;
|
|
348
338
|
reframe?: {
|
|
349
339
|
segments: {
|
|
350
340
|
startSec: number;
|
|
@@ -377,6 +367,10 @@ export declare const CompositionOp: z.ZodDiscriminatedUnion<"type", [z.ZodObject
|
|
|
377
367
|
}[];
|
|
378
368
|
} | undefined;
|
|
379
369
|
kenBurns?: "none" | "in" | "out" | "pan-l" | "pan-r" | undefined;
|
|
370
|
+
trim?: {
|
|
371
|
+
start: number;
|
|
372
|
+
end: number;
|
|
373
|
+
} | undefined;
|
|
380
374
|
excludedRanges?: {
|
|
381
375
|
start: number;
|
|
382
376
|
end: number;
|
|
@@ -400,19 +394,13 @@ export declare const CompositionOp: z.ZodDiscriminatedUnion<"type", [z.ZodObject
|
|
|
400
394
|
endMs: number;
|
|
401
395
|
}[] | undefined;
|
|
402
396
|
} | undefined;
|
|
403
|
-
}, {
|
|
404
|
-
kind: "media";
|
|
405
|
-
mediaId: string & {
|
|
406
|
-
__tableName: "mediaItems";
|
|
407
|
-
};
|
|
408
|
-
trim?: {
|
|
409
|
-
start: number;
|
|
410
|
-
end: number;
|
|
411
|
-
} | undefined;
|
|
412
397
|
anchor?: {
|
|
413
398
|
clipId: string;
|
|
414
399
|
offsetMs: number;
|
|
415
400
|
} | undefined;
|
|
401
|
+
}, {
|
|
402
|
+
kind: "media";
|
|
403
|
+
mediaId: string;
|
|
416
404
|
reframe?: {
|
|
417
405
|
segments: {
|
|
418
406
|
startSec: number;
|
|
@@ -445,6 +433,10 @@ export declare const CompositionOp: z.ZodDiscriminatedUnion<"type", [z.ZodObject
|
|
|
445
433
|
}[];
|
|
446
434
|
} | undefined;
|
|
447
435
|
kenBurns?: "none" | "in" | "out" | "pan-l" | "pan-r" | undefined;
|
|
436
|
+
trim?: {
|
|
437
|
+
start: number;
|
|
438
|
+
end: number;
|
|
439
|
+
} | undefined;
|
|
448
440
|
excludedRanges?: {
|
|
449
441
|
start: number;
|
|
450
442
|
end: number;
|
|
@@ -468,6 +460,10 @@ export declare const CompositionOp: z.ZodDiscriminatedUnion<"type", [z.ZodObject
|
|
|
468
460
|
endMs: number;
|
|
469
461
|
}[] | undefined;
|
|
470
462
|
} | undefined;
|
|
463
|
+
anchor?: {
|
|
464
|
+
clipId: string;
|
|
465
|
+
offsetMs: number;
|
|
466
|
+
} | undefined;
|
|
471
467
|
}>, z.ZodObject<{
|
|
472
468
|
kind: z.ZodLiteral<"component">;
|
|
473
469
|
componentId: z.ZodString;
|
|
@@ -503,8 +499,8 @@ export declare const CompositionOp: z.ZodDiscriminatedUnion<"type", [z.ZodObject
|
|
|
503
499
|
}>>;
|
|
504
500
|
parallax: z.ZodOptional<z.ZodNumber>;
|
|
505
501
|
}, "strip", z.ZodTypeAny, {
|
|
506
|
-
kind: "overlay";
|
|
507
502
|
params: Record<string, unknown>;
|
|
503
|
+
kind: "overlay";
|
|
508
504
|
primitiveId: string;
|
|
509
505
|
anchor?: {
|
|
510
506
|
x: number;
|
|
@@ -514,8 +510,8 @@ export declare const CompositionOp: z.ZodDiscriminatedUnion<"type", [z.ZodObject
|
|
|
514
510
|
zPlane?: "front" | "behind-subject" | undefined;
|
|
515
511
|
parallax?: number | undefined;
|
|
516
512
|
}, {
|
|
517
|
-
kind: "overlay";
|
|
518
513
|
params: Record<string, unknown>;
|
|
514
|
+
kind: "overlay";
|
|
519
515
|
primitiveId: string;
|
|
520
516
|
anchor?: {
|
|
521
517
|
x: number;
|
|
@@ -687,17 +683,7 @@ export declare const CompositionOp: z.ZodDiscriminatedUnion<"type", [z.ZodObject
|
|
|
687
683
|
startTime: number;
|
|
688
684
|
source: {
|
|
689
685
|
kind: "media";
|
|
690
|
-
mediaId: string
|
|
691
|
-
__tableName: "mediaItems";
|
|
692
|
-
};
|
|
693
|
-
trim?: {
|
|
694
|
-
start: number;
|
|
695
|
-
end: number;
|
|
696
|
-
} | undefined;
|
|
697
|
-
anchor?: {
|
|
698
|
-
clipId: string;
|
|
699
|
-
offsetMs: number;
|
|
700
|
-
} | undefined;
|
|
686
|
+
mediaId: string;
|
|
701
687
|
reframe?: {
|
|
702
688
|
segments: {
|
|
703
689
|
startSec: number;
|
|
@@ -730,6 +716,10 @@ export declare const CompositionOp: z.ZodDiscriminatedUnion<"type", [z.ZodObject
|
|
|
730
716
|
}[];
|
|
731
717
|
} | undefined;
|
|
732
718
|
kenBurns?: "none" | "in" | "out" | "pan-l" | "pan-r" | undefined;
|
|
719
|
+
trim?: {
|
|
720
|
+
start: number;
|
|
721
|
+
end: number;
|
|
722
|
+
} | undefined;
|
|
733
723
|
excludedRanges?: {
|
|
734
724
|
start: number;
|
|
735
725
|
end: number;
|
|
@@ -753,14 +743,18 @@ export declare const CompositionOp: z.ZodDiscriminatedUnion<"type", [z.ZodObject
|
|
|
753
743
|
endMs: number;
|
|
754
744
|
}[] | undefined;
|
|
755
745
|
} | undefined;
|
|
746
|
+
anchor?: {
|
|
747
|
+
clipId: string;
|
|
748
|
+
offsetMs: number;
|
|
749
|
+
} | undefined;
|
|
756
750
|
} | {
|
|
757
751
|
kind: "component";
|
|
758
752
|
componentId: string;
|
|
759
753
|
props: Record<string, unknown>;
|
|
760
754
|
zPlane?: "front" | "behind-subject" | undefined;
|
|
761
755
|
} | {
|
|
762
|
-
kind: "overlay";
|
|
763
756
|
params: Record<string, unknown>;
|
|
757
|
+
kind: "overlay";
|
|
764
758
|
primitiveId: string;
|
|
765
759
|
anchor?: {
|
|
766
760
|
x: number;
|
|
@@ -828,17 +822,7 @@ export declare const CompositionOp: z.ZodDiscriminatedUnion<"type", [z.ZodObject
|
|
|
828
822
|
startTime: number;
|
|
829
823
|
source: {
|
|
830
824
|
kind: "media";
|
|
831
|
-
mediaId: string
|
|
832
|
-
__tableName: "mediaItems";
|
|
833
|
-
};
|
|
834
|
-
trim?: {
|
|
835
|
-
start: number;
|
|
836
|
-
end: number;
|
|
837
|
-
} | undefined;
|
|
838
|
-
anchor?: {
|
|
839
|
-
clipId: string;
|
|
840
|
-
offsetMs: number;
|
|
841
|
-
} | undefined;
|
|
825
|
+
mediaId: string;
|
|
842
826
|
reframe?: {
|
|
843
827
|
segments: {
|
|
844
828
|
startSec: number;
|
|
@@ -871,6 +855,10 @@ export declare const CompositionOp: z.ZodDiscriminatedUnion<"type", [z.ZodObject
|
|
|
871
855
|
}[];
|
|
872
856
|
} | undefined;
|
|
873
857
|
kenBurns?: "none" | "in" | "out" | "pan-l" | "pan-r" | undefined;
|
|
858
|
+
trim?: {
|
|
859
|
+
start: number;
|
|
860
|
+
end: number;
|
|
861
|
+
} | undefined;
|
|
874
862
|
excludedRanges?: {
|
|
875
863
|
start: number;
|
|
876
864
|
end: number;
|
|
@@ -894,14 +882,18 @@ export declare const CompositionOp: z.ZodDiscriminatedUnion<"type", [z.ZodObject
|
|
|
894
882
|
endMs: number;
|
|
895
883
|
}[] | undefined;
|
|
896
884
|
} | undefined;
|
|
885
|
+
anchor?: {
|
|
886
|
+
clipId: string;
|
|
887
|
+
offsetMs: number;
|
|
888
|
+
} | undefined;
|
|
897
889
|
} | {
|
|
898
890
|
kind: "component";
|
|
899
891
|
componentId: string;
|
|
900
892
|
props: Record<string, unknown>;
|
|
901
893
|
zPlane?: "front" | "behind-subject" | undefined;
|
|
902
894
|
} | {
|
|
903
|
-
kind: "overlay";
|
|
904
895
|
params: Record<string, unknown>;
|
|
896
|
+
kind: "overlay";
|
|
905
897
|
primitiveId: string;
|
|
906
898
|
anchor?: {
|
|
907
899
|
x: number;
|
|
@@ -975,17 +967,7 @@ export declare const CompositionOp: z.ZodDiscriminatedUnion<"type", [z.ZodObject
|
|
|
975
967
|
startTime: number;
|
|
976
968
|
source: {
|
|
977
969
|
kind: "media";
|
|
978
|
-
mediaId: string
|
|
979
|
-
__tableName: "mediaItems";
|
|
980
|
-
};
|
|
981
|
-
trim?: {
|
|
982
|
-
start: number;
|
|
983
|
-
end: number;
|
|
984
|
-
} | undefined;
|
|
985
|
-
anchor?: {
|
|
986
|
-
clipId: string;
|
|
987
|
-
offsetMs: number;
|
|
988
|
-
} | undefined;
|
|
970
|
+
mediaId: string;
|
|
989
971
|
reframe?: {
|
|
990
972
|
segments: {
|
|
991
973
|
startSec: number;
|
|
@@ -1018,6 +1000,10 @@ export declare const CompositionOp: z.ZodDiscriminatedUnion<"type", [z.ZodObject
|
|
|
1018
1000
|
}[];
|
|
1019
1001
|
} | undefined;
|
|
1020
1002
|
kenBurns?: "none" | "in" | "out" | "pan-l" | "pan-r" | undefined;
|
|
1003
|
+
trim?: {
|
|
1004
|
+
start: number;
|
|
1005
|
+
end: number;
|
|
1006
|
+
} | undefined;
|
|
1021
1007
|
excludedRanges?: {
|
|
1022
1008
|
start: number;
|
|
1023
1009
|
end: number;
|
|
@@ -1041,14 +1027,18 @@ export declare const CompositionOp: z.ZodDiscriminatedUnion<"type", [z.ZodObject
|
|
|
1041
1027
|
endMs: number;
|
|
1042
1028
|
}[] | undefined;
|
|
1043
1029
|
} | undefined;
|
|
1030
|
+
anchor?: {
|
|
1031
|
+
clipId: string;
|
|
1032
|
+
offsetMs: number;
|
|
1033
|
+
} | undefined;
|
|
1044
1034
|
} | {
|
|
1045
1035
|
kind: "component";
|
|
1046
1036
|
componentId: string;
|
|
1047
1037
|
props: Record<string, unknown>;
|
|
1048
1038
|
zPlane?: "front" | "behind-subject" | undefined;
|
|
1049
1039
|
} | {
|
|
1050
|
-
kind: "overlay";
|
|
1051
1040
|
params: Record<string, unknown>;
|
|
1041
|
+
kind: "overlay";
|
|
1052
1042
|
primitiveId: string;
|
|
1053
1043
|
anchor?: {
|
|
1054
1044
|
x: number;
|
|
@@ -1122,17 +1112,7 @@ export declare const CompositionOp: z.ZodDiscriminatedUnion<"type", [z.ZodObject
|
|
|
1122
1112
|
startTime: number;
|
|
1123
1113
|
source: {
|
|
1124
1114
|
kind: "media";
|
|
1125
|
-
mediaId: string
|
|
1126
|
-
__tableName: "mediaItems";
|
|
1127
|
-
};
|
|
1128
|
-
trim?: {
|
|
1129
|
-
start: number;
|
|
1130
|
-
end: number;
|
|
1131
|
-
} | undefined;
|
|
1132
|
-
anchor?: {
|
|
1133
|
-
clipId: string;
|
|
1134
|
-
offsetMs: number;
|
|
1135
|
-
} | undefined;
|
|
1115
|
+
mediaId: string;
|
|
1136
1116
|
reframe?: {
|
|
1137
1117
|
segments: {
|
|
1138
1118
|
startSec: number;
|
|
@@ -1165,6 +1145,10 @@ export declare const CompositionOp: z.ZodDiscriminatedUnion<"type", [z.ZodObject
|
|
|
1165
1145
|
}[];
|
|
1166
1146
|
} | undefined;
|
|
1167
1147
|
kenBurns?: "none" | "in" | "out" | "pan-l" | "pan-r" | undefined;
|
|
1148
|
+
trim?: {
|
|
1149
|
+
start: number;
|
|
1150
|
+
end: number;
|
|
1151
|
+
} | undefined;
|
|
1168
1152
|
excludedRanges?: {
|
|
1169
1153
|
start: number;
|
|
1170
1154
|
end: number;
|
|
@@ -1188,14 +1172,18 @@ export declare const CompositionOp: z.ZodDiscriminatedUnion<"type", [z.ZodObject
|
|
|
1188
1172
|
endMs: number;
|
|
1189
1173
|
}[] | undefined;
|
|
1190
1174
|
} | undefined;
|
|
1175
|
+
anchor?: {
|
|
1176
|
+
clipId: string;
|
|
1177
|
+
offsetMs: number;
|
|
1178
|
+
} | undefined;
|
|
1191
1179
|
} | {
|
|
1192
1180
|
kind: "component";
|
|
1193
1181
|
componentId: string;
|
|
1194
1182
|
props: Record<string, unknown>;
|
|
1195
1183
|
zPlane?: "front" | "behind-subject" | undefined;
|
|
1196
1184
|
} | {
|
|
1197
|
-
kind: "overlay";
|
|
1198
1185
|
params: Record<string, unknown>;
|
|
1186
|
+
kind: "overlay";
|
|
1199
1187
|
primitiveId: string;
|
|
1200
1188
|
anchor?: {
|
|
1201
1189
|
x: number;
|
|
@@ -1279,7 +1267,7 @@ export declare const CompositionOp: z.ZodDiscriminatedUnion<"type", [z.ZodObject
|
|
|
1279
1267
|
duration: z.ZodOptional<z.ZodNumber>;
|
|
1280
1268
|
source: z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
1281
1269
|
kind: z.ZodLiteral<"media">;
|
|
1282
|
-
mediaId:
|
|
1270
|
+
mediaId: z.ZodString;
|
|
1283
1271
|
trim: z.ZodOptional<z.ZodObject<{
|
|
1284
1272
|
start: z.ZodNumber;
|
|
1285
1273
|
end: z.ZodNumber;
|
|
@@ -1599,17 +1587,7 @@ export declare const CompositionOp: z.ZodDiscriminatedUnion<"type", [z.ZodObject
|
|
|
1599
1587
|
}>>;
|
|
1600
1588
|
}, "strip", z.ZodTypeAny, {
|
|
1601
1589
|
kind: "media";
|
|
1602
|
-
mediaId: string
|
|
1603
|
-
__tableName: "mediaItems";
|
|
1604
|
-
};
|
|
1605
|
-
trim?: {
|
|
1606
|
-
start: number;
|
|
1607
|
-
end: number;
|
|
1608
|
-
} | undefined;
|
|
1609
|
-
anchor?: {
|
|
1610
|
-
clipId: string;
|
|
1611
|
-
offsetMs: number;
|
|
1612
|
-
} | undefined;
|
|
1590
|
+
mediaId: string;
|
|
1613
1591
|
reframe?: {
|
|
1614
1592
|
segments: {
|
|
1615
1593
|
startSec: number;
|
|
@@ -1642,6 +1620,10 @@ export declare const CompositionOp: z.ZodDiscriminatedUnion<"type", [z.ZodObject
|
|
|
1642
1620
|
}[];
|
|
1643
1621
|
} | undefined;
|
|
1644
1622
|
kenBurns?: "none" | "in" | "out" | "pan-l" | "pan-r" | undefined;
|
|
1623
|
+
trim?: {
|
|
1624
|
+
start: number;
|
|
1625
|
+
end: number;
|
|
1626
|
+
} | undefined;
|
|
1645
1627
|
excludedRanges?: {
|
|
1646
1628
|
start: number;
|
|
1647
1629
|
end: number;
|
|
@@ -1665,19 +1647,13 @@ export declare const CompositionOp: z.ZodDiscriminatedUnion<"type", [z.ZodObject
|
|
|
1665
1647
|
endMs: number;
|
|
1666
1648
|
}[] | undefined;
|
|
1667
1649
|
} | undefined;
|
|
1668
|
-
}, {
|
|
1669
|
-
kind: "media";
|
|
1670
|
-
mediaId: string & {
|
|
1671
|
-
__tableName: "mediaItems";
|
|
1672
|
-
};
|
|
1673
|
-
trim?: {
|
|
1674
|
-
start: number;
|
|
1675
|
-
end: number;
|
|
1676
|
-
} | undefined;
|
|
1677
1650
|
anchor?: {
|
|
1678
1651
|
clipId: string;
|
|
1679
1652
|
offsetMs: number;
|
|
1680
1653
|
} | undefined;
|
|
1654
|
+
}, {
|
|
1655
|
+
kind: "media";
|
|
1656
|
+
mediaId: string;
|
|
1681
1657
|
reframe?: {
|
|
1682
1658
|
segments: {
|
|
1683
1659
|
startSec: number;
|
|
@@ -1710,6 +1686,10 @@ export declare const CompositionOp: z.ZodDiscriminatedUnion<"type", [z.ZodObject
|
|
|
1710
1686
|
}[];
|
|
1711
1687
|
} | undefined;
|
|
1712
1688
|
kenBurns?: "none" | "in" | "out" | "pan-l" | "pan-r" | undefined;
|
|
1689
|
+
trim?: {
|
|
1690
|
+
start: number;
|
|
1691
|
+
end: number;
|
|
1692
|
+
} | undefined;
|
|
1713
1693
|
excludedRanges?: {
|
|
1714
1694
|
start: number;
|
|
1715
1695
|
end: number;
|
|
@@ -1733,6 +1713,10 @@ export declare const CompositionOp: z.ZodDiscriminatedUnion<"type", [z.ZodObject
|
|
|
1733
1713
|
endMs: number;
|
|
1734
1714
|
}[] | undefined;
|
|
1735
1715
|
} | undefined;
|
|
1716
|
+
anchor?: {
|
|
1717
|
+
clipId: string;
|
|
1718
|
+
offsetMs: number;
|
|
1719
|
+
} | undefined;
|
|
1736
1720
|
}>, z.ZodObject<{
|
|
1737
1721
|
kind: z.ZodLiteral<"component">;
|
|
1738
1722
|
componentId: z.ZodString;
|
|
@@ -1768,8 +1752,8 @@ export declare const CompositionOp: z.ZodDiscriminatedUnion<"type", [z.ZodObject
|
|
|
1768
1752
|
}>>;
|
|
1769
1753
|
parallax: z.ZodOptional<z.ZodNumber>;
|
|
1770
1754
|
}, "strip", z.ZodTypeAny, {
|
|
1771
|
-
kind: "overlay";
|
|
1772
1755
|
params: Record<string, unknown>;
|
|
1756
|
+
kind: "overlay";
|
|
1773
1757
|
primitiveId: string;
|
|
1774
1758
|
anchor?: {
|
|
1775
1759
|
x: number;
|
|
@@ -1779,8 +1763,8 @@ export declare const CompositionOp: z.ZodDiscriminatedUnion<"type", [z.ZodObject
|
|
|
1779
1763
|
zPlane?: "front" | "behind-subject" | undefined;
|
|
1780
1764
|
parallax?: number | undefined;
|
|
1781
1765
|
}, {
|
|
1782
|
-
kind: "overlay";
|
|
1783
1766
|
params: Record<string, unknown>;
|
|
1767
|
+
kind: "overlay";
|
|
1784
1768
|
primitiveId: string;
|
|
1785
1769
|
anchor?: {
|
|
1786
1770
|
x: number;
|
|
@@ -1947,23 +1931,13 @@ export declare const CompositionOp: z.ZodDiscriminatedUnion<"type", [z.ZodObject
|
|
|
1947
1931
|
} | undefined;
|
|
1948
1932
|
}[]>>>>;
|
|
1949
1933
|
}, "strict", z.ZodTypeAny, {
|
|
1950
|
-
id?: string | undefined;
|
|
1951
1934
|
kind?: "overlay" | "video" | "effect" | "audio" | "image" | undefined;
|
|
1935
|
+
id?: string | undefined;
|
|
1952
1936
|
startTime?: number | undefined;
|
|
1953
1937
|
duration?: number | undefined;
|
|
1954
1938
|
source?: {
|
|
1955
1939
|
kind: "media";
|
|
1956
|
-
mediaId: string
|
|
1957
|
-
__tableName: "mediaItems";
|
|
1958
|
-
};
|
|
1959
|
-
trim?: {
|
|
1960
|
-
start: number;
|
|
1961
|
-
end: number;
|
|
1962
|
-
} | undefined;
|
|
1963
|
-
anchor?: {
|
|
1964
|
-
clipId: string;
|
|
1965
|
-
offsetMs: number;
|
|
1966
|
-
} | undefined;
|
|
1940
|
+
mediaId: string;
|
|
1967
1941
|
reframe?: {
|
|
1968
1942
|
segments: {
|
|
1969
1943
|
startSec: number;
|
|
@@ -1996,6 +1970,10 @@ export declare const CompositionOp: z.ZodDiscriminatedUnion<"type", [z.ZodObject
|
|
|
1996
1970
|
}[];
|
|
1997
1971
|
} | undefined;
|
|
1998
1972
|
kenBurns?: "none" | "in" | "out" | "pan-l" | "pan-r" | undefined;
|
|
1973
|
+
trim?: {
|
|
1974
|
+
start: number;
|
|
1975
|
+
end: number;
|
|
1976
|
+
} | undefined;
|
|
1999
1977
|
excludedRanges?: {
|
|
2000
1978
|
start: number;
|
|
2001
1979
|
end: number;
|
|
@@ -2019,14 +1997,18 @@ export declare const CompositionOp: z.ZodDiscriminatedUnion<"type", [z.ZodObject
|
|
|
2019
1997
|
endMs: number;
|
|
2020
1998
|
}[] | undefined;
|
|
2021
1999
|
} | undefined;
|
|
2000
|
+
anchor?: {
|
|
2001
|
+
clipId: string;
|
|
2002
|
+
offsetMs: number;
|
|
2003
|
+
} | undefined;
|
|
2022
2004
|
} | {
|
|
2023
2005
|
kind: "component";
|
|
2024
2006
|
componentId: string;
|
|
2025
2007
|
props: Record<string, unknown>;
|
|
2026
2008
|
zPlane?: "front" | "behind-subject" | undefined;
|
|
2027
2009
|
} | {
|
|
2028
|
-
kind: "overlay";
|
|
2029
2010
|
params: Record<string, unknown>;
|
|
2011
|
+
kind: "overlay";
|
|
2030
2012
|
primitiveId: string;
|
|
2031
2013
|
anchor?: {
|
|
2032
2014
|
x: number;
|
|
@@ -2088,23 +2070,13 @@ export declare const CompositionOp: z.ZodDiscriminatedUnion<"type", [z.ZodObject
|
|
|
2088
2070
|
} | undefined;
|
|
2089
2071
|
}[]> | undefined;
|
|
2090
2072
|
}, {
|
|
2091
|
-
id?: string | undefined;
|
|
2092
2073
|
kind?: "overlay" | "video" | "effect" | "audio" | "image" | undefined;
|
|
2074
|
+
id?: string | undefined;
|
|
2093
2075
|
startTime?: number | undefined;
|
|
2094
2076
|
duration?: number | undefined;
|
|
2095
2077
|
source?: {
|
|
2096
2078
|
kind: "media";
|
|
2097
|
-
mediaId: string
|
|
2098
|
-
__tableName: "mediaItems";
|
|
2099
|
-
};
|
|
2100
|
-
trim?: {
|
|
2101
|
-
start: number;
|
|
2102
|
-
end: number;
|
|
2103
|
-
} | undefined;
|
|
2104
|
-
anchor?: {
|
|
2105
|
-
clipId: string;
|
|
2106
|
-
offsetMs: number;
|
|
2107
|
-
} | undefined;
|
|
2079
|
+
mediaId: string;
|
|
2108
2080
|
reframe?: {
|
|
2109
2081
|
segments: {
|
|
2110
2082
|
startSec: number;
|
|
@@ -2137,6 +2109,10 @@ export declare const CompositionOp: z.ZodDiscriminatedUnion<"type", [z.ZodObject
|
|
|
2137
2109
|
}[];
|
|
2138
2110
|
} | undefined;
|
|
2139
2111
|
kenBurns?: "none" | "in" | "out" | "pan-l" | "pan-r" | undefined;
|
|
2112
|
+
trim?: {
|
|
2113
|
+
start: number;
|
|
2114
|
+
end: number;
|
|
2115
|
+
} | undefined;
|
|
2140
2116
|
excludedRanges?: {
|
|
2141
2117
|
start: number;
|
|
2142
2118
|
end: number;
|
|
@@ -2160,14 +2136,18 @@ export declare const CompositionOp: z.ZodDiscriminatedUnion<"type", [z.ZodObject
|
|
|
2160
2136
|
endMs: number;
|
|
2161
2137
|
}[] | undefined;
|
|
2162
2138
|
} | undefined;
|
|
2139
|
+
anchor?: {
|
|
2140
|
+
clipId: string;
|
|
2141
|
+
offsetMs: number;
|
|
2142
|
+
} | undefined;
|
|
2163
2143
|
} | {
|
|
2164
2144
|
kind: "component";
|
|
2165
2145
|
componentId: string;
|
|
2166
2146
|
props: Record<string, unknown>;
|
|
2167
2147
|
zPlane?: "front" | "behind-subject" | undefined;
|
|
2168
2148
|
} | {
|
|
2169
|
-
kind: "overlay";
|
|
2170
2149
|
params: Record<string, unknown>;
|
|
2150
|
+
kind: "overlay";
|
|
2171
2151
|
primitiveId: string;
|
|
2172
2152
|
anchor?: {
|
|
2173
2153
|
x: number;
|
|
@@ -2233,23 +2213,13 @@ export declare const CompositionOp: z.ZodDiscriminatedUnion<"type", [z.ZodObject
|
|
|
2233
2213
|
type: "clip.update";
|
|
2234
2214
|
clipId: string;
|
|
2235
2215
|
patch: {
|
|
2236
|
-
id?: string | undefined;
|
|
2237
2216
|
kind?: "overlay" | "video" | "effect" | "audio" | "image" | undefined;
|
|
2217
|
+
id?: string | undefined;
|
|
2238
2218
|
startTime?: number | undefined;
|
|
2239
2219
|
duration?: number | undefined;
|
|
2240
2220
|
source?: {
|
|
2241
2221
|
kind: "media";
|
|
2242
|
-
mediaId: string
|
|
2243
|
-
__tableName: "mediaItems";
|
|
2244
|
-
};
|
|
2245
|
-
trim?: {
|
|
2246
|
-
start: number;
|
|
2247
|
-
end: number;
|
|
2248
|
-
} | undefined;
|
|
2249
|
-
anchor?: {
|
|
2250
|
-
clipId: string;
|
|
2251
|
-
offsetMs: number;
|
|
2252
|
-
} | undefined;
|
|
2222
|
+
mediaId: string;
|
|
2253
2223
|
reframe?: {
|
|
2254
2224
|
segments: {
|
|
2255
2225
|
startSec: number;
|
|
@@ -2282,6 +2252,10 @@ export declare const CompositionOp: z.ZodDiscriminatedUnion<"type", [z.ZodObject
|
|
|
2282
2252
|
}[];
|
|
2283
2253
|
} | undefined;
|
|
2284
2254
|
kenBurns?: "none" | "in" | "out" | "pan-l" | "pan-r" | undefined;
|
|
2255
|
+
trim?: {
|
|
2256
|
+
start: number;
|
|
2257
|
+
end: number;
|
|
2258
|
+
} | undefined;
|
|
2285
2259
|
excludedRanges?: {
|
|
2286
2260
|
start: number;
|
|
2287
2261
|
end: number;
|
|
@@ -2305,14 +2279,18 @@ export declare const CompositionOp: z.ZodDiscriminatedUnion<"type", [z.ZodObject
|
|
|
2305
2279
|
endMs: number;
|
|
2306
2280
|
}[] | undefined;
|
|
2307
2281
|
} | undefined;
|
|
2282
|
+
anchor?: {
|
|
2283
|
+
clipId: string;
|
|
2284
|
+
offsetMs: number;
|
|
2285
|
+
} | undefined;
|
|
2308
2286
|
} | {
|
|
2309
2287
|
kind: "component";
|
|
2310
2288
|
componentId: string;
|
|
2311
2289
|
props: Record<string, unknown>;
|
|
2312
2290
|
zPlane?: "front" | "behind-subject" | undefined;
|
|
2313
2291
|
} | {
|
|
2314
|
-
kind: "overlay";
|
|
2315
2292
|
params: Record<string, unknown>;
|
|
2293
|
+
kind: "overlay";
|
|
2316
2294
|
primitiveId: string;
|
|
2317
2295
|
anchor?: {
|
|
2318
2296
|
x: number;
|
|
@@ -2378,23 +2356,13 @@ export declare const CompositionOp: z.ZodDiscriminatedUnion<"type", [z.ZodObject
|
|
|
2378
2356
|
type: "clip.update";
|
|
2379
2357
|
clipId: string;
|
|
2380
2358
|
patch: {
|
|
2381
|
-
id?: string | undefined;
|
|
2382
2359
|
kind?: "overlay" | "video" | "effect" | "audio" | "image" | undefined;
|
|
2360
|
+
id?: string | undefined;
|
|
2383
2361
|
startTime?: number | undefined;
|
|
2384
2362
|
duration?: number | undefined;
|
|
2385
2363
|
source?: {
|
|
2386
2364
|
kind: "media";
|
|
2387
|
-
mediaId: string
|
|
2388
|
-
__tableName: "mediaItems";
|
|
2389
|
-
};
|
|
2390
|
-
trim?: {
|
|
2391
|
-
start: number;
|
|
2392
|
-
end: number;
|
|
2393
|
-
} | undefined;
|
|
2394
|
-
anchor?: {
|
|
2395
|
-
clipId: string;
|
|
2396
|
-
offsetMs: number;
|
|
2397
|
-
} | undefined;
|
|
2365
|
+
mediaId: string;
|
|
2398
2366
|
reframe?: {
|
|
2399
2367
|
segments: {
|
|
2400
2368
|
startSec: number;
|
|
@@ -2427,6 +2395,10 @@ export declare const CompositionOp: z.ZodDiscriminatedUnion<"type", [z.ZodObject
|
|
|
2427
2395
|
}[];
|
|
2428
2396
|
} | undefined;
|
|
2429
2397
|
kenBurns?: "none" | "in" | "out" | "pan-l" | "pan-r" | undefined;
|
|
2398
|
+
trim?: {
|
|
2399
|
+
start: number;
|
|
2400
|
+
end: number;
|
|
2401
|
+
} | undefined;
|
|
2430
2402
|
excludedRanges?: {
|
|
2431
2403
|
start: number;
|
|
2432
2404
|
end: number;
|
|
@@ -2450,14 +2422,18 @@ export declare const CompositionOp: z.ZodDiscriminatedUnion<"type", [z.ZodObject
|
|
|
2450
2422
|
endMs: number;
|
|
2451
2423
|
}[] | undefined;
|
|
2452
2424
|
} | undefined;
|
|
2425
|
+
anchor?: {
|
|
2426
|
+
clipId: string;
|
|
2427
|
+
offsetMs: number;
|
|
2428
|
+
} | undefined;
|
|
2453
2429
|
} | {
|
|
2454
2430
|
kind: "component";
|
|
2455
2431
|
componentId: string;
|
|
2456
2432
|
props: Record<string, unknown>;
|
|
2457
2433
|
zPlane?: "front" | "behind-subject" | undefined;
|
|
2458
2434
|
} | {
|
|
2459
|
-
kind: "overlay";
|
|
2460
2435
|
params: Record<string, unknown>;
|
|
2436
|
+
kind: "overlay";
|
|
2461
2437
|
primitiveId: string;
|
|
2462
2438
|
anchor?: {
|
|
2463
2439
|
x: number;
|
|
@@ -2536,7 +2512,7 @@ export declare const CompositionOp: z.ZodDiscriminatedUnion<"type", [z.ZodObject
|
|
|
2536
2512
|
duration: z.ZodNumber;
|
|
2537
2513
|
source: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
2538
2514
|
kind: z.ZodLiteral<"media">;
|
|
2539
|
-
mediaId:
|
|
2515
|
+
mediaId: z.ZodString;
|
|
2540
2516
|
trim: z.ZodOptional<z.ZodObject<{
|
|
2541
2517
|
start: z.ZodNumber;
|
|
2542
2518
|
end: z.ZodNumber;
|
|
@@ -2856,17 +2832,7 @@ export declare const CompositionOp: z.ZodDiscriminatedUnion<"type", [z.ZodObject
|
|
|
2856
2832
|
}>>;
|
|
2857
2833
|
}, "strip", z.ZodTypeAny, {
|
|
2858
2834
|
kind: "media";
|
|
2859
|
-
mediaId: string
|
|
2860
|
-
__tableName: "mediaItems";
|
|
2861
|
-
};
|
|
2862
|
-
trim?: {
|
|
2863
|
-
start: number;
|
|
2864
|
-
end: number;
|
|
2865
|
-
} | undefined;
|
|
2866
|
-
anchor?: {
|
|
2867
|
-
clipId: string;
|
|
2868
|
-
offsetMs: number;
|
|
2869
|
-
} | undefined;
|
|
2835
|
+
mediaId: string;
|
|
2870
2836
|
reframe?: {
|
|
2871
2837
|
segments: {
|
|
2872
2838
|
startSec: number;
|
|
@@ -2899,6 +2865,10 @@ export declare const CompositionOp: z.ZodDiscriminatedUnion<"type", [z.ZodObject
|
|
|
2899
2865
|
}[];
|
|
2900
2866
|
} | undefined;
|
|
2901
2867
|
kenBurns?: "none" | "in" | "out" | "pan-l" | "pan-r" | undefined;
|
|
2868
|
+
trim?: {
|
|
2869
|
+
start: number;
|
|
2870
|
+
end: number;
|
|
2871
|
+
} | undefined;
|
|
2902
2872
|
excludedRanges?: {
|
|
2903
2873
|
start: number;
|
|
2904
2874
|
end: number;
|
|
@@ -2922,19 +2892,13 @@ export declare const CompositionOp: z.ZodDiscriminatedUnion<"type", [z.ZodObject
|
|
|
2922
2892
|
endMs: number;
|
|
2923
2893
|
}[] | undefined;
|
|
2924
2894
|
} | undefined;
|
|
2925
|
-
}, {
|
|
2926
|
-
kind: "media";
|
|
2927
|
-
mediaId: string & {
|
|
2928
|
-
__tableName: "mediaItems";
|
|
2929
|
-
};
|
|
2930
|
-
trim?: {
|
|
2931
|
-
start: number;
|
|
2932
|
-
end: number;
|
|
2933
|
-
} | undefined;
|
|
2934
2895
|
anchor?: {
|
|
2935
2896
|
clipId: string;
|
|
2936
2897
|
offsetMs: number;
|
|
2937
2898
|
} | undefined;
|
|
2899
|
+
}, {
|
|
2900
|
+
kind: "media";
|
|
2901
|
+
mediaId: string;
|
|
2938
2902
|
reframe?: {
|
|
2939
2903
|
segments: {
|
|
2940
2904
|
startSec: number;
|
|
@@ -2967,6 +2931,10 @@ export declare const CompositionOp: z.ZodDiscriminatedUnion<"type", [z.ZodObject
|
|
|
2967
2931
|
}[];
|
|
2968
2932
|
} | undefined;
|
|
2969
2933
|
kenBurns?: "none" | "in" | "out" | "pan-l" | "pan-r" | undefined;
|
|
2934
|
+
trim?: {
|
|
2935
|
+
start: number;
|
|
2936
|
+
end: number;
|
|
2937
|
+
} | undefined;
|
|
2970
2938
|
excludedRanges?: {
|
|
2971
2939
|
start: number;
|
|
2972
2940
|
end: number;
|
|
@@ -2990,6 +2958,10 @@ export declare const CompositionOp: z.ZodDiscriminatedUnion<"type", [z.ZodObject
|
|
|
2990
2958
|
endMs: number;
|
|
2991
2959
|
}[] | undefined;
|
|
2992
2960
|
} | undefined;
|
|
2961
|
+
anchor?: {
|
|
2962
|
+
clipId: string;
|
|
2963
|
+
offsetMs: number;
|
|
2964
|
+
} | undefined;
|
|
2993
2965
|
}>, z.ZodObject<{
|
|
2994
2966
|
kind: z.ZodLiteral<"component">;
|
|
2995
2967
|
componentId: z.ZodString;
|
|
@@ -3025,8 +2997,8 @@ export declare const CompositionOp: z.ZodDiscriminatedUnion<"type", [z.ZodObject
|
|
|
3025
2997
|
}>>;
|
|
3026
2998
|
parallax: z.ZodOptional<z.ZodNumber>;
|
|
3027
2999
|
}, "strip", z.ZodTypeAny, {
|
|
3028
|
-
kind: "overlay";
|
|
3029
3000
|
params: Record<string, unknown>;
|
|
3001
|
+
kind: "overlay";
|
|
3030
3002
|
primitiveId: string;
|
|
3031
3003
|
anchor?: {
|
|
3032
3004
|
x: number;
|
|
@@ -3036,8 +3008,8 @@ export declare const CompositionOp: z.ZodDiscriminatedUnion<"type", [z.ZodObject
|
|
|
3036
3008
|
zPlane?: "front" | "behind-subject" | undefined;
|
|
3037
3009
|
parallax?: number | undefined;
|
|
3038
3010
|
}, {
|
|
3039
|
-
kind: "overlay";
|
|
3040
3011
|
params: Record<string, unknown>;
|
|
3012
|
+
kind: "overlay";
|
|
3041
3013
|
primitiveId: string;
|
|
3042
3014
|
anchor?: {
|
|
3043
3015
|
x: number;
|
|
@@ -3209,17 +3181,7 @@ export declare const CompositionOp: z.ZodDiscriminatedUnion<"type", [z.ZodObject
|
|
|
3209
3181
|
startTime: number;
|
|
3210
3182
|
source: {
|
|
3211
3183
|
kind: "media";
|
|
3212
|
-
mediaId: string
|
|
3213
|
-
__tableName: "mediaItems";
|
|
3214
|
-
};
|
|
3215
|
-
trim?: {
|
|
3216
|
-
start: number;
|
|
3217
|
-
end: number;
|
|
3218
|
-
} | undefined;
|
|
3219
|
-
anchor?: {
|
|
3220
|
-
clipId: string;
|
|
3221
|
-
offsetMs: number;
|
|
3222
|
-
} | undefined;
|
|
3184
|
+
mediaId: string;
|
|
3223
3185
|
reframe?: {
|
|
3224
3186
|
segments: {
|
|
3225
3187
|
startSec: number;
|
|
@@ -3252,6 +3214,10 @@ export declare const CompositionOp: z.ZodDiscriminatedUnion<"type", [z.ZodObject
|
|
|
3252
3214
|
}[];
|
|
3253
3215
|
} | undefined;
|
|
3254
3216
|
kenBurns?: "none" | "in" | "out" | "pan-l" | "pan-r" | undefined;
|
|
3217
|
+
trim?: {
|
|
3218
|
+
start: number;
|
|
3219
|
+
end: number;
|
|
3220
|
+
} | undefined;
|
|
3255
3221
|
excludedRanges?: {
|
|
3256
3222
|
start: number;
|
|
3257
3223
|
end: number;
|
|
@@ -3275,14 +3241,18 @@ export declare const CompositionOp: z.ZodDiscriminatedUnion<"type", [z.ZodObject
|
|
|
3275
3241
|
endMs: number;
|
|
3276
3242
|
}[] | undefined;
|
|
3277
3243
|
} | undefined;
|
|
3244
|
+
anchor?: {
|
|
3245
|
+
clipId: string;
|
|
3246
|
+
offsetMs: number;
|
|
3247
|
+
} | undefined;
|
|
3278
3248
|
} | {
|
|
3279
3249
|
kind: "component";
|
|
3280
3250
|
componentId: string;
|
|
3281
3251
|
props: Record<string, unknown>;
|
|
3282
3252
|
zPlane?: "front" | "behind-subject" | undefined;
|
|
3283
3253
|
} | {
|
|
3284
|
-
kind: "overlay";
|
|
3285
3254
|
params: Record<string, unknown>;
|
|
3255
|
+
kind: "overlay";
|
|
3286
3256
|
primitiveId: string;
|
|
3287
3257
|
anchor?: {
|
|
3288
3258
|
x: number;
|
|
@@ -3350,17 +3320,7 @@ export declare const CompositionOp: z.ZodDiscriminatedUnion<"type", [z.ZodObject
|
|
|
3350
3320
|
startTime: number;
|
|
3351
3321
|
source: {
|
|
3352
3322
|
kind: "media";
|
|
3353
|
-
mediaId: string
|
|
3354
|
-
__tableName: "mediaItems";
|
|
3355
|
-
};
|
|
3356
|
-
trim?: {
|
|
3357
|
-
start: number;
|
|
3358
|
-
end: number;
|
|
3359
|
-
} | undefined;
|
|
3360
|
-
anchor?: {
|
|
3361
|
-
clipId: string;
|
|
3362
|
-
offsetMs: number;
|
|
3363
|
-
} | undefined;
|
|
3323
|
+
mediaId: string;
|
|
3364
3324
|
reframe?: {
|
|
3365
3325
|
segments: {
|
|
3366
3326
|
startSec: number;
|
|
@@ -3393,6 +3353,10 @@ export declare const CompositionOp: z.ZodDiscriminatedUnion<"type", [z.ZodObject
|
|
|
3393
3353
|
}[];
|
|
3394
3354
|
} | undefined;
|
|
3395
3355
|
kenBurns?: "none" | "in" | "out" | "pan-l" | "pan-r" | undefined;
|
|
3356
|
+
trim?: {
|
|
3357
|
+
start: number;
|
|
3358
|
+
end: number;
|
|
3359
|
+
} | undefined;
|
|
3396
3360
|
excludedRanges?: {
|
|
3397
3361
|
start: number;
|
|
3398
3362
|
end: number;
|
|
@@ -3416,14 +3380,18 @@ export declare const CompositionOp: z.ZodDiscriminatedUnion<"type", [z.ZodObject
|
|
|
3416
3380
|
endMs: number;
|
|
3417
3381
|
}[] | undefined;
|
|
3418
3382
|
} | undefined;
|
|
3383
|
+
anchor?: {
|
|
3384
|
+
clipId: string;
|
|
3385
|
+
offsetMs: number;
|
|
3386
|
+
} | undefined;
|
|
3419
3387
|
} | {
|
|
3420
3388
|
kind: "component";
|
|
3421
3389
|
componentId: string;
|
|
3422
3390
|
props: Record<string, unknown>;
|
|
3423
3391
|
zPlane?: "front" | "behind-subject" | undefined;
|
|
3424
3392
|
} | {
|
|
3425
|
-
kind: "overlay";
|
|
3426
3393
|
params: Record<string, unknown>;
|
|
3394
|
+
kind: "overlay";
|
|
3427
3395
|
primitiveId: string;
|
|
3428
3396
|
anchor?: {
|
|
3429
3397
|
x: number;
|
|
@@ -3494,17 +3462,7 @@ export declare const CompositionOp: z.ZodDiscriminatedUnion<"type", [z.ZodObject
|
|
|
3494
3462
|
startTime: number;
|
|
3495
3463
|
source: {
|
|
3496
3464
|
kind: "media";
|
|
3497
|
-
mediaId: string
|
|
3498
|
-
__tableName: "mediaItems";
|
|
3499
|
-
};
|
|
3500
|
-
trim?: {
|
|
3501
|
-
start: number;
|
|
3502
|
-
end: number;
|
|
3503
|
-
} | undefined;
|
|
3504
|
-
anchor?: {
|
|
3505
|
-
clipId: string;
|
|
3506
|
-
offsetMs: number;
|
|
3507
|
-
} | undefined;
|
|
3465
|
+
mediaId: string;
|
|
3508
3466
|
reframe?: {
|
|
3509
3467
|
segments: {
|
|
3510
3468
|
startSec: number;
|
|
@@ -3537,6 +3495,10 @@ export declare const CompositionOp: z.ZodDiscriminatedUnion<"type", [z.ZodObject
|
|
|
3537
3495
|
}[];
|
|
3538
3496
|
} | undefined;
|
|
3539
3497
|
kenBurns?: "none" | "in" | "out" | "pan-l" | "pan-r" | undefined;
|
|
3498
|
+
trim?: {
|
|
3499
|
+
start: number;
|
|
3500
|
+
end: number;
|
|
3501
|
+
} | undefined;
|
|
3540
3502
|
excludedRanges?: {
|
|
3541
3503
|
start: number;
|
|
3542
3504
|
end: number;
|
|
@@ -3560,14 +3522,18 @@ export declare const CompositionOp: z.ZodDiscriminatedUnion<"type", [z.ZodObject
|
|
|
3560
3522
|
endMs: number;
|
|
3561
3523
|
}[] | undefined;
|
|
3562
3524
|
} | undefined;
|
|
3525
|
+
anchor?: {
|
|
3526
|
+
clipId: string;
|
|
3527
|
+
offsetMs: number;
|
|
3528
|
+
} | undefined;
|
|
3563
3529
|
} | {
|
|
3564
3530
|
kind: "component";
|
|
3565
3531
|
componentId: string;
|
|
3566
3532
|
props: Record<string, unknown>;
|
|
3567
3533
|
zPlane?: "front" | "behind-subject" | undefined;
|
|
3568
3534
|
} | {
|
|
3569
|
-
kind: "overlay";
|
|
3570
3535
|
params: Record<string, unknown>;
|
|
3536
|
+
kind: "overlay";
|
|
3571
3537
|
primitiveId: string;
|
|
3572
3538
|
anchor?: {
|
|
3573
3539
|
x: number;
|
|
@@ -3638,17 +3604,7 @@ export declare const CompositionOp: z.ZodDiscriminatedUnion<"type", [z.ZodObject
|
|
|
3638
3604
|
startTime: number;
|
|
3639
3605
|
source: {
|
|
3640
3606
|
kind: "media";
|
|
3641
|
-
mediaId: string
|
|
3642
|
-
__tableName: "mediaItems";
|
|
3643
|
-
};
|
|
3644
|
-
trim?: {
|
|
3645
|
-
start: number;
|
|
3646
|
-
end: number;
|
|
3647
|
-
} | undefined;
|
|
3648
|
-
anchor?: {
|
|
3649
|
-
clipId: string;
|
|
3650
|
-
offsetMs: number;
|
|
3651
|
-
} | undefined;
|
|
3607
|
+
mediaId: string;
|
|
3652
3608
|
reframe?: {
|
|
3653
3609
|
segments: {
|
|
3654
3610
|
startSec: number;
|
|
@@ -3681,6 +3637,10 @@ export declare const CompositionOp: z.ZodDiscriminatedUnion<"type", [z.ZodObject
|
|
|
3681
3637
|
}[];
|
|
3682
3638
|
} | undefined;
|
|
3683
3639
|
kenBurns?: "none" | "in" | "out" | "pan-l" | "pan-r" | undefined;
|
|
3640
|
+
trim?: {
|
|
3641
|
+
start: number;
|
|
3642
|
+
end: number;
|
|
3643
|
+
} | undefined;
|
|
3684
3644
|
excludedRanges?: {
|
|
3685
3645
|
start: number;
|
|
3686
3646
|
end: number;
|
|
@@ -3704,14 +3664,18 @@ export declare const CompositionOp: z.ZodDiscriminatedUnion<"type", [z.ZodObject
|
|
|
3704
3664
|
endMs: number;
|
|
3705
3665
|
}[] | undefined;
|
|
3706
3666
|
} | undefined;
|
|
3667
|
+
anchor?: {
|
|
3668
|
+
clipId: string;
|
|
3669
|
+
offsetMs: number;
|
|
3670
|
+
} | undefined;
|
|
3707
3671
|
} | {
|
|
3708
3672
|
kind: "component";
|
|
3709
3673
|
componentId: string;
|
|
3710
3674
|
props: Record<string, unknown>;
|
|
3711
3675
|
zPlane?: "front" | "behind-subject" | undefined;
|
|
3712
3676
|
} | {
|
|
3713
|
-
kind: "overlay";
|
|
3714
3677
|
params: Record<string, unknown>;
|
|
3678
|
+
kind: "overlay";
|
|
3715
3679
|
primitiveId: string;
|
|
3716
3680
|
anchor?: {
|
|
3717
3681
|
x: number;
|
|
@@ -3838,16 +3802,16 @@ export declare const CompositionOp: z.ZodDiscriminatedUnion<"type", [z.ZodObject
|
|
|
3838
3802
|
name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3839
3803
|
metadata: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
3840
3804
|
}, "strict", z.ZodTypeAny, {
|
|
3841
|
-
id?: string | undefined;
|
|
3842
3805
|
kind?: string | undefined;
|
|
3843
3806
|
name?: string | undefined;
|
|
3807
|
+
id?: string | undefined;
|
|
3844
3808
|
startTime?: number | undefined;
|
|
3845
3809
|
endTime?: number | undefined;
|
|
3846
3810
|
metadata?: Record<string, unknown> | undefined;
|
|
3847
3811
|
}, {
|
|
3848
|
-
id?: string | undefined;
|
|
3849
3812
|
kind?: string | undefined;
|
|
3850
3813
|
name?: string | undefined;
|
|
3814
|
+
id?: string | undefined;
|
|
3851
3815
|
startTime?: number | undefined;
|
|
3852
3816
|
endTime?: number | undefined;
|
|
3853
3817
|
metadata?: Record<string, unknown> | undefined;
|
|
@@ -3856,9 +3820,9 @@ export declare const CompositionOp: z.ZodDiscriminatedUnion<"type", [z.ZodObject
|
|
|
3856
3820
|
type: "updateMarker";
|
|
3857
3821
|
markerId: string;
|
|
3858
3822
|
updates: {
|
|
3859
|
-
id?: string | undefined;
|
|
3860
3823
|
kind?: string | undefined;
|
|
3861
3824
|
name?: string | undefined;
|
|
3825
|
+
id?: string | undefined;
|
|
3862
3826
|
startTime?: number | undefined;
|
|
3863
3827
|
endTime?: number | undefined;
|
|
3864
3828
|
metadata?: Record<string, unknown> | undefined;
|
|
@@ -3867,9 +3831,9 @@ export declare const CompositionOp: z.ZodDiscriminatedUnion<"type", [z.ZodObject
|
|
|
3867
3831
|
type: "updateMarker";
|
|
3868
3832
|
markerId: string;
|
|
3869
3833
|
updates: {
|
|
3870
|
-
id?: string | undefined;
|
|
3871
3834
|
kind?: string | undefined;
|
|
3872
3835
|
name?: string | undefined;
|
|
3836
|
+
id?: string | undefined;
|
|
3873
3837
|
startTime?: number | undefined;
|
|
3874
3838
|
endTime?: number | undefined;
|
|
3875
3839
|
metadata?: Record<string, unknown> | undefined;
|
|
@@ -4632,30 +4596,30 @@ export declare const CompositionOp: z.ZodDiscriminatedUnion<"type", [z.ZodObject
|
|
|
4632
4596
|
type: z.ZodLiteral<"setFormat">;
|
|
4633
4597
|
format: z.ZodObject<Pick<{
|
|
4634
4598
|
aspectRatio: z.ZodEnum<["16:9", "9:16", "1:1", "4:5"]>;
|
|
4635
|
-
fps: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<24>, z.ZodLiteral<30>, z.ZodLiteral<60>]>>;
|
|
4599
|
+
fps: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<24>, z.ZodLiteral<25>, z.ZodLiteral<30>, z.ZodLiteral<60>]>>;
|
|
4636
4600
|
resolution: z.ZodOptional<z.ZodEnum<["hd", "fhd", "4k"]>>;
|
|
4637
4601
|
platform: z.ZodOptional<z.ZodString>;
|
|
4638
4602
|
}, "aspectRatio" | "fps" | "resolution">, "strip", z.ZodTypeAny, {
|
|
4639
4603
|
aspectRatio: "16:9" | "9:16" | "1:1" | "4:5";
|
|
4640
|
-
fps?: 24 | 30 | 60 | undefined;
|
|
4604
|
+
fps?: 24 | 25 | 30 | 60 | undefined;
|
|
4641
4605
|
resolution?: "hd" | "fhd" | "4k" | undefined;
|
|
4642
4606
|
}, {
|
|
4643
4607
|
aspectRatio: "16:9" | "9:16" | "1:1" | "4:5";
|
|
4644
|
-
fps?: 24 | 30 | 60 | undefined;
|
|
4608
|
+
fps?: 24 | 25 | 30 | 60 | undefined;
|
|
4645
4609
|
resolution?: "hd" | "fhd" | "4k" | undefined;
|
|
4646
4610
|
}>;
|
|
4647
4611
|
}, "strict", z.ZodTypeAny, {
|
|
4648
4612
|
type: "setFormat";
|
|
4649
4613
|
format: {
|
|
4650
4614
|
aspectRatio: "16:9" | "9:16" | "1:1" | "4:5";
|
|
4651
|
-
fps?: 24 | 30 | 60 | undefined;
|
|
4615
|
+
fps?: 24 | 25 | 30 | 60 | undefined;
|
|
4652
4616
|
resolution?: "hd" | "fhd" | "4k" | undefined;
|
|
4653
4617
|
};
|
|
4654
4618
|
}, {
|
|
4655
4619
|
type: "setFormat";
|
|
4656
4620
|
format: {
|
|
4657
4621
|
aspectRatio: "16:9" | "9:16" | "1:1" | "4:5";
|
|
4658
|
-
fps?: 24 | 30 | 60 | undefined;
|
|
4622
|
+
fps?: 24 | 25 | 30 | 60 | undefined;
|
|
4659
4623
|
resolution?: "hd" | "fhd" | "4k" | undefined;
|
|
4660
4624
|
};
|
|
4661
4625
|
}>, z.ZodObject<{
|
|
@@ -4666,13 +4630,13 @@ export declare const CompositionOp: z.ZodDiscriminatedUnion<"type", [z.ZodObject
|
|
|
4666
4630
|
}, "strict", z.ZodTypeAny, {
|
|
4667
4631
|
kind: "overlay" | "video" | "effect" | "audio" | "image";
|
|
4668
4632
|
type: "addTrack";
|
|
4669
|
-
id?: string | undefined;
|
|
4670
4633
|
name?: string | undefined;
|
|
4634
|
+
id?: string | undefined;
|
|
4671
4635
|
}, {
|
|
4672
4636
|
kind: "overlay" | "video" | "effect" | "audio" | "image";
|
|
4673
4637
|
type: "addTrack";
|
|
4674
|
-
id?: string | undefined;
|
|
4675
4638
|
name?: string | undefined;
|
|
4639
|
+
id?: string | undefined;
|
|
4676
4640
|
}>, z.ZodObject<{
|
|
4677
4641
|
type: z.ZodLiteral<"removeTrack">;
|
|
4678
4642
|
trackId: z.ZodString;
|