@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.
@@ -74,7 +74,7 @@ interface CreateDataCollectionFieldSignature {
74
74
  * Adds new field to data collection schema
75
75
  * @param - ID of data collection to update
76
76
  */
77
- (dataCollectionId: string, options: NonNullablePaths<CreateDataCollectionFieldOptions, `field`>): Promise<NonNullablePaths<CreateDataCollectionFieldResponse, {
77
+ (dataCollectionId: string, options: NonNullablePaths<CreateDataCollectionFieldOptions, `field` | `field.key` | `field.type`>): Promise<NonNullablePaths<CreateDataCollectionFieldResponse, {
78
78
  [P in DataCollectionNonNullablePaths]: `dataCollection.${P}`;
79
79
  }[DataCollectionNonNullablePaths]>>;
80
80
  }
@@ -84,7 +84,7 @@ interface UpdateDataCollectionFieldSignature {
84
84
  * Updates data collection field
85
85
  * @param - ID of data collection to update
86
86
  */
87
- (dataCollectionId: string, options: NonNullablePaths<UpdateDataCollectionFieldOptions, `field`>): Promise<NonNullablePaths<UpdateDataCollectionFieldResponse, {
87
+ (dataCollectionId: string, options: NonNullablePaths<UpdateDataCollectionFieldOptions, `field` | `field.key` | `field.type`>): Promise<NonNullablePaths<UpdateDataCollectionFieldResponse, {
88
88
  [P in DataCollectionNonNullablePaths]: `dataCollection.${P}`;
89
89
  }[DataCollectionNonNullablePaths]>>;
90
90
  }