@shotstack/shotstack-studio 2.19.8 → 2.20.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/internal.d.ts +7 -0
- package/dist/internal.es.js +864 -846
- package/dist/internal.umd.js +22 -22
- package/dist/shotstack-studio.es.js +4223 -4194
- package/dist/shotstack-studio.umd.js +95 -95
- package/package.json +1 -1
package/dist/internal.d.ts
CHANGED
|
@@ -526,6 +526,11 @@ declare type EventPayloadMap<TPayload = any> = Record<string, TPayload>;
|
|
|
526
526
|
|
|
527
527
|
declare type GenerationModelCatalogueResponse = operations["getModels"]["responses"][200]["content"]["application/json"];
|
|
528
528
|
|
|
529
|
+
declare type GenerationSettingsHandler = (request: {
|
|
530
|
+
clipId: string;
|
|
531
|
+
model: string;
|
|
532
|
+
}) => void;
|
|
533
|
+
|
|
529
534
|
/**
|
|
530
535
|
* Thrown by mutation methods (addClip, addTrack, addFont, setFonts) when a
|
|
531
536
|
* referenced asset/font URL fails preflight.
|
|
@@ -630,6 +635,8 @@ declare interface ReadonlyEventEmitter<TEventPayloadMap extends EventPayloadMap>
|
|
|
630
635
|
off<K extends keyof TEventPayloadMap>(name: K, listener: Listener<TEventPayloadMap[K]>): void;
|
|
631
636
|
}
|
|
632
637
|
|
|
638
|
+
export declare function registerGenerationSettings(edit: Edit, handler: GenerationSettingsHandler): () => void;
|
|
639
|
+
|
|
633
640
|
/**
|
|
634
641
|
* A number representing time in seconds.
|
|
635
642
|
* Used at API/configuration boundaries where users specify timing.
|