WarningMainly used for my company, but can be used for your Angular project if yours models, Dto's or Enum match Check into folder "tests" https://github.com/SrenoG/dto-to-model what output you can expect. FeaturesContext menu is enable on .ts files, you can generate enum and all files from there
importantExcept 'Generate Enum, these methods have to be used in api folder with all other dto files for getting and populate all properties of child dto. But can be used localy without this feature. Notes for ENUM generator ## DISABLED FEATURE FOR NOW - CAN ONLY BE GENERATED FROM DTOYou can now transform a list of string into Enum. Also it give methods to convert TO and From EnumDto. Create a new .ts file for your enum. The firstLine must be the enum name and must be matching of your Dto Without "Dto" at the end. Paste a list of words, one by line. They can be ending by a ',' or be surrounding by quote or simple quote, but they can be in lowerCamelCase or CamelCase. Doublon are deleted in the process and the list is sorted. You can also starting from enum Dto file: exemple: export enum TestEnumDto { Test1 = "test1", Test2 = "test2" } |