@wix/auto_sdk_data_collections 1.0.26 → 1.0.28
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.js.map +1 -1
- package/build/cjs/index.typings.d.ts +11 -1
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +5 -1
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +11 -1
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +5 -1
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +11 -1
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +5 -1
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +11 -1
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +5 -1
- package/package.json +2 -2
|
@@ -321,7 +321,11 @@ declare enum Type {
|
|
|
321
321
|
ADDRESS = "ADDRESS",
|
|
322
322
|
/** [Dynamic page link](https://support.wix.com/en/article/cms-linking-to-dynamic-pages). */
|
|
323
323
|
PAGE_LINK = "PAGE_LINK",
|
|
324
|
-
/**
|
|
324
|
+
/**
|
|
325
|
+
* Reference to another item in another collection. See Query Referenced Data Items ([SDK](https://dev.wix.com/docs/sdk/backend-modules/data/items/query-referenced) | [REST](https://dev.wix.com/docs/rest/business-solutions/cms/data-items/query-referenced-data-items)) to learn about item references.
|
|
326
|
+
*
|
|
327
|
+
* If you select this type, then you must pass the `referencedCollectionId` field as well.
|
|
328
|
+
*/
|
|
325
329
|
REFERENCE = "REFERENCE",
|
|
326
330
|
/** References to multiple items in another collection. See Query Referenced Data Items ([SDK](https://dev.wix.com/docs/sdk/backend-modules/data/items/query-referenced) | [REST](https://dev.wix.com/docs/rest/business-solutions/cms/data-items/query-referenced-data-items)) to learn about item references. */
|
|
327
331
|
MULTI_REFERENCE = "MULTI_REFERENCE",
|
|
@@ -1152,6 +1156,12 @@ interface SnapshotCollection {
|
|
|
1152
1156
|
}
|
|
1153
1157
|
/** An index is a map of a collection's data, organized according to specific fields to increase query speed. */
|
|
1154
1158
|
interface Index {
|
|
1159
|
+
/**
|
|
1160
|
+
* Id of the index.
|
|
1161
|
+
* @readonly
|
|
1162
|
+
* @format GUID
|
|
1163
|
+
*/
|
|
1164
|
+
_id?: string;
|
|
1155
1165
|
/**
|
|
1156
1166
|
* Name of the index.
|
|
1157
1167
|
* @minLength 1
|