Skip to content

Instantly share code, notes, and snippets.

[
{
"action": "elementsAggregation",
"params": {
"modelKey": "todo",
"aggregationPipeline": []
}
}
]
[
{
"action": "registerElement",
"params": {
"modelKey": "todo",
"mappingSetup": {
"|&|description": "&.clientParams.description",
"completed": false
}
}
{
"type": "object",
"properties": {
"description": {
"type": "string"
},
"completed": {
"type": "boolean"
}
},