loopback/test/fixtures/user-integration-app/server/model-config.json

60 lines
952 B
JSON
Raw Normal View History

2015-04-20 18:44:07 +00:00
{
"_meta": {
"sources": [
"../common/models",
"./models",
"../../../../common/models"
2015-04-20 18:44:07 +00:00
]
},
"Email": {
"dataSource": "mail",
"public": false
},
"User": {
"dataSource": "db",
"public": true,
"relations": {
"posts": {
"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
},
"Post": {
2015-04-20 18:44:07 +00:00
"dataSource": "db",
"public": true
}
}