twenty/front/codegen-metadata.js

14 lines
345 B
JavaScript
Raw Normal View History

module.exports = {
schema: process.env.REACT_APP_SERVER_BASE_URL + "/metadata",
documents: ['./src/modules/metadata/graphql/*.tsx', './src/modules/metadata/graphql/*.ts'],
overwrite: true,
generates: {
'./src/generated-metadata/': {
preset: 'client',
presetConfig: {
fragmentMasking: false
}
},
},
};