├── .gitignore ├── README.md ├── dist ├── index.d.ts ├── index.js └── index.js.map ├── jest.config.js ├── nestjs-examples ├── dto-context-validation-pipe.ts └── dto-validation-pipe.ts ├── nodemon.json ├── package.json ├── readme-types-example.ts ├── src ├── decorators.ts ├── dt-object.spec.ts ├── dt-object.ts ├── exceptions │ ├── parse-error.ts │ └── parse-issue.ts ├── fields │ ├── array-field.spec.ts │ ├── array-field.ts │ ├── base-field.ts │ ├── boolean-field.spec.ts │ ├── boolean-field.ts │ ├── combine-field.spec.ts │ ├── combine-field.ts │ ├── date-time-field.spec.ts │ ├── date-time-field.ts │ ├── number-field.spec.ts │ ├── number-field.ts │ ├── string-field.spec.ts │ └── string-field.ts ├── index.spec.ts ├── index.ts ├── recursive.ts ├── regex.ts ├── types.ts └── utils.ts ├── tsconfig.build.json ├── tsconfig.json └── vs-code-demo-1.gif /.gitignore: -------------------------------------------------------------------------------- 1 | /node_modules 2 | tsconfig.tsbuildinfo 3 | dist/ -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rsinger86/dto-classes/HEAD/README.md -------------------------------------------------------------------------------- /dist/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rsinger86/dto-classes/HEAD/dist/index.d.ts -------------------------------------------------------------------------------- /dist/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rsinger86/dto-classes/HEAD/dist/index.js -------------------------------------------------------------------------------- /dist/index.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rsinger86/dto-classes/HEAD/dist/index.js.map -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rsinger86/dto-classes/HEAD/jest.config.js -------------------------------------------------------------------------------- /nestjs-examples/dto-context-validation-pipe.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rsinger86/dto-classes/HEAD/nestjs-examples/dto-context-validation-pipe.ts -------------------------------------------------------------------------------- /nestjs-examples/dto-validation-pipe.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rsinger86/dto-classes/HEAD/nestjs-examples/dto-validation-pipe.ts -------------------------------------------------------------------------------- /nodemon.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rsinger86/dto-classes/HEAD/nodemon.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rsinger86/dto-classes/HEAD/package.json -------------------------------------------------------------------------------- /readme-types-example.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rsinger86/dto-classes/HEAD/readme-types-example.ts -------------------------------------------------------------------------------- /src/decorators.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rsinger86/dto-classes/HEAD/src/decorators.ts -------------------------------------------------------------------------------- /src/dt-object.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rsinger86/dto-classes/HEAD/src/dt-object.spec.ts -------------------------------------------------------------------------------- /src/dt-object.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rsinger86/dto-classes/HEAD/src/dt-object.ts -------------------------------------------------------------------------------- /src/exceptions/parse-error.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rsinger86/dto-classes/HEAD/src/exceptions/parse-error.ts -------------------------------------------------------------------------------- /src/exceptions/parse-issue.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rsinger86/dto-classes/HEAD/src/exceptions/parse-issue.ts -------------------------------------------------------------------------------- /src/fields/array-field.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rsinger86/dto-classes/HEAD/src/fields/array-field.spec.ts -------------------------------------------------------------------------------- /src/fields/array-field.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rsinger86/dto-classes/HEAD/src/fields/array-field.ts -------------------------------------------------------------------------------- /src/fields/base-field.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rsinger86/dto-classes/HEAD/src/fields/base-field.ts -------------------------------------------------------------------------------- /src/fields/boolean-field.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rsinger86/dto-classes/HEAD/src/fields/boolean-field.spec.ts -------------------------------------------------------------------------------- /src/fields/boolean-field.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rsinger86/dto-classes/HEAD/src/fields/boolean-field.ts -------------------------------------------------------------------------------- /src/fields/combine-field.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rsinger86/dto-classes/HEAD/src/fields/combine-field.spec.ts -------------------------------------------------------------------------------- /src/fields/combine-field.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rsinger86/dto-classes/HEAD/src/fields/combine-field.ts -------------------------------------------------------------------------------- /src/fields/date-time-field.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rsinger86/dto-classes/HEAD/src/fields/date-time-field.spec.ts -------------------------------------------------------------------------------- /src/fields/date-time-field.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rsinger86/dto-classes/HEAD/src/fields/date-time-field.ts -------------------------------------------------------------------------------- /src/fields/number-field.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rsinger86/dto-classes/HEAD/src/fields/number-field.spec.ts -------------------------------------------------------------------------------- /src/fields/number-field.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rsinger86/dto-classes/HEAD/src/fields/number-field.ts -------------------------------------------------------------------------------- /src/fields/string-field.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rsinger86/dto-classes/HEAD/src/fields/string-field.spec.ts -------------------------------------------------------------------------------- /src/fields/string-field.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rsinger86/dto-classes/HEAD/src/fields/string-field.ts -------------------------------------------------------------------------------- /src/index.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rsinger86/dto-classes/HEAD/src/index.spec.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rsinger86/dto-classes/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/recursive.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rsinger86/dto-classes/HEAD/src/recursive.ts -------------------------------------------------------------------------------- /src/regex.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rsinger86/dto-classes/HEAD/src/regex.ts -------------------------------------------------------------------------------- /src/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rsinger86/dto-classes/HEAD/src/types.ts -------------------------------------------------------------------------------- /src/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rsinger86/dto-classes/HEAD/src/utils.ts -------------------------------------------------------------------------------- /tsconfig.build.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rsinger86/dto-classes/HEAD/tsconfig.build.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rsinger86/dto-classes/HEAD/tsconfig.json -------------------------------------------------------------------------------- /vs-code-demo-1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rsinger86/dto-classes/HEAD/vs-code-demo-1.gif --------------------------------------------------------------------------------