@wix/media 1.0.97 → 1.0.98
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/package.json +3 -3
- package/type-bundles/index.bundle.d.ts +12 -14
- package/type-bundles/meta.bundle.d.ts +10 -12
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/media",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.98",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@wix/media_enterprise-media-categories": "1.0.23",
|
|
22
22
|
"@wix/media_enterprise-media-items": "1.0.26",
|
|
23
|
-
"@wix/media_files": "1.0.
|
|
23
|
+
"@wix/media_files": "1.0.35",
|
|
24
24
|
"@wix/media_folders": "1.0.26"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"fqdn": ""
|
|
47
47
|
}
|
|
48
48
|
},
|
|
49
|
-
"falconPackageHash": "
|
|
49
|
+
"falconPackageHash": "f9a34a3b4dc15ab560164024784cf13fb08d6ce308cc9bb822e2b18e"
|
|
50
50
|
}
|
|
@@ -1847,7 +1847,7 @@ interface GenerateFilesDownloadUrlRequest {
|
|
|
1847
1847
|
* IDs of the files to download.
|
|
1848
1848
|
*
|
|
1849
1849
|
* You can also pass the files' Wix media URLs. For example, `["wix:image://v1/0abec0_b291a9349a0b4da59067f76287e386fb~mv2.jpg/leon.jpg#originWidth=3024&originHeight=4032"]`.
|
|
1850
|
-
* Learn more
|
|
1850
|
+
* Learn more in the File and Folder IDs article.
|
|
1851
1851
|
*/
|
|
1852
1852
|
fileIds: string[];
|
|
1853
1853
|
}
|
|
@@ -1859,8 +1859,8 @@ interface GenerateFileDownloadUrlRequest {
|
|
|
1859
1859
|
/**
|
|
1860
1860
|
* File ID.
|
|
1861
1861
|
*
|
|
1862
|
-
* You can also pass the file's Wix media URL. For example, `wix:image://v1/0abec0_b291a9349a0b4da59067f76287e386fb~mv2.jpg/leon.jpg#originWidth=3024&originHeight=4032`.
|
|
1863
|
-
* Learn more
|
|
1862
|
+
* You can also pass the file's Wix media URL. For example, `["wix:image://v1/0abec0_b291a9349a0b4da59067f76287e386fb~mv2.jpg/leon.jpg#originWidth=3024&originHeight=4032"]`.
|
|
1863
|
+
* Learn more in the File and Folder IDs article.
|
|
1864
1864
|
*/
|
|
1865
1865
|
fileId: string;
|
|
1866
1866
|
/**
|
|
@@ -1918,10 +1918,8 @@ interface GetFileDescriptorRequest {
|
|
|
1918
1918
|
/**
|
|
1919
1919
|
* File ID.
|
|
1920
1920
|
*
|
|
1921
|
-
* You can also pass the file's Wix media URL. For example, `wix:image://v1/0abec0_b291a9349a0b4da59067f76287e386fb~mv2.jpg/leon.jpg#originWidth=3024&originHeight=4032`.
|
|
1922
|
-
* Learn more
|
|
1923
|
-
*
|
|
1924
|
-
* Note that you must encode the Wix media URL to pass it as a query param because it contains special characters. For example, `wix:image://v1/0abec0_b291a9349a0b4da59067f76287e386fb~mv2.jpg/leon.jpg#originWidth=3024&originHeight=4032` becomes `wix%3Aimage%3A%2F%2Fv1%2F0abec0_b291a9349a0b4da59067f76287e386fb~mv2.jpg%2Fleon.jpg%23originWidth%3D3024%26originHeight%3D4032`.
|
|
1921
|
+
* You can also pass the file's Wix media URL. For example, `["wix:image://v1/0abec0_b291a9349a0b4da59067f76287e386fb~mv2.jpg/leon.jpg#originWidth=3024&originHeight=4032"]`.
|
|
1922
|
+
* Learn more in the File and Folder IDs article.
|
|
1925
1923
|
*/
|
|
1926
1924
|
fileId: string;
|
|
1927
1925
|
}
|
|
@@ -1934,7 +1932,7 @@ interface GetFileDescriptorsRequest {
|
|
|
1934
1932
|
* File IDs.
|
|
1935
1933
|
*
|
|
1936
1934
|
* You can also pass the files' Wix media URLs. For example, `["wix:image://v1/0abec0_b291a9349a0b4da59067f76287e386fb~mv2.jpg/leon.jpg#originWidth=3024&originHeight=4032"]`.
|
|
1937
|
-
* Learn more
|
|
1935
|
+
* Learn more in the File and Folder IDs article.
|
|
1938
1936
|
*/
|
|
1939
1937
|
fileIds: string[];
|
|
1940
1938
|
}
|
|
@@ -2242,8 +2240,8 @@ interface GenerateVideoStreamingUrlRequest {
|
|
|
2242
2240
|
/**
|
|
2243
2241
|
* File ID.
|
|
2244
2242
|
*
|
|
2245
|
-
* You can also pass the file's Wix media URL. For example, `wix:image://v1/0abec0_b291a9349a0b4da59067f76287e386fb~mv2.jpg/leon.jpg#originWidth=3024&originHeight=4032`.
|
|
2246
|
-
* Learn more
|
|
2243
|
+
* You can also pass the file's Wix media URL. For example, `["wix:image://v1/0abec0_b291a9349a0b4da59067f76287e386fb~mv2.jpg/leon.jpg#originWidth=3024&originHeight=4032"]`.
|
|
2244
|
+
* Learn more in the File and Folder IDs article.
|
|
2247
2245
|
*/
|
|
2248
2246
|
fileId: string;
|
|
2249
2247
|
/** Video stream format. */
|
|
@@ -2269,7 +2267,7 @@ interface BulkDeleteFilesRequest {
|
|
|
2269
2267
|
* IDs of the files to move to the Media Manager's trash bin.
|
|
2270
2268
|
*
|
|
2271
2269
|
* You can also pass the files' Wix media URLs. For example, `["wix:image://v1/0abec0_b291a9349a0b4da59067f76287e386fb~mv2.jpg/leon.jpg#originWidth=3024&originHeight=4032"]`.
|
|
2272
|
-
* Learn more
|
|
2270
|
+
* Learn more in the File and Folder IDs article.
|
|
2273
2271
|
*/
|
|
2274
2272
|
fileIds: string[];
|
|
2275
2273
|
/**
|
|
@@ -2285,7 +2283,7 @@ interface BulkRestoreFilesFromTrashBinRequest {
|
|
|
2285
2283
|
* IDs of the files to restore from the Media Manager's trash bin.
|
|
2286
2284
|
*
|
|
2287
2285
|
* You can also pass the files' Wix media URLs. For example, `["wix:image://v1/0abec0_b291a9349a0b4da59067f76287e386fb~mv2.jpg/leon.jpg#originWidth=3024&originHeight=4032"]`.
|
|
2288
|
-
* Learn more
|
|
2286
|
+
* Learn more in the File and Folder IDs article.
|
|
2289
2287
|
*/
|
|
2290
2288
|
fileIds: string[];
|
|
2291
2289
|
}
|
|
@@ -2327,8 +2325,8 @@ interface UpdateFileRequest {
|
|
|
2327
2325
|
/**
|
|
2328
2326
|
* ID of the file to update.
|
|
2329
2327
|
*
|
|
2330
|
-
* You can also pass the file's Wix media URL. For example, `wix:image://v1/0abec0_b291a9349a0b4da59067f76287e386fb~mv2.jpg/leon.jpg#originWidth=3024&originHeight=4032`.
|
|
2331
|
-
* Learn more
|
|
2328
|
+
* You can also pass the file's Wix media URL. For example, `["wix:image://v1/0abec0_b291a9349a0b4da59067f76287e386fb~mv2.jpg/leon.jpg#originWidth=3024&originHeight=4032"]`.
|
|
2329
|
+
* Learn more in the File and Folder IDs article.
|
|
2332
2330
|
*/
|
|
2333
2331
|
fileId?: string;
|
|
2334
2332
|
/** File name that appears in the Media Manager. */
|
|
@@ -4001,7 +4001,7 @@ interface GenerateFilesDownloadUrlRequest {
|
|
|
4001
4001
|
* IDs of the files to download.
|
|
4002
4002
|
*
|
|
4003
4003
|
* You can also pass the files' Wix media URLs. For example, `["wix:image://v1/0abec0_b291a9349a0b4da59067f76287e386fb~mv2.jpg/leon.jpg#originWidth=3024&originHeight=4032"]`.
|
|
4004
|
-
* Learn more
|
|
4004
|
+
* Learn more in the File and Folder IDs article.
|
|
4005
4005
|
*/
|
|
4006
4006
|
fileIds: string[];
|
|
4007
4007
|
}
|
|
@@ -4013,8 +4013,8 @@ interface GenerateFileDownloadUrlRequest {
|
|
|
4013
4013
|
/**
|
|
4014
4014
|
* File ID.
|
|
4015
4015
|
*
|
|
4016
|
-
* You can also pass the file's Wix media URL. For example, `wix:image://v1/0abec0_b291a9349a0b4da59067f76287e386fb~mv2.jpg/leon.jpg#originWidth=3024&originHeight=4032`.
|
|
4017
|
-
* Learn more
|
|
4016
|
+
* You can also pass the file's Wix media URL. For example, `["wix:image://v1/0abec0_b291a9349a0b4da59067f76287e386fb~mv2.jpg/leon.jpg#originWidth=3024&originHeight=4032"]`.
|
|
4017
|
+
* Learn more in the File and Folder IDs article.
|
|
4018
4018
|
*/
|
|
4019
4019
|
fileId: string;
|
|
4020
4020
|
/**
|
|
@@ -4072,10 +4072,8 @@ interface GetFileDescriptorRequest {
|
|
|
4072
4072
|
/**
|
|
4073
4073
|
* File ID.
|
|
4074
4074
|
*
|
|
4075
|
-
* You can also pass the file's Wix media URL. For example, `wix:image://v1/0abec0_b291a9349a0b4da59067f76287e386fb~mv2.jpg/leon.jpg#originWidth=3024&originHeight=4032`.
|
|
4076
|
-
* Learn more
|
|
4077
|
-
*
|
|
4078
|
-
* Note that you must encode the Wix media URL to pass it as a query param because it contains special characters. For example, `wix:image://v1/0abec0_b291a9349a0b4da59067f76287e386fb~mv2.jpg/leon.jpg#originWidth=3024&originHeight=4032` becomes `wix%3Aimage%3A%2F%2Fv1%2F0abec0_b291a9349a0b4da59067f76287e386fb~mv2.jpg%2Fleon.jpg%23originWidth%3D3024%26originHeight%3D4032`.
|
|
4075
|
+
* You can also pass the file's Wix media URL. For example, `["wix:image://v1/0abec0_b291a9349a0b4da59067f76287e386fb~mv2.jpg/leon.jpg#originWidth=3024&originHeight=4032"]`.
|
|
4076
|
+
* Learn more in the File and Folder IDs article.
|
|
4079
4077
|
*/
|
|
4080
4078
|
fileId: string;
|
|
4081
4079
|
}
|
|
@@ -4088,7 +4086,7 @@ interface GetFileDescriptorsRequest {
|
|
|
4088
4086
|
* File IDs.
|
|
4089
4087
|
*
|
|
4090
4088
|
* You can also pass the files' Wix media URLs. For example, `["wix:image://v1/0abec0_b291a9349a0b4da59067f76287e386fb~mv2.jpg/leon.jpg#originWidth=3024&originHeight=4032"]`.
|
|
4091
|
-
* Learn more
|
|
4089
|
+
* Learn more in the File and Folder IDs article.
|
|
4092
4090
|
*/
|
|
4093
4091
|
fileIds: string[];
|
|
4094
4092
|
}
|
|
@@ -4396,8 +4394,8 @@ interface GenerateVideoStreamingUrlRequest {
|
|
|
4396
4394
|
/**
|
|
4397
4395
|
* File ID.
|
|
4398
4396
|
*
|
|
4399
|
-
* You can also pass the file's Wix media URL. For example, `wix:image://v1/0abec0_b291a9349a0b4da59067f76287e386fb~mv2.jpg/leon.jpg#originWidth=3024&originHeight=4032`.
|
|
4400
|
-
* Learn more
|
|
4397
|
+
* You can also pass the file's Wix media URL. For example, `["wix:image://v1/0abec0_b291a9349a0b4da59067f76287e386fb~mv2.jpg/leon.jpg#originWidth=3024&originHeight=4032"]`.
|
|
4398
|
+
* Learn more in the File and Folder IDs article.
|
|
4401
4399
|
*/
|
|
4402
4400
|
fileId: string;
|
|
4403
4401
|
/** Video stream format. */
|
|
@@ -4417,7 +4415,7 @@ interface BulkDeleteFilesRequest {
|
|
|
4417
4415
|
* IDs of the files to move to the Media Manager's trash bin.
|
|
4418
4416
|
*
|
|
4419
4417
|
* You can also pass the files' Wix media URLs. For example, `["wix:image://v1/0abec0_b291a9349a0b4da59067f76287e386fb~mv2.jpg/leon.jpg#originWidth=3024&originHeight=4032"]`.
|
|
4420
|
-
* Learn more
|
|
4418
|
+
* Learn more in the File and Folder IDs article.
|
|
4421
4419
|
*/
|
|
4422
4420
|
fileIds: string[];
|
|
4423
4421
|
/**
|
|
@@ -4433,7 +4431,7 @@ interface BulkRestoreFilesFromTrashBinRequest {
|
|
|
4433
4431
|
* IDs of the files to restore from the Media Manager's trash bin.
|
|
4434
4432
|
*
|
|
4435
4433
|
* You can also pass the files' Wix media URLs. For example, `["wix:image://v1/0abec0_b291a9349a0b4da59067f76287e386fb~mv2.jpg/leon.jpg#originWidth=3024&originHeight=4032"]`.
|
|
4436
|
-
* Learn more
|
|
4434
|
+
* Learn more in the File and Folder IDs article.
|
|
4437
4435
|
*/
|
|
4438
4436
|
fileIds: string[];
|
|
4439
4437
|
}
|