@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
|
|
@@ -2034,6 +2034,7 @@ var Type = /* @__PURE__ */ ((Type2) => {
|
|
|
2034
2034
|
Type2["LEGACY_IMAGE"] = "LEGACY_IMAGE";
|
|
2035
2035
|
Type2["LEGACY_COLOR"] = "LEGACY_COLOR";
|
|
2036
2036
|
Type2["LEGACY_EXTERNAL_VIDEO"] = "LEGACY_EXTERNAL_VIDEO";
|
|
2037
|
+
Type2["SLUG"] = "SLUG";
|
|
2037
2038
|
Type2["EMAIL"] = "EMAIL";
|
|
2038
2039
|
Type2["SECURED_MEDIA"] = "SECURED_MEDIA";
|
|
2039
2040
|
Type2["MEDIA_IMAGE"] = "MEDIA_IMAGE";
|
|
@@ -2064,6 +2065,9 @@ var PageLinkType = /* @__PURE__ */ ((PageLinkType2) => {
|
|
|
2064
2065
|
var FieldPluginType = /* @__PURE__ */ ((FieldPluginType2) => {
|
|
2065
2066
|
FieldPluginType2["UNKNOWN"] = "UNKNOWN";
|
|
2066
2067
|
FieldPluginType2["CMS"] = "CMS";
|
|
2068
|
+
FieldPluginType2["CATEGORY_FIELD"] = "CATEGORY_FIELD";
|
|
2069
|
+
FieldPluginType2["CATEGORY_CONSUMER"] = "CATEGORY_CONSUMER";
|
|
2070
|
+
FieldPluginType2["PRIMARY_CATEGORY_FIELD"] = "PRIMARY_CATEGORY_FIELD";
|
|
2067
2071
|
return FieldPluginType2;
|
|
2068
2072
|
})(FieldPluginType || {});
|
|
2069
2073
|
var Permission = /* @__PURE__ */ ((Permission2) => {
|
|
@@ -2110,6 +2114,9 @@ var PluginType = /* @__PURE__ */ ((PluginType2) => {
|
|
|
2110
2114
|
PluginType2["SHARED"] = "SHARED";
|
|
2111
2115
|
PluginType2["EDITABLE_PAGE_LINK"] = "EDITABLE_PAGE_LINK";
|
|
2112
2116
|
PluginType2["CMS"] = "CMS";
|
|
2117
|
+
PluginType2["CATALOG"] = "CATALOG";
|
|
2118
|
+
PluginType2["CATEGORIES"] = "CATEGORIES";
|
|
2119
|
+
PluginType2["DRAFT_ITEMS"] = "DRAFT_ITEMS";
|
|
2113
2120
|
return PluginType2;
|
|
2114
2121
|
})(PluginType || {});
|
|
2115
2122
|
var PagingMode = /* @__PURE__ */ ((PagingMode2) => {
|