2.0.0
A complete overhaul of the API, modernised testing and improvements galore.
Breaking
- Exports as an ES module so consumers must also be a module.
folder
config option removed in favour of specifying the folder in thefilename
option.- The data passed into the template has been modified slightly. A database object of schemas and the entire config is now available.
New
- Support for MySQL enums (converts to string union)
- Fluent API for node
- Mapping functions for cleaner customisation
Changes
- Very slight change to the output TS file. Apologies in advance for those checking the diffs.
- Minor optionality fixes with integrations found during testing.