@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.
@@ -87,7 +87,7 @@ interface CreateDataCollectionFieldSignature {
87
87
  * Adds new field to data collection schema
88
88
  * @param - ID of data collection to update
89
89
  */
90
- (dataCollectionId: string, options: NonNullablePaths<CreateDataCollectionFieldOptions, `field`>): Promise<NonNullablePaths<CreateDataCollectionFieldResponse, {
90
+ (dataCollectionId: string, options: NonNullablePaths<CreateDataCollectionFieldOptions, `field` | `field.key` | `field.type`>): Promise<NonNullablePaths<CreateDataCollectionFieldResponse, {
91
91
  [P in DataCollectionNonNullablePaths]: `dataCollection.${P}`;
92
92
  }[DataCollectionNonNullablePaths]>>;
93
93
  }
@@ -97,7 +97,7 @@ interface UpdateDataCollectionFieldSignature {
97
97
  * Updates data collection field
98
98
  * @param - ID of data collection to update
99
99
  */
100
- (dataCollectionId: string, options: NonNullablePaths<UpdateDataCollectionFieldOptions, `field`>): Promise<NonNullablePaths<UpdateDataCollectionFieldResponse, {
100
+ (dataCollectionId: string, options: NonNullablePaths<UpdateDataCollectionFieldOptions, `field` | `field.key` | `field.type`>): Promise<NonNullablePaths<UpdateDataCollectionFieldResponse, {
101
101
  [P in DataCollectionNonNullablePaths]: `dataCollection.${P}`;
102
102
  }[DataCollectionNonNullablePaths]>>;
103
103
  }