@wix/media 1.0.98 → 1.0.100
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 +6 -7
- package/type-bundles/context.bundle.d.ts +259 -122
- package/type-bundles/index.bundle.d.ts +212 -87
- package/type-bundles/meta.bundle.d.ts +30 -30
|
@@ -2265,6 +2265,7 @@ interface GenerateFileUploadUrlRequest$1 {
|
|
|
2265
2265
|
sizeInBytes?: string | null;
|
|
2266
2266
|
/**
|
|
2267
2267
|
* ID of the file's parent folder. <br />
|
|
2268
|
+
* This folder is the path root for the `filePath`.<br />
|
|
2268
2269
|
* Default: `media-root`.
|
|
2269
2270
|
*/
|
|
2270
2271
|
parentFolderId?: string | null;
|
|
@@ -2275,11 +2276,10 @@ interface GenerateFileUploadUrlRequest$1 {
|
|
|
2275
2276
|
/** A place to map an external entity to an uploaded file in the Wix Media Manager. */
|
|
2276
2277
|
externalInfo?: ExternalInfo$1;
|
|
2277
2278
|
/**
|
|
2278
|
-
*
|
|
2279
|
-
*
|
|
2280
|
-
* If
|
|
2281
|
-
*
|
|
2282
|
-
* example: 'videos/2024/december'
|
|
2279
|
+
* Path to the folder where the file will be stored.
|
|
2280
|
+
* For example, `/videos/2024/december`. <br/>
|
|
2281
|
+
* If `parentFolderId` is defined, the parent folder is used as the path root. Otherwise, the root is `media-root`.
|
|
2282
|
+
* The folders in the path will be created if they don't already exist. <br />
|
|
2283
2283
|
*/
|
|
2284
2284
|
filePath?: string | null;
|
|
2285
2285
|
}
|
|
@@ -2302,6 +2302,7 @@ interface GenerateFileResumableUploadUrlRequest$1 {
|
|
|
2302
2302
|
sizeInBytes?: string | null;
|
|
2303
2303
|
/**
|
|
2304
2304
|
* ID of the file's parent folder. <br />
|
|
2305
|
+
* This folder is the path root for the `filePath`.<br />
|
|
2305
2306
|
* Default: `media-root`.
|
|
2306
2307
|
*/
|
|
2307
2308
|
parentFolderId?: string | null;
|
|
@@ -2312,11 +2313,10 @@ interface GenerateFileResumableUploadUrlRequest$1 {
|
|
|
2312
2313
|
/** The upload protocol to use for implementing the resumable upload. */
|
|
2313
2314
|
uploadProtocol?: UploadProtocol$1;
|
|
2314
2315
|
/**
|
|
2315
|
-
*
|
|
2316
|
-
*
|
|
2317
|
-
* If
|
|
2318
|
-
*
|
|
2319
|
-
* example: 'videos/2024/december'
|
|
2316
|
+
* Path to the folder where the file will be stored.
|
|
2317
|
+
* For example, `/videos/2024/december`. <br/>
|
|
2318
|
+
* If `parentFolderId` is defined, the parent folder is used as the path root. Otherwise, the root is `media-root`.
|
|
2319
|
+
* The folders in the path will be created if they don't already exist. <br />
|
|
2320
2320
|
*/
|
|
2321
2321
|
filePath?: string | null;
|
|
2322
2322
|
}
|
|
@@ -2344,6 +2344,7 @@ interface ImportFileRequest$1 {
|
|
|
2344
2344
|
displayName?: string | null;
|
|
2345
2345
|
/**
|
|
2346
2346
|
* ID of the file's parent folder. <br />
|
|
2347
|
+
* This folder is the path root for the `filePath`. <br />
|
|
2347
2348
|
* Default: `media-root`.
|
|
2348
2349
|
*/
|
|
2349
2350
|
parentFolderId?: string | null;
|
|
@@ -2360,11 +2361,10 @@ interface ImportFileRequest$1 {
|
|
|
2360
2361
|
/** Optional headers that should be sent with the external URL. */
|
|
2361
2362
|
urlHeaders?: Record<string, any> | null;
|
|
2362
2363
|
/**
|
|
2363
|
-
*
|
|
2364
|
-
*
|
|
2365
|
-
* If
|
|
2366
|
-
*
|
|
2367
|
-
* example: 'videos/2024/december'
|
|
2364
|
+
* Path to the folder where the file will be stored.
|
|
2365
|
+
* For example, `/videos/2024/december`. <br/>
|
|
2366
|
+
* If `parentFolderId` is defined, the parent folder is used as the path root. Otherwise, the root is `media-root`.
|
|
2367
|
+
* The folders in the path will be created if they don't already exist. <br />
|
|
2368
2368
|
*/
|
|
2369
2369
|
filePath?: string | null;
|
|
2370
2370
|
}
|
|
@@ -4117,6 +4117,7 @@ interface GenerateFileUploadUrlRequest {
|
|
|
4117
4117
|
sizeInBytes?: string | null;
|
|
4118
4118
|
/**
|
|
4119
4119
|
* ID of the file's parent folder. <br />
|
|
4120
|
+
* This folder is the path root for the `filePath`.<br />
|
|
4120
4121
|
* Default: `media-root`.
|
|
4121
4122
|
*/
|
|
4122
4123
|
parentFolderId?: string | null;
|
|
@@ -4127,11 +4128,10 @@ interface GenerateFileUploadUrlRequest {
|
|
|
4127
4128
|
/** Information sent to the `onFileDescriptorFileReady( )` and `onFileDescriptorFileFailed( )` events. See the Importing Files article to learn more. */
|
|
4128
4129
|
externalInfo?: ExternalInfo;
|
|
4129
4130
|
/**
|
|
4130
|
-
*
|
|
4131
|
-
*
|
|
4132
|
-
* If
|
|
4133
|
-
*
|
|
4134
|
-
* example: 'videos/2024/december'
|
|
4131
|
+
* Path to the folder where the file will be stored.
|
|
4132
|
+
* For example, `/videos/2024/december`. <br/>
|
|
4133
|
+
* If `parentFolderId` is defined, the parent folder is used as the path root. Otherwise, the root is `media-root`.
|
|
4134
|
+
* The folders in the path will be created if they don't already exist. <br />
|
|
4135
4135
|
*/
|
|
4136
4136
|
filePath?: string | null;
|
|
4137
4137
|
}
|
|
@@ -4154,6 +4154,7 @@ interface GenerateFileResumableUploadUrlRequest {
|
|
|
4154
4154
|
sizeInBytes?: string | null;
|
|
4155
4155
|
/**
|
|
4156
4156
|
* ID of the file's parent folder. <br />
|
|
4157
|
+
* This folder is the path root for the `filePath`.<br />
|
|
4157
4158
|
* Default: `media-root`.
|
|
4158
4159
|
*/
|
|
4159
4160
|
parentFolderId?: string | null;
|
|
@@ -4164,11 +4165,10 @@ interface GenerateFileResumableUploadUrlRequest {
|
|
|
4164
4165
|
/** The upload protocol to use for implementing the resumable upload. */
|
|
4165
4166
|
uploadProtocol?: UploadProtocol;
|
|
4166
4167
|
/**
|
|
4167
|
-
*
|
|
4168
|
-
*
|
|
4169
|
-
* If
|
|
4170
|
-
*
|
|
4171
|
-
* example: 'videos/2024/december'
|
|
4168
|
+
* Path to the folder where the file will be stored.
|
|
4169
|
+
* For example, `/videos/2024/december`. <br/>
|
|
4170
|
+
* If `parentFolderId` is defined, the parent folder is used as the path root. Otherwise, the root is `media-root`.
|
|
4171
|
+
* The folders in the path will be created if they don't already exist. <br />
|
|
4172
4172
|
*/
|
|
4173
4173
|
filePath?: string | null;
|
|
4174
4174
|
}
|
|
@@ -4197,6 +4197,7 @@ interface ImportFileRequest {
|
|
|
4197
4197
|
displayName?: string | null;
|
|
4198
4198
|
/**
|
|
4199
4199
|
* ID of the file's parent folder. <br />
|
|
4200
|
+
* This folder is the path root for the `filePath`. <br />
|
|
4200
4201
|
* Default: `media-root`.
|
|
4201
4202
|
*/
|
|
4202
4203
|
parentFolderId?: string | null;
|
|
@@ -4213,11 +4214,10 @@ interface ImportFileRequest {
|
|
|
4213
4214
|
/** Optional headers that should be sent with the external URL. */
|
|
4214
4215
|
urlHeaders?: Record<string, any> | null;
|
|
4215
4216
|
/**
|
|
4216
|
-
*
|
|
4217
|
-
*
|
|
4218
|
-
* If
|
|
4219
|
-
*
|
|
4220
|
-
* example: 'videos/2024/december'
|
|
4217
|
+
* Path to the folder where the file will be stored.
|
|
4218
|
+
* For example, `/videos/2024/december`. <br/>
|
|
4219
|
+
* If `parentFolderId` is defined, the parent folder is used as the path root. Otherwise, the root is `media-root`.
|
|
4220
|
+
* The folders in the path will be created if they don't already exist. <br />
|
|
4221
4221
|
*/
|
|
4222
4222
|
filePath?: string | null;
|
|
4223
4223
|
}
|