39 lines
741 B
JavaScript
Raw Permalink Normal View History

2021-05-31 18:28:42 +02:00
'use strict';
module.exports = () => ({
graphql: {
2021-05-31 18:28:42 +02:00
enabled: true,
2021-08-17 19:28:10 +02:00
config: {
endpoint: '/graphql',
defaultLimit: 25,
maxLimit: 100,
2021-08-17 19:28:10 +02:00
apolloServer: {
tracing: true,
},
2024-03-05 19:33:27 +01:00
v4CompatibilityMode: true,
2021-08-17 19:28:10 +02:00
},
},
documentation: {
config: {
info: {
2023-03-22 11:30:48 +01:00
version: '1.0.0',
},
},
},
2021-09-01 18:38:40 +02:00
myplugin: {
enabled: true,
resolve: `./src/plugins/local-plugin`, // From the root of the project
2021-09-01 18:38:40 +02:00
config: {
testConf: 3,
},
},
// NOTE: set enabled:true to test with a pre-built plugin. Make sure to run yarn build in the plugin folder first
todo: {
enabled: false,
resolve: `../plugins/todo-example`, // From the /examples/plugins folder
},
});