-
If you're willing to document your API with an OpenAPI schema, then it should be possible to generate TypeScript types based on the OpenAPI schema with something like openapi-typescript. Also, Typebox can generate JSON schemas, maybe it can be used to generate something that the front-end can also use?
-
InfluxDB
Purpose built for real-time analytics at any scale. InfluxDB Platform is powered by columnar analytics, optimized for cost-efficient storage, and built with open data standards.
-
If you're willing to document your API with an OpenAPI schema, then it should be possible to generate TypeScript types based on the OpenAPI schema with something like openapi-typescript. Also, Typebox can generate JSON schemas, maybe it can be used to generate something that the front-end can also use?
Related posts
-
Good programmers worry about data structures and their relationships
-
Show HN: API Typegen – Generate TypeScript types from API responses
-
TypeSpec: A New Language for API-Centric Development
-
OpenAPI-TypeScript – OpenAPI schemas in TypeScript
-
I'm looking to use my openapi spec to dyanamically create types