├── .eslintrc.json ├── .gitattributes ├── .github └── workflows │ └── test.yaml ├── .gitignore ├── .npmignore ├── .swcrc ├── .vscode └── settings.json ├── LICENSE ├── MIGRATING.md ├── README.md ├── package.json ├── pnpm-lock.yaml ├── src ├── constants.ts ├── decorators.ts ├── index.ts ├── schema.ts └── utils │ ├── get-prototype-chain.ts │ ├── get-schema.ts │ ├── update-schema.ts │ ├── validate-or-reject.ts │ └── validate.ts ├── tests ├── multi.test.ts └── validator.test.ts └── tsconfig.json /.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmauryD/fastest-validator-decorators/HEAD/.eslintrc.json -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | package-lock.json binary 2 | -------------------------------------------------------------------------------- /.github/workflows/test.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmauryD/fastest-validator-decorators/HEAD/.github/workflows/test.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | .DS_Store 4 | coverage 5 | sandbox.ts -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | pnpm-lock.yaml 2 | .eslintrc.json 3 | node_modules 4 | .vscode 5 | .github -------------------------------------------------------------------------------- /.swcrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmauryD/fastest-validator-decorators/HEAD/.swcrc -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmauryD/fastest-validator-decorators/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmauryD/fastest-validator-decorators/HEAD/LICENSE -------------------------------------------------------------------------------- /MIGRATING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmauryD/fastest-validator-decorators/HEAD/MIGRATING.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmauryD/fastest-validator-decorators/HEAD/README.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmauryD/fastest-validator-decorators/HEAD/package.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmauryD/fastest-validator-decorators/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /src/constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmauryD/fastest-validator-decorators/HEAD/src/constants.ts -------------------------------------------------------------------------------- /src/decorators.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmauryD/fastest-validator-decorators/HEAD/src/decorators.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmauryD/fastest-validator-decorators/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/schema.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmauryD/fastest-validator-decorators/HEAD/src/schema.ts -------------------------------------------------------------------------------- /src/utils/get-prototype-chain.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmauryD/fastest-validator-decorators/HEAD/src/utils/get-prototype-chain.ts -------------------------------------------------------------------------------- /src/utils/get-schema.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmauryD/fastest-validator-decorators/HEAD/src/utils/get-schema.ts -------------------------------------------------------------------------------- /src/utils/update-schema.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmauryD/fastest-validator-decorators/HEAD/src/utils/update-schema.ts -------------------------------------------------------------------------------- /src/utils/validate-or-reject.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmauryD/fastest-validator-decorators/HEAD/src/utils/validate-or-reject.ts -------------------------------------------------------------------------------- /src/utils/validate.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmauryD/fastest-validator-decorators/HEAD/src/utils/validate.ts -------------------------------------------------------------------------------- /tests/multi.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmauryD/fastest-validator-decorators/HEAD/tests/multi.test.ts -------------------------------------------------------------------------------- /tests/validator.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmauryD/fastest-validator-decorators/HEAD/tests/validator.test.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmauryD/fastest-validator-decorators/HEAD/tsconfig.json --------------------------------------------------------------------------------