@wix/auto_sdk_data_collections 1.0.103 → 1.0.105
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/build/cjs/index.d.ts +174 -3
- package/build/cjs/index.js +36 -282
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +232 -1
- package/build/cjs/index.typings.js +36 -282
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +2 -0
- package/build/cjs/meta.js +36 -282
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +174 -3
- package/build/es/index.mjs +36 -282
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +232 -1
- package/build/es/index.typings.mjs +36 -282
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +2 -0
- package/build/es/meta.mjs +36 -282
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +0 -36
- package/build/internal/cjs/index.typings.d.ts +26 -18
- package/build/internal/cjs/meta.d.ts +8 -0
- package/build/internal/es/index.d.mts +0 -36
- package/build/internal/es/index.typings.d.mts +26 -18
- package/build/internal/es/meta.d.mts +8 -0
- package/package.json +2 -2
package/build/cjs/meta.d.ts
CHANGED
|
@@ -942,6 +942,8 @@ interface AllowedDraftPermissions {
|
|
|
942
942
|
manageDrafts?: boolean;
|
|
943
943
|
/** If manage_publish_status is permitted for the caller. */
|
|
944
944
|
managePublishStatus?: boolean;
|
|
945
|
+
/** If the caller can view draft items. */
|
|
946
|
+
viewDrafts?: boolean;
|
|
945
947
|
}
|
|
946
948
|
declare enum PluginType {
|
|
947
949
|
/** Allows items to be marked as either draft or published. For each item you can set a publishing time when the item will become visible to site visitors. */
|
package/build/cjs/meta.js
CHANGED
|
@@ -190,356 +190,110 @@ var TRANSFORM_PATHS_10 = [
|
|
|
190
190
|
];
|
|
191
191
|
function resolveComWixpressCloudDataApiCollectionserviceDataCollectionServiceUrl(opts) {
|
|
192
192
|
const domainToMappings = {
|
|
193
|
-
"
|
|
194
|
-
{
|
|
195
|
-
srcPath: "/cloud-data",
|
|
196
|
-
destPath: ""
|
|
197
|
-
}
|
|
198
|
-
],
|
|
199
|
-
"code._base_domain_": [
|
|
200
|
-
{
|
|
201
|
-
srcPath: "/_api/cloud-data/v1/data-settings",
|
|
202
|
-
destPath: "/v1/data-settings"
|
|
203
|
-
},
|
|
193
|
+
"editor._base_domain_": [
|
|
204
194
|
{
|
|
205
195
|
srcPath: "/_api/cloud-data/v1/schemas",
|
|
206
196
|
destPath: "/v1/schemas"
|
|
207
197
|
},
|
|
208
198
|
{
|
|
209
|
-
srcPath: "/_api/cloud-data/
|
|
210
|
-
destPath: "/
|
|
211
|
-
},
|
|
212
|
-
{
|
|
213
|
-
srcPath: "/_api/data/v1/data-settings",
|
|
214
|
-
destPath: "/v1/data-settings"
|
|
215
|
-
},
|
|
216
|
-
{
|
|
217
|
-
srcPath: "/_api/data/v1/schemas",
|
|
218
|
-
destPath: "/v1/schemas"
|
|
219
|
-
},
|
|
220
|
-
{
|
|
221
|
-
srcPath: "/_api/data/v1/connector",
|
|
222
|
-
destPath: "/v1/connector"
|
|
223
|
-
},
|
|
224
|
-
{
|
|
225
|
-
srcPath: "/_api/cloud-data/v1/wix-data",
|
|
226
|
-
destPath: "/v1/wix-data"
|
|
199
|
+
srcPath: "/_api/cloud-data/v2/collections",
|
|
200
|
+
destPath: "/v2/collections"
|
|
227
201
|
}
|
|
228
202
|
],
|
|
229
|
-
"
|
|
203
|
+
"blocks._base_domain_": [
|
|
230
204
|
{
|
|
231
|
-
srcPath: "",
|
|
232
|
-
destPath: ""
|
|
233
|
-
}
|
|
234
|
-
],
|
|
235
|
-
_: [
|
|
205
|
+
srcPath: "/_api/cloud-data/v1/schemas",
|
|
206
|
+
destPath: "/v1/schemas"
|
|
207
|
+
},
|
|
236
208
|
{
|
|
237
|
-
srcPath: "/_api/cloud-data",
|
|
238
|
-
destPath: ""
|
|
209
|
+
srcPath: "/_api/cloud-data/v2/collections",
|
|
210
|
+
destPath: "/v2/collections"
|
|
239
211
|
}
|
|
240
212
|
],
|
|
241
|
-
"
|
|
242
|
-
{
|
|
243
|
-
srcPath: "/_api/cloud-data",
|
|
244
|
-
destPath: ""
|
|
245
|
-
},
|
|
213
|
+
"create.editorx": [
|
|
246
214
|
{
|
|
247
|
-
srcPath: "/_api/data",
|
|
248
|
-
destPath: ""
|
|
215
|
+
srcPath: "/_api/cloud-data/v1/schemas",
|
|
216
|
+
destPath: "/v1/schemas"
|
|
249
217
|
},
|
|
250
218
|
{
|
|
251
|
-
srcPath: "/_api/cloud-data",
|
|
252
|
-
destPath: ""
|
|
219
|
+
srcPath: "/_api/cloud-data/v2/collections",
|
|
220
|
+
destPath: "/v2/collections"
|
|
253
221
|
}
|
|
254
222
|
],
|
|
255
|
-
"
|
|
223
|
+
"www.wixapis.com": [
|
|
256
224
|
{
|
|
257
|
-
srcPath: "/
|
|
258
|
-
destPath: ""
|
|
225
|
+
srcPath: "/data/v2/collections",
|
|
226
|
+
destPath: "/v2/collections"
|
|
259
227
|
}
|
|
260
228
|
],
|
|
261
229
|
"bo._base_domain_": [
|
|
262
230
|
{
|
|
263
|
-
srcPath: "/_api/cloud-data/v1",
|
|
264
|
-
destPath: "/v1"
|
|
231
|
+
srcPath: "/_api/cloud-data/v1/schemas",
|
|
232
|
+
destPath: "/v1/schemas"
|
|
265
233
|
},
|
|
266
234
|
{
|
|
267
|
-
srcPath: "/_api/cloud-data/v2",
|
|
268
|
-
destPath: "/v2"
|
|
235
|
+
srcPath: "/_api/cloud-data/v2/collections",
|
|
236
|
+
destPath: "/v2/collections"
|
|
269
237
|
}
|
|
270
238
|
],
|
|
271
239
|
"wixbo.ai": [
|
|
272
240
|
{
|
|
273
|
-
srcPath: "/_api/cloud-data/v1",
|
|
274
|
-
destPath: "/v1"
|
|
241
|
+
srcPath: "/_api/cloud-data/v1/schemas",
|
|
242
|
+
destPath: "/v1/schemas"
|
|
275
243
|
},
|
|
276
244
|
{
|
|
277
|
-
srcPath: "/_api/cloud-data/v2",
|
|
278
|
-
destPath: "/v2"
|
|
245
|
+
srcPath: "/_api/cloud-data/v2/collections",
|
|
246
|
+
destPath: "/v2/collections"
|
|
279
247
|
}
|
|
280
248
|
],
|
|
281
249
|
"wix-bo.com": [
|
|
282
|
-
{
|
|
283
|
-
srcPath: "/_api/cloud-data/v1",
|
|
284
|
-
destPath: "/v1"
|
|
285
|
-
},
|
|
286
|
-
{
|
|
287
|
-
srcPath: "/_api/cloud-data/v2",
|
|
288
|
-
destPath: "/v2"
|
|
289
|
-
}
|
|
290
|
-
],
|
|
291
|
-
"manage._base_domain_": [
|
|
292
|
-
{
|
|
293
|
-
srcPath: "/_api/cloud-data",
|
|
294
|
-
destPath: ""
|
|
295
|
-
},
|
|
296
|
-
{
|
|
297
|
-
srcPath: "/_api/data",
|
|
298
|
-
destPath: ""
|
|
299
|
-
},
|
|
300
|
-
{
|
|
301
|
-
srcPath: "/_api/cloud-data",
|
|
302
|
-
destPath: ""
|
|
303
|
-
}
|
|
304
|
-
],
|
|
305
|
-
"editor._base_domain_": [
|
|
306
250
|
{
|
|
307
251
|
srcPath: "/_api/cloud-data/v1/schemas",
|
|
308
252
|
destPath: "/v1/schemas"
|
|
309
253
|
},
|
|
310
|
-
{
|
|
311
|
-
srcPath: "/_api/cloud-data/dbs/tasks",
|
|
312
|
-
destPath: "/dbs/tasks"
|
|
313
|
-
},
|
|
314
|
-
{
|
|
315
|
-
srcPath: "/_api/data/v1/schemas",
|
|
316
|
-
destPath: "/v1/schemas"
|
|
317
|
-
},
|
|
318
|
-
{
|
|
319
|
-
srcPath: "/_api/data/dbs/tasks",
|
|
320
|
-
destPath: "/dbs/tasks"
|
|
321
|
-
},
|
|
322
|
-
{
|
|
323
|
-
srcPath: "/_api/cloud-data/v1/wix-data",
|
|
324
|
-
destPath: "/v1/wix-data"
|
|
325
|
-
},
|
|
326
|
-
{
|
|
327
|
-
srcPath: "/_api/cloud-data/v1/data-settings",
|
|
328
|
-
destPath: "/v1/data-settings"
|
|
329
|
-
},
|
|
330
|
-
{
|
|
331
|
-
srcPath: "/_api/data/v2/indexes",
|
|
332
|
-
destPath: "/v2/indexes"
|
|
333
|
-
},
|
|
334
|
-
{
|
|
335
|
-
srcPath: "/_api/cloud-data/v1/external-database-connections",
|
|
336
|
-
destPath: "/v1/external-database-connections"
|
|
337
|
-
},
|
|
338
|
-
{
|
|
339
|
-
srcPath: "/_api/data/v1/data-collection-sharing",
|
|
340
|
-
destPath: "/v1/data-collection-sharing"
|
|
341
|
-
},
|
|
342
254
|
{
|
|
343
255
|
srcPath: "/_api/cloud-data/v2/collections",
|
|
344
256
|
destPath: "/v2/collections"
|
|
345
|
-
},
|
|
346
|
-
{
|
|
347
|
-
srcPath: "/_api/cloud-data/v2/bulk",
|
|
348
|
-
destPath: "/v2/bulk"
|
|
349
|
-
},
|
|
350
|
-
{
|
|
351
|
-
srcPath: "/_api/cloud-data/v2/items",
|
|
352
|
-
destPath: "/v2/items"
|
|
353
|
-
},
|
|
354
|
-
{
|
|
355
|
-
srcPath: "/_api/cloud-data/v2/dbs/tasks",
|
|
356
|
-
destPath: "/v2/dbs/tasks"
|
|
357
257
|
}
|
|
358
258
|
],
|
|
359
|
-
"
|
|
259
|
+
"cloud-data.wix-code.com": [
|
|
360
260
|
{
|
|
361
261
|
srcPath: "/_api/cloud-data/v1/schemas",
|
|
362
262
|
destPath: "/v1/schemas"
|
|
363
263
|
},
|
|
364
|
-
{
|
|
365
|
-
srcPath: "/_api/cloud-data/dbs/tasks",
|
|
366
|
-
destPath: "/dbs/tasks"
|
|
367
|
-
},
|
|
368
|
-
{
|
|
369
|
-
srcPath: "/_api/data/v1/schemas",
|
|
370
|
-
destPath: "/v1/schemas"
|
|
371
|
-
},
|
|
372
|
-
{
|
|
373
|
-
srcPath: "/_api/data/dbs/tasks",
|
|
374
|
-
destPath: "/dbs/tasks"
|
|
375
|
-
},
|
|
376
|
-
{
|
|
377
|
-
srcPath: "/_api/cloud-data/v1/wix-data",
|
|
378
|
-
destPath: "/v1/wix-data"
|
|
379
|
-
},
|
|
380
|
-
{
|
|
381
|
-
srcPath: "/_api/cloud-data/v1/data-settings",
|
|
382
|
-
destPath: "/v1/data-settings"
|
|
383
|
-
},
|
|
384
|
-
{
|
|
385
|
-
srcPath: "/_api/data/v2/indexes",
|
|
386
|
-
destPath: "/v2/indexes"
|
|
387
|
-
},
|
|
388
|
-
{
|
|
389
|
-
srcPath: "/_api/cloud-data/v1/external-database-connections",
|
|
390
|
-
destPath: "/v1/external-database-connections"
|
|
391
|
-
},
|
|
392
|
-
{
|
|
393
|
-
srcPath: "/_api/data/v1/data-collection-sharing",
|
|
394
|
-
destPath: "/v1/data-collection-sharing"
|
|
395
|
-
},
|
|
396
264
|
{
|
|
397
265
|
srcPath: "/_api/cloud-data/v2/collections",
|
|
398
266
|
destPath: "/v2/collections"
|
|
399
|
-
},
|
|
400
|
-
{
|
|
401
|
-
srcPath: "/_api/cloud-data/v2/bulk",
|
|
402
|
-
destPath: "/v2/bulk"
|
|
403
|
-
},
|
|
404
|
-
{
|
|
405
|
-
srcPath: "/_api/cloud-data/v2/items",
|
|
406
|
-
destPath: "/v2/items"
|
|
407
|
-
},
|
|
408
|
-
{
|
|
409
|
-
srcPath: "/_api/cloud-data/v2/dbs/tasks",
|
|
410
|
-
destPath: "/v2/dbs/tasks"
|
|
411
267
|
}
|
|
412
268
|
],
|
|
413
|
-
"
|
|
269
|
+
"dev._base_domain_": [
|
|
414
270
|
{
|
|
415
271
|
srcPath: "/_api/cloud-data/v1/schemas",
|
|
416
272
|
destPath: "/v1/schemas"
|
|
417
273
|
},
|
|
418
|
-
{
|
|
419
|
-
srcPath: "/_api/cloud-data/dbs/tasks",
|
|
420
|
-
destPath: "/dbs/tasks"
|
|
421
|
-
},
|
|
422
|
-
{
|
|
423
|
-
srcPath: "/_api/data/v1/schemas",
|
|
424
|
-
destPath: "/v1/schemas"
|
|
425
|
-
},
|
|
426
|
-
{
|
|
427
|
-
srcPath: "/_api/data/dbs/tasks",
|
|
428
|
-
destPath: "/dbs/tasks"
|
|
429
|
-
},
|
|
430
|
-
{
|
|
431
|
-
srcPath: "/_api/cloud-data/v1/wix-data",
|
|
432
|
-
destPath: "/v1/wix-data"
|
|
433
|
-
},
|
|
434
|
-
{
|
|
435
|
-
srcPath: "/_api/cloud-data/v1/data-settings",
|
|
436
|
-
destPath: "/v1/data-settings"
|
|
437
|
-
},
|
|
438
|
-
{
|
|
439
|
-
srcPath: "/_api/data/v2/indexes",
|
|
440
|
-
destPath: "/v2/indexes"
|
|
441
|
-
},
|
|
442
|
-
{
|
|
443
|
-
srcPath: "/_api/cloud-data/v1/external-database-connections",
|
|
444
|
-
destPath: "/v1/external-database-connections"
|
|
445
|
-
},
|
|
446
|
-
{
|
|
447
|
-
srcPath: "/_api/data/v1/data-collection-sharing",
|
|
448
|
-
destPath: "/v1/data-collection-sharing"
|
|
449
|
-
},
|
|
450
274
|
{
|
|
451
275
|
srcPath: "/_api/cloud-data/v2/collections",
|
|
452
276
|
destPath: "/v2/collections"
|
|
453
|
-
},
|
|
454
|
-
{
|
|
455
|
-
srcPath: "/_api/cloud-data/v2/bulk",
|
|
456
|
-
destPath: "/v2/bulk"
|
|
457
|
-
},
|
|
458
|
-
{
|
|
459
|
-
srcPath: "/_api/cloud-data/v2/items",
|
|
460
|
-
destPath: "/v2/items"
|
|
461
|
-
},
|
|
462
|
-
{
|
|
463
|
-
srcPath: "/_api/cloud-data/v2/dbs/tasks",
|
|
464
|
-
destPath: "/v2/dbs/tasks"
|
|
465
277
|
}
|
|
466
278
|
],
|
|
467
|
-
|
|
468
|
-
{
|
|
469
|
-
srcPath: "/wix-data/v1/collections",
|
|
470
|
-
destPath: "/v1/wix-data/collections"
|
|
471
|
-
},
|
|
472
|
-
{
|
|
473
|
-
srcPath: "/wix-data/v1/external-database-connections",
|
|
474
|
-
destPath: "/v1/external-database-connections"
|
|
475
|
-
},
|
|
476
|
-
{
|
|
477
|
-
srcPath: "/wix-data/v2/indexes",
|
|
478
|
-
destPath: "/v2/indexes"
|
|
479
|
-
},
|
|
480
|
-
{
|
|
481
|
-
srcPath: "/wix-data/v1/items",
|
|
482
|
-
destPath: "/v1/items"
|
|
483
|
-
},
|
|
484
|
-
{
|
|
485
|
-
srcPath: "/wix-data/v1/bulk",
|
|
486
|
-
destPath: "/v1/bulk"
|
|
487
|
-
},
|
|
488
|
-
{
|
|
489
|
-
srcPath: "/wix-data/v1/external-databases",
|
|
490
|
-
destPath: "/v1/external-databases"
|
|
491
|
-
},
|
|
279
|
+
_: [
|
|
492
280
|
{
|
|
493
|
-
srcPath: "/
|
|
494
|
-
destPath: "/
|
|
281
|
+
srcPath: "/_api/cloud-data/v1/schemas",
|
|
282
|
+
destPath: "/v1/schemas"
|
|
495
283
|
},
|
|
496
284
|
{
|
|
497
|
-
srcPath: "/data/v2/collections",
|
|
285
|
+
srcPath: "/_api/cloud-data/v2/collections",
|
|
498
286
|
destPath: "/v2/collections"
|
|
499
|
-
},
|
|
500
|
-
{
|
|
501
|
-
srcPath: "/data/v2/items",
|
|
502
|
-
destPath: "/v2/items"
|
|
503
|
-
},
|
|
504
|
-
{
|
|
505
|
-
srcPath: "/data/v2/bulk/items",
|
|
506
|
-
destPath: "/v2/bulk/items"
|
|
507
|
-
},
|
|
508
|
-
{
|
|
509
|
-
srcPath: "/data/v2/indexes",
|
|
510
|
-
destPath: "/v2/indexes"
|
|
511
|
-
},
|
|
512
|
-
{
|
|
513
|
-
srcPath: "/data/v1/external-database-connections",
|
|
514
|
-
destPath: "/v1/external-database-connections"
|
|
515
|
-
},
|
|
516
|
-
{
|
|
517
|
-
srcPath: "/data/v1/data-collection-sharing",
|
|
518
|
-
destPath: "/v1/data-collection-sharing"
|
|
519
287
|
}
|
|
520
288
|
],
|
|
521
|
-
"
|
|
522
|
-
{
|
|
523
|
-
srcPath: "/wix-data/v1/items",
|
|
524
|
-
destPath: "/v1/items"
|
|
525
|
-
},
|
|
526
|
-
{
|
|
527
|
-
srcPath: "/wix-data/v1/bulk",
|
|
528
|
-
destPath: "/v1/bulk"
|
|
529
|
-
}
|
|
530
|
-
],
|
|
531
|
-
"*.dev.wix-code.com": [
|
|
532
|
-
{
|
|
533
|
-
srcPath: "/_api/cloud-data/v2",
|
|
534
|
-
destPath: "/v2"
|
|
535
|
-
},
|
|
289
|
+
"manage._base_domain_": [
|
|
536
290
|
{
|
|
537
|
-
srcPath: "/_api/cloud-data/v1/
|
|
538
|
-
destPath: "/v1/
|
|
291
|
+
srcPath: "/_api/cloud-data/v1/schemas",
|
|
292
|
+
destPath: "/v1/schemas"
|
|
539
293
|
},
|
|
540
294
|
{
|
|
541
|
-
srcPath: "/data/
|
|
542
|
-
destPath: "/
|
|
295
|
+
srcPath: "/_api/cloud-data/v2/collections",
|
|
296
|
+
destPath: "/v2/collections"
|
|
543
297
|
}
|
|
544
298
|
]
|
|
545
299
|
};
|