@wix/wix-data-items-sdk 1.0.272 → 1.0.274
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-v2-data-item-items.universal.d.ts +9 -8
- package/build/cjs/src/data-v2-data-item-items.universal.js +9 -8
- package/build/cjs/src/data-v2-data-item-items.universal.js.map +1 -1
- package/build/es/src/data-v2-data-item-items.universal.d.ts +9 -8
- package/build/es/src/data-v2-data-item-items.universal.js +9 -8
- package/build/es/src/data-v2-data-item-items.universal.js.map +1 -1
- package/package.json +3 -3
|
@@ -483,19 +483,20 @@ export declare function removeReference(dataCollectionId: string, field: string,
|
|
|
483
483
|
*/
|
|
484
484
|
export declare function replaceReferences(dataCollectionId: string, field: string, referringItem: WixDataItem | string, referencedItem: WixDataItem | string | WixDataItem[] | string[], options?: WixDataOptions): Promise<void>;
|
|
485
485
|
/**
|
|
486
|
-
* Creates a patch to modify the specified item. Unlike [`update()`](https://dev.wix.com/docs/sdk/backend-modules/data/items/update
|
|
486
|
+
* Creates a patch to modify the specified item. Unlike [`update()`](https://dev.wix.com/docs/sdk/backend-modules/data/items/update, only the fields specified in the request are modified. Data that isn't explicitly modified remains unchanged.
|
|
487
487
|
*
|
|
488
|
-
*
|
|
488
|
+
*
|
|
489
|
+
* The `patch()` method builds a patch to modify a data item in a specified collection. It returns a `WixDataPatch` object that contains the patch definition, which you can further refine by chaining [`WixDataPatch` methods](https://dev.wix.com/docs/sdk/backend-modules/data/items/wix-data-patch/introduction) onto it. These methods allow you to clear, set, and increment field values, as well as add or remove items from array fields. The methods are applied in the order in which they are chained.
|
|
489
490
|
*
|
|
490
491
|
* Finally, to run the patch, chain [`run()`](https://dev.wix.com/docs/sdk/backend-modules/data/items/wix-data-patch/run) as the last method.
|
|
491
492
|
*
|
|
492
493
|
* If an item is found in the specified collection with the specified ID, that item is patched. If the collection doesn't contain an item with that ID, the request fails.
|
|
493
494
|
*
|
|
494
|
-
* Calling the `patch()` method triggers the [`beforeUpdate()`](https://dev.wix.com/docs/velo/api-reference/wix-data/hooks/before-update) and [`afterUpdate()`](https://dev.wix.com/docs/velo/api-reference/wix-data/hooks/after-update) hooks if they have been defined.
|
|
495
|
+
* Calling the `patch()` method triggers the [`beforeUpdate()`](https://dev.wix.com/docs/velo/api-reference/wix-data/hooks/before-update) and [`afterUpdate()`](https://dev.wix.com/docs/velo/api-reference/wix-data/hooks/after-update) hooks, if they have been defined.
|
|
495
496
|
*
|
|
496
497
|
* > **Notes**:
|
|
497
|
-
* > - When an item is patched, its `data._updatedDate`
|
|
498
|
-
* > - You can only patch items in collections
|
|
498
|
+
* > - When an item is patched, its `data._updatedDate` property is updated to the current date and time.
|
|
499
|
+
* > - You can only patch items in [collections created by Wix users](https://support.wix.com/en/article/cms-formerly-content-manager-creating-a-collection). Items in [Wix app collections](https://dev.wix.com/docs/develop-websites/articles/databases/wix-data/collections/working-with-wix-app-collections-and-code) cannot be patched.
|
|
499
500
|
*
|
|
500
501
|
* @public
|
|
501
502
|
* @documentationMaturity preview
|
|
@@ -508,7 +509,7 @@ export declare function replaceReferences(dataCollectionId: string, field: strin
|
|
|
508
509
|
*/
|
|
509
510
|
export declare function patch(dataCollectionId: string, itemId: string): WixDataPatch;
|
|
510
511
|
/**
|
|
511
|
-
* Creates a bulk patch to modify the specified items. Unlike [`bulkUpdate()`](https://dev.wix.com/docs/sdk/backend-modules/data/items/bulk-update),
|
|
512
|
+
* Creates a bulk patch to modify the specified items. Unlike [`bulkUpdate()`](https://dev.wix.com/docs/sdk/backend-modules/data/items/bulk-update), only the fields specified in the request are modified. Data that isn't explicitly modified remains unchanged.
|
|
512
513
|
*
|
|
513
514
|
* The `bulkPatch()` method builds a bulk patch to modify multiple data items in a collection. It returns a `WixDataBulkPatch` object that contains the bulk patch definition, which you can further refine by chaining [`WixDataBulkPatch` methods](https://dev.wix.com/docs/sdk/backend-modules/data/items/wix-data-bulk-patch/introduction) onto it. These methods allow you to clear, set, and increment field values, as well as add or remove items from array fields. The methods are applied in the order in which they are chained.
|
|
514
515
|
*
|
|
@@ -518,13 +519,13 @@ export declare function patch(dataCollectionId: string, itemId: string): WixData
|
|
|
518
519
|
*
|
|
519
520
|
* > **Notes**:
|
|
520
521
|
* > - When an item is patched, its `data._updatedDate` field is changed to the current date and time.
|
|
521
|
-
* > - You can only patch items in collections
|
|
522
|
+
* > - You can only patch items in [collections created by Wix users](https://support.wix.com/en/article/cms-formerly-content-manager-creating-a-collection). Items in [Wix app collections](https://dev.wix.com/docs/develop-websites/articles/databases/wix-data/collections/working-with-wix-app-collections-and-code) cannot be patched.
|
|
522
523
|
*
|
|
523
524
|
* @public
|
|
524
525
|
* @documentationMaturity preview
|
|
525
526
|
* @requiredField dataCollectionId
|
|
526
527
|
* @requiredField itemIds
|
|
527
|
-
* @param dataCollectionId -
|
|
528
|
+
* @param dataCollectionId - ID of the collection that contains the items to patch.
|
|
528
529
|
* @param itemIds - IDs of the data items to patch.
|
|
529
530
|
* @permissionScope Write Data Items
|
|
530
531
|
* @permissionScopeId SCOPE.DC-DATA.WRITE
|
|
@@ -558,19 +558,20 @@ async function replaceReferences(dataCollectionId, field, referringItem, referen
|
|
|
558
558
|
return (0, wix_data_api_1.createWixData)(httpClient, sideEffects).replaceReferences(dataCollectionId, field, referringItem, referencedItem, options);
|
|
559
559
|
}
|
|
560
560
|
/**
|
|
561
|
-
* Creates a patch to modify the specified item. Unlike [`update()`](https://dev.wix.com/docs/sdk/backend-modules/data/items/update
|
|
561
|
+
* Creates a patch to modify the specified item. Unlike [`update()`](https://dev.wix.com/docs/sdk/backend-modules/data/items/update, only the fields specified in the request are modified. Data that isn't explicitly modified remains unchanged.
|
|
562
562
|
*
|
|
563
|
-
*
|
|
563
|
+
*
|
|
564
|
+
* The `patch()` method builds a patch to modify a data item in a specified collection. It returns a `WixDataPatch` object that contains the patch definition, which you can further refine by chaining [`WixDataPatch` methods](https://dev.wix.com/docs/sdk/backend-modules/data/items/wix-data-patch/introduction) onto it. These methods allow you to clear, set, and increment field values, as well as add or remove items from array fields. The methods are applied in the order in which they are chained.
|
|
564
565
|
*
|
|
565
566
|
* Finally, to run the patch, chain [`run()`](https://dev.wix.com/docs/sdk/backend-modules/data/items/wix-data-patch/run) as the last method.
|
|
566
567
|
*
|
|
567
568
|
* If an item is found in the specified collection with the specified ID, that item is patched. If the collection doesn't contain an item with that ID, the request fails.
|
|
568
569
|
*
|
|
569
|
-
* Calling the `patch()` method triggers the [`beforeUpdate()`](https://dev.wix.com/docs/velo/api-reference/wix-data/hooks/before-update) and [`afterUpdate()`](https://dev.wix.com/docs/velo/api-reference/wix-data/hooks/after-update) hooks if they have been defined.
|
|
570
|
+
* Calling the `patch()` method triggers the [`beforeUpdate()`](https://dev.wix.com/docs/velo/api-reference/wix-data/hooks/before-update) and [`afterUpdate()`](https://dev.wix.com/docs/velo/api-reference/wix-data/hooks/after-update) hooks, if they have been defined.
|
|
570
571
|
*
|
|
571
572
|
* > **Notes**:
|
|
572
|
-
* > - When an item is patched, its `data._updatedDate`
|
|
573
|
-
* > - You can only patch items in collections
|
|
573
|
+
* > - When an item is patched, its `data._updatedDate` property is updated to the current date and time.
|
|
574
|
+
* > - You can only patch items in [collections created by Wix users](https://support.wix.com/en/article/cms-formerly-content-manager-creating-a-collection). Items in [Wix app collections](https://dev.wix.com/docs/develop-websites/articles/databases/wix-data/collections/working-with-wix-app-collections-and-code) cannot be patched.
|
|
574
575
|
*
|
|
575
576
|
* @public
|
|
576
577
|
* @documentationMaturity preview
|
|
@@ -586,7 +587,7 @@ function patch(dataCollectionId, itemId) {
|
|
|
586
587
|
return (0, wix_data_api_1.createWixData)(httpClient, sideEffects).patch(dataCollectionId, itemId);
|
|
587
588
|
}
|
|
588
589
|
/**
|
|
589
|
-
* Creates a bulk patch to modify the specified items. Unlike [`bulkUpdate()`](https://dev.wix.com/docs/sdk/backend-modules/data/items/bulk-update),
|
|
590
|
+
* Creates a bulk patch to modify the specified items. Unlike [`bulkUpdate()`](https://dev.wix.com/docs/sdk/backend-modules/data/items/bulk-update), only the fields specified in the request are modified. Data that isn't explicitly modified remains unchanged.
|
|
590
591
|
*
|
|
591
592
|
* The `bulkPatch()` method builds a bulk patch to modify multiple data items in a collection. It returns a `WixDataBulkPatch` object that contains the bulk patch definition, which you can further refine by chaining [`WixDataBulkPatch` methods](https://dev.wix.com/docs/sdk/backend-modules/data/items/wix-data-bulk-patch/introduction) onto it. These methods allow you to clear, set, and increment field values, as well as add or remove items from array fields. The methods are applied in the order in which they are chained.
|
|
592
593
|
*
|
|
@@ -596,13 +597,13 @@ function patch(dataCollectionId, itemId) {
|
|
|
596
597
|
*
|
|
597
598
|
* > **Notes**:
|
|
598
599
|
* > - When an item is patched, its `data._updatedDate` field is changed to the current date and time.
|
|
599
|
-
* > - You can only patch items in collections
|
|
600
|
+
* > - You can only patch items in [collections created by Wix users](https://support.wix.com/en/article/cms-formerly-content-manager-creating-a-collection). Items in [Wix app collections](https://dev.wix.com/docs/develop-websites/articles/databases/wix-data/collections/working-with-wix-app-collections-and-code) cannot be patched.
|
|
600
601
|
*
|
|
601
602
|
* @public
|
|
602
603
|
* @documentationMaturity preview
|
|
603
604
|
* @requiredField dataCollectionId
|
|
604
605
|
* @requiredField itemIds
|
|
605
|
-
* @param dataCollectionId -
|
|
606
|
+
* @param dataCollectionId - ID of the collection that contains the items to patch.
|
|
606
607
|
* @param itemIds - IDs of the data items to patch.
|
|
607
608
|
* @permissionScope Write Data Items
|
|
608
609
|
* @permissionScopeId SCOPE.DC-DATA.WRITE
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data-v2-data-item-items.universal.js","sourceRoot":"","sources":["../../../src/data-v2-data-item-items.universal.ts"],"names":[],"mappings":";;;AAqEA,wBAeC;AA6CD,wBAeC;AA2CD,oBAeC;AAkCD,kBAeC;AAyBD,wBAeC;AAmBD,4BAOC;AAmDD,gCAeC;AAgDD,gCAeC;AA8CD,4BAeC;AA4BD,gCAeC;AA0BD,oCAmBC;AA4BD,0CAgCC;AA0BD,0CAmBC;AA4BD,8CAmBC;
|
|
1
|
+
{"version":3,"file":"data-v2-data-item-items.universal.js","sourceRoot":"","sources":["../../../src/data-v2-data-item-items.universal.ts"],"names":[],"mappings":";;;AAqEA,wBAeC;AA6CD,wBAeC;AA2CD,oBAeC;AAkCD,kBAeC;AAyBD,wBAeC;AAmBD,4BAOC;AAmDD,gCAeC;AAgDD,gCAeC;AA8CD,4BAeC;AA4BD,gCAeC;AA0BD,oCAmBC;AA4BD,0CAgCC;AA0BD,0CAmBC;AA4BD,8CAmBC;AA2BD,sBAOC;AAwBD,8BAaC;AAkCD,sBAOC;AA0BD,8BAOC;AA+BD,0CAiBC;AAYD,wBAOC;AA97BD,iDAA8C;AAC9C,sEAiBmC;AA07BjC,0FA97BA,iCAAS,OA87BA;AAx7BX;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AACI,KAAK,UAAU,MAAM,CAC1B,gBAAwB,EACxB,IAA0B,EAC1B,OAA8B;IAE9B,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAA;IAED,OAAO,IAAA,4BAAa,EAAC,UAAU,EAAE,WAAW,CAAC,CAAC,MAAM,CAClD,gBAAgB,EAChB,IAAI,EACJ,OAAO,CACR,CAAA;AACH,CAAC;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACI,KAAK,UAAU,MAAM,CAC1B,gBAAwB,EACxB,IAAiB,EACjB,OAA8B;IAE9B,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAA;IAED,OAAO,IAAA,4BAAa,EAAC,UAAU,EAAE,WAAW,CAAC,CAAC,MAAM,CAClD,gBAAgB,EAChB,IAAI,EACJ,OAAO,CACR,CAAA;AACH,CAAC;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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UAAU,EAAE,WAAW,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAA;AACvE,CAAC;AAED;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,SAAgB,SAAS,CAAC,gBAAwB;IAChD,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAA;IAED,OAAO,IAAA,4BAAa,EAAC,UAAU,EAAE,WAAW,CAAC,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAA;AAC3E,CAAC;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACI,KAAK,UAAU,eAAe,CACnC,gBAAwB,EACxB,aAAmC,EACnC,KAAa,EACb,OAAuC;IAEvC,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAA;IAED,OAAO,IAAA,4BAAa,EAAC,UAAU,EAAE,WAAW,CAAC,CAAC,eAAe,CAC3D,gBAAgB,EAChB,aAAa,EACb,KAAK,EACL,OAAO,CACR,CAAA;AACH,CAAC;AAED;;;;;;;;;GASG;AACH,SAAgB,MAAM;IACpB,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAA;IAED,OAAO,IAAA,4BAAa,EAAC,UAAU,EAAE,WAAW,CAAC,CAAC,MAAM,CAAA;AACtD,CAAC"}
|
|
@@ -483,19 +483,20 @@ export declare function removeReference(dataCollectionId: string, field: string,
|
|
|
483
483
|
*/
|
|
484
484
|
export declare function replaceReferences(dataCollectionId: string, field: string, referringItem: WixDataItem | string, referencedItem: WixDataItem | string | WixDataItem[] | string[], options?: WixDataOptions): Promise<void>;
|
|
485
485
|
/**
|
|
486
|
-
* Creates a patch to modify the specified item. Unlike [`update()`](https://dev.wix.com/docs/sdk/backend-modules/data/items/update
|
|
486
|
+
* Creates a patch to modify the specified item. Unlike [`update()`](https://dev.wix.com/docs/sdk/backend-modules/data/items/update, only the fields specified in the request are modified. Data that isn't explicitly modified remains unchanged.
|
|
487
487
|
*
|
|
488
|
-
*
|
|
488
|
+
*
|
|
489
|
+
* The `patch()` method builds a patch to modify a data item in a specified collection. It returns a `WixDataPatch` object that contains the patch definition, which you can further refine by chaining [`WixDataPatch` methods](https://dev.wix.com/docs/sdk/backend-modules/data/items/wix-data-patch/introduction) onto it. These methods allow you to clear, set, and increment field values, as well as add or remove items from array fields. The methods are applied in the order in which they are chained.
|
|
489
490
|
*
|
|
490
491
|
* Finally, to run the patch, chain [`run()`](https://dev.wix.com/docs/sdk/backend-modules/data/items/wix-data-patch/run) as the last method.
|
|
491
492
|
*
|
|
492
493
|
* If an item is found in the specified collection with the specified ID, that item is patched. If the collection doesn't contain an item with that ID, the request fails.
|
|
493
494
|
*
|
|
494
|
-
* Calling the `patch()` method triggers the [`beforeUpdate()`](https://dev.wix.com/docs/velo/api-reference/wix-data/hooks/before-update) and [`afterUpdate()`](https://dev.wix.com/docs/velo/api-reference/wix-data/hooks/after-update) hooks if they have been defined.
|
|
495
|
+
* Calling the `patch()` method triggers the [`beforeUpdate()`](https://dev.wix.com/docs/velo/api-reference/wix-data/hooks/before-update) and [`afterUpdate()`](https://dev.wix.com/docs/velo/api-reference/wix-data/hooks/after-update) hooks, if they have been defined.
|
|
495
496
|
*
|
|
496
497
|
* > **Notes**:
|
|
497
|
-
* > - When an item is patched, its `data._updatedDate`
|
|
498
|
-
* > - You can only patch items in collections
|
|
498
|
+
* > - When an item is patched, its `data._updatedDate` property is updated to the current date and time.
|
|
499
|
+
* > - You can only patch items in [collections created by Wix users](https://support.wix.com/en/article/cms-formerly-content-manager-creating-a-collection). Items in [Wix app collections](https://dev.wix.com/docs/develop-websites/articles/databases/wix-data/collections/working-with-wix-app-collections-and-code) cannot be patched.
|
|
499
500
|
*
|
|
500
501
|
* @public
|
|
501
502
|
* @documentationMaturity preview
|
|
@@ -508,7 +509,7 @@ export declare function replaceReferences(dataCollectionId: string, field: strin
|
|
|
508
509
|
*/
|
|
509
510
|
export declare function patch(dataCollectionId: string, itemId: string): WixDataPatch;
|
|
510
511
|
/**
|
|
511
|
-
* Creates a bulk patch to modify the specified items. Unlike [`bulkUpdate()`](https://dev.wix.com/docs/sdk/backend-modules/data/items/bulk-update),
|
|
512
|
+
* Creates a bulk patch to modify the specified items. Unlike [`bulkUpdate()`](https://dev.wix.com/docs/sdk/backend-modules/data/items/bulk-update), only the fields specified in the request are modified. Data that isn't explicitly modified remains unchanged.
|
|
512
513
|
*
|
|
513
514
|
* The `bulkPatch()` method builds a bulk patch to modify multiple data items in a collection. It returns a `WixDataBulkPatch` object that contains the bulk patch definition, which you can further refine by chaining [`WixDataBulkPatch` methods](https://dev.wix.com/docs/sdk/backend-modules/data/items/wix-data-bulk-patch/introduction) onto it. These methods allow you to clear, set, and increment field values, as well as add or remove items from array fields. The methods are applied in the order in which they are chained.
|
|
514
515
|
*
|
|
@@ -518,13 +519,13 @@ export declare function patch(dataCollectionId: string, itemId: string): WixData
|
|
|
518
519
|
*
|
|
519
520
|
* > **Notes**:
|
|
520
521
|
* > - When an item is patched, its `data._updatedDate` field is changed to the current date and time.
|
|
521
|
-
* > - You can only patch items in collections
|
|
522
|
+
* > - You can only patch items in [collections created by Wix users](https://support.wix.com/en/article/cms-formerly-content-manager-creating-a-collection). Items in [Wix app collections](https://dev.wix.com/docs/develop-websites/articles/databases/wix-data/collections/working-with-wix-app-collections-and-code) cannot be patched.
|
|
522
523
|
*
|
|
523
524
|
* @public
|
|
524
525
|
* @documentationMaturity preview
|
|
525
526
|
* @requiredField dataCollectionId
|
|
526
527
|
* @requiredField itemIds
|
|
527
|
-
* @param dataCollectionId -
|
|
528
|
+
* @param dataCollectionId - ID of the collection that contains the items to patch.
|
|
528
529
|
* @param itemIds - IDs of the data items to patch.
|
|
529
530
|
* @permissionScope Write Data Items
|
|
530
531
|
* @permissionScopeId SCOPE.DC-DATA.WRITE
|
|
@@ -534,19 +534,20 @@ export async function replaceReferences(dataCollectionId, field, referringItem,
|
|
|
534
534
|
return createWixData(httpClient, sideEffects).replaceReferences(dataCollectionId, field, referringItem, referencedItem, options);
|
|
535
535
|
}
|
|
536
536
|
/**
|
|
537
|
-
* Creates a patch to modify the specified item. Unlike [`update()`](https://dev.wix.com/docs/sdk/backend-modules/data/items/update
|
|
537
|
+
* Creates a patch to modify the specified item. Unlike [`update()`](https://dev.wix.com/docs/sdk/backend-modules/data/items/update, only the fields specified in the request are modified. Data that isn't explicitly modified remains unchanged.
|
|
538
538
|
*
|
|
539
|
-
*
|
|
539
|
+
*
|
|
540
|
+
* The `patch()` method builds a patch to modify a data item in a specified collection. It returns a `WixDataPatch` object that contains the patch definition, which you can further refine by chaining [`WixDataPatch` methods](https://dev.wix.com/docs/sdk/backend-modules/data/items/wix-data-patch/introduction) onto it. These methods allow you to clear, set, and increment field values, as well as add or remove items from array fields. The methods are applied in the order in which they are chained.
|
|
540
541
|
*
|
|
541
542
|
* Finally, to run the patch, chain [`run()`](https://dev.wix.com/docs/sdk/backend-modules/data/items/wix-data-patch/run) as the last method.
|
|
542
543
|
*
|
|
543
544
|
* If an item is found in the specified collection with the specified ID, that item is patched. If the collection doesn't contain an item with that ID, the request fails.
|
|
544
545
|
*
|
|
545
|
-
* Calling the `patch()` method triggers the [`beforeUpdate()`](https://dev.wix.com/docs/velo/api-reference/wix-data/hooks/before-update) and [`afterUpdate()`](https://dev.wix.com/docs/velo/api-reference/wix-data/hooks/after-update) hooks if they have been defined.
|
|
546
|
+
* Calling the `patch()` method triggers the [`beforeUpdate()`](https://dev.wix.com/docs/velo/api-reference/wix-data/hooks/before-update) and [`afterUpdate()`](https://dev.wix.com/docs/velo/api-reference/wix-data/hooks/after-update) hooks, if they have been defined.
|
|
546
547
|
*
|
|
547
548
|
* > **Notes**:
|
|
548
|
-
* > - When an item is patched, its `data._updatedDate`
|
|
549
|
-
* > - You can only patch items in collections
|
|
549
|
+
* > - When an item is patched, its `data._updatedDate` property is updated to the current date and time.
|
|
550
|
+
* > - You can only patch items in [collections created by Wix users](https://support.wix.com/en/article/cms-formerly-content-manager-creating-a-collection). Items in [Wix app collections](https://dev.wix.com/docs/develop-websites/articles/databases/wix-data/collections/working-with-wix-app-collections-and-code) cannot be patched.
|
|
550
551
|
*
|
|
551
552
|
* @public
|
|
552
553
|
* @documentationMaturity preview
|
|
@@ -562,7 +563,7 @@ export function patch(dataCollectionId, itemId) {
|
|
|
562
563
|
return createWixData(httpClient, sideEffects).patch(dataCollectionId, itemId);
|
|
563
564
|
}
|
|
564
565
|
/**
|
|
565
|
-
* Creates a bulk patch to modify the specified items. Unlike [`bulkUpdate()`](https://dev.wix.com/docs/sdk/backend-modules/data/items/bulk-update),
|
|
566
|
+
* Creates a bulk patch to modify the specified items. Unlike [`bulkUpdate()`](https://dev.wix.com/docs/sdk/backend-modules/data/items/bulk-update), only the fields specified in the request are modified. Data that isn't explicitly modified remains unchanged.
|
|
566
567
|
*
|
|
567
568
|
* The `bulkPatch()` method builds a bulk patch to modify multiple data items in a collection. It returns a `WixDataBulkPatch` object that contains the bulk patch definition, which you can further refine by chaining [`WixDataBulkPatch` methods](https://dev.wix.com/docs/sdk/backend-modules/data/items/wix-data-bulk-patch/introduction) onto it. These methods allow you to clear, set, and increment field values, as well as add or remove items from array fields. The methods are applied in the order in which they are chained.
|
|
568
569
|
*
|
|
@@ -572,13 +573,13 @@ export function patch(dataCollectionId, itemId) {
|
|
|
572
573
|
*
|
|
573
574
|
* > **Notes**:
|
|
574
575
|
* > - When an item is patched, its `data._updatedDate` field is changed to the current date and time.
|
|
575
|
-
* > - You can only patch items in collections
|
|
576
|
+
* > - You can only patch items in [collections created by Wix users](https://support.wix.com/en/article/cms-formerly-content-manager-creating-a-collection). Items in [Wix app collections](https://dev.wix.com/docs/develop-websites/articles/databases/wix-data/collections/working-with-wix-app-collections-and-code) cannot be patched.
|
|
576
577
|
*
|
|
577
578
|
* @public
|
|
578
579
|
* @documentationMaturity preview
|
|
579
580
|
* @requiredField dataCollectionId
|
|
580
581
|
* @requiredField itemIds
|
|
581
|
-
* @param dataCollectionId -
|
|
582
|
+
* @param dataCollectionId - ID of the collection that contains the items to patch.
|
|
582
583
|
* @param itemIds - IDs of the data items to patch.
|
|
583
584
|
* @permissionScope Write Data Items
|
|
584
585
|
* @permissionScopeId SCOPE.DC-DATA.WRITE
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data-v2-data-item-items.universal.js","sourceRoot":"","sources":["../../../src/data-v2-data-item-items.universal.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAA;AAC9C,OAAO,EAaL,SAAS,GAIV,MAAM,4BAA4B,CAAA;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AACH,MAAM,CAAC,KAAK,UAAU,MAAM,CAC1B,gBAAwB,EACxB,IAA0B,EAC1B,OAA8B;IAE9B,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAA;IAED,OAAO,aAAa,CAAC,UAAU,EAAE,WAAW,CAAC,CAAC,MAAM,CAClD,gBAAgB,EAChB,IAAI,EACJ,OAAO,CACR,CAAA;AACH,CAAC;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,MAAM,CAAC,KAAK,UAAU,MAAM,CAC1B,gBAAwB,EACxB,IAAiB,EACjB,OAA8B;IAE9B,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAA;IAED,OAAO,aAAa,CAAC,UAAU,EAAE,WAAW,CAAC,CAAC,MAAM,CAClD,gBAAgB,EAChB,IAAI,EACJ,OAAO,CACR,CAAA;AACH,CAAC;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,MAAM,CAAC,KAAK,UAAU,IAAI,CACxB,gBAAwB,EACxB,IAA0B,EAC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C3D,gBAAgB,EAChB,KAAK,EACL,aAAa,EACb,cAAc,EACd,OAAO,CACR,CAAA;AACH,CAAC;AAED;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,MAAM,CAAC,KAAK,UAAU,iBAAiB,CACrC,gBAAwB,EACxB,KAAa,EACb,aAAmC,EACnC,cAA+D,EAC/D,OAAwB;IAExB,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAA;IAED,OAAO,aAAa,CAAC,UAAU,EAAE,WAAW,CAAC,CAAC,iBAAiB,CAC7D,gBAAgB,EAChB,KAAK,EACL,aAAa,EACb,cAAc,EACd,OAAO,CACR,CAAA;AACH,CAAC;AAED
|
|
1
|
+
{"version":3,"file":"data-v2-data-item-items.universal.js","sourceRoot":"","sources":["../../../src/data-v2-data-item-items.universal.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAA;AAC9C,OAAO,EAaL,SAAS,GAIV,MAAM,4BAA4B,CAAA;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AACH,MAAM,CAAC,KAAK,UAAU,MAAM,CAC1B,gBAAwB,EACxB,IAA0B,EAC1B,OAA8B;IAE9B,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAA;IAED,OAAO,aAAa,CAAC,UAAU,EAAE,WAAW,CAAC,CAAC,MAAM,CAClD,gBAAgB,EAChB,IAAI,EACJ,OAAO,CACR,CAAA;AACH,CAAC;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,MAAM,CAAC,KAAK,UAAU,MAAM,CAC1B,gBAAwB,EACxB,IAAiB,EACjB,OAA8B;IAE9B,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAA;IAED,OAAO,aA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",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Rimvydas Gimbutas",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@wix/sdk-runtime": "^0.3.37",
|
|
37
37
|
"@wix/sdk-types": "^1.13.5",
|
|
38
|
-
"@wix/wix-data-items-common": "1.0.
|
|
38
|
+
"@wix/wix-data-items-common": "1.0.103"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@eslint/js": "^9.14.0",
|
|
@@ -74,5 +74,5 @@
|
|
|
74
74
|
"wallaby": {
|
|
75
75
|
"autoDetect": true
|
|
76
76
|
},
|
|
77
|
-
"falconPackageHash": "
|
|
77
|
+
"falconPackageHash": "fcbb9cfa9968ef6b894a867ae5210e89d556bd73b3951a738e54bd66"
|
|
78
78
|
}
|