mirror of
https://github.com/twentyhq/twenty.git
synced 2024-11-30 03:43:02 +03:00
00fea17920
https://www.figma.com/design/xt8O9mFeLl46C5InWwoMrN/Twenty?node-id=36235-120877 Did not do the file manager part. A Function is defined using one unique file at the moment Feature protected by featureFlag `IS_FUNCTION_SETTINGS_ENABLED` ## Demo https://github.com/user-attachments/assets/0acb8291-47b4-4521-a6fa-a88b9198609b
34 lines
884 B
JavaScript
34 lines
884 B
JavaScript
module.exports = {
|
|
schema: (process.env.REACT_APP_SERVER_BASE_URL ?? 'http://localhost:3000') + '/graphql',
|
|
documents: [
|
|
'!./src/modules/databases/**',
|
|
'!./src/modules/object-metadata/**',
|
|
'!./src/modules/object-record/**',
|
|
'!./src/modules/settings/serverless-functions/**',
|
|
'./src/modules/**/*.tsx',
|
|
'./src/modules/**/*.ts',
|
|
'!./src/**/*.test.tsx',
|
|
'!./src/**/__mocks__/*.ts',
|
|
'!./src/modules/users/graphql/queries/getCurrentUserAndViews.ts',
|
|
],
|
|
overwrite: true,
|
|
generates: {
|
|
'./src/generated/graphql.tsx': {
|
|
plugins: [
|
|
'typescript',
|
|
'typescript-operations',
|
|
'typescript-react-apollo',
|
|
],
|
|
config: {
|
|
skipTypename: false,
|
|
withHooks: true,
|
|
withHOC: false,
|
|
withComponent: false,
|
|
scalars: {
|
|
DateTime: 'string',
|
|
},
|
|
},
|
|
},
|
|
},
|
|
};
|