@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
|
@@ -1562,11 +1562,13 @@ declare function deleteDataCollection(dataCollectionId: string): Promise<void>;
|
|
|
1562
1562
|
* @requiredField dataCollectionId
|
|
1563
1563
|
* @requiredField options
|
|
1564
1564
|
* @requiredField options.field
|
|
1565
|
+
* @requiredField options.field.key
|
|
1566
|
+
* @requiredField options.field.type
|
|
1565
1567
|
* @permissionId WIX_DATA.CREATE_COLLECTION_FIELD
|
|
1566
1568
|
* @applicableIdentity APP
|
|
1567
1569
|
* @fqn com.wixpress.cloud.data.api.collectionservice.DataCollectionService.CreateDataCollectionField
|
|
1568
1570
|
*/
|
|
1569
|
-
declare function createDataCollectionField(dataCollectionId: string, options: NonNullablePaths<CreateDataCollectionFieldOptions, `field`>): Promise<NonNullablePaths<CreateDataCollectionFieldResponse, {
|
|
1571
|
+
declare function createDataCollectionField(dataCollectionId: string, options: NonNullablePaths<CreateDataCollectionFieldOptions, `field` | `field.key` | `field.type`>): Promise<NonNullablePaths<CreateDataCollectionFieldResponse, {
|
|
1570
1572
|
[P in DataCollectionNonNullablePaths]: `dataCollection.${P}`;
|
|
1571
1573
|
}[DataCollectionNonNullablePaths]>>;
|
|
1572
1574
|
interface CreateDataCollectionFieldOptions {
|
|
@@ -1581,11 +1583,13 @@ interface CreateDataCollectionFieldOptions {
|
|
|
1581
1583
|
* @requiredField dataCollectionId
|
|
1582
1584
|
* @requiredField options
|
|
1583
1585
|
* @requiredField options.field
|
|
1586
|
+
* @requiredField options.field.key
|
|
1587
|
+
* @requiredField options.field.type
|
|
1584
1588
|
* @permissionId WIX_DATA.UPDATE_COLLECTION_FIELD
|
|
1585
1589
|
* @applicableIdentity APP
|
|
1586
1590
|
* @fqn com.wixpress.cloud.data.api.collectionservice.DataCollectionService.UpdateDataCollectionField
|
|
1587
1591
|
*/
|
|
1588
|
-
declare function updateDataCollectionField(dataCollectionId: string, options: NonNullablePaths<UpdateDataCollectionFieldOptions, `field`>): Promise<NonNullablePaths<UpdateDataCollectionFieldResponse, {
|
|
1592
|
+
declare function updateDataCollectionField(dataCollectionId: string, options: NonNullablePaths<UpdateDataCollectionFieldOptions, `field` | `field.key` | `field.type`>): Promise<NonNullablePaths<UpdateDataCollectionFieldResponse, {
|
|
1589
1593
|
[P in DataCollectionNonNullablePaths]: `dataCollection.${P}`;
|
|
1590
1594
|
}[DataCollectionNonNullablePaths]>>;
|
|
1591
1595
|
interface UpdateDataCollectionFieldOptions {
|