@wix/data 1.0.77 → 1.0.79
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/src/data-v1-external-database-connection.http.d.ts +1 -1
- package/build/cjs/src/data-v1-external-database-connection.http.js +1 -1
- package/build/cjs/src/data-v1-external-database-connection.universal.d.ts +1 -1
- package/build/cjs/src/data-v1-external-database-connection.universal.js +1 -1
- package/build/cjs/src/data-v2-data-item.types.d.ts +11 -0
- package/build/cjs/src/data-v2-data-item.universal.d.ts +2 -2
- package/build/es/src/data-v1-external-database-connection.http.d.ts +1 -1
- package/build/es/src/data-v1-external-database-connection.http.js +1 -1
- package/build/es/src/data-v1-external-database-connection.universal.d.ts +1 -1
- package/build/es/src/data-v1-external-database-connection.universal.js +1 -1
- package/build/es/src/data-v2-data-item.types.d.ts +11 -0
- package/build/es/src/data-v2-data-item.universal.d.ts +2 -2
- package/package.json +2 -2
|
@@ -7,7 +7,7 @@ export declare function listExternalDatabaseConnections(payload: ListExternalDat
|
|
|
7
7
|
/**
|
|
8
8
|
* Creates a new external database connection.
|
|
9
9
|
*
|
|
10
|
-
* The `
|
|
10
|
+
* The `externalDatabaseConnection` parameter must include a `name`, `endpoint`, and `configuration` details for the external database.
|
|
11
11
|
* If any of these are missing, the external database connection isn't created.
|
|
12
12
|
*/
|
|
13
13
|
export declare function createExternalDatabaseConnection(payload: CreateExternalDatabaseConnectionRequest): RequestOptionsFactory<CreateExternalDatabaseConnectionResponse & CreateExternalDatabaseConnectionResponseNonNullableFields>;
|
|
@@ -307,7 +307,7 @@ exports.listExternalDatabaseConnections = listExternalDatabaseConnections;
|
|
|
307
307
|
/**
|
|
308
308
|
* Creates a new external database connection.
|
|
309
309
|
*
|
|
310
|
-
* The `
|
|
310
|
+
* The `externalDatabaseConnection` parameter must include a `name`, `endpoint`, and `configuration` details for the external database.
|
|
311
311
|
* If any of these are missing, the external database connection isn't created.
|
|
312
312
|
*/
|
|
313
313
|
function createExternalDatabaseConnection(payload) {
|
|
@@ -347,7 +347,7 @@ export interface ListExternalDatabaseConnectionsOptions {
|
|
|
347
347
|
/**
|
|
348
348
|
* Creates a new external database connection.
|
|
349
349
|
*
|
|
350
|
-
* The `
|
|
350
|
+
* The `externalDatabaseConnection` parameter must include a `name`, `endpoint`, and `configuration` details for the external database.
|
|
351
351
|
* If any of these are missing, the external database connection isn't created.
|
|
352
352
|
* @param externalDatabaseConnection - External database connection details.
|
|
353
353
|
* @public
|
|
@@ -257,7 +257,7 @@ exports.listExternalDatabaseConnections = listExternalDatabaseConnections;
|
|
|
257
257
|
/**
|
|
258
258
|
* Creates a new external database connection.
|
|
259
259
|
*
|
|
260
|
-
* The `
|
|
260
|
+
* The `externalDatabaseConnection` parameter must include a `name`, `endpoint`, and `configuration` details for the external database.
|
|
261
261
|
* If any of these are missing, the external database connection isn't created.
|
|
262
262
|
* @param externalDatabaseConnection - External database connection details.
|
|
263
263
|
* @public
|
|
@@ -705,32 +705,38 @@ export interface ReplaceDataItemReferencesResponse {
|
|
|
705
705
|
export interface InsertDataItemResponseNonNullableFields {
|
|
706
706
|
dataItem?: {
|
|
707
707
|
id: string;
|
|
708
|
+
dataCollectionId: string;
|
|
708
709
|
};
|
|
709
710
|
}
|
|
710
711
|
export interface UpdateDataItemResponseNonNullableFields {
|
|
711
712
|
dataItem?: {
|
|
712
713
|
id: string;
|
|
714
|
+
dataCollectionId: string;
|
|
713
715
|
};
|
|
714
716
|
}
|
|
715
717
|
export interface SaveDataItemResponseNonNullableFields {
|
|
716
718
|
action: Action;
|
|
717
719
|
dataItem?: {
|
|
718
720
|
id: string;
|
|
721
|
+
dataCollectionId: string;
|
|
719
722
|
};
|
|
720
723
|
}
|
|
721
724
|
export interface GetDataItemResponseNonNullableFields {
|
|
722
725
|
dataItem?: {
|
|
723
726
|
id: string;
|
|
727
|
+
dataCollectionId: string;
|
|
724
728
|
};
|
|
725
729
|
}
|
|
726
730
|
export interface RemoveDataItemResponseNonNullableFields {
|
|
727
731
|
dataItem?: {
|
|
728
732
|
id: string;
|
|
733
|
+
dataCollectionId: string;
|
|
729
734
|
};
|
|
730
735
|
}
|
|
731
736
|
export interface QueryDataItemsResponseNonNullableFields {
|
|
732
737
|
dataItems: {
|
|
733
738
|
id: string;
|
|
739
|
+
dataCollectionId: string;
|
|
734
740
|
}[];
|
|
735
741
|
}
|
|
736
742
|
export interface CountDataItemsResponseNonNullableFields {
|
|
@@ -749,6 +755,7 @@ export interface BulkInsertDataItemsResponseNonNullableFields {
|
|
|
749
755
|
};
|
|
750
756
|
dataItem?: {
|
|
751
757
|
id: string;
|
|
758
|
+
dataCollectionId: string;
|
|
752
759
|
};
|
|
753
760
|
}[];
|
|
754
761
|
bulkActionMetadata?: {
|
|
@@ -769,6 +776,7 @@ export interface BulkUpdateDataItemsResponseNonNullableFields {
|
|
|
769
776
|
};
|
|
770
777
|
dataItem?: {
|
|
771
778
|
id: string;
|
|
779
|
+
dataCollectionId: string;
|
|
772
780
|
};
|
|
773
781
|
}[];
|
|
774
782
|
bulkActionMetadata?: {
|
|
@@ -789,6 +797,7 @@ export interface BulkSaveDataItemsResponseNonNullableFields {
|
|
|
789
797
|
};
|
|
790
798
|
dataItem?: {
|
|
791
799
|
id: string;
|
|
800
|
+
dataCollectionId: string;
|
|
792
801
|
};
|
|
793
802
|
}[];
|
|
794
803
|
bulkActionMetadata?: {
|
|
@@ -809,6 +818,7 @@ export interface BulkRemoveDataItemsResponseNonNullableFields {
|
|
|
809
818
|
};
|
|
810
819
|
dataItem?: {
|
|
811
820
|
id: string;
|
|
821
|
+
dataCollectionId: string;
|
|
812
822
|
};
|
|
813
823
|
}[];
|
|
814
824
|
bulkActionMetadata?: {
|
|
@@ -820,6 +830,7 @@ export interface QueryReferencedDataItemsResponseNonNullableFields {
|
|
|
820
830
|
results: {
|
|
821
831
|
dataItem?: {
|
|
822
832
|
id: string;
|
|
833
|
+
dataCollectionId: string;
|
|
823
834
|
};
|
|
824
835
|
unresolvedReference?: {
|
|
825
836
|
referringItemId: string;
|
|
@@ -1193,11 +1193,11 @@ export interface DataItemsQueryBuilder {
|
|
|
1193
1193
|
/** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
|
|
1194
1194
|
* @documentationMaturity preview
|
|
1195
1195
|
*/
|
|
1196
|
-
ascending: (...propertyNames: Array<'_id' | 'data' | string>) => DataItemsQueryBuilder;
|
|
1196
|
+
ascending: (...propertyNames: Array<'_id' | 'dataCollectionId' | 'data' | string>) => DataItemsQueryBuilder;
|
|
1197
1197
|
/** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
|
|
1198
1198
|
* @documentationMaturity preview
|
|
1199
1199
|
*/
|
|
1200
|
-
descending: (...propertyNames: Array<'_id' | 'data' | string>) => DataItemsQueryBuilder;
|
|
1200
|
+
descending: (...propertyNames: Array<'_id' | 'dataCollectionId' | 'data' | string>) => DataItemsQueryBuilder;
|
|
1201
1201
|
/** @param limit - Number of items to return, which is also the `pageSize` of the results object.
|
|
1202
1202
|
* @documentationMaturity preview
|
|
1203
1203
|
*/
|
|
@@ -7,7 +7,7 @@ export declare function listExternalDatabaseConnections(payload: ListExternalDat
|
|
|
7
7
|
/**
|
|
8
8
|
* Creates a new external database connection.
|
|
9
9
|
*
|
|
10
|
-
* The `
|
|
10
|
+
* The `externalDatabaseConnection` parameter must include a `name`, `endpoint`, and `configuration` details for the external database.
|
|
11
11
|
* If any of these are missing, the external database connection isn't created.
|
|
12
12
|
*/
|
|
13
13
|
export declare function createExternalDatabaseConnection(payload: CreateExternalDatabaseConnectionRequest): RequestOptionsFactory<CreateExternalDatabaseConnectionResponse & CreateExternalDatabaseConnectionResponseNonNullableFields>;
|
|
@@ -302,7 +302,7 @@ export function listExternalDatabaseConnections(payload) {
|
|
|
302
302
|
/**
|
|
303
303
|
* Creates a new external database connection.
|
|
304
304
|
*
|
|
305
|
-
* The `
|
|
305
|
+
* The `externalDatabaseConnection` parameter must include a `name`, `endpoint`, and `configuration` details for the external database.
|
|
306
306
|
* If any of these are missing, the external database connection isn't created.
|
|
307
307
|
*/
|
|
308
308
|
export function createExternalDatabaseConnection(payload) {
|
|
@@ -347,7 +347,7 @@ export interface ListExternalDatabaseConnectionsOptions {
|
|
|
347
347
|
/**
|
|
348
348
|
* Creates a new external database connection.
|
|
349
349
|
*
|
|
350
|
-
* The `
|
|
350
|
+
* The `externalDatabaseConnection` parameter must include a `name`, `endpoint`, and `configuration` details for the external database.
|
|
351
351
|
* If any of these are missing, the external database connection isn't created.
|
|
352
352
|
* @param externalDatabaseConnection - External database connection details.
|
|
353
353
|
* @public
|
|
@@ -229,7 +229,7 @@ export function listExternalDatabaseConnections(options) {
|
|
|
229
229
|
/**
|
|
230
230
|
* Creates a new external database connection.
|
|
231
231
|
*
|
|
232
|
-
* The `
|
|
232
|
+
* The `externalDatabaseConnection` parameter must include a `name`, `endpoint`, and `configuration` details for the external database.
|
|
233
233
|
* If any of these are missing, the external database connection isn't created.
|
|
234
234
|
* @param externalDatabaseConnection - External database connection details.
|
|
235
235
|
* @public
|
|
@@ -705,32 +705,38 @@ export interface ReplaceDataItemReferencesResponse {
|
|
|
705
705
|
export interface InsertDataItemResponseNonNullableFields {
|
|
706
706
|
dataItem?: {
|
|
707
707
|
id: string;
|
|
708
|
+
dataCollectionId: string;
|
|
708
709
|
};
|
|
709
710
|
}
|
|
710
711
|
export interface UpdateDataItemResponseNonNullableFields {
|
|
711
712
|
dataItem?: {
|
|
712
713
|
id: string;
|
|
714
|
+
dataCollectionId: string;
|
|
713
715
|
};
|
|
714
716
|
}
|
|
715
717
|
export interface SaveDataItemResponseNonNullableFields {
|
|
716
718
|
action: Action;
|
|
717
719
|
dataItem?: {
|
|
718
720
|
id: string;
|
|
721
|
+
dataCollectionId: string;
|
|
719
722
|
};
|
|
720
723
|
}
|
|
721
724
|
export interface GetDataItemResponseNonNullableFields {
|
|
722
725
|
dataItem?: {
|
|
723
726
|
id: string;
|
|
727
|
+
dataCollectionId: string;
|
|
724
728
|
};
|
|
725
729
|
}
|
|
726
730
|
export interface RemoveDataItemResponseNonNullableFields {
|
|
727
731
|
dataItem?: {
|
|
728
732
|
id: string;
|
|
733
|
+
dataCollectionId: string;
|
|
729
734
|
};
|
|
730
735
|
}
|
|
731
736
|
export interface QueryDataItemsResponseNonNullableFields {
|
|
732
737
|
dataItems: {
|
|
733
738
|
id: string;
|
|
739
|
+
dataCollectionId: string;
|
|
734
740
|
}[];
|
|
735
741
|
}
|
|
736
742
|
export interface CountDataItemsResponseNonNullableFields {
|
|
@@ -749,6 +755,7 @@ export interface BulkInsertDataItemsResponseNonNullableFields {
|
|
|
749
755
|
};
|
|
750
756
|
dataItem?: {
|
|
751
757
|
id: string;
|
|
758
|
+
dataCollectionId: string;
|
|
752
759
|
};
|
|
753
760
|
}[];
|
|
754
761
|
bulkActionMetadata?: {
|
|
@@ -769,6 +776,7 @@ export interface BulkUpdateDataItemsResponseNonNullableFields {
|
|
|
769
776
|
};
|
|
770
777
|
dataItem?: {
|
|
771
778
|
id: string;
|
|
779
|
+
dataCollectionId: string;
|
|
772
780
|
};
|
|
773
781
|
}[];
|
|
774
782
|
bulkActionMetadata?: {
|
|
@@ -789,6 +797,7 @@ export interface BulkSaveDataItemsResponseNonNullableFields {
|
|
|
789
797
|
};
|
|
790
798
|
dataItem?: {
|
|
791
799
|
id: string;
|
|
800
|
+
dataCollectionId: string;
|
|
792
801
|
};
|
|
793
802
|
}[];
|
|
794
803
|
bulkActionMetadata?: {
|
|
@@ -809,6 +818,7 @@ export interface BulkRemoveDataItemsResponseNonNullableFields {
|
|
|
809
818
|
};
|
|
810
819
|
dataItem?: {
|
|
811
820
|
id: string;
|
|
821
|
+
dataCollectionId: string;
|
|
812
822
|
};
|
|
813
823
|
}[];
|
|
814
824
|
bulkActionMetadata?: {
|
|
@@ -820,6 +830,7 @@ export interface QueryReferencedDataItemsResponseNonNullableFields {
|
|
|
820
830
|
results: {
|
|
821
831
|
dataItem?: {
|
|
822
832
|
id: string;
|
|
833
|
+
dataCollectionId: string;
|
|
823
834
|
};
|
|
824
835
|
unresolvedReference?: {
|
|
825
836
|
referringItemId: string;
|
|
@@ -1193,11 +1193,11 @@ export interface DataItemsQueryBuilder {
|
|
|
1193
1193
|
/** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
|
|
1194
1194
|
* @documentationMaturity preview
|
|
1195
1195
|
*/
|
|
1196
|
-
ascending: (...propertyNames: Array<'_id' | 'data' | string>) => DataItemsQueryBuilder;
|
|
1196
|
+
ascending: (...propertyNames: Array<'_id' | 'dataCollectionId' | 'data' | string>) => DataItemsQueryBuilder;
|
|
1197
1197
|
/** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
|
|
1198
1198
|
* @documentationMaturity preview
|
|
1199
1199
|
*/
|
|
1200
|
-
descending: (...propertyNames: Array<'_id' | 'data' | string>) => DataItemsQueryBuilder;
|
|
1200
|
+
descending: (...propertyNames: Array<'_id' | 'dataCollectionId' | 'data' | string>) => DataItemsQueryBuilder;
|
|
1201
1201
|
/** @param limit - Number of items to return, which is also the `pageSize` of the results object.
|
|
1202
1202
|
* @documentationMaturity preview
|
|
1203
1203
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/data",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.79",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -33,5 +33,5 @@
|
|
|
33
33
|
"groupId": "com.wixpress.public-sdk-autogen"
|
|
34
34
|
}
|
|
35
35
|
},
|
|
36
|
-
"falconPackageHash": "
|
|
36
|
+
"falconPackageHash": "0572a5bcb9da8e02cabee9f32af8a154beab20dcca16ff63dda2cf52"
|
|
37
37
|
}
|