status-web/apps/website/codegen.yml
marcelines e52b72f731
[website] Connect burnup charts to API (#425)
* feat: add queries to get epics links and repos and epic burnup data

* feat: add codegen and api fetcher util to create named custom hook query functions

* feat: add more queries with fetcher and infinite scroll

* feat: add some improvements on existing components

* feat: add more functionalities to table issues

* feat: add available fitlers and search to table issues

* feat: add more missing features to the burnup chart

* feat: fix some issues with scroll

* fix: color epic overview and fixe repos card icons

* feat: add overview page data with filters

* fix: changes from review

* fix: component removed from pages folder

* fix import

* fix: several changes to improve performance and handles some edge cases

* fix: infinite scroll epics overview page

---------

Co-authored-by: marcelines <marcio@significa.co>
Co-authored-by: Pavel Prichodko <14926950+prichodko@users.noreply.github.com>
2023-06-30 16:32:52 +01:00

37 lines
705 B
YAML

schema:
- https://hasura.infra.status.im/v1/graphql
documents:
- ./src/**/*.tsx
- ./src/**/*.ts
overwrite: true
hooks:
afterAllFileWrite:
- prettier --write
- eslint --fix
generates:
./src/lib/graphql/generated/schemas.ts:
plugins:
- typescript
./src/lib/graphql/generated/operations.ts:
preset: import-types
presetConfig:
typesPath: ./schemas
plugins:
- typescript-operations
./src/lib/graphql/generated/hooks.ts:
preset: import-types
presetConfig:
typesPath: ./operations
plugins:
- typescript-react-query
config:
fetcher: '../api#createFetcher'
exposeQueryKeys: true
errorType: GraphqlApiError