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

69 lines
1.1 KiB
JSON
Raw Normal View History

2017-06-06 06:21:38 +00:00
{
"_meta": {
"sources": [
"loopback/common/models",
"loopback/server/models",
"../common/models",
"./models"
],
"mixins": [
"loopback/common/mixins",
"loopback/server/mixins",
"../common/mixins",
"./mixins"
]
},
"user": {
"dataSource": "auth"
2017-06-06 06:21:38 +00:00
},
"AccessToken": {
"dataSource": "auth",
"relations": {
"user": {
"type": "belongsTo",
"model": "user",
"foreignKey": "userId"
}
}
2017-06-06 06:21:38 +00:00
},
"ACL": {
"dataSource": "auth",
2017-06-06 06:21:38 +00:00
"public": false
},
"RoleMapping": {
"dataSource": "auth",
2017-06-06 06:21:38 +00:00
"public": false
},
"Role": {
"dataSource": "auth",
2017-06-06 06:21:38 +00:00
"public": false
},
"Account": {
"dataSource": "auth"
},
"Ticket": {
"dataSource": "vn",
"public": true
},
"State":{
"dataSource": "vn",
"public": true
},
"TicketState":{
"dataSource": "vn",
"public": true
2017-06-14 10:55:10 +00:00
},
"Warehouse":{
"dataSource": "vn",
"public": true
},
"Employee":{
"dataSource": "client",
"public": true
2017-06-21 06:00:34 +00:00
},
"Agency": {
"dataSource": "vn",
"public": true
2017-06-06 06:21:38 +00:00
}
}