mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
This commit takes all backend changes for signup and invite feature. I was working on these features and removed the generated mutations for type user along the way.
27 lines
795 B
JavaScript
27 lines
795 B
JavaScript
import { makeAugmentedSchema } from 'neo4j-graphql-js'
|
|
import CONFIG from './../config'
|
|
import applyScalars from './../bootstrap/scalars'
|
|
import applyDirectives from './../bootstrap/directives'
|
|
import typeDefs from './types'
|
|
import resolvers from './resolvers'
|
|
|
|
export default applyScalars(
|
|
applyDirectives(
|
|
makeAugmentedSchema({
|
|
typeDefs,
|
|
resolvers,
|
|
config: {
|
|
query: {
|
|
exclude: ['InvitationCode', 'EmailAddress', 'Notfication', 'Statistics', 'LoggedInUser'],
|
|
// add 'User' here as soon as possible
|
|
},
|
|
mutation: {
|
|
exclude: ['InvitationCode', 'EmailAddress', 'Notfication', 'Statistics', 'LoggedInUser'],
|
|
// add 'User' here as soon as possible
|
|
},
|
|
debug: CONFIG.DEBUG,
|
|
},
|
|
}),
|
|
),
|
|
)
|