@shotstack/shotstack-studio 2.17.0 → 2.18.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/index.d.ts +9 -1
- package/dist/internal.d.ts +9 -1
- package/dist/internal.es.js +4157 -4097
- package/dist/internal.umd.js +33 -33
- package/dist/shotstack-studio.es.js +9381 -9148
- package/dist/shotstack-studio.umd.js +195 -184
- package/package.json +1 -1
- package/readme.md +6 -0
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -203,6 +203,12 @@ edit.registerAssetGenerator(async ({ clipId, asset, signal }) => {
|
|
|
203
203
|
});
|
|
204
204
|
```
|
|
205
205
|
|
|
206
|
+
Pass a model catalogue as the registration's `catalogue` option to show model and option
|
|
207
|
+
controls. Entries must include their option schema; those without one are ignored. The
|
|
208
|
+
[Edit API](https://shotstack.io/docs/api/#shotstack-edit) returns this shape from
|
|
209
|
+
`GET /models?expand=options`. The SDK stores a snapshot; fetching and refreshing it remain
|
|
210
|
+
the host's responsibility.
|
|
211
|
+
|
|
206
212
|
The SDK writes the returned URL to the clip, so the change is undoable and autosaves
|
|
207
213
|
like any other edit. It tracks whether a clip is generating or has failed, and renders
|
|
208
214
|
those states; a rejection's message is shown as-is next to a retry action. Everything
|