JSon schema for the API instead of TypeScript declaration file
simzer opened this issue · comments
The Javascript API is documented now using a TypeScript type declaration file:
https://github.com/vizzuhq/vizzu-lib/blob/main/src/apps/weblib/js-api/vizzu.d.ts
It would be better to convert it to a JSon Schema file instead, then, we could generate both the d.ts file and python bindings for ipyvizzu from it.
A potential tool for generating the d.ts file:
https://www.npmjs.com/package/json-schema-to-typescript
done