loopback/test/fixtures/shared-methods/model-config-default-true/common/models/todo.json

19 lines
283 B
JSON

{
"name": "Todo",
"base": "PersistedModel",
"idInjection": true,
"options": {
"validateUpsert": true
},
"properties": {
"content": {
"type": "string",
"required": true
}
},
"validations": [],
"relations": {},
"acls": [],
"methods": {}
}