Custom JSON Schema and Automatic TS Interface Generation for JSON and Lexical RTE Fields #4879
PatrikKozak
started this conversation in
Feature Requests & Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Currently, both
JSON
fields andLexical Rich Text Editor
(RTE) fields are typed generically within the generated types.Enhancement:
For JSON fields, allow users to define their own JSON schema and, based on it, automatically generate a TypeScript interface for the field.
For Lexical Rich Text Editor (RTE) fields, automatically construct TypeScript types for the RTE fields based on the enabled nodes.
Beta Was this translation helpful? Give feedback.
All reactions