Comments (2)
hi! thanks for asking about this -
i actually did pull it out into a standalone library, here. We haven't done a decent job of documenting it, though, partly because there are still some known issues with the rendering that have just made it difficult to write clean, consistent docs. (Contributions welcome! 😉)
However, what's over there is definitely an improvement over what's here, and there's at least some more guidance on the public, callable surface.
from cuetsy.
closing this as the standalone lib does exist, despite its rough form
from cuetsy.
Related Issues (20)
- Import Mapping Fails for CUE standard library imports HOT 1
- unreachable panic reached!
- Normalise fields to generate valid TS names
- Generate disjunctions in parentheses
- Optional fields in nested structs are omitted
- Translate empty struct types as `Record<string, unknown>` instead of `{}` HOT 2
- Error when struct embeds exactly one reference
- Refactor tests, testing framework so that all are import-capable
- Support for generating generic types? HOT 1
- why not use HOF? HOT 1
- Add config option to automatically generate definitions as interfaces (maybe) HOT 1
- Add Call expressions to ts ast
- Support exporting const types
- Enums within struct/object defaults use literal value as opposed to enum member HOT 3
- Render computed fields as their base type
- Generated TS imports have quoting syntax errors when CUE imports lack explicit package name
- `null` types are unsupported
- Cuetsy.exe cannot convert E3 in cmd/cuetsy/test.cue.
- Add the export option to cuetfy.exe. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cuetsy.