Skip to content
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

feat: schema to types #463

Draft
wants to merge 9 commits into
base: dev
Choose a base branch
from
Draft

feat: schema to types #463

wants to merge 9 commits into from

Conversation

solvedDev
Copy link
Member

@solvedDev solvedDev commented Jun 13, 2022

This PR introduces the ability to generate TypeScript type definition files from our JSON schema database on the fly.

Motivation and Context

This allows us to make the experience around authoring custom components even better by embedding auto-completions for generator functions (lootTable, tradeTable, ...) and eventually the create(...) function.

To dos:

  • Figure out how to augment existing type definitions with automatically generated once
  • Figure out when we should update the type definitions
  • Figure out how/if we can support the create(...) function
  • Automatically annotate types with comments extracted from the "title" and "description" schema fields

@solvedDev solvedDev self-assigned this Jun 13, 2022
@solvedDev solvedDev added the feature Request of a new feature label Jun 13, 2022
@solvedDev solvedDev added this to the v2.2.X milestone Jun 13, 2022
@solvedDev solvedDev modified the milestones: v2.2.X, v2.3.0 Jun 18, 2022
@solvedDev solvedDev mentioned this pull request Jul 13, 2022
@solvedDev solvedDev modified the milestones: v2.3.0, v2.3.X Aug 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Request of a new feature
Projects
Status: 📚 Backlog
Development

Successfully merging this pull request may close these issues.

1 participant