Skip to content

Commit fe16406

Browse files
committed
Including GraphQL definitions
1 parent fe2e956 commit fe16406

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

src/Options/Definitions.js

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,28 @@ module.exports.ParseServerOptions = {
352352
env: 'PARSE_SERVER_WEBHOOK_KEY',
353353
help: 'Key sent with outgoing webhook calls',
354354
},
355+
mountGraphQL: {
356+
env: 'PARSE_SERVER_MOUNT_GRAPHQL',
357+
help: 'Mounts the GraphQL endpoint',
358+
action: parsers.booleanParser,
359+
default: false,
360+
},
361+
graphQLPath: {
362+
env: 'PARSE_SERVER_GRAPHQL_PATH',
363+
help: 'Mount path for the GraphQL endpoint, defaults to /graphql',
364+
default: '/graphql',
365+
},
366+
mountPlayground: {
367+
env: 'PARSE_SERVER_MOUNT_PLAYGROUND',
368+
help: 'Mounts the GraphQL Playground',
369+
action: parsers.booleanParser,
370+
default: false,
371+
},
372+
playgroundPath: {
373+
env: 'PARSE_SERVER_PLAYGROUND_PATH',
374+
help: 'Mount path for the GraphQL Playground, defaults to /playground',
375+
default: '/playground',
376+
},
355377
};
356378
module.exports.CustomPagesOptions = {
357379
choosePassword: {

0 commit comments

Comments
 (0)