mirror of
https://github.com/lingble/twenty.git
synced 2025-11-05 23:27:56 +00:00
* Remove hasura and hasura-auth * Move all models to prisma * Start implementing graphql * chore: clean package json * chore: make the code build * chore: get initial graphql.tsx file * feature: use typegql as qgl server * refactor: small refactoring * refactor: clean tests * bugfix: make all filters not case sensitive * chore: remove unused imports --------- Co-authored-by: Sammy Teillet <sammy.teillet@gmail.com>
29 lines
590 B
JavaScript
29 lines
590 B
JavaScript
module.exports = {
|
|
schema: [
|
|
{
|
|
'http://localhost:3000/graphql': {
|
|
headers: {
|
|
'x-hasura-admin-secret': process.env.HASURA_GRAPHQL_ADMIN_SECRET,
|
|
},
|
|
},
|
|
},
|
|
],
|
|
documents: ['./src/**/*.tsx', './src/**/*.ts'],
|
|
overwrite: true,
|
|
generates: {
|
|
'./src/generated/graphql.tsx': {
|
|
plugins: [
|
|
'typescript',
|
|
'typescript-operations',
|
|
'typescript-react-apollo',
|
|
],
|
|
config: {
|
|
skipTypename: false,
|
|
withHooks: true,
|
|
withHOC: false,
|
|
withComponent: false,
|
|
},
|
|
},
|
|
},
|
|
};
|