Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
constructor(min: number, message?: string) {
this.message = message || '';
this.validator = new Validator();
this.min = min;
}
constructor(message?: string) {
this.message = message || '';
this.validator = new Validator();
}
constructor(possibleValues: any[], message?: string) {
this.message = message || '';
this.possibleValues = possibleValues;
this.validator = new Validator();
}
constructor(min: number, message?: string) {
this.message = message || '';
this.validator = new Validator();
this.min = min;
}
constructor(message?: string) {
this.message = message || '';
this.validator = new Validator();
}
constructor(message?: string) {
this.message = message || '';
this.validator = new Validator();
}
constructor(max: number, message?: string) {
this.message = message || '';
this.validator = new Validator();
this.max = max;
}
constructor(
@InjectRepository(UserEntity)
private readonly userRepository: Repository,
) {
this.nodeAuth = new NodeAuth(8, 10, true);
this.validator = new Validator();
}
constructor(message?: string) {
this.message = message || '';
this.validator = new Validator();
}
constructor(message?: string) {
this.message = message || '';
this.validator = new Validator();
}