From e6337b4a4b5ea3341abc5ea3c4811f5d516a67af Mon Sep 17 00:00:00 2001 From: wix-docs-feds <87931637+wix-docs-feds@users.noreply.github.com> Date: Wed, 27 Sep 2023 15:12:41 +0300 Subject: [PATCH] added quotes for clarity changes: Service wix-data operation bulkInsert has changed description Service wix-data operation bulkRemove has changed description Service wix-data operation remove has changed description issues: Operation eq has an unknown param type * (filterMixin.js (33)) Operation ne has an unknown param type * (filterMixin.js (59)) Operation hasSome has an unknown param type * (filterMixin.js (342)) Operation hasAll has an unknown param type * (filterMixin.js (378)) Operation onFailure has an unknown param type Error (hooks.js (491)) Operation truncate has an unknown return type null (data-api.js (388)) Message WixDataBulkRemoveResult has an unknown property type Error (data-api.js (422)) Message WixDataBulkResult has an unknown property type Error (data-api.js (803)) Co-authored-by: domantassniezkawix --- wix-data/wix-data.service.json | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/wix-data/wix-data.service.json b/wix-data/wix-data.service.json index 64cd182900..2f06b15562 100644 --- a/wix-data/wix-data.service.json +++ b/wix-data/wix-data.service.json @@ -213,7 +213,8 @@ "extra": { } }, { "name": "bulkInsert", - "labels": [], + "labels": + [ "changed" ], "nameParams": [], "params": [ { "name": "collectionId", @@ -243,7 +244,7 @@ "description": [ "The `bulkInsert()` function returns a Promise that resolves after the items", " have been added to the specified collection.", - " The Promise is rejected if the current user does not have create permissions", + " The Promise is rejected if the current user does not have \"create\" permissions", " for the collection. Items are skipped if they include an `_id` property whose", " value matches an existing ID in the collection. Meaning, `bulkInsert()` cannot", " overwrite an existing item in the collection.", @@ -481,7 +482,8 @@ "extra": { } }, { "name": "bulkRemove", - "labels": [], + "labels": + [ "changed" ], "nameParams": [], "params": [ { "name": "collectionId", @@ -511,7 +513,7 @@ "description": [ "The `bulkRemove()` function returns a Promise that resolves after the items", " have been removed from the specified collection.", - " The Promise is rejected if the current user does not have delete permissions", + " The Promise is rejected if the current user does not have \"delete\" permissions", " for the collection. If the delete permissions for the collection are set to", " **Site member author**, the only items that will be deleted are those for", " which the current user is the owner. All other items will be skipped.", @@ -1223,8 +1225,7 @@ "extra": { } }, { "name": "insert", - "labels": - [ "changed" ], + "labels": [], "nameParams": [], "params": [ { "name": "collectionId", @@ -2034,7 +2035,8 @@ "extra": { } }, { "name": "remove", - "labels": [], + "labels": + [ "changed" ], "nameParams": [], "params": [ { "name": "collectionId", @@ -2061,7 +2063,7 @@ "description": [ "The `remove()` function returns a Promise that resolves to the removed item", " after it has been removed from the specified collection.", - " The Promise is rejected if the current user does not have delete permissions", + " The Promise is rejected if the current user does not have \"delete\" permissions", " for the collection.", "", " Calling the `remove()` function triggers the [`beforeRemove()`](wix-data.Hooks.html#beforeRemove)",