2023-10-13 19:01:57 +03:00
|
|
|
module.exports = {
|
2024-06-26 12:39:16 +03:00
|
|
|
schema: (process.env.REACT_APP_SERVER_BASE_URL ?? 'http://localhost:3000') + '/metadata',
|
2024-04-04 18:27:36 +03:00
|
|
|
documents: [
|
|
|
|
'./src/modules/databases/graphql/**/*.ts',
|
|
|
|
'./src/modules/object-metadata/graphql/*.ts',
|
2024-07-29 14:03:09 +03:00
|
|
|
'./src/modules/settings/serverless-functions/graphql/**/*.ts',
|
2024-04-04 18:27:36 +03:00
|
|
|
'./src/modules/object-record/graphql/*.tsx',
|
|
|
|
'./src/modules/metadata/graphql/*.ts',
|
|
|
|
],
|
2023-10-13 19:01:57 +03:00
|
|
|
overwrite: true,
|
|
|
|
generates: {
|
|
|
|
'./src/generated-metadata/': {
|
|
|
|
preset: 'client',
|
|
|
|
presetConfig: {
|
2024-04-04 18:27:36 +03:00
|
|
|
fragmentMasking: false,
|
|
|
|
},
|
2023-10-13 19:01:57 +03:00
|
|
|
},
|
|
|
|
},
|
|
|
|
};
|