-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
generation of schema from typescript #21
base: main
Are you sure you want to change the base?
Conversation
Mearman
commented
Mar 14, 2024
- based on chore: pushed new JSON-Schema #5
- add validation against test document
- find viable solution for generating 2020 spec output
…pdates. Adjusted file associations in VSCode settings.
- Added a new TypeScript file `generate.ts` to handle the generation of JSON schema from a given TypeScript file. The script validates input parameters, generates a UUID, creates the schema configuration, and writes the resulting JSON schema to an output file.
based on obsidianmd#5
Co-authored-by: Olivier Mengué <[email protected]>
Co-authored-by: Olivier Mengué <[email protected]>
Co-authored-by: Olivier Mengué <[email protected]>
Co-authored-by: Olivier Mengué <[email protected]>
Co-authored-by: Olivier Mengué <[email protected]>
Co-authored-by: Olivier Mengué <[email protected]>
Co-authored-by: Olivier Mengué <[email protected]>
Co-authored-by: Olivier Mengué <[email protected]>
I did some modifications (mostly adding some description + pattern on color string) so you might want to pull in case your MR is merged before mine (if it happens) |
Co-authored-by: Olivier Mengué <[email protected]>
Co-authored-by: Olivier Mengué <[email protected]>
Co-authored-by: Olivier Mengué <[email protected]>
Co-authored-by: Olivier Mengué <[email protected]>
Co-authored-by: Olivier Mengué <[email protected]>
Co-authored-by: Olivier Mengué <[email protected]>
Co-authored-by: Olivier Mengué <[email protected]>
Co-authored-by: Olivier Mengué <[email protected]>
Co-authored-by: Olivier Mengué <[email protected]>
Co-authored-by: Olivier Mengué <[email protected]>
Co-authored-by: Olivier Mengué <[email protected]>
Co-authored-by: Olivier Mengué <[email protected]>
Co-authored-by: Olivier Mengué <[email protected]>
Co-authored-by: Olivier Mengué <[email protected]>
thanks @chainlist. that was why I kept it as a draft |
37032ce
to
5806853
Compare
I really wonder if having the TS type file in this repository is a good thing. Would, adding the TS type in https://github.com/DefinitelyTyped/DefinitelyTyped be a bit better ? npm install @types/jsoncanvas would work. Really asking what would be better. |
@chainlist from playing quite large and unwieldy schemas, being able to manipulate it in TypeScript makes things considerably easier, and more accessible to contributors. |