A fluent API for writing formatted typescript code as well as a reflective writer for emitting typescript equivalents of dotnet types.
For documentation, see the unit tests
- Low level writer which provides some assistance with indenting
- Fluent abstraction for building types
- Reflects dotnet types and outputs typescript versions
Additional utilities for reflecting webapi routes and outputting a RequestFactory
with methods for each api that is discovered
Extensions of the base library for outputting MobX State Tree models
Adds ability for TeeSquare to generate union types from dotnet types when decorated with the provided attribute
- Union types should be expressed with a common base type in c#
- The base type should be decorated with the
[UnionType]
attribute and include the types of every possible value in the constructor - Types from a union should have a discriminator property which should be decorated with the
[AsConst(CONST_VALUE)]
attribute.