@shotstack/schemas 1.11.0-html5.0 → 1.11.0-html5.1

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.
@@ -2366,7 +2366,7 @@
2366
2366
  "example": "Chart.bar('#chart', { data: [1, 2, 3] });"
2367
2367
  },
2368
2368
  "libraries": {
2369
- "description": "Optional list of approved libraries to auto-inject as `<script>` tags before\nthe user JS runs.\n\nSupported libraries:\n- `gsap` — GSAP timeline + tweens (recommended for animation timing).\n- `d3` — D3.js for data-driven SVG generation (combine with gsap for animation).\n- `anime` — anime.js v3 with native paused/seek timeline.\n- `motion` — Motion One declarative animations.\n- `lottie` — Lottie SVG renderer (for designer-exported Bodymovin JSON).\n\nAnimations should expose a paused, seekable timeline at `window.__shotstackTimeline`\nwith `.seek(seconds)` and `.totalDuration()`. CSS animations and Element.animate() are\ncaptured automatically.\n",
2369
+ "description": "Optional list of approved libraries to auto-inject as `<script>` tags before the\nuser JS runs.\n\nSupported libraries (write your animations normally — no contract required):\n- `gsap` — GSAP timeline + tweens.\n- `d3` — D3.js for data-driven SVG generation. Combine with `gsap` for animation;\n D3's own transitions are not seekable and won't capture deterministically.\n- `anime` — anime.js v3.\n- `lottie` — Lottie SVG renderer for designer-exported Bodymovin JSON.\n\nCSS animations, transitions, and `Element.animate()` are also captured automatically.\n\nMost assets need nothing more than the library itself plus your animation code.\nFor custom hand-rolled animation engines (not in the list above), expose your own\nseek hook by setting `window.__shotstackSeek = (timeMs) => { ... }`.\n",
2370
2370
  "type": "array",
2371
2371
  "items": {
2372
2372
  "type": "string",
@@ -2374,12 +2374,11 @@
2374
2374
  "gsap",
2375
2375
  "d3",
2376
2376
  "anime",
2377
- "motion",
2378
2377
  "lottie"
2379
2378
  ]
2380
2379
  },
2381
2380
  "uniqueItems": true,
2382
- "maxItems": 5,
2381
+ "maxItems": 4,
2383
2382
  "example": [
2384
2383
  "gsap"
2385
2384
  ]
package/dist/schema.d.ts CHANGED
@@ -1289,24 +1289,26 @@ export interface components {
1289
1289
  */
1290
1290
  js?: string;
1291
1291
  /**
1292
- * @description Optional list of approved libraries to auto-inject as `<script>` tags before
1293
- * the user JS runs.
1292
+ * @description Optional list of approved libraries to auto-inject as `<script>` tags before the
1293
+ * user JS runs.
1294
1294
  *
1295
- * Supported libraries:
1296
- * - `gsap` — GSAP timeline + tweens (recommended for animation timing).
1297
- * - `d3` — D3.js for data-driven SVG generation (combine with gsap for animation).
1298
- * - `anime` — anime.js v3 with native paused/seek timeline.
1299
- * - `motion` — Motion One declarative animations.
1300
- * - `lottie` — Lottie SVG renderer (for designer-exported Bodymovin JSON).
1295
+ * Supported libraries (write your animations normally — no contract required):
1296
+ * - `gsap` — GSAP timeline + tweens.
1297
+ * - `d3` — D3.js for data-driven SVG generation. Combine with `gsap` for animation;
1298
+ * D3's own transitions are not seekable and won't capture deterministically.
1299
+ * - `anime` — anime.js v3.
1300
+ * - `lottie` — Lottie SVG renderer for designer-exported Bodymovin JSON.
1301
1301
  *
1302
- * Animations should expose a paused, seekable timeline at `window.__shotstackTimeline`
1303
- * with `.seek(seconds)` and `.totalDuration()`. CSS animations and Element.animate() are
1304
- * captured automatically.
1302
+ * CSS animations, transitions, and `Element.animate()` are also captured automatically.
1303
+ *
1304
+ * Most assets need nothing more than the library itself plus your animation code.
1305
+ * For custom hand-rolled animation engines (not in the list above), expose your own
1306
+ * seek hook by setting `window.__shotstackSeek = (timeMs) => { ... }`.
1305
1307
  * @example [
1306
1308
  * "gsap"
1307
1309
  * ]
1308
1310
  */
1309
- libraries?: ("gsap" | "d3" | "anime" | "motion" | "lottie")[];
1311
+ libraries?: ("gsap" | "d3" | "anime" | "lottie")[];
1310
1312
  };
1311
1313
  /**
1312
1314
  * @deprecated
@@ -432,9 +432,8 @@ exports.html5AssetHtml5AssetSchema = zod_1.z.object({
432
432
  'gsap',
433
433
  'd3',
434
434
  'anime',
435
- 'motion',
436
435
  'lottie'
437
- ])).max(5))
436
+ ])).max(4))
438
437
  }).strict();
439
438
  exports.html5AssetSchema = exports.html5AssetHtml5AssetSchema;
440
439
  /**
@@ -767,7 +767,6 @@ export declare const html5AssetHtml5AssetSchema: z.ZodObject<{
767
767
  gsap: "gsap";
768
768
  d3: "d3";
769
769
  anime: "anime";
770
- motion: "motion";
771
770
  lottie: "lottie";
772
771
  }>>>;
773
772
  }, z.core.$strict>;
@@ -782,7 +781,6 @@ export declare const html5AssetSchema: z.ZodObject<{
782
781
  gsap: "gsap";
783
782
  d3: "d3";
784
783
  anime: "anime";
785
- motion: "motion";
786
784
  lottie: "lottie";
787
785
  }>>>;
788
786
  }, z.core.$strict>;
@@ -7419,7 +7417,6 @@ export declare const assetAssetSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
7419
7417
  gsap: "gsap";
7420
7418
  d3: "d3";
7421
7419
  anime: "anime";
7422
- motion: "motion";
7423
7420
  lottie: "lottie";
7424
7421
  }>>>;
7425
7422
  }, z.core.$strict>, z.ZodObject<{
@@ -8153,7 +8150,6 @@ export declare const assetSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
8153
8150
  gsap: "gsap";
8154
8151
  d3: "d3";
8155
8152
  anime: "anime";
8156
- motion: "motion";
8157
8153
  lottie: "lottie";
8158
8154
  }>>>;
8159
8155
  }, z.core.$strict>, z.ZodObject<{
@@ -8891,7 +8887,6 @@ export declare const clipClipSchema: z.ZodObject<{
8891
8887
  gsap: "gsap";
8892
8888
  d3: "d3";
8893
8889
  anime: "anime";
8894
- motion: "motion";
8895
8890
  lottie: "lottie";
8896
8891
  }>>>;
8897
8892
  }, z.core.$strict>, z.ZodObject<{
@@ -10109,7 +10104,6 @@ export declare const clipSchema: z.ZodObject<{
10109
10104
  gsap: "gsap";
10110
10105
  d3: "d3";
10111
10106
  anime: "anime";
10112
- motion: "motion";
10113
10107
  lottie: "lottie";
10114
10108
  }>>>;
10115
10109
  }, z.core.$strict>, z.ZodObject<{
@@ -11331,7 +11325,6 @@ export declare const trackTrackSchema: z.ZodObject<{
11331
11325
  gsap: "gsap";
11332
11326
  d3: "d3";
11333
11327
  anime: "anime";
11334
- motion: "motion";
11335
11328
  lottie: "lottie";
11336
11329
  }>>>;
11337
11330
  }, z.core.$strict>, z.ZodObject<{
@@ -12351,7 +12344,7 @@ export declare const trackTrackSchema: z.ZodObject<{
12351
12344
  html: string;
12352
12345
  css?: string;
12353
12346
  js?: string;
12354
- libraries?: ("gsap" | "d3" | "anime" | "motion" | "lottie")[];
12347
+ libraries?: ("gsap" | "d3" | "anime" | "lottie")[];
12355
12348
  } | {
12356
12349
  type: "title";
12357
12350
  text: string;
@@ -12810,7 +12803,7 @@ export declare const trackTrackSchema: z.ZodObject<{
12810
12803
  html: string;
12811
12804
  css?: string;
12812
12805
  js?: string;
12813
- libraries?: ("gsap" | "d3" | "anime" | "motion" | "lottie")[];
12806
+ libraries?: ("gsap" | "d3" | "anime" | "lottie")[];
12814
12807
  } | {
12815
12808
  type: "title";
12816
12809
  text: string;
@@ -13470,7 +13463,6 @@ export declare const trackSchema: z.ZodObject<{
13470
13463
  gsap: "gsap";
13471
13464
  d3: "d3";
13472
13465
  anime: "anime";
13473
- motion: "motion";
13474
13466
  lottie: "lottie";
13475
13467
  }>>>;
13476
13468
  }, z.core.$strict>, z.ZodObject<{
@@ -14490,7 +14482,7 @@ export declare const trackSchema: z.ZodObject<{
14490
14482
  html: string;
14491
14483
  css?: string;
14492
14484
  js?: string;
14493
- libraries?: ("gsap" | "d3" | "anime" | "motion" | "lottie")[];
14485
+ libraries?: ("gsap" | "d3" | "anime" | "lottie")[];
14494
14486
  } | {
14495
14487
  type: "title";
14496
14488
  text: string;
@@ -14949,7 +14941,7 @@ export declare const trackSchema: z.ZodObject<{
14949
14941
  html: string;
14950
14942
  css?: string;
14951
14943
  js?: string;
14952
- libraries?: ("gsap" | "d3" | "anime" | "motion" | "lottie")[];
14944
+ libraries?: ("gsap" | "d3" | "anime" | "lottie")[];
14953
14945
  } | {
14954
14946
  type: "title";
14955
14947
  text: string;
@@ -15626,7 +15618,6 @@ export declare const timelineTimelineSchema: z.ZodObject<{
15626
15618
  gsap: "gsap";
15627
15619
  d3: "d3";
15628
15620
  anime: "anime";
15629
- motion: "motion";
15630
15621
  lottie: "lottie";
15631
15622
  }>>>;
15632
15623
  }, z.core.$strict>, z.ZodObject<{
@@ -16646,7 +16637,7 @@ export declare const timelineTimelineSchema: z.ZodObject<{
16646
16637
  html: string;
16647
16638
  css?: string;
16648
16639
  js?: string;
16649
- libraries?: ("gsap" | "d3" | "anime" | "motion" | "lottie")[];
16640
+ libraries?: ("gsap" | "d3" | "anime" | "lottie")[];
16650
16641
  } | {
16651
16642
  type: "title";
16652
16643
  text: string;
@@ -17105,7 +17096,7 @@ export declare const timelineTimelineSchema: z.ZodObject<{
17105
17096
  html: string;
17106
17097
  css?: string;
17107
17098
  js?: string;
17108
- libraries?: ("gsap" | "d3" | "anime" | "motion" | "lottie")[];
17099
+ libraries?: ("gsap" | "d3" | "anime" | "lottie")[];
17109
17100
  } | {
17110
17101
  type: "title";
17111
17102
  text: string;
@@ -17781,7 +17772,6 @@ export declare const timelineSchema: z.ZodObject<{
17781
17772
  gsap: "gsap";
17782
17773
  d3: "d3";
17783
17774
  anime: "anime";
17784
- motion: "motion";
17785
17775
  lottie: "lottie";
17786
17776
  }>>>;
17787
17777
  }, z.core.$strict>, z.ZodObject<{
@@ -18801,7 +18791,7 @@ export declare const timelineSchema: z.ZodObject<{
18801
18791
  html: string;
18802
18792
  css?: string;
18803
18793
  js?: string;
18804
- libraries?: ("gsap" | "d3" | "anime" | "motion" | "lottie")[];
18794
+ libraries?: ("gsap" | "d3" | "anime" | "lottie")[];
18805
18795
  } | {
18806
18796
  type: "title";
18807
18797
  text: string;
@@ -19260,7 +19250,7 @@ export declare const timelineSchema: z.ZodObject<{
19260
19250
  html: string;
19261
19251
  css?: string;
19262
19252
  js?: string;
19263
- libraries?: ("gsap" | "d3" | "anime" | "motion" | "lottie")[];
19253
+ libraries?: ("gsap" | "d3" | "anime" | "lottie")[];
19264
19254
  } | {
19265
19255
  type: "title";
19266
19256
  text: string;
@@ -19940,7 +19930,6 @@ export declare const editEditSchema: z.ZodObject<{
19940
19930
  gsap: "gsap";
19941
19931
  d3: "d3";
19942
19932
  anime: "anime";
19943
- motion: "motion";
19944
19933
  lottie: "lottie";
19945
19934
  }>>>;
19946
19935
  }, z.core.$strict>, z.ZodObject<{
@@ -20960,7 +20949,7 @@ export declare const editEditSchema: z.ZodObject<{
20960
20949
  html: string;
20961
20950
  css?: string;
20962
20951
  js?: string;
20963
- libraries?: ("gsap" | "d3" | "anime" | "motion" | "lottie")[];
20952
+ libraries?: ("gsap" | "d3" | "anime" | "lottie")[];
20964
20953
  } | {
20965
20954
  type: "title";
20966
20955
  text: string;
@@ -21419,7 +21408,7 @@ export declare const editEditSchema: z.ZodObject<{
21419
21408
  html: string;
21420
21409
  css?: string;
21421
21410
  js?: string;
21422
- libraries?: ("gsap" | "d3" | "anime" | "motion" | "lottie")[];
21411
+ libraries?: ("gsap" | "d3" | "anime" | "lottie")[];
21423
21412
  } | {
21424
21413
  type: "title";
21425
21414
  text: string;
@@ -22261,7 +22250,6 @@ export declare const editSchema: z.ZodObject<{
22261
22250
  gsap: "gsap";
22262
22251
  d3: "d3";
22263
22252
  anime: "anime";
22264
- motion: "motion";
22265
22253
  lottie: "lottie";
22266
22254
  }>>>;
22267
22255
  }, z.core.$strict>, z.ZodObject<{
@@ -23281,7 +23269,7 @@ export declare const editSchema: z.ZodObject<{
23281
23269
  html: string;
23282
23270
  css?: string;
23283
23271
  js?: string;
23284
- libraries?: ("gsap" | "d3" | "anime" | "motion" | "lottie")[];
23272
+ libraries?: ("gsap" | "d3" | "anime" | "lottie")[];
23285
23273
  } | {
23286
23274
  type: "title";
23287
23275
  text: string;
@@ -23740,7 +23728,7 @@ export declare const editSchema: z.ZodObject<{
23740
23728
  html: string;
23741
23729
  css?: string;
23742
23730
  js?: string;
23743
- libraries?: ("gsap" | "d3" | "anime" | "motion" | "lottie")[];
23731
+ libraries?: ("gsap" | "d3" | "anime" | "lottie")[];
23744
23732
  } | {
23745
23733
  type: "title";
23746
23734
  text: string;
@@ -24604,7 +24592,6 @@ export declare const renderresponsedataRenderResponseDataSchema: z.ZodObject<{
24604
24592
  gsap: "gsap";
24605
24593
  d3: "d3";
24606
24594
  anime: "anime";
24607
- motion: "motion";
24608
24595
  lottie: "lottie";
24609
24596
  }>>>;
24610
24597
  }, z.core.$strict>, z.ZodObject<{
@@ -25624,7 +25611,7 @@ export declare const renderresponsedataRenderResponseDataSchema: z.ZodObject<{
25624
25611
  html: string;
25625
25612
  css?: string;
25626
25613
  js?: string;
25627
- libraries?: ("gsap" | "d3" | "anime" | "motion" | "lottie")[];
25614
+ libraries?: ("gsap" | "d3" | "anime" | "lottie")[];
25628
25615
  } | {
25629
25616
  type: "title";
25630
25617
  text: string;
@@ -26083,7 +26070,7 @@ export declare const renderresponsedataRenderResponseDataSchema: z.ZodObject<{
26083
26070
  html: string;
26084
26071
  css?: string;
26085
26072
  js?: string;
26086
- libraries?: ("gsap" | "d3" | "anime" | "motion" | "lottie")[];
26073
+ libraries?: ("gsap" | "d3" | "anime" | "lottie")[];
26087
26074
  } | {
26088
26075
  type: "title";
26089
26076
  text: string;
@@ -26947,7 +26934,6 @@ export declare const renderResponseDataSchema: z.ZodObject<{
26947
26934
  gsap: "gsap";
26948
26935
  d3: "d3";
26949
26936
  anime: "anime";
26950
- motion: "motion";
26951
26937
  lottie: "lottie";
26952
26938
  }>>>;
26953
26939
  }, z.core.$strict>, z.ZodObject<{
@@ -27967,7 +27953,7 @@ export declare const renderResponseDataSchema: z.ZodObject<{
27967
27953
  html: string;
27968
27954
  css?: string;
27969
27955
  js?: string;
27970
- libraries?: ("gsap" | "d3" | "anime" | "motion" | "lottie")[];
27956
+ libraries?: ("gsap" | "d3" | "anime" | "lottie")[];
27971
27957
  } | {
27972
27958
  type: "title";
27973
27959
  text: string;
@@ -28426,7 +28412,7 @@ export declare const renderResponseDataSchema: z.ZodObject<{
28426
28412
  html: string;
28427
28413
  css?: string;
28428
28414
  js?: string;
28429
- libraries?: ("gsap" | "d3" | "anime" | "motion" | "lottie")[];
28415
+ libraries?: ("gsap" | "d3" | "anime" | "lottie")[];
28430
28416
  } | {
28431
28417
  type: "title";
28432
28418
  text: string;
@@ -29296,7 +29282,6 @@ export declare const renderresponseRenderResponseSchema: z.ZodObject<{
29296
29282
  gsap: "gsap";
29297
29283
  d3: "d3";
29298
29284
  anime: "anime";
29299
- motion: "motion";
29300
29285
  lottie: "lottie";
29301
29286
  }>>>;
29302
29287
  }, z.core.$strict>, z.ZodObject<{
@@ -30316,7 +30301,7 @@ export declare const renderresponseRenderResponseSchema: z.ZodObject<{
30316
30301
  html: string;
30317
30302
  css?: string;
30318
30303
  js?: string;
30319
- libraries?: ("gsap" | "d3" | "anime" | "motion" | "lottie")[];
30304
+ libraries?: ("gsap" | "d3" | "anime" | "lottie")[];
30320
30305
  } | {
30321
30306
  type: "title";
30322
30307
  text: string;
@@ -30775,7 +30760,7 @@ export declare const renderresponseRenderResponseSchema: z.ZodObject<{
30775
30760
  html: string;
30776
30761
  css?: string;
30777
30762
  js?: string;
30778
- libraries?: ("gsap" | "d3" | "anime" | "motion" | "lottie")[];
30763
+ libraries?: ("gsap" | "d3" | "anime" | "lottie")[];
30779
30764
  } | {
30780
30765
  type: "title";
30781
30766
  text: string;
@@ -31643,7 +31628,6 @@ export declare const renderResponseSchema: z.ZodObject<{
31643
31628
  gsap: "gsap";
31644
31629
  d3: "d3";
31645
31630
  anime: "anime";
31646
- motion: "motion";
31647
31631
  lottie: "lottie";
31648
31632
  }>>>;
31649
31633
  }, z.core.$strict>, z.ZodObject<{
@@ -32663,7 +32647,7 @@ export declare const renderResponseSchema: z.ZodObject<{
32663
32647
  html: string;
32664
32648
  css?: string;
32665
32649
  js?: string;
32666
- libraries?: ("gsap" | "d3" | "anime" | "motion" | "lottie")[];
32650
+ libraries?: ("gsap" | "d3" | "anime" | "lottie")[];
32667
32651
  } | {
32668
32652
  type: "title";
32669
32653
  text: string;
@@ -33122,7 +33106,7 @@ export declare const renderResponseSchema: z.ZodObject<{
33122
33106
  html: string;
33123
33107
  css?: string;
33124
33108
  js?: string;
33125
- libraries?: ("gsap" | "d3" | "anime" | "motion" | "lottie")[];
33109
+ libraries?: ("gsap" | "d3" | "anime" | "lottie")[];
33126
33110
  } | {
33127
33111
  type: "title";
33128
33112
  text: string;
@@ -33975,7 +33959,6 @@ export declare const templatedataresponsedataTemplateDataResponseDataSchema: z.Z
33975
33959
  gsap: "gsap";
33976
33960
  d3: "d3";
33977
33961
  anime: "anime";
33978
- motion: "motion";
33979
33962
  lottie: "lottie";
33980
33963
  }>>>;
33981
33964
  }, z.core.$strict>, z.ZodObject<{
@@ -34995,7 +34978,7 @@ export declare const templatedataresponsedataTemplateDataResponseDataSchema: z.Z
34995
34978
  html: string;
34996
34979
  css?: string;
34997
34980
  js?: string;
34998
- libraries?: ("gsap" | "d3" | "anime" | "motion" | "lottie")[];
34981
+ libraries?: ("gsap" | "d3" | "anime" | "lottie")[];
34999
34982
  } | {
35000
34983
  type: "title";
35001
34984
  text: string;
@@ -35454,7 +35437,7 @@ export declare const templatedataresponsedataTemplateDataResponseDataSchema: z.Z
35454
35437
  html: string;
35455
35438
  css?: string;
35456
35439
  js?: string;
35457
- libraries?: ("gsap" | "d3" | "anime" | "motion" | "lottie")[];
35440
+ libraries?: ("gsap" | "d3" | "anime" | "lottie")[];
35458
35441
  } | {
35459
35442
  type: "title";
35460
35443
  text: string;
@@ -36301,7 +36284,6 @@ export declare const templateDataResponseDataSchema: z.ZodObject<{
36301
36284
  gsap: "gsap";
36302
36285
  d3: "d3";
36303
36286
  anime: "anime";
36304
- motion: "motion";
36305
36287
  lottie: "lottie";
36306
36288
  }>>>;
36307
36289
  }, z.core.$strict>, z.ZodObject<{
@@ -37321,7 +37303,7 @@ export declare const templateDataResponseDataSchema: z.ZodObject<{
37321
37303
  html: string;
37322
37304
  css?: string;
37323
37305
  js?: string;
37324
- libraries?: ("gsap" | "d3" | "anime" | "motion" | "lottie")[];
37306
+ libraries?: ("gsap" | "d3" | "anime" | "lottie")[];
37325
37307
  } | {
37326
37308
  type: "title";
37327
37309
  text: string;
@@ -37780,7 +37762,7 @@ export declare const templateDataResponseDataSchema: z.ZodObject<{
37780
37762
  html: string;
37781
37763
  css?: string;
37782
37764
  js?: string;
37783
- libraries?: ("gsap" | "d3" | "anime" | "motion" | "lottie")[];
37765
+ libraries?: ("gsap" | "d3" | "anime" | "lottie")[];
37784
37766
  } | {
37785
37767
  type: "title";
37786
37768
  text: string;
@@ -38633,7 +38615,6 @@ export declare const templatedataresponseTemplateDataResponseSchema: z.ZodObject
38633
38615
  gsap: "gsap";
38634
38616
  d3: "d3";
38635
38617
  anime: "anime";
38636
- motion: "motion";
38637
38618
  lottie: "lottie";
38638
38619
  }>>>;
38639
38620
  }, z.core.$strict>, z.ZodObject<{
@@ -39653,7 +39634,7 @@ export declare const templatedataresponseTemplateDataResponseSchema: z.ZodObject
39653
39634
  html: string;
39654
39635
  css?: string;
39655
39636
  js?: string;
39656
- libraries?: ("gsap" | "d3" | "anime" | "motion" | "lottie")[];
39637
+ libraries?: ("gsap" | "d3" | "anime" | "lottie")[];
39657
39638
  } | {
39658
39639
  type: "title";
39659
39640
  text: string;
@@ -40112,7 +40093,7 @@ export declare const templatedataresponseTemplateDataResponseSchema: z.ZodObject
40112
40093
  html: string;
40113
40094
  css?: string;
40114
40095
  js?: string;
40115
- libraries?: ("gsap" | "d3" | "anime" | "motion" | "lottie")[];
40096
+ libraries?: ("gsap" | "d3" | "anime" | "lottie")[];
40116
40097
  } | {
40117
40098
  type: "title";
40118
40099
  text: string;
@@ -40963,7 +40944,6 @@ export declare const templateDataResponseSchema: z.ZodObject<{
40963
40944
  gsap: "gsap";
40964
40945
  d3: "d3";
40965
40946
  anime: "anime";
40966
- motion: "motion";
40967
40947
  lottie: "lottie";
40968
40948
  }>>>;
40969
40949
  }, z.core.$strict>, z.ZodObject<{
@@ -41983,7 +41963,7 @@ export declare const templateDataResponseSchema: z.ZodObject<{
41983
41963
  html: string;
41984
41964
  css?: string;
41985
41965
  js?: string;
41986
- libraries?: ("gsap" | "d3" | "anime" | "motion" | "lottie")[];
41966
+ libraries?: ("gsap" | "d3" | "anime" | "lottie")[];
41987
41967
  } | {
41988
41968
  type: "title";
41989
41969
  text: string;
@@ -42442,7 +42422,7 @@ export declare const templateDataResponseSchema: z.ZodObject<{
42442
42422
  html: string;
42443
42423
  css?: string;
42444
42424
  js?: string;
42445
- libraries?: ("gsap" | "d3" | "anime" | "motion" | "lottie")[];
42425
+ libraries?: ("gsap" | "d3" | "anime" | "lottie")[];
42446
42426
  } | {
42447
42427
  type: "title";
42448
42428
  text: string;
@@ -43291,7 +43271,6 @@ export declare const templateTemplateSchema: z.ZodObject<{
43291
43271
  gsap: "gsap";
43292
43272
  d3: "d3";
43293
43273
  anime: "anime";
43294
- motion: "motion";
43295
43274
  lottie: "lottie";
43296
43275
  }>>>;
43297
43276
  }, z.core.$strict>, z.ZodObject<{
@@ -44311,7 +44290,7 @@ export declare const templateTemplateSchema: z.ZodObject<{
44311
44290
  html: string;
44312
44291
  css?: string;
44313
44292
  js?: string;
44314
- libraries?: ("gsap" | "d3" | "anime" | "motion" | "lottie")[];
44293
+ libraries?: ("gsap" | "d3" | "anime" | "lottie")[];
44315
44294
  } | {
44316
44295
  type: "title";
44317
44296
  text: string;
@@ -44770,7 +44749,7 @@ export declare const templateTemplateSchema: z.ZodObject<{
44770
44749
  html: string;
44771
44750
  css?: string;
44772
44751
  js?: string;
44773
- libraries?: ("gsap" | "d3" | "anime" | "motion" | "lottie")[];
44752
+ libraries?: ("gsap" | "d3" | "anime" | "lottie")[];
44774
44753
  } | {
44775
44754
  type: "title";
44776
44755
  text: string;
@@ -45615,7 +45594,6 @@ export declare const templateSchema: z.ZodObject<{
45615
45594
  gsap: "gsap";
45616
45595
  d3: "d3";
45617
45596
  anime: "anime";
45618
- motion: "motion";
45619
45597
  lottie: "lottie";
45620
45598
  }>>>;
45621
45599
  }, z.core.$strict>, z.ZodObject<{
@@ -46635,7 +46613,7 @@ export declare const templateSchema: z.ZodObject<{
46635
46613
  html: string;
46636
46614
  css?: string;
46637
46615
  js?: string;
46638
- libraries?: ("gsap" | "d3" | "anime" | "motion" | "lottie")[];
46616
+ libraries?: ("gsap" | "d3" | "anime" | "lottie")[];
46639
46617
  } | {
46640
46618
  type: "title";
46641
46619
  text: string;
@@ -47094,7 +47072,7 @@ export declare const templateSchema: z.ZodObject<{
47094
47072
  html: string;
47095
47073
  css?: string;
47096
47074
  js?: string;
47097
- libraries?: ("gsap" | "d3" | "anime" | "motion" | "lottie")[];
47075
+ libraries?: ("gsap" | "d3" | "anime" | "lottie")[];
47098
47076
  } | {
47099
47077
  type: "title";
47100
47078
  text: string;
@@ -47938,7 +47916,6 @@ export declare const postRenderRequest: z.ZodObject<{
47938
47916
  gsap: "gsap";
47939
47917
  d3: "d3";
47940
47918
  anime: "anime";
47941
- motion: "motion";
47942
47919
  lottie: "lottie";
47943
47920
  }>>>;
47944
47921
  }, z.core.$strict>, z.ZodObject<{
@@ -48958,7 +48935,7 @@ export declare const postRenderRequest: z.ZodObject<{
48958
48935
  html: string;
48959
48936
  css?: string;
48960
48937
  js?: string;
48961
- libraries?: ("gsap" | "d3" | "anime" | "motion" | "lottie")[];
48938
+ libraries?: ("gsap" | "d3" | "anime" | "lottie")[];
48962
48939
  } | {
48963
48940
  type: "title";
48964
48941
  text: string;
@@ -49417,7 +49394,7 @@ export declare const postRenderRequest: z.ZodObject<{
49417
49394
  html: string;
49418
49395
  css?: string;
49419
49396
  js?: string;
49420
- libraries?: ("gsap" | "d3" | "anime" | "motion" | "lottie")[];
49397
+ libraries?: ("gsap" | "d3" | "anime" | "lottie")[];
49421
49398
  } | {
49422
49399
  type: "title";
49423
49400
  text: string;
@@ -50308,7 +50285,6 @@ export declare const getRenderResponse: z.ZodObject<{
50308
50285
  gsap: "gsap";
50309
50286
  d3: "d3";
50310
50287
  anime: "anime";
50311
- motion: "motion";
50312
50288
  lottie: "lottie";
50313
50289
  }>>>;
50314
50290
  }, z.core.$strict>, z.ZodObject<{
@@ -51328,7 +51304,7 @@ export declare const getRenderResponse: z.ZodObject<{
51328
51304
  html: string;
51329
51305
  css?: string;
51330
51306
  js?: string;
51331
- libraries?: ("gsap" | "d3" | "anime" | "motion" | "lottie")[];
51307
+ libraries?: ("gsap" | "d3" | "anime" | "lottie")[];
51332
51308
  } | {
51333
51309
  type: "title";
51334
51310
  text: string;
@@ -51787,7 +51763,7 @@ export declare const getRenderResponse: z.ZodObject<{
51787
51763
  html: string;
51788
51764
  css?: string;
51789
51765
  js?: string;
51790
- libraries?: ("gsap" | "d3" | "anime" | "motion" | "lottie")[];
51766
+ libraries?: ("gsap" | "d3" | "anime" | "lottie")[];
51791
51767
  } | {
51792
51768
  type: "title";
51793
51769
  text: string;
@@ -52657,7 +52633,6 @@ export declare const postTemplateRequest: z.ZodObject<{
52657
52633
  gsap: "gsap";
52658
52634
  d3: "d3";
52659
52635
  anime: "anime";
52660
- motion: "motion";
52661
52636
  lottie: "lottie";
52662
52637
  }>>>;
52663
52638
  }, z.core.$strict>, z.ZodObject<{
@@ -53677,7 +53652,7 @@ export declare const postTemplateRequest: z.ZodObject<{
53677
53652
  html: string;
53678
53653
  css?: string;
53679
53654
  js?: string;
53680
- libraries?: ("gsap" | "d3" | "anime" | "motion" | "lottie")[];
53655
+ libraries?: ("gsap" | "d3" | "anime" | "lottie")[];
53681
53656
  } | {
53682
53657
  type: "title";
53683
53658
  text: string;
@@ -54136,7 +54111,7 @@ export declare const postTemplateRequest: z.ZodObject<{
54136
54111
  html: string;
54137
54112
  css?: string;
54138
54113
  js?: string;
54139
- libraries?: ("gsap" | "d3" | "anime" | "motion" | "lottie")[];
54114
+ libraries?: ("gsap" | "d3" | "anime" | "lottie")[];
54140
54115
  } | {
54141
54116
  type: "title";
54142
54117
  text: string;
@@ -55021,7 +54996,6 @@ export declare const getTemplateResponse: z.ZodObject<{
55021
54996
  gsap: "gsap";
55022
54997
  d3: "d3";
55023
54998
  anime: "anime";
55024
- motion: "motion";
55025
54999
  lottie: "lottie";
55026
55000
  }>>>;
55027
55001
  }, z.core.$strict>, z.ZodObject<{
@@ -56041,7 +56015,7 @@ export declare const getTemplateResponse: z.ZodObject<{
56041
56015
  html: string;
56042
56016
  css?: string;
56043
56017
  js?: string;
56044
- libraries?: ("gsap" | "d3" | "anime" | "motion" | "lottie")[];
56018
+ libraries?: ("gsap" | "d3" | "anime" | "lottie")[];
56045
56019
  } | {
56046
56020
  type: "title";
56047
56021
  text: string;
@@ -56500,7 +56474,7 @@ export declare const getTemplateResponse: z.ZodObject<{
56500
56474
  html: string;
56501
56475
  css?: string;
56502
56476
  js?: string;
56503
- libraries?: ("gsap" | "d3" | "anime" | "motion" | "lottie")[];
56477
+ libraries?: ("gsap" | "d3" | "anime" | "lottie")[];
56504
56478
  } | {
56505
56479
  type: "title";
56506
56480
  text: string;
@@ -57347,7 +57321,6 @@ export declare const putTemplateRequest: z.ZodObject<{
57347
57321
  gsap: "gsap";
57348
57322
  d3: "d3";
57349
57323
  anime: "anime";
57350
- motion: "motion";
57351
57324
  lottie: "lottie";
57352
57325
  }>>>;
57353
57326
  }, z.core.$strict>, z.ZodObject<{
@@ -58367,7 +58340,7 @@ export declare const putTemplateRequest: z.ZodObject<{
58367
58340
  html: string;
58368
58341
  css?: string;
58369
58342
  js?: string;
58370
- libraries?: ("gsap" | "d3" | "anime" | "motion" | "lottie")[];
58343
+ libraries?: ("gsap" | "d3" | "anime" | "lottie")[];
58371
58344
  } | {
58372
58345
  type: "title";
58373
58346
  text: string;
@@ -58826,7 +58799,7 @@ export declare const putTemplateRequest: z.ZodObject<{
58826
58799
  html: string;
58827
58800
  css?: string;
58828
58801
  js?: string;
58829
- libraries?: ("gsap" | "d3" | "anime" | "motion" | "lottie")[];
58802
+ libraries?: ("gsap" | "d3" | "anime" | "lottie")[];
58830
58803
  } | {
58831
58804
  type: "title";
58832
58805
  text: string;
@@ -424,9 +424,8 @@ export const html5AssetHtml5AssetSchema = z.object({
424
424
  'gsap',
425
425
  'd3',
426
426
  'anime',
427
- 'motion',
428
427
  'lottie'
429
- ])).max(5))
428
+ ])).max(4))
430
429
  }).strict();
431
430
  export const html5AssetSchema = html5AssetHtml5AssetSchema;
432
431
  /**
@@ -380,9 +380,8 @@ export const html5AssetHtml5AssetSchema = z.object({
380
380
  'gsap',
381
381
  'd3',
382
382
  'anime',
383
- 'motion',
384
383
  'lottie'
385
- ])).max(5))
384
+ ])).max(4))
386
385
  }).strict();
387
386
 
388
387
  export const html5AssetSchema = html5AssetHtml5AssetSchema;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shotstack/schemas",
3
- "version": "1.11.0-html5.0",
3
+ "version": "1.11.0-html5.1",
4
4
  "description": "Centralized OpenAPI schemas and TypeScript types for Shotstack API",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",