4 ms·
Can typescript be limited to just creating the schema and then use javascript for the rest of your application?
by ithrow 4y ago
Can typescript be limited to just creating the schema and then use javascript for the rest of your application?
- hchaudhary 4y agoYou can use our typescript client for everything not only for Schemas. Here is a section that has examples on how to use it https://docs.tigrisdata.com/typescript/ https://docs.tigrisdata.com/typescript/. Please let us know if anything is confusing.
- ithrow 4y agoDidn't explain myself well, meant I want to use Javascript only and maybe typescript only for the schemas. I understand that Tigris exposes a HTTP endpoint and is all json but wondered how well the Typescript SDK will play for pure Javascript development.
- jmjoshi 4y agoI am the TypeScript client author here. Tigris exposes native HTTP apis and we have openapi YAML available at https://github.com/tigrisdata/tigris-api/blob/main/server/v1/openapi.yaml https://github.com/tigrisdata/tigris-api/blob/main/server/v1... The native Javascript SDK is on our roadmap. In the meantime if you would like you can generate Javascript client using openapi generator such as https://blog.logrocket.com/generating-integrating-openapi-services-react/ https://blog.logrocket.com/generating-integrating-openapi-se... We would be happy to accept your contribution.