Граф коммитов

10 Коммитов

Автор SHA1 Сообщение Дата
庄黛淳华 e94bff6808
Add support to Union Type (#123)
* Add support to Type Union

* bump version to 0.12.0
2024-05-11 10:15:09 +08:00
庄黛淳华 7f33e0c521
Expose defaultValue to type member (#122)
* expose defaultValue to type member

* bump version to 0.11.1
2024-05-07 14:23:41 +08:00
庄黛淳华 cfdf7b4e99
Add support for union to enum (#117)
* Add support for union to enum

* rename

* reuse path for unique name & fix shared types is not in shared file

* lint

* fix: kotlin shared types is missing

* fix: align usage with TupleType

* style: rename members

* fix: remove unused content

* feature: add nullable check

* fix: revert unused content

* doc: update document

* fix: remove kind from LiteralType

* fix: remove type cast of namedType

* fix: revert LiteralType from parseLiteralNode

* fix: Add support for strings that look like numbers
2024-01-09 12:46:28 +08:00
Zhuoran e49867473c
Generate module documentation and fix basic demo (#55) 2021-07-29 06:26:56 +00:00
Daohan Chong 9e569b0726
Demo project: Mini Editor (#31)
* Add mini editor example folder

* Adjust npm script

* Initialize the mini editor project

* Workable ts build

Add index.html

formatting

Inline html

Refine

* Add basic bridge APIs

* Refine bridge API: mount it to global

* Add platform target support

* Add comment

* Adjustment

* Refine file headers

* Implement basic web view of iOS

* Adjust toolbar UI

* No need to minify

* Refine toolbar UI

* Adjust native layer

* Add config

* Improve file headers

* Fix script

* Finish demo

* Fix return type

* Remove test targets and refine swift gen

* Rename: IEditor -> EditorBridge

* Remove empty line

* Remove launch json

* Use pattern to ignore launch json
2021-07-27 16:58:09 +08:00
Zhuoran 7dc10ed27f
Merge Swift and Kotlin renderers (#28)
* Merge Swift and Kotlin rnderer

* Lint
2021-07-05 12:27:12 +08:00
Zhuoran f405382bc2
Implement Kotlin renderer (#24)
* Implement Kotlin renderer

* Lint

* Implement named type generation

* Imports

* Fix

* Fix template

* Convert kotlin values

* Better alignment

* Address feedbacks

* Fix for kotlin
2021-07-01 13:26:57 +08:00
Zhuoran 27fd176d28
Parse and generate custom tags and documentation for named types (#23)
* Parse and generate custom tags and documentation for named types

* Fix conversion

* Documentation for interface members

* Parse and generate documentation for enum members

* Version bump

* Minor refactor
2021-06-15 14:26:19 +08:00
Zhuoran 3701e49ad1
Parse and render static members (#19)
* Parse and render static members

* Fix custom tags

* Fix template

* Lint

* Handle predefined type static value
2021-06-04 17:25:06 +08:00
Zhuoran 8437bf3d95
Parse module associated named types and generate in modules (#16)
* Parse module associated named types

* Generate associated types in module

* Lint

* Serialize associated types

* Lint

* Support multiple module paths

* Fix demo.ts

* Modify template

* Improve print

* Lower cased enum

* Uncapitalize enum

* Update template

* Remove gulp

* Cleanup
2021-06-03 17:33:46 +08:00