UNPKG

loopback-workspace

Version:
76 lines 1.27 kB
{ "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" } } }