@shotstack/shotstack-studio 2.0.0-beta.17 → 2.0.0-beta.18
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/index.d.ts +11 -23
- package/dist/internal.es.js +7057 -6955
- package/dist/internal.umd.js +44 -27
- package/dist/schema/index.cjs +1 -1
- package/dist/schema/index.d.ts +11 -23
- package/dist/schema/index.mjs +1465 -1475
- package/dist/shotstack-studio.es.js +7156 -6843
- package/dist/shotstack-studio.umd.js +113 -96
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -464,15 +464,11 @@ export { CropSchema }
|
|
|
464
464
|
|
|
465
465
|
export declare type Destination = components["schemas"]["Destinations"];
|
|
466
466
|
|
|
467
|
-
export declare const DestinationSchema: z.
|
|
468
|
-
|
|
469
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
470
|
-
provider: z.ZodDefault<z.ZodString>;
|
|
467
|
+
export declare const DestinationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
468
|
+
provider: z.ZodLiteral<"shotstack">;
|
|
471
469
|
exclude: z.ZodOptional<z.ZodBoolean>;
|
|
472
|
-
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
473
|
-
destinations: z.ZodOptional<z.ZodLiteral<"muxDestination_MuxDestination">>;
|
|
474
470
|
}, z.core.$strip>, z.ZodObject<{
|
|
475
|
-
provider: z.
|
|
471
|
+
provider: z.ZodLiteral<"mux">;
|
|
476
472
|
options: z.ZodOptional<z.ZodObject<{
|
|
477
473
|
playbackPolicy: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
478
474
|
public: "public";
|
|
@@ -480,10 +476,8 @@ export declare const DestinationSchema: z.ZodUnion<readonly [z.ZodIntersection<z
|
|
|
480
476
|
}>>>;
|
|
481
477
|
passthrough: z.ZodOptional<z.ZodString>;
|
|
482
478
|
}, z.core.$strip>>;
|
|
483
|
-
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
484
|
-
destinations: z.ZodOptional<z.ZodLiteral<"s3Destination_S3Destination">>;
|
|
485
479
|
}, z.core.$strip>, z.ZodObject<{
|
|
486
|
-
provider: z.
|
|
480
|
+
provider: z.ZodLiteral<"s3">;
|
|
487
481
|
options: z.ZodOptional<z.ZodObject<{
|
|
488
482
|
region: z.ZodString;
|
|
489
483
|
bucket: z.ZodString;
|
|
@@ -491,27 +485,21 @@ export declare const DestinationSchema: z.ZodUnion<readonly [z.ZodIntersection<z
|
|
|
491
485
|
filename: z.ZodOptional<z.ZodString>;
|
|
492
486
|
acl: z.ZodOptional<z.ZodString>;
|
|
493
487
|
}, z.core.$strip>>;
|
|
494
|
-
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
495
|
-
destinations: z.ZodOptional<z.ZodLiteral<"googleCloudStorageDestination_GoogleCloudStorageDestination">>;
|
|
496
488
|
}, z.core.$strip>, z.ZodObject<{
|
|
497
|
-
provider: z.
|
|
489
|
+
provider: z.ZodLiteral<"google-cloud-storage">;
|
|
498
490
|
options: z.ZodOptional<z.ZodObject<{
|
|
499
491
|
bucket: z.ZodString;
|
|
500
492
|
prefix: z.ZodOptional<z.ZodString>;
|
|
501
493
|
filename: z.ZodOptional<z.ZodString>;
|
|
502
494
|
}, z.core.$strip>>;
|
|
503
|
-
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
504
|
-
destinations: z.ZodOptional<z.ZodLiteral<"googleDriveDestination_GoogleDriveDestination">>;
|
|
505
495
|
}, z.core.$strip>, z.ZodObject<{
|
|
506
|
-
provider: z.
|
|
496
|
+
provider: z.ZodLiteral<"google-drive">;
|
|
507
497
|
options: z.ZodObject<{
|
|
508
498
|
folderId: z.ZodString;
|
|
509
499
|
filename: z.ZodOptional<z.ZodString>;
|
|
510
500
|
}, z.core.$strip>;
|
|
511
|
-
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
512
|
-
destinations: z.ZodOptional<z.ZodLiteral<"vimeoDestination_VimeoDestination">>;
|
|
513
501
|
}, z.core.$strip>, z.ZodObject<{
|
|
514
|
-
provider: z.
|
|
502
|
+
provider: z.ZodLiteral<"vimeo">;
|
|
515
503
|
options: z.ZodOptional<z.ZodObject<{
|
|
516
504
|
name: z.ZodOptional<z.ZodString>;
|
|
517
505
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -533,13 +521,13 @@ export declare const DestinationSchema: z.ZodUnion<readonly [z.ZodIntersection<z
|
|
|
533
521
|
nobody: "nobody";
|
|
534
522
|
contacts: "contacts";
|
|
535
523
|
}>>;
|
|
524
|
+
download: z.ZodOptional<z.ZodBoolean>;
|
|
525
|
+
add: z.ZodOptional<z.ZodBoolean>;
|
|
536
526
|
}, z.core.$strip>>;
|
|
537
527
|
folderUri: z.ZodOptional<z.ZodString>;
|
|
538
528
|
}, z.core.$strip>>;
|
|
539
|
-
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
540
|
-
destinations: z.ZodOptional<z.ZodLiteral<"tiktokDestination_TiktokDestination">>;
|
|
541
529
|
}, z.core.$strip>, z.ZodObject<{
|
|
542
|
-
provider: z.
|
|
530
|
+
provider: z.ZodLiteral<"tiktok">;
|
|
543
531
|
options: z.ZodOptional<z.ZodObject<{
|
|
544
532
|
title: z.ZodOptional<z.ZodString>;
|
|
545
533
|
privacyLevel: z.ZodOptional<z.ZodEnum<{
|
|
@@ -551,7 +539,7 @@ export declare const DestinationSchema: z.ZodUnion<readonly [z.ZodIntersection<z
|
|
|
551
539
|
disableStitch: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
552
540
|
disableComment: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
553
541
|
}, z.core.$strip>>;
|
|
554
|
-
}, z.core.$strip
|
|
542
|
+
}, z.core.$strip>], "provider">;
|
|
555
543
|
|
|
556
544
|
declare type DocumentClipType = Clip;
|
|
557
545
|
|