aboutsummaryrefslogtreecommitdiffstats
path: root/src/services/graphql/articles.query.ts
Commit message (Collapse)AuthorAgeFilesLines
* refactor(services, types): reorganize GraphQL fetchers and data typesArmand Philippot2023-11-271-191/+0
| | | | | | | | | | | | The Typescript mapped types was useful for autocompletion in fetchers but their are harder to maintain. I think it's better to keep each query close to its fetcher to have a better understanding of the fetched data. So I: * colocate queries with their own fetcher * colocate mutations with their own mutator * remove Typescript mapped types for queries and mutations * move data convertors inside graphql services * rename most of data types and fetchers
* refactor(types): move and rename GraphQL typesArmand Philippot2022-08-201-1/+1
| | | | | | | The api file in services was not really readable. So I move the types and I also rewrite a little the fetch function. I also rename most of the type to avoid conflict with preexisting types (like Node) and to keep consistency.
* refactor: reduce the number of data transformationArmand Philippot2022-05-231-7/+0
|
* chore: handle blog pagination when JS is disabledArmand Philippot2022-05-201-0/+12
|
* chore: adjust and complete missing stylesArmand Philippot2022-05-161-0/+11
| | | | | | * add logo to topics pages and links * add Prism styles to articles * and a few other adjustements
* chore: add Search pageArmand Philippot2022-05-151-2/+2
|
* chore: fetch posts for rss feedArmand Philippot2022-05-021-0/+1
|
* refactor: rewrite API fetching method and GraphQL queriesArmand Philippot2022-05-021-0/+174