@wix/data 1.0.133 → 1.0.135
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/data",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.135",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -19,11 +19,11 @@
|
|
|
19
19
|
"service-plugins"
|
|
20
20
|
],
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@wix/data_collections": "1.0.
|
|
23
|
-
"@wix/data_external-database": "1.0.
|
|
24
|
-
"@wix/data_external-database-connections": "1.0.
|
|
22
|
+
"@wix/data_collections": "1.0.35",
|
|
23
|
+
"@wix/data_external-database": "1.0.10",
|
|
24
|
+
"@wix/data_external-database-connections": "1.0.32",
|
|
25
25
|
"@wix/data_indexes": "1.0.26",
|
|
26
|
-
"@wix/data_items": "1.0.
|
|
26
|
+
"@wix/data_items": "1.0.40"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"glob": "^10.4.1",
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
"fqdn": ""
|
|
48
48
|
}
|
|
49
49
|
},
|
|
50
|
-
"falconPackageHash": "
|
|
50
|
+
"falconPackageHash": "1b91fec160f75876e328dd47bb506e5726a5f373e5b9a1805e4f318d"
|
|
51
51
|
}
|
|
@@ -824,7 +824,7 @@ declare enum QueryOperator {
|
|
|
824
824
|
URLIZED = "URLIZED"
|
|
825
825
|
}
|
|
826
826
|
interface ObjectField {
|
|
827
|
-
/** Field
|
|
827
|
+
/** Field ID. */
|
|
828
828
|
key?: string;
|
|
829
829
|
/** Display name for the field. */
|
|
830
830
|
displayName?: string | null;
|
|
@@ -865,7 +865,7 @@ interface Reference {
|
|
|
865
865
|
interface MultiReference {
|
|
866
866
|
/** Referenced collection ID. */
|
|
867
867
|
referencedCollectionId?: string;
|
|
868
|
-
/** Referencing field
|
|
868
|
+
/** Referencing field ID. */
|
|
869
869
|
referencingFieldKey?: string;
|
|
870
870
|
/** Display name in the CMS for the referenced data. */
|
|
871
871
|
referencingDisplayName?: string;
|
|
@@ -1267,7 +1267,7 @@ interface UpdateDataCollectionFieldResponse {
|
|
|
1267
1267
|
interface DeleteDataCollectionFieldRequest {
|
|
1268
1268
|
/** ID of data collection to update */
|
|
1269
1269
|
dataCollectionId?: string;
|
|
1270
|
-
/** Field
|
|
1270
|
+
/** Field ID to delete */
|
|
1271
1271
|
fieldKey?: string;
|
|
1272
1272
|
}
|
|
1273
1273
|
interface DeleteDataCollectionFieldResponse {
|
|
@@ -1438,7 +1438,7 @@ interface DomainEvent$1 extends DomainEventBodyOneOf$1 {
|
|
|
1438
1438
|
slug?: string;
|
|
1439
1439
|
/** ID of the entity associated with the event. */
|
|
1440
1440
|
entityId?: string;
|
|
1441
|
-
/** Event timestamp. */
|
|
1441
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
|
1442
1442
|
eventTime?: Date;
|
|
1443
1443
|
/**
|
|
1444
1444
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -1688,7 +1688,7 @@ interface EventMetadata$1 extends BaseEventMetadata$1 {
|
|
|
1688
1688
|
slug?: string;
|
|
1689
1689
|
/** ID of the entity associated with the event. */
|
|
1690
1690
|
entityId?: string;
|
|
1691
|
-
/** Event timestamp. */
|
|
1691
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
|
1692
1692
|
eventTime?: Date;
|
|
1693
1693
|
/**
|
|
1694
1694
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -1943,7 +1943,7 @@ interface FieldUpdate extends FieldUpdateActionOptionsOneOf {
|
|
|
1943
1943
|
incrementField?: IncrementField;
|
|
1944
1944
|
appendToArray?: AppendToArray;
|
|
1945
1945
|
removeFromArray?: RemoveFromArray;
|
|
1946
|
-
/** Field
|
|
1946
|
+
/** Field ID to be patched. For ex "title", "address.street" */
|
|
1947
1947
|
fieldPath?: string;
|
|
1948
1948
|
/** Action to be applied */
|
|
1949
1949
|
action?: ACTION;
|
|
@@ -2747,7 +2747,7 @@ interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
2747
2747
|
slug?: string;
|
|
2748
2748
|
/** ID of the entity associated with the event. */
|
|
2749
2749
|
entityId?: string;
|
|
2750
|
-
/** Event timestamp. */
|
|
2750
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
|
2751
2751
|
eventTime?: Date;
|
|
2752
2752
|
/**
|
|
2753
2753
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -2966,7 +2966,7 @@ interface EventMetadata extends BaseEventMetadata {
|
|
|
2966
2966
|
slug?: string;
|
|
2967
2967
|
/** ID of the entity associated with the event. */
|
|
2968
2968
|
entityId?: string;
|
|
2969
|
-
/** Event timestamp. */
|
|
2969
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
|
2970
2970
|
eventTime?: Date;
|
|
2971
2971
|
/**
|
|
2972
2972
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -824,7 +824,7 @@ declare enum QueryOperator {
|
|
|
824
824
|
URLIZED = "URLIZED"
|
|
825
825
|
}
|
|
826
826
|
interface ObjectField {
|
|
827
|
-
/** Field
|
|
827
|
+
/** Field ID. */
|
|
828
828
|
key?: string;
|
|
829
829
|
/** Display name for the field. */
|
|
830
830
|
displayName?: string | null;
|
|
@@ -865,7 +865,7 @@ interface Reference {
|
|
|
865
865
|
interface MultiReference {
|
|
866
866
|
/** Referenced collection ID. */
|
|
867
867
|
referencedCollectionId?: string;
|
|
868
|
-
/** Referencing field
|
|
868
|
+
/** Referencing field ID. */
|
|
869
869
|
referencingFieldKey?: string;
|
|
870
870
|
/** Display name in the CMS for the referenced data. */
|
|
871
871
|
referencingDisplayName?: string;
|
|
@@ -1267,7 +1267,7 @@ interface UpdateDataCollectionFieldResponse {
|
|
|
1267
1267
|
interface DeleteDataCollectionFieldRequest {
|
|
1268
1268
|
/** ID of data collection to update */
|
|
1269
1269
|
dataCollectionId?: string;
|
|
1270
|
-
/** Field
|
|
1270
|
+
/** Field ID to delete */
|
|
1271
1271
|
fieldKey?: string;
|
|
1272
1272
|
}
|
|
1273
1273
|
interface DeleteDataCollectionFieldResponse {
|
|
@@ -1438,7 +1438,7 @@ interface DomainEvent$1 extends DomainEventBodyOneOf$1 {
|
|
|
1438
1438
|
slug?: string;
|
|
1439
1439
|
/** ID of the entity associated with the event. */
|
|
1440
1440
|
entityId?: string;
|
|
1441
|
-
/** Event timestamp. */
|
|
1441
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
|
1442
1442
|
eventTime?: Date;
|
|
1443
1443
|
/**
|
|
1444
1444
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -1688,7 +1688,7 @@ interface EventMetadata$1 extends BaseEventMetadata$1 {
|
|
|
1688
1688
|
slug?: string;
|
|
1689
1689
|
/** ID of the entity associated with the event. */
|
|
1690
1690
|
entityId?: string;
|
|
1691
|
-
/** Event timestamp. */
|
|
1691
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
|
1692
1692
|
eventTime?: Date;
|
|
1693
1693
|
/**
|
|
1694
1694
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -1943,7 +1943,7 @@ interface FieldUpdate extends FieldUpdateActionOptionsOneOf {
|
|
|
1943
1943
|
incrementField?: IncrementField;
|
|
1944
1944
|
appendToArray?: AppendToArray;
|
|
1945
1945
|
removeFromArray?: RemoveFromArray;
|
|
1946
|
-
/** Field
|
|
1946
|
+
/** Field ID to be patched. For ex "title", "address.street" */
|
|
1947
1947
|
fieldPath?: string;
|
|
1948
1948
|
/** Action to be applied */
|
|
1949
1949
|
action?: ACTION;
|
|
@@ -2747,7 +2747,7 @@ interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
2747
2747
|
slug?: string;
|
|
2748
2748
|
/** ID of the entity associated with the event. */
|
|
2749
2749
|
entityId?: string;
|
|
2750
|
-
/** Event timestamp. */
|
|
2750
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
|
2751
2751
|
eventTime?: Date;
|
|
2752
2752
|
/**
|
|
2753
2753
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -2966,7 +2966,7 @@ interface EventMetadata extends BaseEventMetadata {
|
|
|
2966
2966
|
slug?: string;
|
|
2967
2967
|
/** ID of the entity associated with the event. */
|
|
2968
2968
|
entityId?: string;
|
|
2969
|
-
/** Event timestamp. */
|
|
2969
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
|
2970
2970
|
eventTime?: Date;
|
|
2971
2971
|
/**
|
|
2972
2972
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -771,7 +771,7 @@ declare enum QueryOperator$1 {
|
|
|
771
771
|
URLIZED = "URLIZED"
|
|
772
772
|
}
|
|
773
773
|
interface ObjectField$1 {
|
|
774
|
-
/** Field
|
|
774
|
+
/** Field ID. */
|
|
775
775
|
key?: string;
|
|
776
776
|
/** Display name for the field. */
|
|
777
777
|
displayName?: string | null;
|
|
@@ -812,7 +812,7 @@ interface Reference$1 {
|
|
|
812
812
|
interface MultiReference$1 {
|
|
813
813
|
/** Referenced collection ID. */
|
|
814
814
|
referencedCollectionId?: string;
|
|
815
|
-
/** Referencing field
|
|
815
|
+
/** Referencing field ID. */
|
|
816
816
|
referencingFieldKey?: string;
|
|
817
817
|
/** Display name in the CMS for the referenced data. */
|
|
818
818
|
referencingDisplayName?: string;
|
|
@@ -1567,7 +1567,7 @@ declare enum QueryOperator {
|
|
|
1567
1567
|
URLIZED = "URLIZED"
|
|
1568
1568
|
}
|
|
1569
1569
|
interface ObjectField {
|
|
1570
|
-
/** Field
|
|
1570
|
+
/** Field ID. */
|
|
1571
1571
|
key?: string;
|
|
1572
1572
|
/** Display name for the field. */
|
|
1573
1573
|
displayName?: string | null;
|
|
@@ -1608,7 +1608,7 @@ interface Reference {
|
|
|
1608
1608
|
interface MultiReference {
|
|
1609
1609
|
/** Referenced collection ID. */
|
|
1610
1610
|
referencedCollectionId?: string;
|
|
1611
|
-
/** Referencing field
|
|
1611
|
+
/** Referencing field ID. */
|
|
1612
1612
|
referencingFieldKey?: string;
|
|
1613
1613
|
/** Display name in the CMS for the referenced data. */
|
|
1614
1614
|
referencingDisplayName?: string;
|
|
@@ -349,7 +349,7 @@ interface QueryReferencedDataItemsRequest extends QueryReferencedDataItemsReques
|
|
|
349
349
|
referencedItemIds?: string[];
|
|
350
350
|
/** Order to by which to sort the results. Valid values are `ASC` and `DESC`. */
|
|
351
351
|
order?: SortOrder;
|
|
352
|
-
/** Field
|
|
352
|
+
/** Field ID to query in the referring collection. */
|
|
353
353
|
referringFieldKey: string;
|
|
354
354
|
/** Whether to retrieve data from the primary database instance. This decreases performance but ensures data retrieved is up-to-date even immediately after an update. Applicable if the external database is eventually consistent. */
|
|
355
355
|
consistentRead: boolean;
|
|
@@ -384,7 +384,7 @@ interface ReferencedItem {
|
|
|
384
384
|
interface InsertDataItemReferencesRequest {
|
|
385
385
|
/** ID of the referring collection. */
|
|
386
386
|
collectionId: string;
|
|
387
|
-
/** Field
|
|
387
|
+
/** Field ID of the field in the referring collection to insert references into. */
|
|
388
388
|
referringFieldKey: string;
|
|
389
389
|
/** References to insert. */
|
|
390
390
|
references: ReferenceId[];
|
|
@@ -415,7 +415,7 @@ interface ReferenceModificationResultResultOneOf {
|
|
|
415
415
|
interface RemoveDataItemReferencesRequest {
|
|
416
416
|
/** ID of the referring collection. */
|
|
417
417
|
collectionId: string;
|
|
418
|
-
/** Field
|
|
418
|
+
/** Field ID of the field in the referring collection to remove references from. */
|
|
419
419
|
referringFieldKey: string;
|
|
420
420
|
/** References to remove. */
|
|
421
421
|
references: ReferenceId[];
|
|
@@ -538,7 +538,7 @@ interface SingleReferenceOptions {
|
|
|
538
538
|
interface MultiReferenceOptions {
|
|
539
539
|
/** ID of the referenced collection. */
|
|
540
540
|
referencedCollectionId?: string;
|
|
541
|
-
/** Field
|
|
541
|
+
/** Field ID of the referenced field in the referenced collection. */
|
|
542
542
|
referencedCollectionFieldKey?: string | null;
|
|
543
543
|
/** Field display name of the referenced field in the referenced collection. */
|
|
544
544
|
referencedCollectionFieldDisplayName?: string | null;
|
|
@@ -567,7 +567,7 @@ interface ObjectField extends ObjectFieldTypeOptionsOneOf {
|
|
|
567
567
|
multiReferenceOptions?: MultiReferenceOptions;
|
|
568
568
|
arrayOptions?: ArrayOptions;
|
|
569
569
|
objectOptions?: ObjectOptions;
|
|
570
|
-
/** Field
|
|
570
|
+
/** Field ID. */
|
|
571
571
|
key?: string;
|
|
572
572
|
/** Field display name. */
|
|
573
573
|
displayName?: string | null;
|
|
@@ -349,7 +349,7 @@ interface QueryReferencedDataItemsRequest extends QueryReferencedDataItemsReques
|
|
|
349
349
|
referencedItemIds?: string[];
|
|
350
350
|
/** Order to by which to sort the results. Valid values are `ASC` and `DESC`. */
|
|
351
351
|
order?: SortOrder;
|
|
352
|
-
/** Field
|
|
352
|
+
/** Field ID to query in the referring collection. */
|
|
353
353
|
referringFieldKey: string;
|
|
354
354
|
/** Whether to retrieve data from the primary database instance. This decreases performance but ensures data retrieved is up-to-date even immediately after an update. Applicable if the external database is eventually consistent. */
|
|
355
355
|
consistentRead: boolean;
|
|
@@ -384,7 +384,7 @@ interface ReferencedItem {
|
|
|
384
384
|
interface InsertDataItemReferencesRequest {
|
|
385
385
|
/** ID of the referring collection. */
|
|
386
386
|
collectionId: string;
|
|
387
|
-
/** Field
|
|
387
|
+
/** Field ID of the field in the referring collection to insert references into. */
|
|
388
388
|
referringFieldKey: string;
|
|
389
389
|
/** References to insert. */
|
|
390
390
|
references: ReferenceId[];
|
|
@@ -415,7 +415,7 @@ interface ReferenceModificationResultResultOneOf {
|
|
|
415
415
|
interface RemoveDataItemReferencesRequest {
|
|
416
416
|
/** ID of the referring collection. */
|
|
417
417
|
collectionId: string;
|
|
418
|
-
/** Field
|
|
418
|
+
/** Field ID of the field in the referring collection to remove references from. */
|
|
419
419
|
referringFieldKey: string;
|
|
420
420
|
/** References to remove. */
|
|
421
421
|
references: ReferenceId[];
|
|
@@ -538,7 +538,7 @@ interface SingleReferenceOptions {
|
|
|
538
538
|
interface MultiReferenceOptions {
|
|
539
539
|
/** ID of the referenced collection. */
|
|
540
540
|
referencedCollectionId?: string;
|
|
541
|
-
/** Field
|
|
541
|
+
/** Field ID of the referenced field in the referenced collection. */
|
|
542
542
|
referencedCollectionFieldKey?: string | null;
|
|
543
543
|
/** Field display name of the referenced field in the referenced collection. */
|
|
544
544
|
referencedCollectionFieldDisplayName?: string | null;
|
|
@@ -567,7 +567,7 @@ interface ObjectField extends ObjectFieldTypeOptionsOneOf {
|
|
|
567
567
|
multiReferenceOptions?: MultiReferenceOptions;
|
|
568
568
|
arrayOptions?: ArrayOptions;
|
|
569
569
|
objectOptions?: ObjectOptions;
|
|
570
|
-
/** Field
|
|
570
|
+
/** Field ID. */
|
|
571
571
|
key?: string;
|
|
572
572
|
/** Field display name. */
|
|
573
573
|
displayName?: string | null;
|