-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #21 from vodyani/beta
Beta
- Loading branch information
Showing
14 changed files
with
50 additions
and
97 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
export const RequiredKey = Symbol('Vodyani.Validator.MetadataKey.RequiredKey'); | ||
export const ValidatedKey = Symbol('Vodyani.Validator.MetadataKey.ValidatedKey'); | ||
export const EachValidatedKey = Symbol('Vodyani.Validator.MetadataKey.EachValidated'); | ||
export const CustomValidatedKey = Symbol('Vodyani.Validator.MetadataKey.CustomValidatedKey'); | ||
export const RequiredKey = Symbol('RequiredKey'); | ||
export const ValidatedKey = Symbol('ValidatedKey'); | ||
export const EachValidatedKey = Symbol('EachValidated'); | ||
export const CustomValidatedKey = Symbol('CustomValidatedKey'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,12 @@ | ||
export * from 'class-transformer'; | ||
import { boundMethod } from 'autobind-decorator'; | ||
|
||
/** | ||
* This decorator is used to make the methods of a class forcibly bind to the `this` property. | ||
* | ||
* @see [autobind-decorator](https://www.npmjs.com/package/autobind-decorator) | ||
* | ||
* @publicApi | ||
*/ | ||
export const This = boundMethod; | ||
export * from 'class-validator'; | ||
export * from 'class-transformer'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
export * from './class'; | ||
export * from './transform'; | ||
export * from './validate'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"extends": "../tsconfig.json", | ||
"include": ["**/*.spec.ts"], | ||
"exclude": ["node_modules", "dist"], | ||
} |