@@ -37,6 +37,7 @@ export class Validator extends AllOf {
3737 public static functionInstance = ( ) : Validator => new Validator ( new rules . FunctionInstance ( ) ) ;
3838 public static functionType = ( ) : Validator => new Validator ( new rules . FunctionType ( ) ) ;
3939 public static graph = ( additionalChars ?: string ) : Validator => new Validator ( new rules . Graph ( additionalChars ) ) ;
40+ public static image = ( ) : Validator => new Validator ( new rules . Image ( ) ) ;
4041 public static imei = ( ) : Validator => new Validator ( new rules . Imei ( ) ) ;
4142 public static in = ( searcher ?: any , contains : boolean = true , identical : boolean = false ) : Validator => new Validator ( new rules . In ( searcher , contains , identical ) ) ;
4243 public static infinite = ( ) : Validator => new Validator ( new rules . Infinite ( ) ) ;
@@ -52,7 +53,7 @@ export class Validator extends AllOf {
5253 public static luhn = ( ) : Validator => new Validator ( new rules . Luhn ( ) ) ;
5354 public static macAddress = ( ) : Validator => new Validator ( new rules . MacAddress ( ) ) ;
5455 public static max = ( interval ?: any , inclusive : boolean = true ) : Validator => new Validator ( new rules . Max ( interval , inclusive ) ) ;
55- public static mimetype = ( mimetype : string | string [ ] ) : Validator => new Validator ( new rules . Mimetype ( mimetype ) ) ;
56+ public static mimetype = ( mimetype : any ) : Validator => new Validator ( new rules . Mimetype ( mimetype ) ) ;
5657 public static min = ( interval ?: any , inclusive : boolean = true ) : Validator => new Validator ( new rules . Min ( interval , inclusive ) ) ;
5758 public static multiple = ( multipleOf : number ) : Validator => new Validator ( new rules . Multiple ( multipleOf ) ) ;
5859 public static negative = ( ) : Validator => new Validator ( new rules . Negative ( ) ) ;
@@ -146,6 +147,7 @@ export class Validator extends AllOf {
146147 public functionInstance = ( ) : this => this . addRule ( new rules . FunctionInstance ( ) ) ;
147148 public functionType = ( ) : this => this . addRule ( new rules . FunctionType ( ) ) ;
148149 public graph = ( additionalChars ?: string ) : this => this . addRule ( new rules . Graph ( additionalChars ) ) ;
150+ public image = ( ) : this => this . addRule ( new rules . Image ( ) ) ;
149151 public imei = ( ) : this => this . addRule ( new rules . Imei ( ) ) ;
150152 public in = ( searcher ?: any , contains : boolean = true , identical : boolean = false ) : this => this . addRule ( new rules . In ( searcher , contains , identical ) ) ;
151153 public infinite = ( ) : this => this . addRule ( new rules . Infinite ( ) ) ;
@@ -161,7 +163,7 @@ export class Validator extends AllOf {
161163 public luhn = ( ) : this => this . addRule ( new rules . Luhn ( ) ) ;
162164 public macAddress = ( ) : this => this . addRule ( new rules . MacAddress ( ) ) ;
163165 public max = ( interval ?: any , inclusive : boolean = true ) : this => this . addRule ( new rules . Max ( interval , inclusive ) ) ;
164- public mimetype = ( mimetype : string | string [ ] ) : this => this . addRule ( new rules . Mimetype ( mimetype ) ) ;
166+ public mimetype = ( mimetype : any ) : this => this . addRule ( new rules . Mimetype ( mimetype ) ) ;
165167 public min = ( interval ?: any , inclusive : boolean = true ) : this => this . addRule ( new rules . Min ( interval , inclusive ) ) ;
166168 public multiple = ( multipleOf : number ) : this => this . addRule ( new rules . Multiple ( multipleOf ) ) ;
167169 public negative = ( ) : this => this . addRule ( new rules . Negative ( ) ) ;
0 commit comments