[FA-11] Fix react build issues
All checks were successful
CI / build-backend (pull_request) Successful in 1m7s
CI / build-frontend (pull_request) Successful in 26s

This commit is contained in:
gamer147
2025-11-26 08:48:00 -05:00
parent 0180a58084
commit 15a8185621
6 changed files with 756 additions and 1437 deletions

View File

@@ -22,15 +22,17 @@ const config: CodegenConfig = {
plugins: [
'typescript',
'typescript-operations',
'typescript-react-apollo',
'typed-document-node',
],
config: {
withHooks: true,
avoidOptionals: true,
dedupeFragments: true,
avoidOptionals: {
field: true,
inputValue: false,
},
enumsAsConst: true,
maybeValue: 'T | null',
skipTypename: true,
apolloReactHooksImportFrom: '@apollo/client/react',
useTypeImports: true,
},
},
},