@wix/auto_sdk_data_collections 1.0.20 → 1.0.21
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 +2 -2
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +6 -2
- package/build/cjs/index.typings.js.map +1 -1
- package/build/es/index.d.mts +2 -2
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +6 -2
- package/build/es/index.typings.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +2 -2
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +6 -2
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/es/index.d.mts +2 -2
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +6 -2
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1608,11 +1608,13 @@ declare function restoreDataCollection(dataCollectionId: string): Promise<NonNul
|
|
|
1608
1608
|
* @requiredField dataCollectionId
|
|
1609
1609
|
* @requiredField options
|
|
1610
1610
|
* @requiredField options.field
|
|
1611
|
+
* @requiredField options.field.key
|
|
1612
|
+
* @requiredField options.field.type
|
|
1611
1613
|
* @permissionId WIX_DATA.CREATE_COLLECTION_FIELD
|
|
1612
1614
|
* @applicableIdentity APP
|
|
1613
1615
|
* @fqn com.wixpress.cloud.data.api.collectionservice.DataCollectionService.CreateDataCollectionField
|
|
1614
1616
|
*/
|
|
1615
|
-
declare function createDataCollectionField(dataCollectionId: string, options: NonNullablePaths<CreateDataCollectionFieldOptions, `field`>): Promise<NonNullablePaths<CreateDataCollectionFieldResponse, {
|
|
1617
|
+
declare function createDataCollectionField(dataCollectionId: string, options: NonNullablePaths<CreateDataCollectionFieldOptions, `field` | `field.key` | `field.type`>): Promise<NonNullablePaths<CreateDataCollectionFieldResponse, {
|
|
1616
1618
|
[P in DataCollectionNonNullablePaths]: `dataCollection.${P}`;
|
|
1617
1619
|
}[DataCollectionNonNullablePaths]>>;
|
|
1618
1620
|
interface CreateDataCollectionFieldOptions {
|
|
@@ -1627,11 +1629,13 @@ interface CreateDataCollectionFieldOptions {
|
|
|
1627
1629
|
* @requiredField dataCollectionId
|
|
1628
1630
|
* @requiredField options
|
|
1629
1631
|
* @requiredField options.field
|
|
1632
|
+
* @requiredField options.field.key
|
|
1633
|
+
* @requiredField options.field.type
|
|
1630
1634
|
* @permissionId WIX_DATA.UPDATE_COLLECTION_FIELD
|
|
1631
1635
|
* @applicableIdentity APP
|
|
1632
1636
|
* @fqn com.wixpress.cloud.data.api.collectionservice.DataCollectionService.UpdateDataCollectionField
|
|
1633
1637
|
*/
|
|
1634
|
-
declare function updateDataCollectionField(dataCollectionId: string, options: NonNullablePaths<UpdateDataCollectionFieldOptions, `field`>): Promise<NonNullablePaths<UpdateDataCollectionFieldResponse, {
|
|
1638
|
+
declare function updateDataCollectionField(dataCollectionId: string, options: NonNullablePaths<UpdateDataCollectionFieldOptions, `field` | `field.key` | `field.type`>): Promise<NonNullablePaths<UpdateDataCollectionFieldResponse, {
|
|
1635
1639
|
[P in DataCollectionNonNullablePaths]: `dataCollection.${P}`;
|
|
1636
1640
|
}[DataCollectionNonNullablePaths]>>;
|
|
1637
1641
|
interface UpdateDataCollectionFieldOptions {
|