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"
|
|
|
|
]
|
|
|
|
},
|
2017-06-13 06:44:40 +00:00
|
|
|
"user": {
|
|
|
|
"dataSource": "auth"
|
2017-06-06 06:21:38 +00:00
|
|
|
},
|
|
|
|
"AccessToken": {
|
2017-06-13 06:44:40 +00:00
|
|
|
"dataSource": "auth",
|
|
|
|
"relations": {
|
|
|
|
"user": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "user",
|
|
|
|
"foreignKey": "userId"
|
|
|
|
}
|
|
|
|
}
|
2017-06-06 06:21:38 +00:00
|
|
|
},
|
|
|
|
"ACL": {
|
2017-06-13 06:44:40 +00:00
|
|
|
"dataSource": "auth",
|
2017-06-06 06:21:38 +00:00
|
|
|
"public": false
|
|
|
|
},
|
|
|
|
"RoleMapping": {
|
2017-06-13 06:44:40 +00:00
|
|
|
"dataSource": "auth",
|
2017-06-06 06:21:38 +00:00
|
|
|
"public": false
|
|
|
|
},
|
|
|
|
"Role": {
|
2017-06-13 06:44:40 +00:00
|
|
|
"dataSource": "auth",
|
2017-06-06 06:21:38 +00:00
|
|
|
"public": false
|
2017-06-13 06:44:40 +00:00
|
|
|
},
|
|
|
|
"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
|
2017-06-06 06:21:38 +00:00
|
|
|
}
|
|
|
|
}
|