1
1
mirror of https://github.com/twentyhq/twenty.git synced 2024-12-25 04:55:30 +03:00
twenty/front/codegen-metadata.js
Lucas Bordeau cafcfdc95e
Feat/front metadata request ()
* wip

* Wip

* Wip

* Finished v1

* Fix from PR

* Removed unused fragment masking feature
2023-10-13 18:01:57 +02:00

14 lines
345 B
JavaScript

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
}
},
},
};