Files
70e549e3bf add apps/status.app (#806)
Co-authored-by: marcelines <marcio@status.im>
Co-authored-by: Jakub Kotula <520927+jkbktl@users.noreply.github.com>
Co-authored-by: Pavel <14926950+prichodko@users.noreply.github.com>
Co-authored-by: Felicio Mununga <felicio@users.noreply.github.com>
2025-09-29 16:49:16 +09:00

39 lines
863 B
YAML

schema:
- https://hasura.bi.status.im/v1/graphql
documents:
- ./src/**/*.tsx
- ./src/**/*.ts
overwrite: true
# hooks:
# afterAllFileWrite:
# - prettier --write
# - eslint --fix
generates:
./src/app/(website)/insights/_graphql/generated/schemas.ts:
plugins:
- typescript
./src/app/(website)/insights/_graphql/generated/operations.ts:
preset: import-types
presetConfig:
typesPath: ./schemas
plugins:
- typescript-operations
./src/app/(website)/insights/_graphql/generated/hooks.ts:
preset: import-types
presetConfig:
typesPath: ./operations
plugins:
- typescript-react-query
config:
fetcher: '../api#createFetcher'
exposeQueryKeys: true
errorType: GraphqlApiError
# addSuspenseQuery: true -> only supported in react-query@5
reactQueryVersion: 5