Skip to content

Commit

Permalink
Update example in crm-backend.
Browse files Browse the repository at this point in the history
changes:
Service wix-crm-backend.Contacts.ContactsQueryBuilder has changed description

issues:
Operation eq has an unknown param type * (queryContacts.js (51))
Operation ne has an unknown param type * (queryContacts.js (95))
�[31mERROR: The @snippet tag - file 'velo-docs/examples/Users-backend-register_email.es6' not found. File: emailMember.js line: 1�[39m

Co-authored-by: AriGoldWix <95754543+AriGoldWix@users.noreply.github.com>
  • Loading branch information
wix-docs-feds and AriGoldWix authored Aug 1, 2024
1 parent 56915fd commit ebf1c7f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
9 changes: 3 additions & 6 deletions wix-crm-backend/wix-crm-backend.service.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{ "name": "wix-crm-backend",
"mixes": [],
"labels":
[ "changed" ],
"labels": [],
"location":
{ "lineno": 1,
"filename": "contacts.js" },
Expand Down Expand Up @@ -165,8 +164,7 @@
{ } } ],
"operations":
[ { "name": "createContact",
"labels":
[ "changed" ],
"labels": [],
"nameParams": [],
"params":
[ { "name": "contactInfo",
Expand Down Expand Up @@ -241,8 +239,7 @@
"extra":
{ } },
{ "name": "deleteContact",
"labels":
[ "changed" ],
"labels": [],
"nameParams": [],
"params":
[ { "name": "contactId",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{ "name": "ContactsQueryBuilder",
"memberOf": "wix-crm-backend.Contacts",
"mixes": [],
"labels": [],
"labels":
[ "changed" ],
"location":
{ "lineno": 16,
"filename": "queryContacts.js" },
Expand All @@ -22,8 +23,8 @@
"import { contacts } from 'wix-crm-backend';",
"",
"contacts.queryContacts()",
" .eq(\"info.companyName\", \"Wix\")",
" .ascending(\"info.name.lastName\")",
" .eq(\"info.company\", \"Wix\")",
" .ascending(\"info.name.last\")",
" .limit(5)",
" .find()",
" .then( (results) => {",
Expand Down

0 comments on commit ebf1c7f

Please sign in to comment.