indexer
indexer copied to clipboard
Refactor CLI API calls
The CLI is just making API requests to GraphQL API and we should utilize codegen to generate the operation types wrapper those around fetch. Instead of using the common package and importing types. We should stop using the common package to make API calls and rely on typings. Code will be much simpler to follow, lot more typesafety improvements and can simplify testing further.