-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BAAS-32668: shorten snippet expression titles based on product feedba…
…ck (#49)
- Loading branch information
1 parent
b4b7c4d
commit 7e5bf28
Showing
3 changed files
with
59 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,31 @@ | ||
{ | ||
"category": "MatchTriggerExpressions", | ||
"categoryId": "ed4b3598-6800-413f-9158-d9b1b2a2a080", | ||
"viewType": "triggerMatch", | ||
"snippets": [ | ||
{ | ||
"id": "ed4b3598-6800-413f-9158-d9b1b2a2a081", | ||
"title": "Match Expression for Updates", | ||
"snippet": "/update.json", | ||
"description": "This trigger will only execute if the `storeLocation` array has changed to \"East Langley\" and the \"storeItems\" field has been removed." | ||
}, | ||
{ | ||
"id": "ed4b3598-6800-413f-9158-d9b1b2a2a082", | ||
"title": "Match Expression for Deletes", | ||
"snippet": "/delete.json", | ||
"description": "This trigger will only execute if the document (before deletion) has a userName of \"Alice Smith\"" | ||
}, | ||
{ | ||
"id": "ed4b3598-6800-413f-9158-d9b1b2a2a083", | ||
"title": "Match Expression for Inserts", | ||
"snippet": "/insert.json", | ||
"description": "This trigger will only execute if the document has a userName of \"Alice Smith\" and a department of \"engineering\"" | ||
}, | ||
{ | ||
"id": "ed4b3598-6800-413f-9158-d9b1b2a2a084", | ||
"title": "Match Expression for Replace", | ||
"snippet": "/replace.json", | ||
"description": "This trigger will only execute if the name field was \"Alice Smith\" before the Replace, and \"Alex Smith\" after the Replace." | ||
} | ||
] | ||
"category": "MatchTriggerExpressions", | ||
"categoryId": "ed4b3598-6800-413f-9158-d9b1b2a2a080", | ||
"viewType": "triggerMatch", | ||
"snippets": [ | ||
{ | ||
"id": "ed4b3598-6800-413f-9158-d9b1b2a2a081", | ||
"title": "Updates", | ||
"snippet": "/update.json", | ||
"description": "This trigger will only execute if the `storeLocation` array has changed to \"East Langley\" and the \"storeItems\" field has been removed." | ||
}, | ||
{ | ||
"id": "ed4b3598-6800-413f-9158-d9b1b2a2a082", | ||
"title": "Deletes", | ||
"snippet": "/delete.json", | ||
"description": "This trigger will only execute if the document (before deletion) has a userName of \"Alice Smith\"" | ||
}, | ||
{ | ||
"id": "ed4b3598-6800-413f-9158-d9b1b2a2a083", | ||
"title": "Inserts", | ||
"snippet": "/insert.json", | ||
"description": "This trigger will only execute if the document has a userName of \"Alice Smith\" and a department of \"engineering\"" | ||
}, | ||
{ | ||
"id": "ed4b3598-6800-413f-9158-d9b1b2a2a084", | ||
"title": "Replace", | ||
"snippet": "/replace.json", | ||
"description": "This trigger will only execute if the name field was \"Alice Smith\" before the Replace, and \"Alex Smith\" after the Replace." | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,31 @@ | ||
{ | ||
"category": "ProjectTriggerExpressions", | ||
"categoryId": "ee1e471e-72c7-4dc9-b80a-9f745836a254", | ||
"viewType": "triggerProject", | ||
"snippets": [ | ||
{ | ||
"id": "7dd66555-8efb-4a76-8920-64c0874e0214", | ||
"title": "Project Expression for Updates", | ||
"snippet": "/update.json", | ||
"description": "This trigger will return the \"operationType\" and \"updateDescription.updateFields.storeLocation\" field values." | ||
}, | ||
{ | ||
"id": "7c9b14f4-30ec-4865-b153-8bd52c6566ad", | ||
"title": "Project Expression for Deletes", | ||
"snippet": "/delete.json", | ||
"description": "This trigger will return the \"documentKey._id\", \"operationType\", and \"wallTime\" field values." | ||
}, | ||
{ | ||
"id": "e040947b-08a4-4a8f-9f82-1bccd7826892", | ||
"title": "Project Expression for Inserts", | ||
"snippet": "/insert.json", | ||
"description": "This trigger will return the \"baseSalary\", \"department\", \"operationType\", and \"documentKey.userName\" field values." | ||
}, | ||
{ | ||
"id": "90768f43-3d5a-4746-8ccc-f709cda09eae", | ||
"title": "Project Expression for Replace", | ||
"snippet": "/replace.json", | ||
"description": "This trigger will return the \"operationType\", \"fullDocument.name\", and \"fullDocumentBeforeChange.name\" field values." | ||
} | ||
] | ||
"category": "ProjectTriggerExpressions", | ||
"categoryId": "ee1e471e-72c7-4dc9-b80a-9f745836a254", | ||
"viewType": "triggerProject", | ||
"snippets": [ | ||
{ | ||
"id": "7dd66555-8efb-4a76-8920-64c0874e0214", | ||
"title": "Updates", | ||
"snippet": "/update.json", | ||
"description": "This trigger will return the \"operationType\" and \"updateDescription.updateFields.storeLocation\" field values." | ||
}, | ||
{ | ||
"id": "7c9b14f4-30ec-4865-b153-8bd52c6566ad", | ||
"title": "Deletes", | ||
"snippet": "/delete.json", | ||
"description": "This trigger will return the \"documentKey._id\", \"operationType\", and \"wallTime\" field values." | ||
}, | ||
{ | ||
"id": "e040947b-08a4-4a8f-9f82-1bccd7826892", | ||
"title": "Inserts", | ||
"snippet": "/insert.json", | ||
"description": "This trigger will return the \"baseSalary\", \"department\", \"operationType\", and \"documentKey.userName\" field values." | ||
}, | ||
{ | ||
"id": "90768f43-3d5a-4746-8ccc-f709cda09eae", | ||
"title": "Replace", | ||
"snippet": "/replace.json", | ||
"description": "This trigger will return the \"operationType\", \"fullDocument.name\", and \"fullDocumentBeforeChange.name\" field values." | ||
} | ||
] | ||
} |