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