@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/es/index.mjs
CHANGED
|
@@ -115,356 +115,110 @@ var TRANSFORM_PATHS_10 = [
|
|
|
115
115
|
];
|
|
116
116
|
function resolveComWixpressCloudDataApiCollectionserviceDataCollectionServiceUrl(opts) {
|
|
117
117
|
const domainToMappings = {
|
|
118
|
-
"
|
|
119
|
-
{
|
|
120
|
-
srcPath: "/cloud-data",
|
|
121
|
-
destPath: ""
|
|
122
|
-
}
|
|
123
|
-
],
|
|
124
|
-
"code._base_domain_": [
|
|
125
|
-
{
|
|
126
|
-
srcPath: "/_api/cloud-data/v1/data-settings",
|
|
127
|
-
destPath: "/v1/data-settings"
|
|
128
|
-
},
|
|
118
|
+
"editor._base_domain_": [
|
|
129
119
|
{
|
|
130
120
|
srcPath: "/_api/cloud-data/v1/schemas",
|
|
131
121
|
destPath: "/v1/schemas"
|
|
132
122
|
},
|
|
133
123
|
{
|
|
134
|
-
srcPath: "/_api/cloud-data/
|
|
135
|
-
destPath: "/
|
|
136
|
-
},
|
|
137
|
-
{
|
|
138
|
-
srcPath: "/_api/data/v1/data-settings",
|
|
139
|
-
destPath: "/v1/data-settings"
|
|
140
|
-
},
|
|
141
|
-
{
|
|
142
|
-
srcPath: "/_api/data/v1/schemas",
|
|
143
|
-
destPath: "/v1/schemas"
|
|
144
|
-
},
|
|
145
|
-
{
|
|
146
|
-
srcPath: "/_api/data/v1/connector",
|
|
147
|
-
destPath: "/v1/connector"
|
|
148
|
-
},
|
|
149
|
-
{
|
|
150
|
-
srcPath: "/_api/cloud-data/v1/wix-data",
|
|
151
|
-
destPath: "/v1/wix-data"
|
|
124
|
+
srcPath: "/_api/cloud-data/v2/collections",
|
|
125
|
+
destPath: "/v2/collections"
|
|
152
126
|
}
|
|
153
127
|
],
|
|
154
|
-
"
|
|
128
|
+
"blocks._base_domain_": [
|
|
155
129
|
{
|
|
156
|
-
srcPath: "",
|
|
157
|
-
destPath: ""
|
|
158
|
-
}
|
|
159
|
-
],
|
|
160
|
-
_: [
|
|
130
|
+
srcPath: "/_api/cloud-data/v1/schemas",
|
|
131
|
+
destPath: "/v1/schemas"
|
|
132
|
+
},
|
|
161
133
|
{
|
|
162
|
-
srcPath: "/_api/cloud-data",
|
|
163
|
-
destPath: ""
|
|
134
|
+
srcPath: "/_api/cloud-data/v2/collections",
|
|
135
|
+
destPath: "/v2/collections"
|
|
164
136
|
}
|
|
165
137
|
],
|
|
166
|
-
"
|
|
167
|
-
{
|
|
168
|
-
srcPath: "/_api/cloud-data",
|
|
169
|
-
destPath: ""
|
|
170
|
-
},
|
|
138
|
+
"create.editorx": [
|
|
171
139
|
{
|
|
172
|
-
srcPath: "/_api/data",
|
|
173
|
-
destPath: ""
|
|
140
|
+
srcPath: "/_api/cloud-data/v1/schemas",
|
|
141
|
+
destPath: "/v1/schemas"
|
|
174
142
|
},
|
|
175
143
|
{
|
|
176
|
-
srcPath: "/_api/cloud-data",
|
|
177
|
-
destPath: ""
|
|
144
|
+
srcPath: "/_api/cloud-data/v2/collections",
|
|
145
|
+
destPath: "/v2/collections"
|
|
178
146
|
}
|
|
179
147
|
],
|
|
180
|
-
"
|
|
148
|
+
"www.wixapis.com": [
|
|
181
149
|
{
|
|
182
|
-
srcPath: "/
|
|
183
|
-
destPath: ""
|
|
150
|
+
srcPath: "/data/v2/collections",
|
|
151
|
+
destPath: "/v2/collections"
|
|
184
152
|
}
|
|
185
153
|
],
|
|
186
154
|
"bo._base_domain_": [
|
|
187
155
|
{
|
|
188
|
-
srcPath: "/_api/cloud-data/v1",
|
|
189
|
-
destPath: "/v1"
|
|
156
|
+
srcPath: "/_api/cloud-data/v1/schemas",
|
|
157
|
+
destPath: "/v1/schemas"
|
|
190
158
|
},
|
|
191
159
|
{
|
|
192
|
-
srcPath: "/_api/cloud-data/v2",
|
|
193
|
-
destPath: "/v2"
|
|
160
|
+
srcPath: "/_api/cloud-data/v2/collections",
|
|
161
|
+
destPath: "/v2/collections"
|
|
194
162
|
}
|
|
195
163
|
],
|
|
196
164
|
"wixbo.ai": [
|
|
197
165
|
{
|
|
198
|
-
srcPath: "/_api/cloud-data/v1",
|
|
199
|
-
destPath: "/v1"
|
|
166
|
+
srcPath: "/_api/cloud-data/v1/schemas",
|
|
167
|
+
destPath: "/v1/schemas"
|
|
200
168
|
},
|
|
201
169
|
{
|
|
202
|
-
srcPath: "/_api/cloud-data/v2",
|
|
203
|
-
destPath: "/v2"
|
|
170
|
+
srcPath: "/_api/cloud-data/v2/collections",
|
|
171
|
+
destPath: "/v2/collections"
|
|
204
172
|
}
|
|
205
173
|
],
|
|
206
174
|
"wix-bo.com": [
|
|
207
|
-
{
|
|
208
|
-
srcPath: "/_api/cloud-data/v1",
|
|
209
|
-
destPath: "/v1"
|
|
210
|
-
},
|
|
211
|
-
{
|
|
212
|
-
srcPath: "/_api/cloud-data/v2",
|
|
213
|
-
destPath: "/v2"
|
|
214
|
-
}
|
|
215
|
-
],
|
|
216
|
-
"manage._base_domain_": [
|
|
217
|
-
{
|
|
218
|
-
srcPath: "/_api/cloud-data",
|
|
219
|
-
destPath: ""
|
|
220
|
-
},
|
|
221
|
-
{
|
|
222
|
-
srcPath: "/_api/data",
|
|
223
|
-
destPath: ""
|
|
224
|
-
},
|
|
225
|
-
{
|
|
226
|
-
srcPath: "/_api/cloud-data",
|
|
227
|
-
destPath: ""
|
|
228
|
-
}
|
|
229
|
-
],
|
|
230
|
-
"editor._base_domain_": [
|
|
231
175
|
{
|
|
232
176
|
srcPath: "/_api/cloud-data/v1/schemas",
|
|
233
177
|
destPath: "/v1/schemas"
|
|
234
178
|
},
|
|
235
|
-
{
|
|
236
|
-
srcPath: "/_api/cloud-data/dbs/tasks",
|
|
237
|
-
destPath: "/dbs/tasks"
|
|
238
|
-
},
|
|
239
|
-
{
|
|
240
|
-
srcPath: "/_api/data/v1/schemas",
|
|
241
|
-
destPath: "/v1/schemas"
|
|
242
|
-
},
|
|
243
|
-
{
|
|
244
|
-
srcPath: "/_api/data/dbs/tasks",
|
|
245
|
-
destPath: "/dbs/tasks"
|
|
246
|
-
},
|
|
247
|
-
{
|
|
248
|
-
srcPath: "/_api/cloud-data/v1/wix-data",
|
|
249
|
-
destPath: "/v1/wix-data"
|
|
250
|
-
},
|
|
251
|
-
{
|
|
252
|
-
srcPath: "/_api/cloud-data/v1/data-settings",
|
|
253
|
-
destPath: "/v1/data-settings"
|
|
254
|
-
},
|
|
255
|
-
{
|
|
256
|
-
srcPath: "/_api/data/v2/indexes",
|
|
257
|
-
destPath: "/v2/indexes"
|
|
258
|
-
},
|
|
259
|
-
{
|
|
260
|
-
srcPath: "/_api/cloud-data/v1/external-database-connections",
|
|
261
|
-
destPath: "/v1/external-database-connections"
|
|
262
|
-
},
|
|
263
|
-
{
|
|
264
|
-
srcPath: "/_api/data/v1/data-collection-sharing",
|
|
265
|
-
destPath: "/v1/data-collection-sharing"
|
|
266
|
-
},
|
|
267
179
|
{
|
|
268
180
|
srcPath: "/_api/cloud-data/v2/collections",
|
|
269
181
|
destPath: "/v2/collections"
|
|
270
|
-
},
|
|
271
|
-
{
|
|
272
|
-
srcPath: "/_api/cloud-data/v2/bulk",
|
|
273
|
-
destPath: "/v2/bulk"
|
|
274
|
-
},
|
|
275
|
-
{
|
|
276
|
-
srcPath: "/_api/cloud-data/v2/items",
|
|
277
|
-
destPath: "/v2/items"
|
|
278
|
-
},
|
|
279
|
-
{
|
|
280
|
-
srcPath: "/_api/cloud-data/v2/dbs/tasks",
|
|
281
|
-
destPath: "/v2/dbs/tasks"
|
|
282
182
|
}
|
|
283
183
|
],
|
|
284
|
-
"
|
|
184
|
+
"cloud-data.wix-code.com": [
|
|
285
185
|
{
|
|
286
186
|
srcPath: "/_api/cloud-data/v1/schemas",
|
|
287
187
|
destPath: "/v1/schemas"
|
|
288
188
|
},
|
|
289
|
-
{
|
|
290
|
-
srcPath: "/_api/cloud-data/dbs/tasks",
|
|
291
|
-
destPath: "/dbs/tasks"
|
|
292
|
-
},
|
|
293
|
-
{
|
|
294
|
-
srcPath: "/_api/data/v1/schemas",
|
|
295
|
-
destPath: "/v1/schemas"
|
|
296
|
-
},
|
|
297
|
-
{
|
|
298
|
-
srcPath: "/_api/data/dbs/tasks",
|
|
299
|
-
destPath: "/dbs/tasks"
|
|
300
|
-
},
|
|
301
|
-
{
|
|
302
|
-
srcPath: "/_api/cloud-data/v1/wix-data",
|
|
303
|
-
destPath: "/v1/wix-data"
|
|
304
|
-
},
|
|
305
|
-
{
|
|
306
|
-
srcPath: "/_api/cloud-data/v1/data-settings",
|
|
307
|
-
destPath: "/v1/data-settings"
|
|
308
|
-
},
|
|
309
|
-
{
|
|
310
|
-
srcPath: "/_api/data/v2/indexes",
|
|
311
|
-
destPath: "/v2/indexes"
|
|
312
|
-
},
|
|
313
|
-
{
|
|
314
|
-
srcPath: "/_api/cloud-data/v1/external-database-connections",
|
|
315
|
-
destPath: "/v1/external-database-connections"
|
|
316
|
-
},
|
|
317
|
-
{
|
|
318
|
-
srcPath: "/_api/data/v1/data-collection-sharing",
|
|
319
|
-
destPath: "/v1/data-collection-sharing"
|
|
320
|
-
},
|
|
321
189
|
{
|
|
322
190
|
srcPath: "/_api/cloud-data/v2/collections",
|
|
323
191
|
destPath: "/v2/collections"
|
|
324
|
-
},
|
|
325
|
-
{
|
|
326
|
-
srcPath: "/_api/cloud-data/v2/bulk",
|
|
327
|
-
destPath: "/v2/bulk"
|
|
328
|
-
},
|
|
329
|
-
{
|
|
330
|
-
srcPath: "/_api/cloud-data/v2/items",
|
|
331
|
-
destPath: "/v2/items"
|
|
332
|
-
},
|
|
333
|
-
{
|
|
334
|
-
srcPath: "/_api/cloud-data/v2/dbs/tasks",
|
|
335
|
-
destPath: "/v2/dbs/tasks"
|
|
336
192
|
}
|
|
337
193
|
],
|
|
338
|
-
"
|
|
194
|
+
"dev._base_domain_": [
|
|
339
195
|
{
|
|
340
196
|
srcPath: "/_api/cloud-data/v1/schemas",
|
|
341
197
|
destPath: "/v1/schemas"
|
|
342
198
|
},
|
|
343
|
-
{
|
|
344
|
-
srcPath: "/_api/cloud-data/dbs/tasks",
|
|
345
|
-
destPath: "/dbs/tasks"
|
|
346
|
-
},
|
|
347
|
-
{
|
|
348
|
-
srcPath: "/_api/data/v1/schemas",
|
|
349
|
-
destPath: "/v1/schemas"
|
|
350
|
-
},
|
|
351
|
-
{
|
|
352
|
-
srcPath: "/_api/data/dbs/tasks",
|
|
353
|
-
destPath: "/dbs/tasks"
|
|
354
|
-
},
|
|
355
|
-
{
|
|
356
|
-
srcPath: "/_api/cloud-data/v1/wix-data",
|
|
357
|
-
destPath: "/v1/wix-data"
|
|
358
|
-
},
|
|
359
|
-
{
|
|
360
|
-
srcPath: "/_api/cloud-data/v1/data-settings",
|
|
361
|
-
destPath: "/v1/data-settings"
|
|
362
|
-
},
|
|
363
|
-
{
|
|
364
|
-
srcPath: "/_api/data/v2/indexes",
|
|
365
|
-
destPath: "/v2/indexes"
|
|
366
|
-
},
|
|
367
|
-
{
|
|
368
|
-
srcPath: "/_api/cloud-data/v1/external-database-connections",
|
|
369
|
-
destPath: "/v1/external-database-connections"
|
|
370
|
-
},
|
|
371
|
-
{
|
|
372
|
-
srcPath: "/_api/data/v1/data-collection-sharing",
|
|
373
|
-
destPath: "/v1/data-collection-sharing"
|
|
374
|
-
},
|
|
375
199
|
{
|
|
376
200
|
srcPath: "/_api/cloud-data/v2/collections",
|
|
377
201
|
destPath: "/v2/collections"
|
|
378
|
-
},
|
|
379
|
-
{
|
|
380
|
-
srcPath: "/_api/cloud-data/v2/bulk",
|
|
381
|
-
destPath: "/v2/bulk"
|
|
382
|
-
},
|
|
383
|
-
{
|
|
384
|
-
srcPath: "/_api/cloud-data/v2/items",
|
|
385
|
-
destPath: "/v2/items"
|
|
386
|
-
},
|
|
387
|
-
{
|
|
388
|
-
srcPath: "/_api/cloud-data/v2/dbs/tasks",
|
|
389
|
-
destPath: "/v2/dbs/tasks"
|
|
390
202
|
}
|
|
391
203
|
],
|
|
392
|
-
|
|
393
|
-
{
|
|
394
|
-
srcPath: "/wix-data/v1/collections",
|
|
395
|
-
destPath: "/v1/wix-data/collections"
|
|
396
|
-
},
|
|
397
|
-
{
|
|
398
|
-
srcPath: "/wix-data/v1/external-database-connections",
|
|
399
|
-
destPath: "/v1/external-database-connections"
|
|
400
|
-
},
|
|
401
|
-
{
|
|
402
|
-
srcPath: "/wix-data/v2/indexes",
|
|
403
|
-
destPath: "/v2/indexes"
|
|
404
|
-
},
|
|
405
|
-
{
|
|
406
|
-
srcPath: "/wix-data/v1/items",
|
|
407
|
-
destPath: "/v1/items"
|
|
408
|
-
},
|
|
409
|
-
{
|
|
410
|
-
srcPath: "/wix-data/v1/bulk",
|
|
411
|
-
destPath: "/v1/bulk"
|
|
412
|
-
},
|
|
413
|
-
{
|
|
414
|
-
srcPath: "/wix-data/v1/external-databases",
|
|
415
|
-
destPath: "/v1/external-databases"
|
|
416
|
-
},
|
|
204
|
+
_: [
|
|
417
205
|
{
|
|
418
|
-
srcPath: "/
|
|
419
|
-
destPath: "/
|
|
206
|
+
srcPath: "/_api/cloud-data/v1/schemas",
|
|
207
|
+
destPath: "/v1/schemas"
|
|
420
208
|
},
|
|
421
209
|
{
|
|
422
|
-
srcPath: "/data/v2/collections",
|
|
210
|
+
srcPath: "/_api/cloud-data/v2/collections",
|
|
423
211
|
destPath: "/v2/collections"
|
|
424
|
-
},
|
|
425
|
-
{
|
|
426
|
-
srcPath: "/data/v2/items",
|
|
427
|
-
destPath: "/v2/items"
|
|
428
|
-
},
|
|
429
|
-
{
|
|
430
|
-
srcPath: "/data/v2/bulk/items",
|
|
431
|
-
destPath: "/v2/bulk/items"
|
|
432
|
-
},
|
|
433
|
-
{
|
|
434
|
-
srcPath: "/data/v2/indexes",
|
|
435
|
-
destPath: "/v2/indexes"
|
|
436
|
-
},
|
|
437
|
-
{
|
|
438
|
-
srcPath: "/data/v1/external-database-connections",
|
|
439
|
-
destPath: "/v1/external-database-connections"
|
|
440
|
-
},
|
|
441
|
-
{
|
|
442
|
-
srcPath: "/data/v1/data-collection-sharing",
|
|
443
|
-
destPath: "/v1/data-collection-sharing"
|
|
444
212
|
}
|
|
445
213
|
],
|
|
446
|
-
"
|
|
447
|
-
{
|
|
448
|
-
srcPath: "/wix-data/v1/items",
|
|
449
|
-
destPath: "/v1/items"
|
|
450
|
-
},
|
|
451
|
-
{
|
|
452
|
-
srcPath: "/wix-data/v1/bulk",
|
|
453
|
-
destPath: "/v1/bulk"
|
|
454
|
-
}
|
|
455
|
-
],
|
|
456
|
-
"*.dev.wix-code.com": [
|
|
457
|
-
{
|
|
458
|
-
srcPath: "/_api/cloud-data/v2",
|
|
459
|
-
destPath: "/v2"
|
|
460
|
-
},
|
|
214
|
+
"manage._base_domain_": [
|
|
461
215
|
{
|
|
462
|
-
srcPath: "/_api/cloud-data/v1/
|
|
463
|
-
destPath: "/v1/
|
|
216
|
+
srcPath: "/_api/cloud-data/v1/schemas",
|
|
217
|
+
destPath: "/v1/schemas"
|
|
464
218
|
},
|
|
465
219
|
{
|
|
466
|
-
srcPath: "/data/
|
|
467
|
-
destPath: "/
|
|
220
|
+
srcPath: "/_api/cloud-data/v2/collections",
|
|
221
|
+
destPath: "/v2/collections"
|
|
468
222
|
}
|
|
469
223
|
]
|
|
470
224
|
};
|