57 lines
947 B
JSON
57 lines
947 B
JSON
{
|
|
"email": {
|
|
"dataSource": "mail",
|
|
"public": false,
|
|
"options": {
|
|
"base": "Email"
|
|
}
|
|
},
|
|
"user": {
|
|
"dataSource": "db",
|
|
"public": true,
|
|
"options": {
|
|
"base": "User",
|
|
"relations": {
|
|
"accessTokens": {
|
|
"model": "accessToken",
|
|
"type": "hasMany",
|
|
"foreignKey": "userId"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"accessToken": {
|
|
"dataSource": "db",
|
|
"public": true,
|
|
"options": {
|
|
"base": "AccessToken"
|
|
}
|
|
},
|
|
"widget": {
|
|
"properties": {},
|
|
"public": true,
|
|
"dataSource": "db",
|
|
"options": {
|
|
"relations": {
|
|
"store": {
|
|
"model": "store",
|
|
"type": "belongsTo"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"store": {
|
|
"properties": {},
|
|
"public": true,
|
|
"dataSource": "db",
|
|
"options": {
|
|
"relations": {
|
|
"widgets": {
|
|
"model": "widget",
|
|
"type": "hasMany"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|