loopback-workspace
Version:
**⚠️ LoopBack 3 is in Maintenance LTS mode, only critical bugs and critical security fixes will be provided. (See [Module Long Term Support Policy](#module-long-term-support-policy) below.)**
78 lines (77 loc) • 1.3 kB
JSON
{
"validateUpsert": true,
"properties": {
"id": {
"type": "string",
"id": true,
"json": false
},
"name": {
"type": "string",
"json": false
},
"phase": {
"type": "string",
"json": false
},
"subPhase": {
"type": "string",
"json": false
},
"isPhasePlaceHolder": {
"type": "boolean",
"json": false
},
"isMiddlewarePlaceHolder": {
"type": "boolean",
"json": false
},
"index": {
"type": "number",
"json": false
},
"nextPhase": {
"type": "string",
"json": false
},
"order": {
"type": "number",
"json": false
},
"methods": {
"type": [
"string"
]
},
"paths": {
"type": [
"string"
]
},
"params": {
"type": "object"
},
"facetName": {
"type": "string",
"required": true,
"json": false
}
},
"public": true,
"dataSource": "db",
"options": {
"defaultConfigFile": "middleware.json",
"configFiles": [
"middleware.json",
"middleware.*.json"
]
},
"base": "Definition",
"relations": {
"facet": {
"type": "belongsTo",
"model": "Facet",
"foreignKey": "facetName"
}
}
}