salix/services/route/server/model-config.json

51 lines
842 B
JSON

{
"_meta": {
"sources": [
"loopback/common/models",
"loopback/server/models",
"../../service/models",
"../common/models",
"./models"
],
"mixins": [
"loopback/common/mixins",
"loopback/server/mixins",
"../common/mixins",
"./mixins"
]
},
"user": {
"dataSource": "auth"
},
"AccessToken": {
"dataSource": "auth",
"relations": {
"user": {
"type": "belongsTo",
"model": "user",
"foreignKey": "userId"
}
}
},
"ACL": {
"dataSource": "auth",
"public": false
},
"RoleMapping": {
"dataSource": "auth",
"public": false
},
"Role": {
"dataSource": "auth",
"public": false
},
"Account": {
"dataSource": "auth"
},
"Route": {
"dataSource": "route",
"public": true
}
}