We should mirror what we now do over in the BEDbase UI with auto-gen of TypeScript types for development. This requires that all endpoints are annotated with a response_model object, I believe.
Then we can add a package.json script to generate the types and switch over our queries to use that for response model annotation.
We should mirror what we now do over in the BEDbase UI with auto-gen of TypeScript types for development. This requires that all endpoints are annotated with a
response_model
object, I believe.Then we can add a
package.json
script to generate the types and switch over our queries to use that for response model annotation.