sunmao-ui icon indicating copy to clipboard operation
sunmao-ui copied to clipboard

How to define modules' property and event spec in editor?

Open tanbowensg opened this issue 2 years ago • 2 comments

ModuleSpec also have property and event. But module is created in editor, so developers can't define property spec by coding like what they do for components and traits. Editor lacks the ability to compose a type definition.

Fortunately, module property still can work without definition. But I think it remains a problem.

tanbowensg avatar Apr 07 '22 03:04 tanbowensg

This is a json schema editor. https://hellosean1025.github.io/json-schema-visual-editor/

tanbowensg avatar Jun 13 '22 10:06 tanbowensg

This library can convert a JSON to JSON Schema. https://github.com/quicktype/quicktype

tanbowensg avatar Jun 13 '22 10:06 tanbowensg

Completed.

tanbowensg avatar Aug 30 '22 07:08 tanbowensg