ts-node setting
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
import {
|
||||
validate,
|
||||
validateOrReject,
|
||||
Contains,
|
||||
IsInt,
|
||||
Length,
|
||||
IsEmail,
|
||||
IsFQDN,
|
||||
IsDate,
|
||||
Min,
|
||||
Max,
|
||||
IsString,
|
||||
} from 'class-validator';
|
||||
|
||||
export class BasicQueryDTO {
|
||||
@IsInt()
|
||||
generalID!: number;
|
||||
|
||||
@IsString()
|
||||
command!: string;
|
||||
}
|
||||
Reference in New Issue
Block a user