@shotstack/schemas 1.5.8 → 1.6.0
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/api.bundled.json +10 -0
- package/dist/schema.d.ts +86 -76
- package/dist/zod/zod.gen.cjs +1 -0
- package/dist/zod/zod.gen.d.ts +85 -0
- package/dist/zod/zod.gen.js +1 -0
- package/dist/zod/zod.gen.ts +1 -0
- package/package.json +2 -2
package/dist/api.bundled.json
CHANGED
|
@@ -910,6 +910,16 @@
|
|
|
910
910
|
"mount"
|
|
911
911
|
],
|
|
912
912
|
"deprecated": true
|
|
913
|
+
},
|
|
914
|
+
"instance": {
|
|
915
|
+
"description": "The render instance type to use for processing the edit. <ul>\n <li>`s1` - standard instance (default)</li>\n <li>`s2` - standard instance with more resources</li>\n <li>`a1` - accelerated instance for faster rendering</li>\n</ul>",
|
|
916
|
+
"type": "string",
|
|
917
|
+
"enum": [
|
|
918
|
+
"s1",
|
|
919
|
+
"s2",
|
|
920
|
+
"a1"
|
|
921
|
+
],
|
|
922
|
+
"default": "s1"
|
|
913
923
|
}
|
|
914
924
|
},
|
|
915
925
|
"additionalProperties": false,
|
package/dist/schema.d.ts
CHANGED
|
@@ -448,6 +448,16 @@ export interface components {
|
|
|
448
448
|
* @enum {string}
|
|
449
449
|
*/
|
|
450
450
|
disk?: "local" | "mount";
|
|
451
|
+
/**
|
|
452
|
+
* @description The render instance type to use for processing the edit. <ul>
|
|
453
|
+
* <li>`s1` - standard instance (default)</li>
|
|
454
|
+
* <li>`s2` - standard instance with more resources</li>
|
|
455
|
+
* <li>`a1` - accelerated instance for faster rendering</li>
|
|
456
|
+
* </ul>
|
|
457
|
+
* @default s1
|
|
458
|
+
* @enum {string}
|
|
459
|
+
*/
|
|
460
|
+
instance?: "s1" | "s2" | "a1";
|
|
451
461
|
};
|
|
452
462
|
/** @description A timeline represents the contents of a video edit over time, an audio edit over time, in seconds, or an image layout. A timeline consists of layers called tracks. Tracks are composed of titles, images, audio, html or video segments referred to as clips which are placed along the track at specific starting point and lasting for a specific amount of time. */
|
|
453
463
|
Timeline: {
|
|
@@ -738,25 +748,25 @@ export interface components {
|
|
|
738
748
|
* @default 0
|
|
739
749
|
* @example 2
|
|
740
750
|
*/
|
|
741
|
-
width
|
|
751
|
+
width?: number;
|
|
742
752
|
/**
|
|
743
753
|
* @description The border color using hexadecimal color notation.
|
|
744
754
|
* @default #000000
|
|
745
755
|
* @example #ff0000
|
|
746
756
|
*/
|
|
747
|
-
color
|
|
757
|
+
color?: string;
|
|
748
758
|
/**
|
|
749
759
|
* @description The opacity of the border where 1 is opaque and 0 is transparent.
|
|
750
760
|
* @default 1
|
|
751
761
|
* @example 0.8
|
|
752
762
|
*/
|
|
753
|
-
opacity
|
|
763
|
+
opacity?: number;
|
|
754
764
|
/**
|
|
755
765
|
* @description The border radius in pixels for rounded corners. Must be 0 or greater.
|
|
756
766
|
* @default 0
|
|
757
767
|
* @example 10
|
|
758
768
|
*/
|
|
759
|
-
radius
|
|
769
|
+
radius?: number;
|
|
760
770
|
};
|
|
761
771
|
/** @description Padding inside the text bounding box. Can be a single number (applied to all sides) or an object with individual sides. */
|
|
762
772
|
padding?: number | {
|
|
@@ -765,25 +775,25 @@ export interface components {
|
|
|
765
775
|
* @default 0
|
|
766
776
|
* @example 10
|
|
767
777
|
*/
|
|
768
|
-
top
|
|
778
|
+
top?: number;
|
|
769
779
|
/**
|
|
770
780
|
* @description Right padding in pixels.
|
|
771
781
|
* @default 0
|
|
772
782
|
* @example 10
|
|
773
783
|
*/
|
|
774
|
-
right
|
|
784
|
+
right?: number;
|
|
775
785
|
/**
|
|
776
786
|
* @description Bottom padding in pixels.
|
|
777
787
|
* @default 0
|
|
778
788
|
* @example 10
|
|
779
789
|
*/
|
|
780
|
-
bottom
|
|
790
|
+
bottom?: number;
|
|
781
791
|
/**
|
|
782
792
|
* @description Left padding in pixels.
|
|
783
793
|
* @default 0
|
|
784
794
|
* @example 10
|
|
785
795
|
*/
|
|
786
|
-
left
|
|
796
|
+
left?: number;
|
|
787
797
|
};
|
|
788
798
|
/** @description Text alignment properties (horizontal and vertical). */
|
|
789
799
|
align?: components["schemas"]["RichTextAlignment"];
|
|
@@ -1010,19 +1020,19 @@ export interface components {
|
|
|
1010
1020
|
* @example bottom
|
|
1011
1021
|
* @enum {string}
|
|
1012
1022
|
*/
|
|
1013
|
-
position
|
|
1023
|
+
position?: "top" | "center" | "bottom";
|
|
1014
1024
|
/**
|
|
1015
1025
|
* @description Maximum width of the caption as a ratio of the frame width. Must be between 0.1 and 1.
|
|
1016
1026
|
* @default 0.9
|
|
1017
1027
|
* @example 0.85
|
|
1018
1028
|
*/
|
|
1019
|
-
maxWidth
|
|
1029
|
+
maxWidth?: number;
|
|
1020
1030
|
/**
|
|
1021
1031
|
* @description Maximum number of lines to display at once. Must be between 1 and 10.
|
|
1022
1032
|
* @default 2
|
|
1023
1033
|
* @example 2
|
|
1024
1034
|
*/
|
|
1025
|
-
maxLines
|
|
1035
|
+
maxLines?: number;
|
|
1026
1036
|
};
|
|
1027
1037
|
/** @description Word-level timing information for caption animation. */
|
|
1028
1038
|
WordTiming: {
|
|
@@ -1054,7 +1064,7 @@ export interface components {
|
|
|
1054
1064
|
* @default #ffff00
|
|
1055
1065
|
* @example #ffff00
|
|
1056
1066
|
*/
|
|
1057
|
-
color
|
|
1067
|
+
color?: string;
|
|
1058
1068
|
/**
|
|
1059
1069
|
* @description The background color behind the active word using hexadecimal color notation.
|
|
1060
1070
|
* @example #000000
|
|
@@ -1065,7 +1075,7 @@ export interface components {
|
|
|
1065
1075
|
* @default 1
|
|
1066
1076
|
* @example 1
|
|
1067
1077
|
*/
|
|
1068
|
-
opacity
|
|
1078
|
+
opacity?: number;
|
|
1069
1079
|
};
|
|
1070
1080
|
/** @description Styling properties for the active/highlighted word. */
|
|
1071
1081
|
RichCaptionActive: {
|
|
@@ -1078,7 +1088,7 @@ export interface components {
|
|
|
1078
1088
|
* @default 1
|
|
1079
1089
|
* @example 1.2
|
|
1080
1090
|
*/
|
|
1081
|
-
scale
|
|
1091
|
+
scale?: number;
|
|
1082
1092
|
};
|
|
1083
1093
|
/** @description Word-level animation properties for caption effects. */
|
|
1084
1094
|
RichCaptionWordAnimation: {
|
|
@@ -1103,14 +1113,14 @@ export interface components {
|
|
|
1103
1113
|
* @default 1
|
|
1104
1114
|
* @example 1
|
|
1105
1115
|
*/
|
|
1106
|
-
speed
|
|
1116
|
+
speed?: number;
|
|
1107
1117
|
/**
|
|
1108
1118
|
* @description Direction for directional animations (slide). Only applicable when style is `slide`.
|
|
1109
1119
|
* @default up
|
|
1110
1120
|
* @example up
|
|
1111
1121
|
* @enum {string}
|
|
1112
1122
|
*/
|
|
1113
|
-
direction
|
|
1123
|
+
direction?: "left" | "right" | "up" | "down";
|
|
1114
1124
|
};
|
|
1115
1125
|
/** @description The TextToImageAsset lets you create a dynamic image from a text prompt. */
|
|
1116
1126
|
TextToImageAsset: {
|
|
@@ -1193,7 +1203,7 @@ export interface components {
|
|
|
1193
1203
|
* @description Set the voice to newscaster mode.
|
|
1194
1204
|
* @default false
|
|
1195
1205
|
*/
|
|
1196
|
-
newscaster
|
|
1206
|
+
newscaster?: boolean;
|
|
1197
1207
|
/** @description The start trim point of the audio clip, in seconds (defaults to 0). Audio will start from the trim point. The audio will play until the file ends or the Clip length is reached. */
|
|
1198
1208
|
trim?: number;
|
|
1199
1209
|
/** @description Set the volume of the audio clip. Use a number or an array of [Tween](./#tocs_tween) objects to create custom volume transitions. */
|
|
@@ -1488,7 +1498,7 @@ export interface components {
|
|
|
1488
1498
|
* @default 1
|
|
1489
1499
|
* @example 1
|
|
1490
1500
|
*/
|
|
1491
|
-
opacity
|
|
1501
|
+
opacity?: number;
|
|
1492
1502
|
/**
|
|
1493
1503
|
* @description The width of the bounding box in pixels.
|
|
1494
1504
|
* If specified, the shape may be scaled to fit within this width.
|
|
@@ -1540,7 +1550,7 @@ export interface components {
|
|
|
1540
1550
|
* @default 0
|
|
1541
1551
|
* @example 10
|
|
1542
1552
|
*/
|
|
1543
|
-
cornerRadius
|
|
1553
|
+
cornerRadius?: number;
|
|
1544
1554
|
};
|
|
1545
1555
|
/**
|
|
1546
1556
|
* @description A perfect circle shape defined by its radius.
|
|
@@ -1804,7 +1814,7 @@ export interface components {
|
|
|
1804
1814
|
* @default 1
|
|
1805
1815
|
* @example 0.8
|
|
1806
1816
|
*/
|
|
1807
|
-
opacity
|
|
1817
|
+
opacity?: number;
|
|
1808
1818
|
};
|
|
1809
1819
|
/**
|
|
1810
1820
|
* @description A linear gradient fill that transitions colors along a straight line.
|
|
@@ -1822,7 +1832,7 @@ export interface components {
|
|
|
1822
1832
|
* @default 0
|
|
1823
1833
|
* @example 45
|
|
1824
1834
|
*/
|
|
1825
|
-
angle
|
|
1835
|
+
angle?: number;
|
|
1826
1836
|
/**
|
|
1827
1837
|
* @description Array of color stops that define the gradient colors and their positions.
|
|
1828
1838
|
* Must have at least 2 stops. Offsets should increase from 0 to 1.
|
|
@@ -1833,7 +1843,7 @@ export interface components {
|
|
|
1833
1843
|
* @default 1
|
|
1834
1844
|
* @example 1
|
|
1835
1845
|
*/
|
|
1836
|
-
opacity
|
|
1846
|
+
opacity?: number;
|
|
1837
1847
|
};
|
|
1838
1848
|
/**
|
|
1839
1849
|
* @description A radial gradient fill that transitions colors radiating outward from a center point.
|
|
@@ -1855,7 +1865,7 @@ export interface components {
|
|
|
1855
1865
|
* @default 1
|
|
1856
1866
|
* @example 1
|
|
1857
1867
|
*/
|
|
1858
|
-
opacity
|
|
1868
|
+
opacity?: number;
|
|
1859
1869
|
};
|
|
1860
1870
|
/**
|
|
1861
1871
|
* @description A color stop in a gradient. Each stop defines a color at a specific position
|
|
@@ -1884,20 +1894,20 @@ export interface components {
|
|
|
1884
1894
|
* @default #000000
|
|
1885
1895
|
* @example #2c3e50
|
|
1886
1896
|
*/
|
|
1887
|
-
color
|
|
1897
|
+
color?: string;
|
|
1888
1898
|
/**
|
|
1889
1899
|
* @description The width of the stroke in pixels. Must be greater than 0.
|
|
1890
1900
|
* Larger values create thicker outlines.
|
|
1891
1901
|
* @default 1
|
|
1892
1902
|
* @example 2
|
|
1893
1903
|
*/
|
|
1894
|
-
width
|
|
1904
|
+
width?: number;
|
|
1895
1905
|
/**
|
|
1896
1906
|
* @description The opacity of the stroke where `1` is opaque and `0` is transparent.
|
|
1897
1907
|
* @default 1
|
|
1898
1908
|
* @example 1
|
|
1899
1909
|
*/
|
|
1900
|
-
opacity
|
|
1910
|
+
opacity?: number;
|
|
1901
1911
|
/**
|
|
1902
1912
|
* @description The shape at the end of open paths (lines, polylines, unclosed paths).
|
|
1903
1913
|
* <ul>
|
|
@@ -1909,7 +1919,7 @@ export interface components {
|
|
|
1909
1919
|
* @example round
|
|
1910
1920
|
* @enum {string}
|
|
1911
1921
|
*/
|
|
1912
|
-
lineCap
|
|
1922
|
+
lineCap?: "butt" | "round" | "square";
|
|
1913
1923
|
/**
|
|
1914
1924
|
* @description The shape at the corners where two lines meet.
|
|
1915
1925
|
* <ul>
|
|
@@ -1921,7 +1931,7 @@ export interface components {
|
|
|
1921
1931
|
* @example round
|
|
1922
1932
|
* @enum {string}
|
|
1923
1933
|
*/
|
|
1924
|
-
lineJoin
|
|
1934
|
+
lineJoin?: "miter" | "round" | "bevel";
|
|
1925
1935
|
/**
|
|
1926
1936
|
* @description Pattern of dashes and gaps for the stroke. An array of numbers where
|
|
1927
1937
|
* odd indices are dash lengths and even indices are gap lengths.
|
|
@@ -1939,7 +1949,7 @@ export interface components {
|
|
|
1939
1949
|
* @default 0
|
|
1940
1950
|
* @example 5
|
|
1941
1951
|
*/
|
|
1942
|
-
dashOffset
|
|
1952
|
+
dashOffset?: number;
|
|
1943
1953
|
};
|
|
1944
1954
|
/** @description Drop shadow properties for SVG shapes. Creates a shadow effect behind the shape. */
|
|
1945
1955
|
SvgShadow: {
|
|
@@ -1949,32 +1959,32 @@ export interface components {
|
|
|
1949
1959
|
* @default 0
|
|
1950
1960
|
* @example 4
|
|
1951
1961
|
*/
|
|
1952
|
-
offsetX
|
|
1962
|
+
offsetX?: number;
|
|
1953
1963
|
/**
|
|
1954
1964
|
* @description Vertical offset of the shadow in pixels.
|
|
1955
1965
|
* Positive values move the shadow down, negative values move it up.
|
|
1956
1966
|
* @default 0
|
|
1957
1967
|
* @example 4
|
|
1958
1968
|
*/
|
|
1959
|
-
offsetY
|
|
1969
|
+
offsetY?: number;
|
|
1960
1970
|
/**
|
|
1961
1971
|
* @description The blur radius of the shadow in pixels. Must be 0 or greater.
|
|
1962
1972
|
* @default 0
|
|
1963
1973
|
* @example 8
|
|
1964
1974
|
*/
|
|
1965
|
-
blur
|
|
1975
|
+
blur?: number;
|
|
1966
1976
|
/**
|
|
1967
1977
|
* @description The shadow color using hexadecimal color notation.
|
|
1968
1978
|
* @default #000000
|
|
1969
1979
|
* @example #000000
|
|
1970
1980
|
*/
|
|
1971
|
-
color
|
|
1981
|
+
color?: string;
|
|
1972
1982
|
/**
|
|
1973
1983
|
* @description The opacity of the shadow where `1` is opaque and `0` is transparent.
|
|
1974
1984
|
* @default 0.5
|
|
1975
1985
|
* @example 0.3
|
|
1976
1986
|
*/
|
|
1977
|
-
opacity
|
|
1987
|
+
opacity?: number;
|
|
1978
1988
|
};
|
|
1979
1989
|
/** @description Transformation properties for positioning, rotating, and scaling SVG shapes. */
|
|
1980
1990
|
SvgTransform: {
|
|
@@ -1984,42 +1994,42 @@ export interface components {
|
|
|
1984
1994
|
* @default 0
|
|
1985
1995
|
* @example 100
|
|
1986
1996
|
*/
|
|
1987
|
-
x
|
|
1997
|
+
x?: number;
|
|
1988
1998
|
/**
|
|
1989
1999
|
* @description The y-coordinate position of the shape in pixels.
|
|
1990
2000
|
* Relative to the top-left corner of the viewport.
|
|
1991
2001
|
* @default 0
|
|
1992
2002
|
* @example 100
|
|
1993
2003
|
*/
|
|
1994
|
-
y
|
|
2004
|
+
y?: number;
|
|
1995
2005
|
/**
|
|
1996
2006
|
* @description Rotation angle in degrees. Positive values rotate clockwise,
|
|
1997
2007
|
* negative values rotate counter-clockwise. Range: -360 to 360.
|
|
1998
2008
|
* @default 0
|
|
1999
2009
|
* @example 45
|
|
2000
2010
|
*/
|
|
2001
|
-
rotation
|
|
2011
|
+
rotation?: number;
|
|
2002
2012
|
/**
|
|
2003
2013
|
* @description Scale factor for the shape. `1` is original size, `2` is double size,
|
|
2004
2014
|
* `0.5` is half size. Must be greater than 0.
|
|
2005
2015
|
* @default 1
|
|
2006
2016
|
* @example 1.5
|
|
2007
2017
|
*/
|
|
2008
|
-
scale
|
|
2018
|
+
scale?: number;
|
|
2009
2019
|
/**
|
|
2010
2020
|
* @description The x-coordinate of the transformation origin as a value from 0 to 1.
|
|
2011
2021
|
* `0` is the left edge, `0.5` is the center, `1` is the right edge.
|
|
2012
2022
|
* @default 0.5
|
|
2013
2023
|
* @example 0.5
|
|
2014
2024
|
*/
|
|
2015
|
-
originX
|
|
2025
|
+
originX?: number;
|
|
2016
2026
|
/**
|
|
2017
2027
|
* @description The y-coordinate of the transformation origin as a value from 0 to 1.
|
|
2018
2028
|
* `0` is the top edge, `0.5` is the center, `1` is the bottom edge.
|
|
2019
2029
|
* @default 0.5
|
|
2020
2030
|
* @example 0.5
|
|
2021
2031
|
*/
|
|
2022
|
-
originY
|
|
2032
|
+
originY?: number;
|
|
2023
2033
|
};
|
|
2024
2034
|
/** @description In and out transitions for a clip - i.e. fade in and fade out */
|
|
2025
2035
|
Transition: {
|
|
@@ -2231,30 +2241,30 @@ export interface components {
|
|
|
2231
2241
|
* @default Open Sans
|
|
2232
2242
|
* @example Open Sans
|
|
2233
2243
|
*/
|
|
2234
|
-
family
|
|
2244
|
+
family?: string;
|
|
2235
2245
|
/**
|
|
2236
2246
|
* @description The size of the font in pixels (px). Must be between 1 and 500.
|
|
2237
2247
|
* @default 24
|
|
2238
2248
|
* @example 48
|
|
2239
2249
|
*/
|
|
2240
|
-
size
|
|
2250
|
+
size?: number;
|
|
2241
2251
|
/**
|
|
2242
2252
|
* @description The weight of the font. Can be a number (100-900) or a string ('normal', 'bold', etc.). 100 is lightest, 900 is heaviest (boldest).
|
|
2243
2253
|
* @default 400
|
|
2244
2254
|
*/
|
|
2245
|
-
weight
|
|
2255
|
+
weight?: unknown;
|
|
2246
2256
|
/**
|
|
2247
2257
|
* @description The text color using hexadecimal color notation.
|
|
2248
2258
|
* @default #000000
|
|
2249
2259
|
* @example #ff0000
|
|
2250
2260
|
*/
|
|
2251
|
-
color
|
|
2261
|
+
color?: string;
|
|
2252
2262
|
/**
|
|
2253
2263
|
* @description The opacity of the text where 1 is opaque and 0 is transparent.
|
|
2254
2264
|
* @default 1
|
|
2255
2265
|
* @example 0.9
|
|
2256
2266
|
*/
|
|
2257
|
-
opacity
|
|
2267
|
+
opacity?: number;
|
|
2258
2268
|
/**
|
|
2259
2269
|
* @description The background color behind the text using hexadecimal color notation.
|
|
2260
2270
|
* @example #000000
|
|
@@ -2270,33 +2280,33 @@ export interface components {
|
|
|
2270
2280
|
* @default 0
|
|
2271
2281
|
* @example 2
|
|
2272
2282
|
*/
|
|
2273
|
-
letterSpacing
|
|
2283
|
+
letterSpacing?: number;
|
|
2274
2284
|
/**
|
|
2275
2285
|
* @description Additional spacing between words in pixels. A value of 0 uses the font's natural space width.
|
|
2276
2286
|
* @default 0
|
|
2277
2287
|
* @example 10
|
|
2278
2288
|
*/
|
|
2279
|
-
wordSpacing
|
|
2289
|
+
wordSpacing?: number;
|
|
2280
2290
|
/**
|
|
2281
2291
|
* @description The line height as a multiplier of the font size. Must be between 0 and 10.
|
|
2282
2292
|
* @default 1.2
|
|
2283
2293
|
* @example 1.5
|
|
2284
2294
|
*/
|
|
2285
|
-
lineHeight
|
|
2295
|
+
lineHeight?: number;
|
|
2286
2296
|
/**
|
|
2287
2297
|
* @description Text transformation to apply.
|
|
2288
2298
|
* @default none
|
|
2289
2299
|
* @example uppercase
|
|
2290
2300
|
* @enum {string}
|
|
2291
2301
|
*/
|
|
2292
|
-
textTransform
|
|
2302
|
+
textTransform?: "none" | "uppercase" | "lowercase" | "capitalize";
|
|
2293
2303
|
/**
|
|
2294
2304
|
* @description Text decoration to apply.
|
|
2295
2305
|
* @default none
|
|
2296
2306
|
* @example underline
|
|
2297
2307
|
* @enum {string}
|
|
2298
2308
|
*/
|
|
2299
|
-
textDecoration
|
|
2309
|
+
textDecoration?: "none" | "underline" | "line-through";
|
|
2300
2310
|
/** @description Gradient fill for text instead of solid color. */
|
|
2301
2311
|
gradient?: components["schemas"]["RichTextGradient"];
|
|
2302
2312
|
};
|
|
@@ -2308,13 +2318,13 @@ export interface components {
|
|
|
2308
2318
|
* @example linear
|
|
2309
2319
|
* @enum {string}
|
|
2310
2320
|
*/
|
|
2311
|
-
type
|
|
2321
|
+
type?: "linear" | "radial";
|
|
2312
2322
|
/**
|
|
2313
2323
|
* @description The angle of the gradient in degrees (for linear gradients). Must be between 0 and 360.
|
|
2314
2324
|
* @default 0
|
|
2315
2325
|
* @example 45
|
|
2316
2326
|
*/
|
|
2317
|
-
angle
|
|
2327
|
+
angle?: number;
|
|
2318
2328
|
/** @description Gradient color stops. Must have at least 2 stops. */
|
|
2319
2329
|
stops: {
|
|
2320
2330
|
/**
|
|
@@ -2336,19 +2346,19 @@ export interface components {
|
|
|
2336
2346
|
* @default 0
|
|
2337
2347
|
* @example 2
|
|
2338
2348
|
*/
|
|
2339
|
-
width
|
|
2349
|
+
width?: number;
|
|
2340
2350
|
/**
|
|
2341
2351
|
* @description The stroke color using hexadecimal color notation.
|
|
2342
2352
|
* @default #000000
|
|
2343
2353
|
* @example #000000
|
|
2344
2354
|
*/
|
|
2345
|
-
color
|
|
2355
|
+
color?: string;
|
|
2346
2356
|
/**
|
|
2347
2357
|
* @description The opacity of the stroke where 1 is opaque and 0 is transparent.
|
|
2348
2358
|
* @default 1
|
|
2349
2359
|
* @example 0.8
|
|
2350
2360
|
*/
|
|
2351
|
-
opacity
|
|
2361
|
+
opacity?: number;
|
|
2352
2362
|
};
|
|
2353
2363
|
/** @description Text shadow properties. */
|
|
2354
2364
|
RichTextShadow: {
|
|
@@ -2357,31 +2367,31 @@ export interface components {
|
|
|
2357
2367
|
* @default 0
|
|
2358
2368
|
* @example 4
|
|
2359
2369
|
*/
|
|
2360
|
-
offsetX
|
|
2370
|
+
offsetX?: number;
|
|
2361
2371
|
/**
|
|
2362
2372
|
* @description Vertical offset of the shadow in pixels. Positive values move down, negative up.
|
|
2363
2373
|
* @default 0
|
|
2364
2374
|
* @example 4
|
|
2365
2375
|
*/
|
|
2366
|
-
offsetY
|
|
2376
|
+
offsetY?: number;
|
|
2367
2377
|
/**
|
|
2368
2378
|
* @description The blur radius of the shadow in pixels. Must be 0 or greater.
|
|
2369
2379
|
* @default 0
|
|
2370
2380
|
* @example 8
|
|
2371
2381
|
*/
|
|
2372
|
-
blur
|
|
2382
|
+
blur?: number;
|
|
2373
2383
|
/**
|
|
2374
2384
|
* @description The shadow color using hexadecimal color notation.
|
|
2375
2385
|
* @default #000000
|
|
2376
2386
|
* @example #000000
|
|
2377
2387
|
*/
|
|
2378
|
-
color
|
|
2388
|
+
color?: string;
|
|
2379
2389
|
/**
|
|
2380
2390
|
* @description The opacity of the shadow where 1 is opaque and 0 is transparent.
|
|
2381
2391
|
* @default 0.5
|
|
2382
2392
|
* @example 0.7
|
|
2383
2393
|
*/
|
|
2384
|
-
opacity
|
|
2394
|
+
opacity?: number;
|
|
2385
2395
|
};
|
|
2386
2396
|
/** @description Background styling properties for the text bounding box. */
|
|
2387
2397
|
RichTextBackground: {
|
|
@@ -2395,13 +2405,13 @@ export interface components {
|
|
|
2395
2405
|
* @default 1
|
|
2396
2406
|
* @example 0.5
|
|
2397
2407
|
*/
|
|
2398
|
-
opacity
|
|
2408
|
+
opacity?: number;
|
|
2399
2409
|
/**
|
|
2400
2410
|
* @description The border radius of the background box in pixels. Must be 0 or greater.
|
|
2401
2411
|
* @default 0
|
|
2402
2412
|
* @example 10
|
|
2403
2413
|
*/
|
|
2404
|
-
borderRadius
|
|
2414
|
+
borderRadius?: number;
|
|
2405
2415
|
};
|
|
2406
2416
|
/** @description Text alignment properties (horizontal and vertical). */
|
|
2407
2417
|
RichTextAlignment: {
|
|
@@ -2411,14 +2421,14 @@ export interface components {
|
|
|
2411
2421
|
* @example center
|
|
2412
2422
|
* @enum {string}
|
|
2413
2423
|
*/
|
|
2414
|
-
horizontal
|
|
2424
|
+
horizontal?: "left" | "center" | "right";
|
|
2415
2425
|
/**
|
|
2416
2426
|
* @description The vertical alignment of the text within the bounding box.
|
|
2417
2427
|
* @default middle
|
|
2418
2428
|
* @example middle
|
|
2419
2429
|
* @enum {string}
|
|
2420
2430
|
*/
|
|
2421
|
-
vertical
|
|
2431
|
+
vertical?: "top" | "middle" | "bottom";
|
|
2422
2432
|
};
|
|
2423
2433
|
/** @description Animation properties for text entrance effects. */
|
|
2424
2434
|
RichTextAnimation: {
|
|
@@ -2789,22 +2799,22 @@ export interface components {
|
|
|
2789
2799
|
* @default private
|
|
2790
2800
|
* @enum {string}
|
|
2791
2801
|
*/
|
|
2792
|
-
privacyLevel
|
|
2802
|
+
privacyLevel?: "public" | "friends" | "private";
|
|
2793
2803
|
/**
|
|
2794
2804
|
* @description Disable the Duet feature for this video.
|
|
2795
2805
|
* @default false
|
|
2796
2806
|
*/
|
|
2797
|
-
disableDuet
|
|
2807
|
+
disableDuet?: boolean;
|
|
2798
2808
|
/**
|
|
2799
2809
|
* @description Disable the Stitch feature for this video.
|
|
2800
2810
|
* @default false
|
|
2801
2811
|
*/
|
|
2802
|
-
disableStitch
|
|
2812
|
+
disableStitch?: boolean;
|
|
2803
2813
|
/**
|
|
2804
2814
|
* @description Disable comments on this video.
|
|
2805
2815
|
* @default false
|
|
2806
2816
|
*/
|
|
2807
|
-
disableComment
|
|
2817
|
+
disableComment?: boolean;
|
|
2808
2818
|
};
|
|
2809
2819
|
};
|
|
2810
2820
|
/** @description Send videos and assets to the [Shotstack hosting and CDN](https://shotstack.io/docs/guide/serving-assets/destinations/shotstack/) service. This destination is enabled by default. */
|
|
@@ -3440,12 +3450,12 @@ export interface components {
|
|
|
3440
3450
|
* @default en-US
|
|
3441
3451
|
* @enum {string}
|
|
3442
3452
|
*/
|
|
3443
|
-
language
|
|
3453
|
+
language?: "cmn-CN" | "da-DK" | "de-DE" | "en-AU" | "en-GB" | "en-IN" | "en-US" | "es-ES" | "es-MX" | "es-US" | "fr-CA" | "fr-FR" | "it-IT" | "ja-JP" | "hi-IN" | "ko-KR" | "nb-NO" | "nl-NL" | "pl-PL" | "pt-BR" | "pt-PT" | "sv-SE" | "en-NZ" | "en-ZA" | "ca-ES" | "de-AT" | "yue-CN" | "ar-AE" | "fi-FI";
|
|
3444
3454
|
/**
|
|
3445
3455
|
* @description Set the voice to newscaster mode.<br /><br /> *Only Matthew and Joanna for US English (en-US), Lupe for US Spanish (es-US), and Amy for British English (en-GB) are available in the newscaster voice.
|
|
3446
3456
|
* @default false
|
|
3447
3457
|
*/
|
|
3448
|
-
newscaster
|
|
3458
|
+
newscaster?: boolean;
|
|
3449
3459
|
};
|
|
3450
3460
|
/** @description Options for the Shotstack text-to-image service. Set a text prompt to generate an image from. The output will be generated as a PNG file available at the URL returned in the response. */
|
|
3451
3461
|
ShotstackTextToImageOptions: {
|
|
@@ -3489,13 +3499,13 @@ export interface components {
|
|
|
3489
3499
|
* @default 1.8
|
|
3490
3500
|
* @example 1.8
|
|
3491
3501
|
*/
|
|
3492
|
-
guidanceScale
|
|
3502
|
+
guidanceScale?: number;
|
|
3493
3503
|
/**
|
|
3494
3504
|
* @description The amount of motion in the video. A number between 1 and 255.
|
|
3495
3505
|
* @default 127
|
|
3496
3506
|
* @example 127
|
|
3497
3507
|
*/
|
|
3498
|
-
motion
|
|
3508
|
+
motion?: number;
|
|
3499
3509
|
};
|
|
3500
3510
|
/** @description Options for the Shotstack text-generator service. Set a text prompt that will be used to generate a new body of text. The output will be generated as a text (txt) file available at the URL returned in the response. */
|
|
3501
3511
|
ShotstackTextGeneratorOptions: {
|
|
@@ -3865,7 +3875,7 @@ export interface components {
|
|
|
3865
3875
|
* @example stable-diffusion-xl-1024-v1-0
|
|
3866
3876
|
* @enum {string}
|
|
3867
3877
|
*/
|
|
3868
|
-
engine
|
|
3878
|
+
engine?: "stable-diffusion-xl-1024-v0-9" | "stable-diffusion-xl-1024-v1-0" | "stable-diffusion-v1-6" | "stable-diffusion-512-v2-1" | "stable-diffusion-xl-beta-v2-2-2";
|
|
3869
3879
|
/**
|
|
3870
3880
|
* @description The width of the image in pixels. Must be divisible by 64.
|
|
3871
3881
|
* @example 512
|
|
@@ -3881,19 +3891,19 @@ export interface components {
|
|
|
3881
3891
|
* @default 30
|
|
3882
3892
|
* @example 30
|
|
3883
3893
|
*/
|
|
3884
|
-
steps
|
|
3894
|
+
steps?: number;
|
|
3885
3895
|
/**
|
|
3886
3896
|
* @description Using the same seed can help you create images that look similar. Set to 0 for a random seed. A number between 0 and 4294967295.
|
|
3887
3897
|
* @default 0
|
|
3888
3898
|
* @example 0
|
|
3889
3899
|
*/
|
|
3890
|
-
seed
|
|
3900
|
+
seed?: number;
|
|
3891
3901
|
/**
|
|
3892
3902
|
* @description Determines how closely the generated image will match the prompt. Lower numbers allow for more creative freedom. A number between 0 and 35.
|
|
3893
3903
|
* @default 7
|
|
3894
3904
|
* @example 7
|
|
3895
3905
|
*/
|
|
3896
|
-
cfgScale
|
|
3906
|
+
cfgScale?: number;
|
|
3897
3907
|
/**
|
|
3898
3908
|
* @description Apply a preset to generate an image in a particular style. Select from the list of available presets: <ul>
|
|
3899
3909
|
* <li>`3d-model`</li>
|
package/dist/zod/zod.gen.cjs
CHANGED
|
@@ -3464,6 +3464,7 @@ exports.editEditSchema = zod_1.z.object({
|
|
|
3464
3464
|
merge: zod_1.z.optional(zod_1.z.array(exports.mergefieldMergeFieldSchema)),
|
|
3465
3465
|
callback: zod_1.z.optional(zod_1.z.string()),
|
|
3466
3466
|
disk: zod_1.z.optional(zod_1.z.enum(["local", "mount"])),
|
|
3467
|
+
instance: zod_1.z.optional(zod_1.z.enum(["s1", "s2", "a1"])),
|
|
3467
3468
|
}).strict();
|
|
3468
3469
|
exports.editSchema = exports.editEditSchema;
|
|
3469
3470
|
/**
|
package/dist/zod/zod.gen.d.ts
CHANGED
|
@@ -27245,6 +27245,11 @@ export declare const editEditSchema: z.ZodObject<{
|
|
|
27245
27245
|
local: "local";
|
|
27246
27246
|
mount: "mount";
|
|
27247
27247
|
}>>;
|
|
27248
|
+
instance: z.ZodOptional<z.ZodEnum<{
|
|
27249
|
+
s1: "s1";
|
|
27250
|
+
s2: "s2";
|
|
27251
|
+
a1: "a1";
|
|
27252
|
+
}>>;
|
|
27248
27253
|
}, z.core.$strict>;
|
|
27249
27254
|
export declare const editSchema: z.ZodObject<{
|
|
27250
27255
|
timeline: z.ZodObject<{
|
|
@@ -29821,6 +29826,11 @@ export declare const editSchema: z.ZodObject<{
|
|
|
29821
29826
|
local: "local";
|
|
29822
29827
|
mount: "mount";
|
|
29823
29828
|
}>>;
|
|
29829
|
+
instance: z.ZodOptional<z.ZodEnum<{
|
|
29830
|
+
s1: "s1";
|
|
29831
|
+
s2: "s2";
|
|
29832
|
+
a1: "a1";
|
|
29833
|
+
}>>;
|
|
29824
29834
|
}, z.core.$strict>;
|
|
29825
29835
|
/**
|
|
29826
29836
|
* The response data returned with the [RenderResponse](#tocs_renderresponse) including status and URL.
|
|
@@ -32419,6 +32429,11 @@ export declare const renderresponsedataRenderResponseDataSchema: z.ZodObject<{
|
|
|
32419
32429
|
local: "local";
|
|
32420
32430
|
mount: "mount";
|
|
32421
32431
|
}>>;
|
|
32432
|
+
instance: z.ZodOptional<z.ZodEnum<{
|
|
32433
|
+
s1: "s1";
|
|
32434
|
+
s2: "s2";
|
|
32435
|
+
a1: "a1";
|
|
32436
|
+
}>>;
|
|
32422
32437
|
}, z.core.$strict>>;
|
|
32423
32438
|
created: z.ZodOptional<z.ZodString>;
|
|
32424
32439
|
updated: z.ZodOptional<z.ZodString>;
|
|
@@ -35017,6 +35032,11 @@ export declare const renderResponseDataSchema: z.ZodObject<{
|
|
|
35017
35032
|
local: "local";
|
|
35018
35033
|
mount: "mount";
|
|
35019
35034
|
}>>;
|
|
35035
|
+
instance: z.ZodOptional<z.ZodEnum<{
|
|
35036
|
+
s1: "s1";
|
|
35037
|
+
s2: "s2";
|
|
35038
|
+
a1: "a1";
|
|
35039
|
+
}>>;
|
|
35020
35040
|
}, z.core.$strict>>;
|
|
35021
35041
|
created: z.ZodOptional<z.ZodString>;
|
|
35022
35042
|
updated: z.ZodOptional<z.ZodString>;
|
|
@@ -37621,6 +37641,11 @@ export declare const renderresponseRenderResponseSchema: z.ZodObject<{
|
|
|
37621
37641
|
local: "local";
|
|
37622
37642
|
mount: "mount";
|
|
37623
37643
|
}>>;
|
|
37644
|
+
instance: z.ZodOptional<z.ZodEnum<{
|
|
37645
|
+
s1: "s1";
|
|
37646
|
+
s2: "s2";
|
|
37647
|
+
a1: "a1";
|
|
37648
|
+
}>>;
|
|
37624
37649
|
}, z.core.$strict>>;
|
|
37625
37650
|
created: z.ZodOptional<z.ZodString>;
|
|
37626
37651
|
updated: z.ZodOptional<z.ZodString>;
|
|
@@ -40223,6 +40248,11 @@ export declare const renderResponseSchema: z.ZodObject<{
|
|
|
40223
40248
|
local: "local";
|
|
40224
40249
|
mount: "mount";
|
|
40225
40250
|
}>>;
|
|
40251
|
+
instance: z.ZodOptional<z.ZodEnum<{
|
|
40252
|
+
s1: "s1";
|
|
40253
|
+
s2: "s2";
|
|
40254
|
+
a1: "a1";
|
|
40255
|
+
}>>;
|
|
40226
40256
|
}, z.core.$strict>>;
|
|
40227
40257
|
created: z.ZodOptional<z.ZodString>;
|
|
40228
40258
|
updated: z.ZodOptional<z.ZodString>;
|
|
@@ -42810,6 +42840,11 @@ export declare const templatedataresponsedataTemplateDataResponseDataSchema: z.Z
|
|
|
42810
42840
|
local: "local";
|
|
42811
42841
|
mount: "mount";
|
|
42812
42842
|
}>>;
|
|
42843
|
+
instance: z.ZodOptional<z.ZodEnum<{
|
|
42844
|
+
s1: "s1";
|
|
42845
|
+
s2: "s2";
|
|
42846
|
+
a1: "a1";
|
|
42847
|
+
}>>;
|
|
42813
42848
|
}, z.core.$strict>;
|
|
42814
42849
|
}, z.core.$strict>;
|
|
42815
42850
|
export declare const templateDataResponseDataSchema: z.ZodObject<{
|
|
@@ -45391,6 +45426,11 @@ export declare const templateDataResponseDataSchema: z.ZodObject<{
|
|
|
45391
45426
|
local: "local";
|
|
45392
45427
|
mount: "mount";
|
|
45393
45428
|
}>>;
|
|
45429
|
+
instance: z.ZodOptional<z.ZodEnum<{
|
|
45430
|
+
s1: "s1";
|
|
45431
|
+
s2: "s2";
|
|
45432
|
+
a1: "a1";
|
|
45433
|
+
}>>;
|
|
45394
45434
|
}, z.core.$strict>;
|
|
45395
45435
|
}, z.core.$strict>;
|
|
45396
45436
|
/**
|
|
@@ -47978,6 +48018,11 @@ export declare const templatedataresponseTemplateDataResponseSchema: z.ZodObject
|
|
|
47978
48018
|
local: "local";
|
|
47979
48019
|
mount: "mount";
|
|
47980
48020
|
}>>;
|
|
48021
|
+
instance: z.ZodOptional<z.ZodEnum<{
|
|
48022
|
+
s1: "s1";
|
|
48023
|
+
s2: "s2";
|
|
48024
|
+
a1: "a1";
|
|
48025
|
+
}>>;
|
|
47981
48026
|
}, z.core.$strict>;
|
|
47982
48027
|
}, z.core.$strict>;
|
|
47983
48028
|
}, z.core.$strict>;
|
|
@@ -50563,6 +50608,11 @@ export declare const templateDataResponseSchema: z.ZodObject<{
|
|
|
50563
50608
|
local: "local";
|
|
50564
50609
|
mount: "mount";
|
|
50565
50610
|
}>>;
|
|
50611
|
+
instance: z.ZodOptional<z.ZodEnum<{
|
|
50612
|
+
s1: "s1";
|
|
50613
|
+
s2: "s2";
|
|
50614
|
+
a1: "a1";
|
|
50615
|
+
}>>;
|
|
50566
50616
|
}, z.core.$strict>;
|
|
50567
50617
|
}, z.core.$strict>;
|
|
50568
50618
|
}, z.core.$strict>;
|
|
@@ -53146,6 +53196,11 @@ export declare const templateTemplateSchema: z.ZodObject<{
|
|
|
53146
53196
|
local: "local";
|
|
53147
53197
|
mount: "mount";
|
|
53148
53198
|
}>>;
|
|
53199
|
+
instance: z.ZodOptional<z.ZodEnum<{
|
|
53200
|
+
s1: "s1";
|
|
53201
|
+
s2: "s2";
|
|
53202
|
+
a1: "a1";
|
|
53203
|
+
}>>;
|
|
53149
53204
|
}, z.core.$strict>>;
|
|
53150
53205
|
}, z.core.$strict>;
|
|
53151
53206
|
export declare const templateSchema: z.ZodObject<{
|
|
@@ -55725,6 +55780,11 @@ export declare const templateSchema: z.ZodObject<{
|
|
|
55725
55780
|
local: "local";
|
|
55726
55781
|
mount: "mount";
|
|
55727
55782
|
}>>;
|
|
55783
|
+
instance: z.ZodOptional<z.ZodEnum<{
|
|
55784
|
+
s1: "s1";
|
|
55785
|
+
s2: "s2";
|
|
55786
|
+
a1: "a1";
|
|
55787
|
+
}>>;
|
|
55728
55788
|
}, z.core.$strict>>;
|
|
55729
55789
|
}, z.core.$strict>;
|
|
55730
55790
|
export declare const postRenderRequest: z.ZodObject<{
|
|
@@ -58303,6 +58363,11 @@ export declare const postRenderRequest: z.ZodObject<{
|
|
|
58303
58363
|
local: "local";
|
|
58304
58364
|
mount: "mount";
|
|
58305
58365
|
}>>;
|
|
58366
|
+
instance: z.ZodOptional<z.ZodEnum<{
|
|
58367
|
+
s1: "s1";
|
|
58368
|
+
s2: "s2";
|
|
58369
|
+
a1: "a1";
|
|
58370
|
+
}>>;
|
|
58306
58371
|
}, z.core.$strict>;
|
|
58307
58372
|
path: z.ZodOptional<z.ZodNever>;
|
|
58308
58373
|
query: z.ZodOptional<z.ZodNever>;
|
|
@@ -60928,6 +60993,11 @@ export declare const getRenderResponse: z.ZodObject<{
|
|
|
60928
60993
|
local: "local";
|
|
60929
60994
|
mount: "mount";
|
|
60930
60995
|
}>>;
|
|
60996
|
+
instance: z.ZodOptional<z.ZodEnum<{
|
|
60997
|
+
s1: "s1";
|
|
60998
|
+
s2: "s2";
|
|
60999
|
+
a1: "a1";
|
|
61000
|
+
}>>;
|
|
60931
61001
|
}, z.core.$strict>>;
|
|
60932
61002
|
created: z.ZodOptional<z.ZodString>;
|
|
60933
61003
|
updated: z.ZodOptional<z.ZodString>;
|
|
@@ -63532,6 +63602,11 @@ export declare const postTemplateRequest: z.ZodObject<{
|
|
|
63532
63602
|
local: "local";
|
|
63533
63603
|
mount: "mount";
|
|
63534
63604
|
}>>;
|
|
63605
|
+
instance: z.ZodOptional<z.ZodEnum<{
|
|
63606
|
+
s1: "s1";
|
|
63607
|
+
s2: "s2";
|
|
63608
|
+
a1: "a1";
|
|
63609
|
+
}>>;
|
|
63535
63610
|
}, z.core.$strict>>;
|
|
63536
63611
|
}, z.core.$strict>;
|
|
63537
63612
|
path: z.ZodOptional<z.ZodNever>;
|
|
@@ -66151,6 +66226,11 @@ export declare const getTemplateResponse: z.ZodObject<{
|
|
|
66151
66226
|
local: "local";
|
|
66152
66227
|
mount: "mount";
|
|
66153
66228
|
}>>;
|
|
66229
|
+
instance: z.ZodOptional<z.ZodEnum<{
|
|
66230
|
+
s1: "s1";
|
|
66231
|
+
s2: "s2";
|
|
66232
|
+
a1: "a1";
|
|
66233
|
+
}>>;
|
|
66154
66234
|
}, z.core.$strict>;
|
|
66155
66235
|
}, z.core.$strict>;
|
|
66156
66236
|
}, z.core.$strict>;
|
|
@@ -68732,6 +68812,11 @@ export declare const putTemplateRequest: z.ZodObject<{
|
|
|
68732
68812
|
local: "local";
|
|
68733
68813
|
mount: "mount";
|
|
68734
68814
|
}>>;
|
|
68815
|
+
instance: z.ZodOptional<z.ZodEnum<{
|
|
68816
|
+
s1: "s1";
|
|
68817
|
+
s2: "s2";
|
|
68818
|
+
a1: "a1";
|
|
68819
|
+
}>>;
|
|
68735
68820
|
}, z.core.$strict>>;
|
|
68736
68821
|
}, z.core.$strict>;
|
|
68737
68822
|
path: z.ZodObject<{
|
package/dist/zod/zod.gen.js
CHANGED
|
@@ -3454,6 +3454,7 @@ export const editEditSchema = z.object({
|
|
|
3454
3454
|
merge: z.optional(z.array(mergefieldMergeFieldSchema)),
|
|
3455
3455
|
callback: z.optional(z.string()),
|
|
3456
3456
|
disk: z.optional(z.enum(["local", "mount"])),
|
|
3457
|
+
instance: z.optional(z.enum(["s1", "s2", "a1"])),
|
|
3457
3458
|
}).strict();
|
|
3458
3459
|
export const editSchema = editEditSchema;
|
|
3459
3460
|
/**
|
package/dist/zod/zod.gen.ts
CHANGED
|
@@ -2937,6 +2937,7 @@ export const editEditSchema = z.object({
|
|
|
2937
2937
|
merge: z.optional(z.array(mergefieldMergeFieldSchema)),
|
|
2938
2938
|
callback: z.optional(z.string()),
|
|
2939
2939
|
disk: z.optional(z.enum(["local", "mount"])),
|
|
2940
|
+
instance: z.optional(z.enum(["s1", "s2", "a1"])),
|
|
2940
2941
|
}).strict();
|
|
2941
2942
|
|
|
2942
2943
|
export const editSchema = editEditSchema;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shotstack/schemas",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.6.0",
|
|
4
4
|
"description": "Centralized OpenAPI schemas and TypeScript types for Shotstack API",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"test": "tsc --noEmit --skipLibCheck",
|
|
24
24
|
"clean": "node -e \"fs=require('fs');if(fs.existsSync('dist'))fs.rmSync('dist',{recursive:true})\"",
|
|
25
25
|
"bundle": "swagger-cli bundle api.oas3.yaml -o dist/api.bundled.json -t json",
|
|
26
|
-
"generate:types": "openapi-typescript dist/api.bundled.json -o dist/schema.d.ts",
|
|
26
|
+
"generate:types": "openapi-typescript dist/api.bundled.json -o dist/schema.d.ts --default-non-nullable=false",
|
|
27
27
|
"generate:zod": "openapi-ts",
|
|
28
28
|
"compile:zod:cjs": "tsc --declaration false --module commonjs --moduleResolution node --target ES2022 --outDir dist/zod --skipLibCheck dist/zod/zod.gen.ts && node -e \"require('fs').renameSync('dist/zod/zod.gen.js','dist/zod/zod.gen.cjs')\"",
|
|
29
29
|
"compile:zod:esm": "tsc --declaration --module nodenext --moduleResolution nodenext --target ES2022 --outDir dist/zod --skipLibCheck dist/zod/zod.gen.ts",
|