@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.
@@ -305,7 +305,11 @@ declare enum Type {
305
305
  ADDRESS = "ADDRESS",
306
306
  /** [Dynamic page link](https://support.wix.com/en/article/cms-linking-to-dynamic-pages). */
307
307
  PAGE_LINK = "PAGE_LINK",
308
- /** 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. */
308
+ /**
309
+ * 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.
310
+ *
311
+ * If you select this type, then you must pass the `referencedCollectionId` field as well.
312
+ */
309
313
  REFERENCE = "REFERENCE",
310
314
  /** 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. */
311
315
  MULTI_REFERENCE = "MULTI_REFERENCE",
@@ -1121,6 +1125,12 @@ interface SnapshotCollection {
1121
1125
  }
1122
1126
  /** An index is a map of a collection's data, organized according to specific fields to increase query speed. */
1123
1127
  interface Index {
1128
+ /**
1129
+ * Id of the index.
1130
+ * @readonly
1131
+ * @format GUID
1132
+ */
1133
+ _id?: string;
1124
1134
  /**
1125
1135
  * Name of the index.
1126
1136
  * @minLength 1