2015-04-20 18:44:07 +00:00
|
|
|
{
|
|
|
|
"_meta": {
|
|
|
|
"sources": [
|
|
|
|
"../common/models",
|
2016-07-26 12:10:13 +00:00
|
|
|
"./models",
|
|
|
|
"../../../../common/models"
|
2015-04-20 18:44:07 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"Email": {
|
|
|
|
"dataSource": "mail",
|
|
|
|
"public": false
|
|
|
|
},
|
|
|
|
"User": {
|
|
|
|
"dataSource": "db",
|
|
|
|
"public": true,
|
|
|
|
"relations": {
|
|
|
|
"posts": {
|
2016-07-26 12:10:13 +00:00
|
|
|
"model": "Post",
|
2015-04-20 18:44:07 +00:00
|
|
|
"type": "hasMany",
|
|
|
|
"foreignKey": "userId"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"acls": [
|
|
|
|
{
|
|
|
|
"permission": "ALLOW",
|
|
|
|
"principalType": "ROLE",
|
|
|
|
"principalId": "$owner"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"AccessToken": {
|
|
|
|
"dataSource": "db",
|
|
|
|
"public": false
|
|
|
|
},
|
|
|
|
"ACL": {
|
|
|
|
"dataSource": "db",
|
|
|
|
"public": false
|
|
|
|
},
|
|
|
|
"RoleMapping": {
|
|
|
|
"dataSource": "db",
|
|
|
|
"public": false
|
|
|
|
},
|
|
|
|
"Role": {
|
|
|
|
"dataSource": "db",
|
|
|
|
"public": false
|
|
|
|
},
|
|
|
|
"myUser": {
|
|
|
|
"dataSource": "db",
|
|
|
|
"public": true
|
|
|
|
},
|
|
|
|
"blog": {
|
|
|
|
"dataSource": "db",
|
|
|
|
"public": true
|
|
|
|
},
|
2016-07-26 12:10:13 +00:00
|
|
|
"Post": {
|
2015-04-20 18:44:07 +00:00
|
|
|
"dataSource": "db",
|
|
|
|
"public": true
|
|
|
|
}
|
|
|
|
}
|