* refactor(console): refactor the code editor type definition
refactor the code editor type definition
* refactor(console): extract type definition gen process
extract the type definition gen step to the build time. As typescript is not available at run time.
* fix(console): add generate to console build script
add generate to console build script
* fix(console): add prettier format
add prettier format