@wix/auto_sdk_data_collections 1.0.89 → 1.0.91
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 +6 -0
- package/build/cjs/index.js +7 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +6 -0
- package/build/cjs/index.typings.js +7 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.js +10 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +6 -0
- package/build/es/index.mjs +7 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +6 -0
- package/build/es/index.typings.mjs +7 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.mjs +10 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +6 -0
- package/build/internal/cjs/index.js +7 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +416 -2
- package/build/internal/cjs/index.typings.js +7 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +508 -3
- package/build/internal/cjs/meta.js +10 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +6 -0
- package/build/internal/es/index.mjs +7 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +416 -2
- package/build/internal/es/index.typings.mjs +7 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +508 -3
- package/build/internal/es/meta.mjs +10 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +4 -4
|
@@ -2223,6 +2223,12 @@ interface AccountInfo {
|
|
|
2223
2223
|
declare function createDataCollection(collection: NonNullablePaths<DataCollection, `_id` | `fields.${number}.key` | `fields.${number}.type` | `permissions.insert` | `permissions.read` | `permissions.remove` | `permissions.update`, 4>): Promise<NonNullablePaths<DataCollection, `_id` | `collectionType` | `defaultDisplayOrder.fieldKey` | `defaultDisplayOrder.direction` | `capabilities.dataOperations` | `capabilities.collectionOperations` | `capabilities.indexLimits.regular` | `capabilities.indexLimits.unique` | `capabilities.indexLimits.total` | `fields` | `fields.${number}.key` | `fields.${number}.type` | `fields.${number}.typeMetadata.reference.referencedCollectionId` | `fields.${number}.typeMetadata.multiReference.referencedCollectionId` | `fields.${number}.typeMetadata.multiReference.referencingFieldKey` | `fields.${number}.typeMetadata.multiReference.referencingDisplayName` | `fields.${number}.typeMetadata.array.elementType` | `fields.${number}.systemField` | `fields.${number}.capabilities.sortable` | `fields.${number}.encrypted` | `fields.${number}.condition.permission` | `permissions.insert` | `permissions.update` | `permissions.remove` | `permissions.read` | `plugins` | `plugins.${number}.publishOptions.defaultStatus` | `plugins.${number}.singleItemOptions.singleItemId` | `plugins.${number}.urlizedOptions.format` | `plugins.${number}.editablePageLinkOptions.isPersisted` | `plugins.${number}.editablePageLinkOptions.isMutable` | `plugins.${number}.type` | `pagingModes`, 6>>;
|
|
2224
2224
|
/**
|
|
2225
2225
|
* Retrieves a data collection by ID.
|
|
2226
|
+
*
|
|
2227
|
+
* Starting on August 3rd, 2026, when called with a visitor (unauthenticated) identity, the response contains only
|
|
2228
|
+
* the collection details needed to display the collection's data: `id`, `displayName`, `displayField`, `plugins`,
|
|
2229
|
+
* and for each field in `fields` its `key`, `displayName`, `type`, and `typeMetadata`. All other collection
|
|
2230
|
+
* details, such as `permissions` and `capabilities`, are omitted. Calls made with any other identity return the
|
|
2231
|
+
* full collection.
|
|
2226
2232
|
* @param dataCollectionId - ID of the collection to retrieve.
|
|
2227
2233
|
* @public
|
|
2228
2234
|
* @requiredField dataCollectionId
|
|
@@ -1961,6 +1961,7 @@ var Type = /* @__PURE__ */ ((Type2) => {
|
|
|
1961
1961
|
Type2["LEGACY_IMAGE"] = "LEGACY_IMAGE";
|
|
1962
1962
|
Type2["LEGACY_COLOR"] = "LEGACY_COLOR";
|
|
1963
1963
|
Type2["LEGACY_EXTERNAL_VIDEO"] = "LEGACY_EXTERNAL_VIDEO";
|
|
1964
|
+
Type2["SLUG"] = "SLUG";
|
|
1964
1965
|
Type2["EMAIL"] = "EMAIL";
|
|
1965
1966
|
Type2["SECURED_MEDIA"] = "SECURED_MEDIA";
|
|
1966
1967
|
Type2["MEDIA_IMAGE"] = "MEDIA_IMAGE";
|
|
@@ -1991,6 +1992,9 @@ var PageLinkType = /* @__PURE__ */ ((PageLinkType2) => {
|
|
|
1991
1992
|
var FieldPluginType = /* @__PURE__ */ ((FieldPluginType2) => {
|
|
1992
1993
|
FieldPluginType2["UNKNOWN"] = "UNKNOWN";
|
|
1993
1994
|
FieldPluginType2["CMS"] = "CMS";
|
|
1995
|
+
FieldPluginType2["CATEGORY_FIELD"] = "CATEGORY_FIELD";
|
|
1996
|
+
FieldPluginType2["CATEGORY_CONSUMER"] = "CATEGORY_CONSUMER";
|
|
1997
|
+
FieldPluginType2["PRIMARY_CATEGORY_FIELD"] = "PRIMARY_CATEGORY_FIELD";
|
|
1994
1998
|
return FieldPluginType2;
|
|
1995
1999
|
})(FieldPluginType || {});
|
|
1996
2000
|
var Permission = /* @__PURE__ */ ((Permission2) => {
|
|
@@ -2037,6 +2041,9 @@ var PluginType = /* @__PURE__ */ ((PluginType2) => {
|
|
|
2037
2041
|
PluginType2["SHARED"] = "SHARED";
|
|
2038
2042
|
PluginType2["EDITABLE_PAGE_LINK"] = "EDITABLE_PAGE_LINK";
|
|
2039
2043
|
PluginType2["CMS"] = "CMS";
|
|
2044
|
+
PluginType2["CATALOG"] = "CATALOG";
|
|
2045
|
+
PluginType2["CATEGORIES"] = "CATEGORIES";
|
|
2046
|
+
PluginType2["DRAFT_ITEMS"] = "DRAFT_ITEMS";
|
|
2040
2047
|
return PluginType2;
|
|
2041
2048
|
})(PluginType || {});
|
|
2042
2049
|
var PagingMode = /* @__PURE__ */ ((PagingMode2) => {
|