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.)**
52 lines (51 loc) • 883 B
JSON
{
"validateUpsert": true,
"properties": {
"id": {
"type": "string",
"id": true,
"json": false
},
"modelId": {
"type": "string",
"required": true,
"json": false
},
"facetName": {
"type": "string",
"required": true,
"json": false
},
"accessType": {
"type": "string"
},
"principalType": {
"type": "string"
},
"principalId": {
"type": "string"
},
"permission": {
"type": "string",
"required": true
},
"property": {
"type": "string"
},
"index": {
"type": "number",
"json": false,
"default": 0
}
},
"public": true,
"dataSource": "db",
"base": "WorkspaceEntity",
"relations": {
"model": {
"type": "belongsTo",
"model": "ModelDefinition",
"foreignKey": "modelId"
}
}
}