Skip to content

Commit

Permalink
added quotes for clarity
Browse files Browse the repository at this point in the history
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 <domantassn@wix.com>
  • Loading branch information
wix-docs-feds and domantassniezkawix authored Sep 27, 2023
1 parent 0740fd8 commit e6337b4
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions wix-data/wix-data.service.json
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,8 @@
"extra":
{ } },
{ "name": "bulkInsert",
"labels": [],
"labels":
[ "changed" ],
"nameParams": [],
"params":
[ { "name": "collectionId",
Expand Down Expand Up @@ -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.",
Expand Down Expand Up @@ -481,7 +482,8 @@
"extra":
{ } },
{ "name": "bulkRemove",
"labels": [],
"labels":
[ "changed" ],
"nameParams": [],
"params":
[ { "name": "collectionId",
Expand Down Expand Up @@ -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.",
Expand Down Expand Up @@ -1223,8 +1225,7 @@
"extra":
{ } },
{ "name": "insert",
"labels":
[ "changed" ],
"labels": [],
"nameParams": [],
"params":
[ { "name": "collectionId",
Expand Down Expand Up @@ -2034,7 +2035,8 @@
"extra":
{ } },
{ "name": "remove",
"labels": [],
"labels":
[ "changed" ],
"nameParams": [],
"params":
[ { "name": "collectionId",
Expand All @@ -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)",
Expand Down

0 comments on commit e6337b4

Please sign in to comment.