@cesdk/engine 1.11.0-preview.1 → 1.11.0-preview.2
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.
|
Binary file
|
|
Binary file
|
package/index.d.ts
CHANGED
|
@@ -2372,12 +2372,11 @@ declare class CreativeEngine {
|
|
|
2372
2372
|
* `base_url` defaults to 'https://cdn.img.ly/assets/v1'.
|
|
2373
2373
|
* Each source is created via `addLocalSource` and populated with the parsed assets. To modify the available
|
|
2374
2374
|
* assets, you may either exclude certain IDs via `excludeAssetSourceIds` or alter the sources after creation.
|
|
2375
|
-
*
|
|
2376
|
-
* @param baseURL - The source of the asset definitions, must be absolute. Defaults to `'https://cdn.img.ly/assets/v1'`.
|
|
2377
|
-
* @param excludeAssetSourceIds - A list of IDs, that will be ignored during load.
|
|
2378
2375
|
*/
|
|
2379
2376
|
addDefaultAssetSources({ baseURL, excludeAssetSourceIds }?: {
|
|
2377
|
+
/** The source of the asset definitions, must be absolute. Defaults to `'https://cdn.img.ly/assets/v1'`. */
|
|
2380
2378
|
baseURL?: string;
|
|
2379
|
+
/** A list of IDs, that will be ignored during load. */
|
|
2381
2380
|
excludeAssetSourceIds?: DefaultAssetSourceId[];
|
|
2382
2381
|
}): Promise<void>;
|
|
2383
2382
|
/**
|
|
@@ -2392,14 +2391,13 @@ declare class CreativeEngine {
|
|
|
2392
2391
|
* - `'ly.img.audio.upload'` - Demo source to upload audio assets
|
|
2393
2392
|
* - `'ly.img.video'` - Sample videos
|
|
2394
2393
|
* - `'ly.img.video.upload'` - Demo source to upload video assets
|
|
2395
|
-
*
|
|
2396
|
-
* @param excludeAssetSourceIds - A list of IDs, that will be ignored during load.
|
|
2397
|
-
* @param sceneMode - if 'Video' video specific demo asset sources will be loaded as well (default 'Design')
|
|
2398
|
-
* @param withUploadAssetSources - if 'true' asset sources for uploads are added (default false)
|
|
2399
2394
|
*/
|
|
2400
2395
|
addDemoAssetSources({ excludeAssetSourceIds, sceneMode, withUploadAssetSources }?: {
|
|
2396
|
+
/** A list of IDs, that will be ignored during load */
|
|
2401
2397
|
excludeAssetSourceIds?: DemoAssetSourceId[];
|
|
2398
|
+
/** If 'Video' video specific demo asset sources will be loaded as well (default 'Design') */
|
|
2402
2399
|
sceneMode?: SceneMode;
|
|
2400
|
+
/** If 'true' asset sources for uploads are added (default false) */
|
|
2403
2401
|
withUploadAssetSources?: boolean;
|
|
2404
2402
|
}): Promise<void>;
|
|
2405
2403
|
|
|
@@ -2947,6 +2945,7 @@ declare enum MimeType_2 {
|
|
|
2947
2945
|
Jpeg = "image/jpeg",
|
|
2948
2946
|
Tga = "image/x-tga",
|
|
2949
2947
|
Mp4 = "video/mp4",
|
|
2948
|
+
QuickTime = "video/quicktime",
|
|
2950
2949
|
Binary = "application/octet-stream",
|
|
2951
2950
|
Pdf = "application/pdf",
|
|
2952
2951
|
Zip = "application/zip"
|