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

95 lines
1.5 KiB
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"
},
"Ticket": {
"dataSource": "vn",
"public": true
},
"State":{
"dataSource": "vn",
"public": true
},
"TicketState":{
"dataSource": "vn",
"public": true
},
"Warehouse":{
"dataSource": "vn",
"public": true
},
"Employee":{
"dataSource": "client",
"public": true
},
"Client":{
"dataSource": "client",
"public": true
},
"Province":{
"dataSource": "client",
"public": true
},
"Agency": {
"dataSource": "vn",
"public": true
},
"FakeProduction": {
"dataSource": "vn",
"public": true
},
"Message": {
"dataSource": "vn",
"public": true
},
"MessageInbox": {
"dataSource": "vn",
"public": true
},
"Route": {
"dataSource": "vn",
"public": true
}
}