Replace entry with artifact and add entity

This commit is contained in:
2022-01-05 03:04:43 +02:00
parent e22f85a1aa
commit 7be5200094
28 changed files with 560 additions and 523 deletions

View File

@@ -180,6 +180,19 @@ module.exports = function () {
// }
}
]
},
{
association: db.User.IndividualEntityUser,
include: [
{
association: db.IndividualEntityUser.EntityUser,
include: [
{
association: db.EntityUser.Entity
}
]
}
]
}
]
})
@@ -195,7 +208,7 @@ module.exports = function () {
sessionStore.sync();
// TODO: Create a load router module...
// TODO: check that user has an individualEntityUser....
var router = require('./router/index.js')({
app: app,
express: express,
@@ -204,6 +217,8 @@ module.exports = function () {
});
app.use('/', router);
// 404 pages...
app.use((request, response, next) => {