vizzuhq / vizzu-lib

Library for animated data visualizations and data stories.

Home Page:https://lib.vizzuhq.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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