@wix/auto_sdk_data_collections 1.0.41 → 1.0.42
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 +11 -3
- package/build/cjs/index.js +92 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +100 -1
- package/build/cjs/index.typings.js +83 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +19 -2
- package/build/cjs/meta.js +75 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +11 -3
- package/build/es/index.mjs +91 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +100 -1
- package/build/es/index.typings.mjs +82 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +19 -2
- package/build/es/meta.mjs +74 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +11 -3
- package/build/internal/cjs/index.js +92 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +100 -1
- package/build/internal/cjs/index.typings.js +83 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +19 -2
- package/build/internal/cjs/meta.js +75 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +11 -3
- package/build/internal/es/index.mjs +91 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +100 -1
- package/build/internal/es/index.typings.mjs +82 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +19 -2
- package/build/internal/es/meta.mjs +74 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1125,6 +1125,19 @@ interface DeleteDataCollectionFieldResponse {
|
|
|
1125
1125
|
/** Updated data collection. */
|
|
1126
1126
|
dataCollection?: DataCollection;
|
|
1127
1127
|
}
|
|
1128
|
+
interface PatchDataCollectionFieldRequest {
|
|
1129
|
+
/**
|
|
1130
|
+
* ID of the data collection to update.
|
|
1131
|
+
* @maxLength 256
|
|
1132
|
+
*/
|
|
1133
|
+
dataCollectionId: string;
|
|
1134
|
+
/** Field to patch. */
|
|
1135
|
+
field: Field;
|
|
1136
|
+
}
|
|
1137
|
+
interface PatchDataCollectionFieldResponse {
|
|
1138
|
+
/** Updated data collection. */
|
|
1139
|
+
dataCollection?: DataCollection;
|
|
1140
|
+
}
|
|
1128
1141
|
interface UpdateDataPermissionsRequest {
|
|
1129
1142
|
/**
|
|
1130
1143
|
* ID of data collections to update
|
|
@@ -1916,5 +1929,91 @@ interface DeleteDataCollectionFieldOptions {
|
|
|
1916
1929
|
*/
|
|
1917
1930
|
fieldKey: string;
|
|
1918
1931
|
}
|
|
1932
|
+
/**
|
|
1933
|
+
* Patches (partial update) a field in the structure of a data collection.
|
|
1934
|
+
* @public
|
|
1935
|
+
* @documentationMaturity preview
|
|
1936
|
+
* @requiredField field
|
|
1937
|
+
* @requiredField identifiers
|
|
1938
|
+
* @requiredField identifiers.dataCollectionId
|
|
1939
|
+
* @requiredField identifiers.fieldKey
|
|
1940
|
+
* @permissionId WIX_DATA.UPDATE_COLLECTION_FIELD
|
|
1941
|
+
* @applicableIdentity APP
|
|
1942
|
+
* @fqn com.wixpress.cloud.data.api.collectionservice.DataCollectionService.PatchDataCollectionField
|
|
1943
|
+
*/
|
|
1944
|
+
declare function patchDataCollectionField(identifiers: NonNullablePaths<PatchDataCollectionFieldIdentifiers, `dataCollectionId` | `fieldKey`, 2>, field: PatchDataCollectionField): Promise<NonNullablePaths<PatchDataCollectionFieldResponse, `dataCollection._id` | `dataCollection.collectionType` | `dataCollection.defaultDisplayOrder.fieldKey` | `dataCollection.defaultDisplayOrder.direction` | `dataCollection.capabilities.dataOperations` | `dataCollection.capabilities.collectionOperations` | `dataCollection.capabilities.indexLimits.regular` | `dataCollection.capabilities.indexLimits.unique` | `dataCollection.capabilities.indexLimits.total` | `dataCollection.fields` | `dataCollection.fields.${number}.key` | `dataCollection.fields.${number}.type` | `dataCollection.fields.${number}.typeMetadata.reference.referencedCollectionId` | `dataCollection.fields.${number}.typeMetadata.multiReference.referencedCollectionId` | `dataCollection.fields.${number}.typeMetadata.multiReference.referencingFieldKey` | `dataCollection.fields.${number}.typeMetadata.multiReference.referencingDisplayName` | `dataCollection.fields.${number}.typeMetadata.array.elementType` | `dataCollection.fields.${number}.systemField` | `dataCollection.fields.${number}.capabilities.sortable` | `dataCollection.fields.${number}.encrypted` | `dataCollection.permissions.insert` | `dataCollection.permissions.update` | `dataCollection.permissions.remove` | `dataCollection.permissions.read` | `dataCollection.plugins` | `dataCollection.plugins.${number}.publishOptions.defaultStatus` | `dataCollection.plugins.${number}.singleItemOptions.singleItemId` | `dataCollection.plugins.${number}.urlizedOptions.format` | `dataCollection.plugins.${number}.editablePageLinkOptions.isPersisted` | `dataCollection.plugins.${number}.editablePageLinkOptions.isMutable` | `dataCollection.plugins.${number}.type` | `dataCollection.pagingModes`, 7>>;
|
|
1945
|
+
interface PatchDataCollectionFieldIdentifiers {
|
|
1946
|
+
/**
|
|
1947
|
+
* ID of the data collection to update.
|
|
1948
|
+
* @maxLength 256
|
|
1949
|
+
*/
|
|
1950
|
+
dataCollectionId: string;
|
|
1951
|
+
/**
|
|
1952
|
+
* Unique identifier for the field. For example, `firstName`.
|
|
1953
|
+
* @maxLength 1000
|
|
1954
|
+
*/
|
|
1955
|
+
fieldKey?: string;
|
|
1956
|
+
}
|
|
1957
|
+
interface PatchDataCollectionField {
|
|
1958
|
+
/** Range of possible values for a numerical field. */
|
|
1959
|
+
numberRange?: NumberRange;
|
|
1960
|
+
/** Length range permitted for a text field. Relevant for fields that hold strings, such as those of type `TEXT` or `RICH_TEXT`. */
|
|
1961
|
+
stringLengthRange?: StringLengthRange;
|
|
1962
|
+
/** Array size range permitted. Relevant for fields that hold arrays, such as those of type `ARRAY`, `ARRAY_STRING`, or `ARRAY_DOCUMENT`. */
|
|
1963
|
+
arraySizeRange?: ArraySizeRange;
|
|
1964
|
+
/**
|
|
1965
|
+
* Field's display name when displayed in the CMS. For example, `First Name`.
|
|
1966
|
+
* @maxLength 1000
|
|
1967
|
+
*/
|
|
1968
|
+
displayName?: string | null;
|
|
1969
|
+
/**
|
|
1970
|
+
* Field's data type.
|
|
1971
|
+
*
|
|
1972
|
+
* Learn more about [data types in Wix Data](https://dev.wix.com/docs/rest/business-solutions/cms/data-types-in-wix-data).
|
|
1973
|
+
*/
|
|
1974
|
+
type?: TypeWithLiterals;
|
|
1975
|
+
/** Metadata for complex data types. This property only exists for references, multi-references, objects, and arrays. */
|
|
1976
|
+
typeMetadata?: TypeMetadata;
|
|
1977
|
+
/**
|
|
1978
|
+
* Whether the field is a system field.
|
|
1979
|
+
* @readonly
|
|
1980
|
+
*/
|
|
1981
|
+
systemField?: boolean;
|
|
1982
|
+
/**
|
|
1983
|
+
* Capabilities the field supports.
|
|
1984
|
+
* @readonly
|
|
1985
|
+
*/
|
|
1986
|
+
capabilities?: FieldCapabilities;
|
|
1987
|
+
/** Whether the field is encrypted. */
|
|
1988
|
+
encrypted?: boolean;
|
|
1989
|
+
/**
|
|
1990
|
+
* Field description.
|
|
1991
|
+
* @maxLength 16000
|
|
1992
|
+
*/
|
|
1993
|
+
description?: string | null;
|
|
1994
|
+
/**
|
|
1995
|
+
* Whether the field is read-only. A read-only field can't be changed.
|
|
1996
|
+
*
|
|
1997
|
+
* Default: `false`
|
|
1998
|
+
*/
|
|
1999
|
+
readOnly?: boolean | null;
|
|
2000
|
+
/**
|
|
2001
|
+
* Whether the field is immutable. An immutable field can be set once, but then cannot be updated.
|
|
2002
|
+
*
|
|
2003
|
+
* Default: `false`
|
|
2004
|
+
*/
|
|
2005
|
+
immutable?: boolean | null;
|
|
2006
|
+
/**
|
|
2007
|
+
* Whether the field is required.
|
|
2008
|
+
*
|
|
2009
|
+
* Default: `false`
|
|
2010
|
+
*/
|
|
2011
|
+
required?: boolean | null;
|
|
2012
|
+
/**
|
|
2013
|
+
* Additional optional plugins for the field.
|
|
2014
|
+
* @maxSize 100
|
|
2015
|
+
*/
|
|
2016
|
+
plugins?: FieldPlugin[];
|
|
2017
|
+
}
|
|
1919
2018
|
|
|
1920
|
-
export { AccessLevel, type AccessLevelWithLiterals, type ActionEvent, type AllowedDataPermissions, type AppOptions, type ApplicationError, type ArraySizeRange, type BulkGetDataCollectionsPageBySnapshotsRequest, type BulkGetDataCollectionsPageBySnapshotsRequestTenantModeOptionsOneOf, type BulkGetDataCollectionsPageBySnapshotsResponse, type BulkGetDataCollectionsRequest, type BulkGetDataCollectionsResponse, type Calculator, type CalculatorPatternOneOf, type CatalogOptions, type CmsOptions, type CollectionCapabilities, type CollectionDefinition, CollectionOperation, type CollectionOperationWithLiterals, CollectionType, type CollectionTypeWithLiterals, type CreateAppCollectionsSnapshotRequest, type CreateAppCollectionsSnapshotResponse, type CreateDataCollectionFieldOptions, type CreateDataCollectionFieldRequest, type CreateDataCollectionFieldResponse, type CreateDataCollectionRequest, type CreateDataCollectionResponse, type CreateDataCollectionsSnapshotRequest, type CreateDataCollectionsSnapshotResponse, type CreateMigratedCollectionsSnapshotRequest, type CreateMigratedCollectionsSnapshotResponse, type DataCollection, type DataCollectionChangedEvent, type DataCollectionClonedEvent, type DataCollectionEvictedEvent, DataOperation, type DataOperationWithLiterals, type DataPermissions, type DeleteDataCollectionFieldOptions, type DeleteDataCollectionFieldRequest, type DeleteDataCollectionFieldResponse, type DeleteDataCollectionRequest, type DeleteDataCollectionResponse, type DeleteDataCollectionsSnapshotRequest, type DeleteDataCollectionsSnapshotResponse, type Destination, Direction, type DirectionWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type FailedCollection, type Failure, type Field, type FieldCapabilities, type FieldPlugin, type FieldPluginOptionsOneOf, FieldPluginType, type FieldPluginTypeWithLiterals, type FieldRangeValidationsOneOf, type FieldUpdate, type FieldsPattern, Format, type FormatWithLiterals, type GetDataCollectionOptions, type GetDataCollectionRequest, type GetDataCollectionResponse, type IdentificationData, type IdentificationDataIdOneOf, type Index, type IndexField, type IndexLimits, type IndexQuotaLimits, IndexSource, type IndexSourceWithLiterals, IndexStatus, type IndexStatusWithLiterals, type ListDataCollectionsOptions, type ListDataCollectionsRequest, type ListDataCollectionsResponse, type MessageEnvelope, type MultiReference, type MultilingualOptions, type NumberRange, type ObjectField, Order, type OrderWithLiterals, type PageLink, type PageLinkPluginOptions, type Paging, type PagingMetadataV2, PagingMode, type PagingModeWithLiterals, type PatchDataCollection, type PatchDataCollectionRequest, type PatchDataCollectionResponse, type Permissions, type Plugin, type PluginCmsOptions, type PluginOptionsOneOf, PluginType, type PluginTypeWithLiterals, type PluginUpdate, type PublishPluginOptions, QueryOperator, type QueryOperatorWithLiterals, type Reference, type RestorationCollection, type RestoreDataCollectionRequest, type RestoreDataCollectionResponse, type RestoreDataCollectionsFromSnapshotRequest, type RestoreDataCollectionsFromSnapshotResponse, type RestoreInfo, Role, type RoleWithLiterals, Segment, type SegmentWithLiterals, type SingleItemPluginOptions, type SiteSort, type Slug, type SnapshotCollection, type Sort, SortOrder, type SortOrderWithLiterals, type Sorting, Status, type StatusWithLiterals, type StringLengthRange, TenantMode, type TenantModeWithLiterals, Type, type TypeMetadata, type TypeMetadataMetadataOneOf, type TypeWithLiterals, type UpdateDataCollectionFieldOptions, type UpdateDataCollectionFieldRequest, type UpdateDataCollectionFieldResponse, type UpdateDataCollectionRequest, type UpdateDataCollectionResponse, type UpdateDataPermissionsRequest, type UpdateDataPermissionsResponse, type UrlizedOnlyPattern, type UrlizedPluginOptions, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, type _Array, type _Object, createDataCollection, createDataCollectionField, deleteDataCollection, deleteDataCollectionField, getDataCollection, listDataCollections, patchDataCollection, restoreDataCollection, updateDataCollection, updateDataCollectionField };
|
|
2019
|
+
export { AccessLevel, type AccessLevelWithLiterals, type ActionEvent, type AllowedDataPermissions, type AppOptions, type ApplicationError, type ArraySizeRange, type BulkGetDataCollectionsPageBySnapshotsRequest, type BulkGetDataCollectionsPageBySnapshotsRequestTenantModeOptionsOneOf, type BulkGetDataCollectionsPageBySnapshotsResponse, type BulkGetDataCollectionsRequest, type BulkGetDataCollectionsResponse, type Calculator, type CalculatorPatternOneOf, type CatalogOptions, type CmsOptions, type CollectionCapabilities, type CollectionDefinition, CollectionOperation, type CollectionOperationWithLiterals, CollectionType, type CollectionTypeWithLiterals, type CreateAppCollectionsSnapshotRequest, type CreateAppCollectionsSnapshotResponse, type CreateDataCollectionFieldOptions, type CreateDataCollectionFieldRequest, type CreateDataCollectionFieldResponse, type CreateDataCollectionRequest, type CreateDataCollectionResponse, type CreateDataCollectionsSnapshotRequest, type CreateDataCollectionsSnapshotResponse, type CreateMigratedCollectionsSnapshotRequest, type CreateMigratedCollectionsSnapshotResponse, type DataCollection, type DataCollectionChangedEvent, type DataCollectionClonedEvent, type DataCollectionEvictedEvent, DataOperation, type DataOperationWithLiterals, type DataPermissions, type DeleteDataCollectionFieldOptions, type DeleteDataCollectionFieldRequest, type DeleteDataCollectionFieldResponse, type DeleteDataCollectionRequest, type DeleteDataCollectionResponse, type DeleteDataCollectionsSnapshotRequest, type DeleteDataCollectionsSnapshotResponse, type Destination, Direction, type DirectionWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type FailedCollection, type Failure, type Field, type FieldCapabilities, type FieldPlugin, type FieldPluginOptionsOneOf, FieldPluginType, type FieldPluginTypeWithLiterals, type FieldRangeValidationsOneOf, type FieldUpdate, type FieldsPattern, Format, type FormatWithLiterals, type GetDataCollectionOptions, type GetDataCollectionRequest, type GetDataCollectionResponse, type IdentificationData, type IdentificationDataIdOneOf, type Index, type IndexField, type IndexLimits, type IndexQuotaLimits, IndexSource, type IndexSourceWithLiterals, IndexStatus, type IndexStatusWithLiterals, type ListDataCollectionsOptions, type ListDataCollectionsRequest, type ListDataCollectionsResponse, type MessageEnvelope, type MultiReference, type MultilingualOptions, type NumberRange, type ObjectField, Order, type OrderWithLiterals, type PageLink, type PageLinkPluginOptions, type Paging, type PagingMetadataV2, PagingMode, type PagingModeWithLiterals, type PatchDataCollection, type PatchDataCollectionField, type PatchDataCollectionFieldIdentifiers, type PatchDataCollectionFieldRequest, type PatchDataCollectionFieldResponse, type PatchDataCollectionRequest, type PatchDataCollectionResponse, type Permissions, type Plugin, type PluginCmsOptions, type PluginOptionsOneOf, PluginType, type PluginTypeWithLiterals, type PluginUpdate, type PublishPluginOptions, QueryOperator, type QueryOperatorWithLiterals, type Reference, type RestorationCollection, type RestoreDataCollectionRequest, type RestoreDataCollectionResponse, type RestoreDataCollectionsFromSnapshotRequest, type RestoreDataCollectionsFromSnapshotResponse, type RestoreInfo, Role, type RoleWithLiterals, Segment, type SegmentWithLiterals, type SingleItemPluginOptions, type SiteSort, type Slug, type SnapshotCollection, type Sort, SortOrder, type SortOrderWithLiterals, type Sorting, Status, type StatusWithLiterals, type StringLengthRange, TenantMode, type TenantModeWithLiterals, Type, type TypeMetadata, type TypeMetadataMetadataOneOf, type TypeWithLiterals, type UpdateDataCollectionFieldOptions, type UpdateDataCollectionFieldRequest, type UpdateDataCollectionFieldResponse, type UpdateDataCollectionRequest, type UpdateDataCollectionResponse, type UpdateDataPermissionsRequest, type UpdateDataPermissionsResponse, type UrlizedOnlyPattern, type UrlizedPluginOptions, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, type _Array, type _Object, createDataCollection, createDataCollectionField, deleteDataCollection, deleteDataCollectionField, getDataCollection, listDataCollections, patchDataCollection, patchDataCollectionField, restoreDataCollection, updateDataCollection, updateDataCollectionField };
|
|
@@ -47,6 +47,7 @@ __export(index_typings_exports, {
|
|
|
47
47
|
getDataCollection: () => getDataCollection2,
|
|
48
48
|
listDataCollections: () => listDataCollections2,
|
|
49
49
|
patchDataCollection: () => patchDataCollection2,
|
|
50
|
+
patchDataCollectionField: () => patchDataCollectionField2,
|
|
50
51
|
restoreDataCollection: () => restoreDataCollection2,
|
|
51
52
|
updateDataCollection: () => updateDataCollection2,
|
|
52
53
|
updateDataCollectionField: () => updateDataCollectionField2
|
|
@@ -848,6 +849,58 @@ function deleteDataCollectionField(payload) {
|
|
|
848
849
|
}
|
|
849
850
|
return __deleteDataCollectionField;
|
|
850
851
|
}
|
|
852
|
+
function patchDataCollectionField(payload) {
|
|
853
|
+
function __patchDataCollectionField({ host }) {
|
|
854
|
+
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
855
|
+
{
|
|
856
|
+
transformFn: import_field_mask.transformSDKFieldMaskToRESTFieldMask,
|
|
857
|
+
paths: [{ path: "fieldMask" }]
|
|
858
|
+
},
|
|
859
|
+
{
|
|
860
|
+
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
861
|
+
paths: [
|
|
862
|
+
{ path: "field.numberRange.min" },
|
|
863
|
+
{ path: "field.numberRange.max" }
|
|
864
|
+
]
|
|
865
|
+
}
|
|
866
|
+
]);
|
|
867
|
+
const metadata = {
|
|
868
|
+
entityFqdn: "wix.data.v2.data_collection",
|
|
869
|
+
method: "PATCH",
|
|
870
|
+
methodFqn: "com.wixpress.cloud.data.api.collectionservice.DataCollectionService.PatchDataCollectionField",
|
|
871
|
+
packageName: PACKAGE_NAME,
|
|
872
|
+
migrationOptions: {
|
|
873
|
+
optInTransformResponse: true
|
|
874
|
+
},
|
|
875
|
+
url: resolveComWixpressCloudDataApiCollectionserviceDataCollectionServiceUrl(
|
|
876
|
+
{
|
|
877
|
+
protoPath: "/v2/collections/{dataCollectionId}/fields/{field.key}",
|
|
878
|
+
data: serializedData,
|
|
879
|
+
host
|
|
880
|
+
}
|
|
881
|
+
),
|
|
882
|
+
data: serializedData,
|
|
883
|
+
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
884
|
+
{
|
|
885
|
+
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
886
|
+
paths: [
|
|
887
|
+
{ path: "dataCollection.createdDate" },
|
|
888
|
+
{ path: "dataCollection.updatedDate" }
|
|
889
|
+
]
|
|
890
|
+
},
|
|
891
|
+
{
|
|
892
|
+
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
893
|
+
paths: [
|
|
894
|
+
{ path: "dataCollection.fields.numberRange.min" },
|
|
895
|
+
{ path: "dataCollection.fields.numberRange.max" }
|
|
896
|
+
]
|
|
897
|
+
}
|
|
898
|
+
])
|
|
899
|
+
};
|
|
900
|
+
return metadata;
|
|
901
|
+
}
|
|
902
|
+
return __patchDataCollectionField;
|
|
903
|
+
}
|
|
851
904
|
|
|
852
905
|
// src/data-v2-data-collection-collections.universal.ts
|
|
853
906
|
var CollectionType = /* @__PURE__ */ ((CollectionType2) => {
|
|
@@ -1319,6 +1372,35 @@ async function deleteDataCollectionField2(dataCollectionId, options) {
|
|
|
1319
1372
|
throw transformedError;
|
|
1320
1373
|
}
|
|
1321
1374
|
}
|
|
1375
|
+
async function patchDataCollectionField2(identifiers, field) {
|
|
1376
|
+
const { httpClient, sideEffects } = arguments[2];
|
|
1377
|
+
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
1378
|
+
dataCollectionId: identifiers?.dataCollectionId,
|
|
1379
|
+
field: { ...field, key: identifiers?.fieldKey }
|
|
1380
|
+
});
|
|
1381
|
+
const reqOpts = patchDataCollectionField(payload);
|
|
1382
|
+
sideEffects?.onSiteCall?.();
|
|
1383
|
+
try {
|
|
1384
|
+
const result = await httpClient.request(reqOpts);
|
|
1385
|
+
sideEffects?.onSuccess?.(result);
|
|
1386
|
+
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
|
|
1387
|
+
} catch (err) {
|
|
1388
|
+
const transformedError = (0, import_transform_error.transformError)(
|
|
1389
|
+
err,
|
|
1390
|
+
{
|
|
1391
|
+
spreadPathsToArguments: { field: "$[1]" },
|
|
1392
|
+
explicitPathsToArguments: {
|
|
1393
|
+
dataCollectionId: "$[0].dataCollectionId",
|
|
1394
|
+
"field.key": "$[0].fieldKey"
|
|
1395
|
+
},
|
|
1396
|
+
singleArgumentUnchanged: false
|
|
1397
|
+
},
|
|
1398
|
+
["identifiers", "field"]
|
|
1399
|
+
);
|
|
1400
|
+
sideEffects?.onError?.(err);
|
|
1401
|
+
throw transformedError;
|
|
1402
|
+
}
|
|
1403
|
+
}
|
|
1322
1404
|
// Annotate the CommonJS export names for ESM import in node:
|
|
1323
1405
|
0 && (module.exports = {
|
|
1324
1406
|
AccessLevel,
|
|
@@ -1348,6 +1430,7 @@ async function deleteDataCollectionField2(dataCollectionId, options) {
|
|
|
1348
1430
|
getDataCollection,
|
|
1349
1431
|
listDataCollections,
|
|
1350
1432
|
patchDataCollection,
|
|
1433
|
+
patchDataCollectionField,
|
|
1351
1434
|
restoreDataCollection,
|
|
1352
1435
|
updateDataCollection,
|
|
1353
1436
|
updateDataCollectionField
|