Skip to content
Snippets Groups Projects
Commit f4dd6739 authored by Alexandros Georgantas's avatar Alexandros Georgantas
Browse files

feat(models): expose model types

parent 4a76450e
No related branches found
No related tags found
2 merge requests!52Docx,!17Graphql api
......@@ -10,6 +10,7 @@ const { send: sendEmail } = require('@pubsweet/component-send-email')
const app = require('./app')
const { boss, connectToJobQueue } = require('./pgboss')
const { BaseModel, useTransaction } = require('./models')
const modelTypes = require('./models/_helpers/types')
const createJWT = authentication.token.create
......@@ -18,6 +19,7 @@ module.exports = {
createJWT,
pubsubManager,
startServer,
modelTypes,
sendEmail,
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment