2021-05-31 18:28:42 +02:00
|
|
|
'use strict';
|
|
|
|
|
2021-09-07 11:23:49 +02:00
|
|
|
module.exports = () => ({
|
2020-04-06 18:51:58 +02:00
|
|
|
graphql: {
|
2021-05-31 18:28:42 +02:00
|
|
|
enabled: true,
|
2021-08-17 19:28:10 +02:00
|
|
|
config: {
|
2021-09-07 11:23:49 +02:00
|
|
|
endpoint: '/graphql',
|
|
|
|
|
|
|
|
defaultLimit: 25,
|
|
|
|
maxLimit: 100,
|
|
|
|
|
2021-08-17 19:28:10 +02:00
|
|
|
apolloServer: {
|
|
|
|
tracing: true,
|
|
|
|
},
|
|
|
|
},
|
2020-04-06 18:51:58 +02:00
|
|
|
},
|
2021-10-18 21:21:06 +02:00
|
|
|
documentation: {
|
|
|
|
config: {
|
|
|
|
info: {
|
2023-03-22 11:30:48 +01:00
|
|
|
version: '1.0.0',
|
2021-10-18 21:21:06 +02:00
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
2021-09-01 18:38:40 +02:00
|
|
|
myplugin: {
|
|
|
|
enabled: true,
|
2021-09-15 16:41:36 +02:00
|
|
|
resolve: `./src/plugins/myplugin`, // From the root of the project
|
2021-09-01 18:38:40 +02:00
|
|
|
config: {
|
|
|
|
testConf: 3,
|
|
|
|
},
|
|
|
|
},
|
2020-05-15 16:22:05 +02:00
|
|
|
});
|