mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2026-01-20 20:01:25 +00:00
Since we decided to open Human Connection for public registration, we don't need to create artificial shortage of signups. The original intention here was too: 1. Grow the network slowly and under control 2. Create an incentive for users to invite their friends Point 2 is now obsolete, everyone can signup herself. Point 1 is based on the (seemingly) wrong assumption that there will be a "run" on the network if we open it for public registration. Our growth was fairly stable so far.
27 lines
503 B
JavaScript
27 lines
503 B
JavaScript
import { makeAugmentedSchema } from 'neo4j-graphql-js'
|
|
import typeDefs from './types'
|
|
import resolvers from './resolvers'
|
|
|
|
export default makeAugmentedSchema({
|
|
typeDefs,
|
|
resolvers,
|
|
config: {
|
|
query: {
|
|
exclude: [
|
|
'Badge',
|
|
'Embed',
|
|
'EmailAddress',
|
|
'Notfication',
|
|
'Statistics',
|
|
'LoggedInUser',
|
|
'Location',
|
|
'SocialMedia',
|
|
'NOTIFIED',
|
|
'REPORTED',
|
|
'Donations',
|
|
],
|
|
},
|
|
mutation: false,
|
|
},
|
|
})
|