@slatesvideo/shared 0.7.11 → 0.7.13
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/manual/content.d.ts +1 -1
- package/dist/manual/content.js +1 -1
- package/dist/operations/index.d.ts +352 -59
- package/dist/operations/index.js +438 -36
- package/dist/operations/surface.js +6 -0
- package/dist/skills/content.js +9 -4
- package/dist/skills/hyperframes-content.js +11 -11
- package/package.json +1 -1
- package/skills/hyperframes/NOTICE +24 -0
- package/skills/hyperframes/SLATES-MAPPING.md +5 -4
- package/skills/hyperframes/faceless-explainer/references/motion-language.md +13 -17
- package/skills/hyperframes/faceless-explainer/references/visual-design.md +10 -10
- package/skills/hyperframes/hyperframes/references/frame-worker-core.md +1 -1
- package/skills/hyperframes/hyperframes-animation/adapters/gsap-easing-and-stagger.md +20 -24
- package/skills/hyperframes/hyperframes-animation/rules/sine-wave-loop.md +1 -1
- package/skills/hyperframes/hyperframes-animation/rules/spring-pop-entrance.md +18 -25
- package/skills/hyperframes/pr-to-video/references/motion-language.md +13 -17
- package/skills/hyperframes/pr-to-video/references/visual-design.md +8 -8
- package/skills/hyperframes/product-launch-video/references/motion-language.md +13 -17
- package/skills/hyperframes/product-launch-video/references/visual-design.md +10 -10
- package/skills/slates-start-here.md +20 -14
|
@@ -612,6 +612,8 @@ type AppSettingsPatch = {
|
|
|
612
612
|
studioAgentCodexEffort?: string;
|
|
613
613
|
studioAgentClaudeModel?: string;
|
|
614
614
|
studioAgentClaudeEffort?: string;
|
|
615
|
+
makeProxiesAtImport?: boolean;
|
|
616
|
+
clearProxies?: string;
|
|
615
617
|
};
|
|
616
618
|
export declare const setAppSettings: Operation<AppSettingsPatch>;
|
|
617
619
|
export declare const getSpendLimits: Operation<{
|
|
@@ -759,6 +761,111 @@ export declare const cutToBeats: Operation<{
|
|
|
759
761
|
toFrame?: number;
|
|
760
762
|
reachFrames?: number;
|
|
761
763
|
}>;
|
|
764
|
+
type MaskTargetInput = {
|
|
765
|
+
projectId: string;
|
|
766
|
+
assetId?: string;
|
|
767
|
+
clipId?: string;
|
|
768
|
+
};
|
|
769
|
+
export declare const getSubjectMask: Operation<MaskTargetInput & {
|
|
770
|
+
maskId?: string;
|
|
771
|
+
sheet?: boolean;
|
|
772
|
+
boxes?: boolean;
|
|
773
|
+
waitSeconds?: number;
|
|
774
|
+
}>;
|
|
775
|
+
type MaskSubjectInput = MaskTargetInput & {
|
|
776
|
+
action: 'make' | 'refine' | 'cancel' | 'delete' | 'pin';
|
|
777
|
+
maskId?: string;
|
|
778
|
+
label?: string;
|
|
779
|
+
prompts?: unknown[];
|
|
780
|
+
strokes?: unknown[];
|
|
781
|
+
addPrompts?: unknown[];
|
|
782
|
+
removePrompts?: number[];
|
|
783
|
+
addStrokes?: unknown[];
|
|
784
|
+
clearStrokesOn?: number[];
|
|
785
|
+
params?: Record<string, number>;
|
|
786
|
+
edges?: boolean;
|
|
787
|
+
sheet?: boolean;
|
|
788
|
+
boxes?: boolean;
|
|
789
|
+
waitSeconds?: number;
|
|
790
|
+
hudClipId?: string;
|
|
791
|
+
side?: 'right' | 'left' | 'above' | 'below';
|
|
792
|
+
gap?: number;
|
|
793
|
+
offset?: {
|
|
794
|
+
x?: number;
|
|
795
|
+
y?: number;
|
|
796
|
+
};
|
|
797
|
+
hudSize?: [number, number];
|
|
798
|
+
};
|
|
799
|
+
export declare const maskSubject: Operation<MaskSubjectInput>;
|
|
800
|
+
export declare const getWhipPans: Operation<BeatTargetInput & {
|
|
801
|
+
sheets?: boolean;
|
|
802
|
+
}>;
|
|
803
|
+
export declare const findWhipPans: Operation<BeatTargetInput & {
|
|
804
|
+
sheets?: boolean;
|
|
805
|
+
}>;
|
|
806
|
+
declare const whipEditInput: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
807
|
+
kind: z.ZodLiteral<"move">;
|
|
808
|
+
at: z.ZodNumber;
|
|
809
|
+
start: z.ZodOptional<z.ZodNumber>;
|
|
810
|
+
peak: z.ZodOptional<z.ZodNumber>;
|
|
811
|
+
end: z.ZodOptional<z.ZodNumber>;
|
|
812
|
+
direction: z.ZodOptional<z.ZodEnum<["right", "up-right", "up", "up-left", "left", "down-left", "down", "down-right"]>>;
|
|
813
|
+
}, "strict", z.ZodTypeAny, {
|
|
814
|
+
at: number;
|
|
815
|
+
kind: "move";
|
|
816
|
+
start?: number | undefined;
|
|
817
|
+
peak?: number | undefined;
|
|
818
|
+
end?: number | undefined;
|
|
819
|
+
direction?: "left" | "right" | "up-right" | "up" | "up-left" | "down-left" | "down" | "down-right" | undefined;
|
|
820
|
+
}, {
|
|
821
|
+
at: number;
|
|
822
|
+
kind: "move";
|
|
823
|
+
start?: number | undefined;
|
|
824
|
+
peak?: number | undefined;
|
|
825
|
+
end?: number | undefined;
|
|
826
|
+
direction?: "left" | "right" | "up-right" | "up" | "up-left" | "down-left" | "down" | "down-right" | undefined;
|
|
827
|
+
}>, z.ZodObject<{
|
|
828
|
+
kind: z.ZodLiteral<"add">;
|
|
829
|
+
start: z.ZodNumber;
|
|
830
|
+
peak: z.ZodNumber;
|
|
831
|
+
end: z.ZodNumber;
|
|
832
|
+
direction: z.ZodEnum<["right", "up-right", "up", "up-left", "left", "down-left", "down", "down-right"]>;
|
|
833
|
+
}, "strict", z.ZodTypeAny, {
|
|
834
|
+
kind: "add";
|
|
835
|
+
start: number;
|
|
836
|
+
peak: number;
|
|
837
|
+
end: number;
|
|
838
|
+
direction: "left" | "right" | "up-right" | "up" | "up-left" | "down-left" | "down" | "down-right";
|
|
839
|
+
}, {
|
|
840
|
+
kind: "add";
|
|
841
|
+
start: number;
|
|
842
|
+
peak: number;
|
|
843
|
+
end: number;
|
|
844
|
+
direction: "left" | "right" | "up-right" | "up" | "up-left" | "down-left" | "down" | "down-right";
|
|
845
|
+
}>, z.ZodObject<{
|
|
846
|
+
kind: z.ZodLiteral<"delete">;
|
|
847
|
+
at: z.ZodNumber;
|
|
848
|
+
}, "strict", z.ZodTypeAny, {
|
|
849
|
+
at: number;
|
|
850
|
+
kind: "delete";
|
|
851
|
+
}, {
|
|
852
|
+
at: number;
|
|
853
|
+
kind: "delete";
|
|
854
|
+
}>]>;
|
|
855
|
+
export declare const editWhipPans: Operation<BeatTargetInput & {
|
|
856
|
+
edits?: Array<z.infer<typeof whipEditInput>>;
|
|
857
|
+
undo?: boolean;
|
|
858
|
+
clearEdits?: boolean;
|
|
859
|
+
}>;
|
|
860
|
+
export declare const joinOnWhip: Operation<{
|
|
861
|
+
projectId: string;
|
|
862
|
+
fromClipId: string;
|
|
863
|
+
toClipId: string;
|
|
864
|
+
fromPeak?: number;
|
|
865
|
+
toPeak?: number;
|
|
866
|
+
blend?: 'dissolve' | 'whip' | 'none';
|
|
867
|
+
blendFrames?: number;
|
|
868
|
+
}>;
|
|
762
869
|
export declare const extractVideoFrame: Operation<{
|
|
763
870
|
projectId: string;
|
|
764
871
|
assetId: string;
|
|
@@ -856,6 +963,8 @@ export declare const updateAsset: Operation<{
|
|
|
856
963
|
assetId: string;
|
|
857
964
|
label?: string;
|
|
858
965
|
note?: string;
|
|
966
|
+
proxy?: 'make' | 'remove';
|
|
967
|
+
playOriginal?: boolean;
|
|
859
968
|
}>;
|
|
860
969
|
export declare const listFolders: Operation<{
|
|
861
970
|
projectId: string;
|
|
@@ -1342,8 +1451,6 @@ declare const exportCutsInput: z.ZodEffects<z.ZodObject<{
|
|
|
1342
1451
|
action: z.ZodOptional<z.ZodOptional<z.ZodEnum<["start", "status", "cancel"]>>>;
|
|
1343
1452
|
}, "strict", z.ZodTypeAny, {
|
|
1344
1453
|
projectId: string;
|
|
1345
|
-
version?: 2 | undefined;
|
|
1346
|
-
action?: "start" | "status" | "cancel" | undefined;
|
|
1347
1454
|
items?: ({
|
|
1348
1455
|
timelineId: string;
|
|
1349
1456
|
format: "mp4" | "xml";
|
|
@@ -1362,8 +1469,10 @@ declare const exportCutsInput: z.ZodEffects<z.ZodObject<{
|
|
|
1362
1469
|
lp?: string | undefined;
|
|
1363
1470
|
} | undefined;
|
|
1364
1471
|
})[] | undefined;
|
|
1472
|
+
action?: "status" | "cancel" | "start" | undefined;
|
|
1365
1473
|
directory?: string | undefined;
|
|
1366
1474
|
manifestId?: string | undefined;
|
|
1475
|
+
version?: 2 | undefined;
|
|
1367
1476
|
batchId?: string | undefined;
|
|
1368
1477
|
exportRoot?: string | undefined;
|
|
1369
1478
|
variants?: {
|
|
@@ -1385,8 +1494,6 @@ declare const exportCutsInput: z.ZodEffects<z.ZodObject<{
|
|
|
1385
1494
|
}> | undefined;
|
|
1386
1495
|
}, {
|
|
1387
1496
|
projectId: string;
|
|
1388
|
-
version?: 2 | undefined;
|
|
1389
|
-
action?: "start" | "status" | "cancel" | undefined;
|
|
1390
1497
|
items?: ({
|
|
1391
1498
|
timelineId: string;
|
|
1392
1499
|
format: "mp4" | "xml";
|
|
@@ -1405,8 +1512,10 @@ declare const exportCutsInput: z.ZodEffects<z.ZodObject<{
|
|
|
1405
1512
|
lp?: string | undefined;
|
|
1406
1513
|
} | undefined;
|
|
1407
1514
|
})[] | undefined;
|
|
1515
|
+
action?: "status" | "cancel" | "start" | undefined;
|
|
1408
1516
|
directory?: string | undefined;
|
|
1409
1517
|
manifestId?: string | undefined;
|
|
1518
|
+
version?: 2 | undefined;
|
|
1410
1519
|
batchId?: string | undefined;
|
|
1411
1520
|
exportRoot?: string | undefined;
|
|
1412
1521
|
variants?: {
|
|
@@ -1428,8 +1537,6 @@ declare const exportCutsInput: z.ZodEffects<z.ZodObject<{
|
|
|
1428
1537
|
}> | undefined;
|
|
1429
1538
|
}>, {
|
|
1430
1539
|
projectId: string;
|
|
1431
|
-
version?: 2 | undefined;
|
|
1432
|
-
action?: "start" | "status" | "cancel" | undefined;
|
|
1433
1540
|
items?: ({
|
|
1434
1541
|
timelineId: string;
|
|
1435
1542
|
format: "mp4" | "xml";
|
|
@@ -1448,8 +1555,10 @@ declare const exportCutsInput: z.ZodEffects<z.ZodObject<{
|
|
|
1448
1555
|
lp?: string | undefined;
|
|
1449
1556
|
} | undefined;
|
|
1450
1557
|
})[] | undefined;
|
|
1558
|
+
action?: "status" | "cancel" | "start" | undefined;
|
|
1451
1559
|
directory?: string | undefined;
|
|
1452
1560
|
manifestId?: string | undefined;
|
|
1561
|
+
version?: 2 | undefined;
|
|
1453
1562
|
batchId?: string | undefined;
|
|
1454
1563
|
exportRoot?: string | undefined;
|
|
1455
1564
|
variants?: {
|
|
@@ -1471,8 +1580,6 @@ declare const exportCutsInput: z.ZodEffects<z.ZodObject<{
|
|
|
1471
1580
|
}> | undefined;
|
|
1472
1581
|
}, {
|
|
1473
1582
|
projectId: string;
|
|
1474
|
-
version?: 2 | undefined;
|
|
1475
|
-
action?: "start" | "status" | "cancel" | undefined;
|
|
1476
1583
|
items?: ({
|
|
1477
1584
|
timelineId: string;
|
|
1478
1585
|
format: "mp4" | "xml";
|
|
@@ -1491,8 +1598,10 @@ declare const exportCutsInput: z.ZodEffects<z.ZodObject<{
|
|
|
1491
1598
|
lp?: string | undefined;
|
|
1492
1599
|
} | undefined;
|
|
1493
1600
|
})[] | undefined;
|
|
1601
|
+
action?: "status" | "cancel" | "start" | undefined;
|
|
1494
1602
|
directory?: string | undefined;
|
|
1495
1603
|
manifestId?: string | undefined;
|
|
1604
|
+
version?: 2 | undefined;
|
|
1496
1605
|
batchId?: string | undefined;
|
|
1497
1606
|
exportRoot?: string | undefined;
|
|
1498
1607
|
variants?: {
|
|
@@ -1569,8 +1678,8 @@ declare const variantSlotsInput: z.ZodObject<{
|
|
|
1569
1678
|
clipIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1570
1679
|
sequenceId: z.ZodOptional<z.ZodString>;
|
|
1571
1680
|
}, "strict", z.ZodTypeAny, {
|
|
1572
|
-
action: "add" | "remove" | "update" | "add-alternative" | "update-alternative" | "remove-alternative";
|
|
1573
1681
|
projectId: string;
|
|
1682
|
+
action: "add" | "remove" | "update" | "add-alternative" | "update-alternative" | "remove-alternative";
|
|
1574
1683
|
at?: number | undefined;
|
|
1575
1684
|
name?: string | undefined;
|
|
1576
1685
|
alternativeId?: string | undefined;
|
|
@@ -1582,8 +1691,8 @@ declare const variantSlotsInput: z.ZodObject<{
|
|
|
1582
1691
|
clipIds?: string[] | undefined;
|
|
1583
1692
|
sequenceId?: string | undefined;
|
|
1584
1693
|
}, {
|
|
1585
|
-
action: "add" | "remove" | "update" | "add-alternative" | "update-alternative" | "remove-alternative";
|
|
1586
1694
|
projectId: string;
|
|
1695
|
+
action: "add" | "remove" | "update" | "add-alternative" | "update-alternative" | "remove-alternative";
|
|
1587
1696
|
at?: number | undefined;
|
|
1588
1697
|
name?: string | undefined;
|
|
1589
1698
|
alternativeId?: string | undefined;
|
|
@@ -1667,8 +1776,8 @@ declare const variantsInput: z.ZodObject<{
|
|
|
1667
1776
|
frames: number;
|
|
1668
1777
|
}>]>>>;
|
|
1669
1778
|
}, "strict", z.ZodTypeAny, {
|
|
1670
|
-
action: "add" | "remove" | "update" | "rebuild";
|
|
1671
1779
|
projectId: string;
|
|
1780
|
+
action: "add" | "remove" | "update" | "rebuild";
|
|
1672
1781
|
name?: string | undefined;
|
|
1673
1782
|
timelineId?: string | undefined;
|
|
1674
1783
|
variantId?: string | undefined;
|
|
@@ -1693,8 +1802,8 @@ declare const variantsInput: z.ZodObject<{
|
|
|
1693
1802
|
}> | undefined;
|
|
1694
1803
|
}[] | undefined;
|
|
1695
1804
|
}, {
|
|
1696
|
-
action: "add" | "remove" | "update" | "rebuild";
|
|
1697
1805
|
projectId: string;
|
|
1806
|
+
action: "add" | "remove" | "update" | "rebuild";
|
|
1698
1807
|
name?: string | undefined;
|
|
1699
1808
|
timelineId?: string | undefined;
|
|
1700
1809
|
variantId?: string | undefined;
|
|
@@ -1754,14 +1863,14 @@ declare const reframeClipInput: z.ZodObject<{
|
|
|
1754
1863
|
zoom: z.ZodOptional<z.ZodNumber>;
|
|
1755
1864
|
}, "strict", z.ZodTypeAny, {
|
|
1756
1865
|
mode?: "fill" | "fit" | undefined;
|
|
1757
|
-
zoom?: number | undefined;
|
|
1758
1866
|
focusX?: number | undefined;
|
|
1759
1867
|
focusY?: number | undefined;
|
|
1868
|
+
zoom?: number | undefined;
|
|
1760
1869
|
}, {
|
|
1761
1870
|
mode?: "fill" | "fit" | undefined;
|
|
1762
|
-
zoom?: number | undefined;
|
|
1763
1871
|
focusX?: number | undefined;
|
|
1764
1872
|
focusY?: number | undefined;
|
|
1873
|
+
zoom?: number | undefined;
|
|
1765
1874
|
}>>>;
|
|
1766
1875
|
follow: z.ZodOptional<z.ZodEnum<["face", "off"]>>;
|
|
1767
1876
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -1771,11 +1880,11 @@ declare const reframeClipInput: z.ZodObject<{
|
|
|
1771
1880
|
aspect: string;
|
|
1772
1881
|
framing?: {
|
|
1773
1882
|
mode?: "fill" | "fit" | undefined;
|
|
1774
|
-
zoom?: number | undefined;
|
|
1775
1883
|
focusX?: number | undefined;
|
|
1776
1884
|
focusY?: number | undefined;
|
|
1885
|
+
zoom?: number | undefined;
|
|
1777
1886
|
} | null | undefined;
|
|
1778
|
-
follow?: "
|
|
1887
|
+
follow?: "face" | "off" | undefined;
|
|
1779
1888
|
}, {
|
|
1780
1889
|
projectId: string;
|
|
1781
1890
|
timelineId: string;
|
|
@@ -1783,11 +1892,11 @@ declare const reframeClipInput: z.ZodObject<{
|
|
|
1783
1892
|
aspect: string;
|
|
1784
1893
|
framing?: {
|
|
1785
1894
|
mode?: "fill" | "fit" | undefined;
|
|
1786
|
-
zoom?: number | undefined;
|
|
1787
1895
|
focusX?: number | undefined;
|
|
1788
1896
|
focusY?: number | undefined;
|
|
1897
|
+
zoom?: number | undefined;
|
|
1789
1898
|
} | null | undefined;
|
|
1790
|
-
follow?: "
|
|
1899
|
+
follow?: "face" | "off" | undefined;
|
|
1791
1900
|
}>;
|
|
1792
1901
|
export declare const reframeClip: Operation<z.infer<typeof reframeClipInput>>;
|
|
1793
1902
|
export declare const listTimelines: Operation<{
|
|
@@ -1801,6 +1910,7 @@ export declare const saveTimeline: Operation<{
|
|
|
1801
1910
|
export declare const getTimeline: Operation<{
|
|
1802
1911
|
projectId: string;
|
|
1803
1912
|
timelineId?: string;
|
|
1913
|
+
objectWipes?: boolean;
|
|
1804
1914
|
}>;
|
|
1805
1915
|
declare const loudnessInput: z.ZodObject<{
|
|
1806
1916
|
projectId: z.ZodString;
|
|
@@ -1881,9 +1991,14 @@ export declare const removeTransition: Operation<{
|
|
|
1881
1991
|
}>;
|
|
1882
1992
|
export declare const editTimelineClips: Operation<{
|
|
1883
1993
|
projectId: string;
|
|
1884
|
-
action: 'trim' | 'slip' | 'move' | 'split';
|
|
1994
|
+
action: 'trim' | 'slip' | 'move' | 'split' | 'layout';
|
|
1885
1995
|
clipId?: string;
|
|
1886
1996
|
clipIds?: string[];
|
|
1997
|
+
layout?: 'grid' | 'one-plus-three' | 'one-plus-four' | 'side-by-side';
|
|
1998
|
+
gap?: number;
|
|
1999
|
+
margin?: number;
|
|
2000
|
+
seconds?: number;
|
|
2001
|
+
staggerSeconds?: number;
|
|
1887
2002
|
edge?: 'start' | 'end';
|
|
1888
2003
|
frame?: number;
|
|
1889
2004
|
sec?: number;
|
|
@@ -1940,7 +2055,7 @@ declare const keyframeList: z.ZodArray<z.ZodObject<{
|
|
|
1940
2055
|
cubicBezier: [number, number, number, number];
|
|
1941
2056
|
} | undefined;
|
|
1942
2057
|
}>, "many">;
|
|
1943
|
-
/** An effect list as the desktop stores it (`slate/src/shared/audioEffects.ts`); slates_get_timeline's audioEffects lists each type's parameters and ranges. */
|
|
2058
|
+
/** An effect list as the desktop stores it (`slate/src/shared/audioEffects.ts`); slates_get_timeline's audioEffects lists each type's parameters and ranges, and eq what a band list takes. */
|
|
1944
2059
|
declare const audioEffectList: z.ZodArray<z.ZodObject<{
|
|
1945
2060
|
id: z.ZodOptional<z.ZodString>;
|
|
1946
2061
|
type: z.ZodEnum<["volume", "eq"]>;
|
|
@@ -1969,11 +2084,72 @@ declare const audioEffectList: z.ZodArray<z.ZodObject<{
|
|
|
1969
2084
|
cubicBezier: [number, number, number, number];
|
|
1970
2085
|
} | undefined;
|
|
1971
2086
|
}>, "many">>>;
|
|
2087
|
+
bands: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2088
|
+
band: z.ZodOptional<z.ZodEnum<["highpass", "lowshelf", "bell1", "bell2", "bell3", "bell4", "bell5", "bell6", "highshelf", "lowpass"]>>;
|
|
2089
|
+
type: z.ZodEnum<["highpass", "lowpass", "bell", "lowshelf", "highshelf", "notch", "bandpass"]>;
|
|
2090
|
+
on: z.ZodOptional<z.ZodBoolean>;
|
|
2091
|
+
frequency: z.ZodOptional<z.ZodNumber>;
|
|
2092
|
+
gain: z.ZodOptional<z.ZodNumber>;
|
|
2093
|
+
q: z.ZodOptional<z.ZodNumber>;
|
|
2094
|
+
slope: z.ZodOptional<z.ZodNumber>;
|
|
2095
|
+
keyframes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
|
|
2096
|
+
frame: z.ZodNumber;
|
|
2097
|
+
value: z.ZodNumber;
|
|
2098
|
+
easing: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["linear", "ease", "ease-in", "ease-out", "ease-in-out", "hold"]>, z.ZodObject<{
|
|
2099
|
+
cubicBezier: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
|
|
2100
|
+
}, "strict", z.ZodTypeAny, {
|
|
2101
|
+
cubicBezier: [number, number, number, number];
|
|
2102
|
+
}, {
|
|
2103
|
+
cubicBezier: [number, number, number, number];
|
|
2104
|
+
}>]>>;
|
|
2105
|
+
}, "strict", z.ZodTypeAny, {
|
|
2106
|
+
value: number;
|
|
2107
|
+
frame: number;
|
|
2108
|
+
easing?: "linear" | "ease" | "ease-in" | "ease-out" | "ease-in-out" | "hold" | {
|
|
2109
|
+
cubicBezier: [number, number, number, number];
|
|
2110
|
+
} | undefined;
|
|
2111
|
+
}, {
|
|
2112
|
+
value: number;
|
|
2113
|
+
frame: number;
|
|
2114
|
+
easing?: "linear" | "ease" | "ease-in" | "ease-out" | "ease-in-out" | "hold" | {
|
|
2115
|
+
cubicBezier: [number, number, number, number];
|
|
2116
|
+
} | undefined;
|
|
2117
|
+
}>, "many">>>;
|
|
2118
|
+
}, "strict", z.ZodTypeAny, {
|
|
2119
|
+
type: "highpass" | "lowshelf" | "highshelf" | "lowpass" | "bell" | "notch" | "bandpass";
|
|
2120
|
+
on?: boolean | undefined;
|
|
2121
|
+
band?: "highpass" | "lowshelf" | "bell1" | "bell2" | "bell3" | "bell4" | "bell5" | "bell6" | "highshelf" | "lowpass" | undefined;
|
|
2122
|
+
frequency?: number | undefined;
|
|
2123
|
+
gain?: number | undefined;
|
|
2124
|
+
q?: number | undefined;
|
|
2125
|
+
slope?: number | undefined;
|
|
2126
|
+
keyframes?: Record<string, {
|
|
2127
|
+
value: number;
|
|
2128
|
+
frame: number;
|
|
2129
|
+
easing?: "linear" | "ease" | "ease-in" | "ease-out" | "ease-in-out" | "hold" | {
|
|
2130
|
+
cubicBezier: [number, number, number, number];
|
|
2131
|
+
} | undefined;
|
|
2132
|
+
}[]> | undefined;
|
|
2133
|
+
}, {
|
|
2134
|
+
type: "highpass" | "lowshelf" | "highshelf" | "lowpass" | "bell" | "notch" | "bandpass";
|
|
2135
|
+
on?: boolean | undefined;
|
|
2136
|
+
band?: "highpass" | "lowshelf" | "bell1" | "bell2" | "bell3" | "bell4" | "bell5" | "bell6" | "highshelf" | "lowpass" | undefined;
|
|
2137
|
+
frequency?: number | undefined;
|
|
2138
|
+
gain?: number | undefined;
|
|
2139
|
+
q?: number | undefined;
|
|
2140
|
+
slope?: number | undefined;
|
|
2141
|
+
keyframes?: Record<string, {
|
|
2142
|
+
value: number;
|
|
2143
|
+
frame: number;
|
|
2144
|
+
easing?: "linear" | "ease" | "ease-in" | "ease-out" | "ease-in-out" | "hold" | {
|
|
2145
|
+
cubicBezier: [number, number, number, number];
|
|
2146
|
+
} | undefined;
|
|
2147
|
+
}[]> | undefined;
|
|
2148
|
+
}>, "many">>;
|
|
1972
2149
|
}, "strict", z.ZodTypeAny, {
|
|
1973
2150
|
type: "volume" | "eq";
|
|
1974
2151
|
id?: string | undefined;
|
|
1975
2152
|
params?: Record<string, number> | undefined;
|
|
1976
|
-
bypass?: boolean | undefined;
|
|
1977
2153
|
keyframes?: Record<string, {
|
|
1978
2154
|
value: number;
|
|
1979
2155
|
frame: number;
|
|
@@ -1981,11 +2157,27 @@ declare const audioEffectList: z.ZodArray<z.ZodObject<{
|
|
|
1981
2157
|
cubicBezier: [number, number, number, number];
|
|
1982
2158
|
} | undefined;
|
|
1983
2159
|
}[]> | undefined;
|
|
2160
|
+
bypass?: boolean | undefined;
|
|
2161
|
+
bands?: {
|
|
2162
|
+
type: "highpass" | "lowshelf" | "highshelf" | "lowpass" | "bell" | "notch" | "bandpass";
|
|
2163
|
+
on?: boolean | undefined;
|
|
2164
|
+
band?: "highpass" | "lowshelf" | "bell1" | "bell2" | "bell3" | "bell4" | "bell5" | "bell6" | "highshelf" | "lowpass" | undefined;
|
|
2165
|
+
frequency?: number | undefined;
|
|
2166
|
+
gain?: number | undefined;
|
|
2167
|
+
q?: number | undefined;
|
|
2168
|
+
slope?: number | undefined;
|
|
2169
|
+
keyframes?: Record<string, {
|
|
2170
|
+
value: number;
|
|
2171
|
+
frame: number;
|
|
2172
|
+
easing?: "linear" | "ease" | "ease-in" | "ease-out" | "ease-in-out" | "hold" | {
|
|
2173
|
+
cubicBezier: [number, number, number, number];
|
|
2174
|
+
} | undefined;
|
|
2175
|
+
}[]> | undefined;
|
|
2176
|
+
}[] | undefined;
|
|
1984
2177
|
}, {
|
|
1985
2178
|
type: "volume" | "eq";
|
|
1986
2179
|
id?: string | undefined;
|
|
1987
2180
|
params?: Record<string, number> | undefined;
|
|
1988
|
-
bypass?: boolean | undefined;
|
|
1989
2181
|
keyframes?: Record<string, {
|
|
1990
2182
|
value: number;
|
|
1991
2183
|
frame: number;
|
|
@@ -1993,7 +2185,88 @@ declare const audioEffectList: z.ZodArray<z.ZodObject<{
|
|
|
1993
2185
|
cubicBezier: [number, number, number, number];
|
|
1994
2186
|
} | undefined;
|
|
1995
2187
|
}[]> | undefined;
|
|
2188
|
+
bypass?: boolean | undefined;
|
|
2189
|
+
bands?: {
|
|
2190
|
+
type: "highpass" | "lowshelf" | "highshelf" | "lowpass" | "bell" | "notch" | "bandpass";
|
|
2191
|
+
on?: boolean | undefined;
|
|
2192
|
+
band?: "highpass" | "lowshelf" | "bell1" | "bell2" | "bell3" | "bell4" | "bell5" | "bell6" | "highshelf" | "lowpass" | undefined;
|
|
2193
|
+
frequency?: number | undefined;
|
|
2194
|
+
gain?: number | undefined;
|
|
2195
|
+
q?: number | undefined;
|
|
2196
|
+
slope?: number | undefined;
|
|
2197
|
+
keyframes?: Record<string, {
|
|
2198
|
+
value: number;
|
|
2199
|
+
frame: number;
|
|
2200
|
+
easing?: "linear" | "ease" | "ease-in" | "ease-out" | "ease-in-out" | "hold" | {
|
|
2201
|
+
cubicBezier: [number, number, number, number];
|
|
2202
|
+
} | undefined;
|
|
2203
|
+
}[]> | undefined;
|
|
2204
|
+
}[] | undefined;
|
|
1996
2205
|
}>, "many">;
|
|
2206
|
+
/** A clip's panel (slate's `src/shared/clipPanel.ts`): lengths in fractions of the frame's height. */
|
|
2207
|
+
declare const clipPanel: z.ZodObject<{
|
|
2208
|
+
radius: z.ZodOptional<z.ZodNumber>;
|
|
2209
|
+
shadow: z.ZodOptional<z.ZodObject<{
|
|
2210
|
+
x: z.ZodOptional<z.ZodNumber>;
|
|
2211
|
+
y: z.ZodOptional<z.ZodNumber>;
|
|
2212
|
+
blur: z.ZodOptional<z.ZodNumber>;
|
|
2213
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
|
2214
|
+
color: z.ZodOptional<z.ZodString>;
|
|
2215
|
+
}, "strict", z.ZodTypeAny, {
|
|
2216
|
+
x?: number | undefined;
|
|
2217
|
+
y?: number | undefined;
|
|
2218
|
+
blur?: number | undefined;
|
|
2219
|
+
opacity?: number | undefined;
|
|
2220
|
+
color?: string | undefined;
|
|
2221
|
+
}, {
|
|
2222
|
+
x?: number | undefined;
|
|
2223
|
+
y?: number | undefined;
|
|
2224
|
+
blur?: number | undefined;
|
|
2225
|
+
opacity?: number | undefined;
|
|
2226
|
+
color?: string | undefined;
|
|
2227
|
+
}>>;
|
|
2228
|
+
border: z.ZodOptional<z.ZodObject<{
|
|
2229
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
2230
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
|
2231
|
+
color: z.ZodOptional<z.ZodString>;
|
|
2232
|
+
}, "strict", z.ZodTypeAny, {
|
|
2233
|
+
width?: number | undefined;
|
|
2234
|
+
opacity?: number | undefined;
|
|
2235
|
+
color?: string | undefined;
|
|
2236
|
+
}, {
|
|
2237
|
+
width?: number | undefined;
|
|
2238
|
+
opacity?: number | undefined;
|
|
2239
|
+
color?: string | undefined;
|
|
2240
|
+
}>>;
|
|
2241
|
+
}, "strict", z.ZodTypeAny, {
|
|
2242
|
+
radius?: number | undefined;
|
|
2243
|
+
shadow?: {
|
|
2244
|
+
x?: number | undefined;
|
|
2245
|
+
y?: number | undefined;
|
|
2246
|
+
blur?: number | undefined;
|
|
2247
|
+
opacity?: number | undefined;
|
|
2248
|
+
color?: string | undefined;
|
|
2249
|
+
} | undefined;
|
|
2250
|
+
border?: {
|
|
2251
|
+
width?: number | undefined;
|
|
2252
|
+
opacity?: number | undefined;
|
|
2253
|
+
color?: string | undefined;
|
|
2254
|
+
} | undefined;
|
|
2255
|
+
}, {
|
|
2256
|
+
radius?: number | undefined;
|
|
2257
|
+
shadow?: {
|
|
2258
|
+
x?: number | undefined;
|
|
2259
|
+
y?: number | undefined;
|
|
2260
|
+
blur?: number | undefined;
|
|
2261
|
+
opacity?: number | undefined;
|
|
2262
|
+
color?: string | undefined;
|
|
2263
|
+
} | undefined;
|
|
2264
|
+
border?: {
|
|
2265
|
+
width?: number | undefined;
|
|
2266
|
+
opacity?: number | undefined;
|
|
2267
|
+
color?: string | undefined;
|
|
2268
|
+
} | undefined;
|
|
2269
|
+
}>;
|
|
1997
2270
|
export declare const updateClip: Operation<{
|
|
1998
2271
|
projectId: string;
|
|
1999
2272
|
clipId: string;
|
|
@@ -2008,6 +2281,22 @@ export declare const updateClip: Operation<{
|
|
|
2008
2281
|
blend?: 'normal' | 'multiply' | 'screen' | 'overlay' | 'soft-light';
|
|
2009
2282
|
grain?: number;
|
|
2010
2283
|
saturation?: number;
|
|
2284
|
+
exposure?: number;
|
|
2285
|
+
} | null;
|
|
2286
|
+
matte?: {
|
|
2287
|
+
maskId: string;
|
|
2288
|
+
mode?: 'subject' | 'background';
|
|
2289
|
+
feather?: number;
|
|
2290
|
+
} | null;
|
|
2291
|
+
space?: {
|
|
2292
|
+
pitch?: number;
|
|
2293
|
+
yaw?: number;
|
|
2294
|
+
perspective?: number;
|
|
2295
|
+
} | null;
|
|
2296
|
+
panel?: z.infer<typeof clipPanel> | null;
|
|
2297
|
+
blur?: {
|
|
2298
|
+
amount: number;
|
|
2299
|
+
maskId?: string;
|
|
2011
2300
|
} | null;
|
|
2012
2301
|
effects?: z.infer<typeof audioEffectList> | null;
|
|
2013
2302
|
speedRamp?: z.infer<typeof keyframeKeys> | null;
|
|
@@ -2028,6 +2317,8 @@ export declare const addTimelineTrack: Operation<{
|
|
|
2028
2317
|
timelineId?: string;
|
|
2029
2318
|
type?: 'video' | 'audio' | 'overlay';
|
|
2030
2319
|
name?: string;
|
|
2320
|
+
above?: string;
|
|
2321
|
+
below?: string;
|
|
2031
2322
|
}>;
|
|
2032
2323
|
declare const TEXT_STYLE_IDS: readonly ["word-pop", "keyword", "subtitle", "headline", "clean", "plain"];
|
|
2033
2324
|
declare const TEXT_FONT_IDS: readonly ["bebas-neue", "montserrat-medium", "montserrat-bold", "montserrat-extrabold", "montserrat-black", "geist-regular", "geist-medium", "geist-semibold", "geist-bold"];
|
|
@@ -2116,7 +2407,7 @@ export declare const updateOverlayClip: Operation<{
|
|
|
2116
2407
|
opacity?: number | null;
|
|
2117
2408
|
} & TextSetPatch)[];
|
|
2118
2409
|
}>;
|
|
2119
|
-
declare const KEYFRAME_PROPERTY_IDS: readonly ["positionX", "positionY", "scale", "rotation", "opacity", "cropLeft", "cropTop", "cropRight", "cropBottom", "focusX", "focusY", "zoom"];
|
|
2410
|
+
declare const KEYFRAME_PROPERTY_IDS: readonly ["positionX", "positionY", "scale", "rotation", "opacity", "cropLeft", "cropTop", "cropRight", "cropBottom", "focusX", "focusY", "zoom", "saturation", "grain", "exposure", "pitch", "yaw", "perspective", "radius", "shadowX", "shadowY", "shadowBlur", "shadowOpacity", "borderWidth", "borderOpacity", "shadowRed", "shadowGreen", "shadowBlue", "borderRed", "borderGreen", "borderBlue", "blur"];
|
|
2120
2411
|
export declare const setClipKeyframes: Operation<{
|
|
2121
2412
|
projectId: string;
|
|
2122
2413
|
timelineId: string;
|
|
@@ -2173,6 +2464,8 @@ export declare const updateTimelineTrack: Operation<{
|
|
|
2173
2464
|
locked?: boolean;
|
|
2174
2465
|
volume?: number;
|
|
2175
2466
|
effects?: z.infer<typeof audioEffectList> | null;
|
|
2467
|
+
above?: string;
|
|
2468
|
+
below?: string;
|
|
2176
2469
|
}>;
|
|
2177
2470
|
export declare const removeTimelineTrack: Operation<{
|
|
2178
2471
|
projectId: string;
|
|
@@ -2696,24 +2989,24 @@ declare const sectionInput: z.ZodObject<{
|
|
|
2696
2989
|
start: z.ZodNumber;
|
|
2697
2990
|
end: z.ZodNumber;
|
|
2698
2991
|
}, "strip", z.ZodTypeAny, {
|
|
2992
|
+
sceneId: string;
|
|
2699
2993
|
start: number;
|
|
2700
2994
|
end: number;
|
|
2701
|
-
sceneId: string;
|
|
2702
2995
|
}, {
|
|
2996
|
+
sceneId: string;
|
|
2703
2997
|
start: number;
|
|
2704
2998
|
end: number;
|
|
2705
|
-
sceneId: string;
|
|
2706
2999
|
}>, "many">>;
|
|
2707
3000
|
}, "strip", z.ZodTypeAny, {
|
|
2708
|
-
action: "
|
|
3001
|
+
action: "tags" | "create" | "rename" | "alternative" | "choose" | "save" | "reuse" | "updateUses" | "archive";
|
|
2709
3002
|
storyboardId: string;
|
|
2710
3003
|
expectedRevision: number;
|
|
2711
|
-
label?: string | undefined;
|
|
2712
3004
|
target?: {
|
|
2713
3005
|
at: number;
|
|
2714
3006
|
sceneId: string;
|
|
2715
3007
|
expectedRevision: number;
|
|
2716
3008
|
} | undefined;
|
|
3009
|
+
label?: string | undefined;
|
|
2717
3010
|
sectionId?: string | undefined;
|
|
2718
3011
|
alternativeId?: string | undefined;
|
|
2719
3012
|
tags?: string[] | undefined;
|
|
@@ -2723,20 +3016,20 @@ declare const sectionInput: z.ZodObject<{
|
|
|
2723
3016
|
expectedRevision: number;
|
|
2724
3017
|
}[] | undefined;
|
|
2725
3018
|
fragments?: {
|
|
3019
|
+
sceneId: string;
|
|
2726
3020
|
start: number;
|
|
2727
3021
|
end: number;
|
|
2728
|
-
sceneId: string;
|
|
2729
3022
|
}[] | undefined;
|
|
2730
3023
|
}, {
|
|
2731
|
-
action: "
|
|
3024
|
+
action: "tags" | "create" | "rename" | "alternative" | "choose" | "save" | "reuse" | "updateUses" | "archive";
|
|
2732
3025
|
storyboardId: string;
|
|
2733
3026
|
expectedRevision: number;
|
|
2734
|
-
label?: string | undefined;
|
|
2735
3027
|
target?: {
|
|
2736
3028
|
at: number;
|
|
2737
3029
|
sceneId: string;
|
|
2738
3030
|
expectedRevision: number;
|
|
2739
3031
|
} | undefined;
|
|
3032
|
+
label?: string | undefined;
|
|
2740
3033
|
sectionId?: string | undefined;
|
|
2741
3034
|
alternativeId?: string | undefined;
|
|
2742
3035
|
tags?: string[] | undefined;
|
|
@@ -2746,9 +3039,9 @@ declare const sectionInput: z.ZodObject<{
|
|
|
2746
3039
|
expectedRevision: number;
|
|
2747
3040
|
}[] | undefined;
|
|
2748
3041
|
fragments?: {
|
|
3042
|
+
sceneId: string;
|
|
2749
3043
|
start: number;
|
|
2750
3044
|
end: number;
|
|
2751
|
-
sceneId: string;
|
|
2752
3045
|
}[] | undefined;
|
|
2753
3046
|
}>;
|
|
2754
3047
|
export declare const changeScriptSection: Operation<z.infer<typeof sectionInput>>;
|
|
@@ -2767,16 +3060,16 @@ declare const suggestionInput: z.ZodObject<{
|
|
|
2767
3060
|
replacement: z.ZodString;
|
|
2768
3061
|
note: z.ZodOptional<z.ZodString>;
|
|
2769
3062
|
}, "strip", z.ZodTypeAny, {
|
|
3063
|
+
sceneId: string;
|
|
2770
3064
|
start: number;
|
|
2771
3065
|
end: number;
|
|
2772
|
-
sceneId: string;
|
|
2773
3066
|
original: string;
|
|
2774
3067
|
replacement: string;
|
|
2775
3068
|
note?: string | undefined;
|
|
2776
3069
|
}, {
|
|
3070
|
+
sceneId: string;
|
|
2777
3071
|
start: number;
|
|
2778
3072
|
end: number;
|
|
2779
|
-
sceneId: string;
|
|
2780
3073
|
original: string;
|
|
2781
3074
|
replacement: string;
|
|
2782
3075
|
note?: string | undefined;
|
|
@@ -2787,9 +3080,9 @@ declare const suggestionInput: z.ZodObject<{
|
|
|
2787
3080
|
storyboardId: string;
|
|
2788
3081
|
expectedRevision: number;
|
|
2789
3082
|
suggestions?: {
|
|
3083
|
+
sceneId: string;
|
|
2790
3084
|
start: number;
|
|
2791
3085
|
end: number;
|
|
2792
|
-
sceneId: string;
|
|
2793
3086
|
original: string;
|
|
2794
3087
|
replacement: string;
|
|
2795
3088
|
note?: string | undefined;
|
|
@@ -2800,9 +3093,9 @@ declare const suggestionInput: z.ZodObject<{
|
|
|
2800
3093
|
storyboardId: string;
|
|
2801
3094
|
expectedRevision: number;
|
|
2802
3095
|
suggestions?: {
|
|
3096
|
+
sceneId: string;
|
|
2803
3097
|
start: number;
|
|
2804
3098
|
end: number;
|
|
2805
|
-
sceneId: string;
|
|
2806
3099
|
original: string;
|
|
2807
3100
|
replacement: string;
|
|
2808
3101
|
note?: string | undefined;
|
|
@@ -2846,35 +3139,35 @@ declare const writeScriptDocumentInput: z.ZodObject<{
|
|
|
2846
3139
|
end: z.ZodNumber;
|
|
2847
3140
|
type: z.ZodEnum<["strong", "em"]>;
|
|
2848
3141
|
}, "strip", z.ZodTypeAny, {
|
|
3142
|
+
type: "strong" | "em";
|
|
2849
3143
|
start: number;
|
|
2850
3144
|
end: number;
|
|
2851
|
-
type: "strong" | "em";
|
|
2852
3145
|
}, {
|
|
3146
|
+
type: "strong" | "em";
|
|
2853
3147
|
start: number;
|
|
2854
3148
|
end: number;
|
|
2855
|
-
type: "strong" | "em";
|
|
2856
3149
|
}>, "many">;
|
|
2857
3150
|
}, "strip", z.ZodTypeAny, {
|
|
3151
|
+
id: string;
|
|
3152
|
+
kind: "direction" | "paragraph" | "heading";
|
|
2858
3153
|
start: number;
|
|
2859
3154
|
end: number;
|
|
2860
|
-
kind: "heading" | "paragraph" | "direction";
|
|
2861
|
-
id: string;
|
|
2862
3155
|
marks: {
|
|
3156
|
+
type: "strong" | "em";
|
|
2863
3157
|
start: number;
|
|
2864
3158
|
end: number;
|
|
2865
|
-
type: "strong" | "em";
|
|
2866
3159
|
}[];
|
|
2867
3160
|
level?: 2 | 3 | undefined;
|
|
2868
3161
|
label?: string | undefined;
|
|
2869
3162
|
}, {
|
|
3163
|
+
id: string;
|
|
3164
|
+
kind: "direction" | "paragraph" | "heading";
|
|
2870
3165
|
start: number;
|
|
2871
3166
|
end: number;
|
|
2872
|
-
kind: "heading" | "paragraph" | "direction";
|
|
2873
|
-
id: string;
|
|
2874
3167
|
marks: {
|
|
3168
|
+
type: "strong" | "em";
|
|
2875
3169
|
start: number;
|
|
2876
3170
|
end: number;
|
|
2877
|
-
type: "strong" | "em";
|
|
2878
3171
|
}[];
|
|
2879
3172
|
level?: 2 | 3 | undefined;
|
|
2880
3173
|
label?: string | undefined;
|
|
@@ -2882,14 +3175,14 @@ declare const writeScriptDocumentInput: z.ZodObject<{
|
|
|
2882
3175
|
}, "strip", z.ZodTypeAny, {
|
|
2883
3176
|
sceneId: string;
|
|
2884
3177
|
blocks: {
|
|
3178
|
+
id: string;
|
|
3179
|
+
kind: "direction" | "paragraph" | "heading";
|
|
2885
3180
|
start: number;
|
|
2886
3181
|
end: number;
|
|
2887
|
-
kind: "heading" | "paragraph" | "direction";
|
|
2888
|
-
id: string;
|
|
2889
3182
|
marks: {
|
|
3183
|
+
type: "strong" | "em";
|
|
2890
3184
|
start: number;
|
|
2891
3185
|
end: number;
|
|
2892
|
-
type: "strong" | "em";
|
|
2893
3186
|
}[];
|
|
2894
3187
|
level?: 2 | 3 | undefined;
|
|
2895
3188
|
label?: string | undefined;
|
|
@@ -2897,14 +3190,14 @@ declare const writeScriptDocumentInput: z.ZodObject<{
|
|
|
2897
3190
|
}, {
|
|
2898
3191
|
sceneId: string;
|
|
2899
3192
|
blocks: {
|
|
3193
|
+
id: string;
|
|
3194
|
+
kind: "direction" | "paragraph" | "heading";
|
|
2900
3195
|
start: number;
|
|
2901
3196
|
end: number;
|
|
2902
|
-
kind: "heading" | "paragraph" | "direction";
|
|
2903
|
-
id: string;
|
|
2904
3197
|
marks: {
|
|
3198
|
+
type: "strong" | "em";
|
|
2905
3199
|
start: number;
|
|
2906
3200
|
end: number;
|
|
2907
|
-
type: "strong" | "em";
|
|
2908
3201
|
}[];
|
|
2909
3202
|
level?: 2 | 3 | undefined;
|
|
2910
3203
|
label?: string | undefined;
|
|
@@ -2929,14 +3222,14 @@ declare const writeScriptDocumentInput: z.ZodObject<{
|
|
|
2929
3222
|
end: z.ZodNumber;
|
|
2930
3223
|
waitingShotId: z.ZodOptional<z.ZodString>;
|
|
2931
3224
|
}, "strip", z.ZodTypeAny, {
|
|
3225
|
+
sceneId: string;
|
|
2932
3226
|
start: number;
|
|
2933
3227
|
end: number;
|
|
2934
|
-
sceneId: string;
|
|
2935
3228
|
waitingShotId?: string | undefined;
|
|
2936
3229
|
}, {
|
|
3230
|
+
sceneId: string;
|
|
2937
3231
|
start: number;
|
|
2938
3232
|
end: number;
|
|
2939
|
-
sceneId: string;
|
|
2940
3233
|
waitingShotId?: string | undefined;
|
|
2941
3234
|
}>, "many">>;
|
|
2942
3235
|
restoreRevision: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2980,23 +3273,23 @@ declare const writeScriptDocumentInput: z.ZodObject<{
|
|
|
2980
3273
|
structures?: {
|
|
2981
3274
|
sceneId: string;
|
|
2982
3275
|
blocks: {
|
|
3276
|
+
id: string;
|
|
3277
|
+
kind: "direction" | "paragraph" | "heading";
|
|
2983
3278
|
start: number;
|
|
2984
3279
|
end: number;
|
|
2985
|
-
kind: "heading" | "paragraph" | "direction";
|
|
2986
|
-
id: string;
|
|
2987
3280
|
marks: {
|
|
3281
|
+
type: "strong" | "em";
|
|
2988
3282
|
start: number;
|
|
2989
3283
|
end: number;
|
|
2990
|
-
type: "strong" | "em";
|
|
2991
3284
|
}[];
|
|
2992
3285
|
level?: 2 | 3 | undefined;
|
|
2993
3286
|
label?: string | undefined;
|
|
2994
3287
|
}[];
|
|
2995
3288
|
}[] | undefined;
|
|
2996
3289
|
makeShots?: {
|
|
3290
|
+
sceneId: string;
|
|
2997
3291
|
start: number;
|
|
2998
3292
|
end: number;
|
|
2999
|
-
sceneId: string;
|
|
3000
3293
|
waitingShotId?: string | undefined;
|
|
3001
3294
|
}[] | undefined;
|
|
3002
3295
|
restoreRevision?: number | undefined;
|
|
@@ -3026,23 +3319,23 @@ declare const writeScriptDocumentInput: z.ZodObject<{
|
|
|
3026
3319
|
structures?: {
|
|
3027
3320
|
sceneId: string;
|
|
3028
3321
|
blocks: {
|
|
3322
|
+
id: string;
|
|
3323
|
+
kind: "direction" | "paragraph" | "heading";
|
|
3029
3324
|
start: number;
|
|
3030
3325
|
end: number;
|
|
3031
|
-
kind: "heading" | "paragraph" | "direction";
|
|
3032
|
-
id: string;
|
|
3033
3326
|
marks: {
|
|
3327
|
+
type: "strong" | "em";
|
|
3034
3328
|
start: number;
|
|
3035
3329
|
end: number;
|
|
3036
|
-
type: "strong" | "em";
|
|
3037
3330
|
}[];
|
|
3038
3331
|
level?: 2 | 3 | undefined;
|
|
3039
3332
|
label?: string | undefined;
|
|
3040
3333
|
}[];
|
|
3041
3334
|
}[] | undefined;
|
|
3042
3335
|
makeShots?: {
|
|
3336
|
+
sceneId: string;
|
|
3043
3337
|
start: number;
|
|
3044
3338
|
end: number;
|
|
3045
|
-
sceneId: string;
|
|
3046
3339
|
waitingShotId?: string | undefined;
|
|
3047
3340
|
}[] | undefined;
|
|
3048
3341
|
restoreRevision?: number | undefined;
|