This commit is contained in:
+6
-1
@@ -1,4 +1,4 @@
|
||||
import { IsEmail, IsIn, IsOptional, IsString, IsUUID, MinLength } from 'class-validator';
|
||||
import { IsBoolean, IsEmail, IsIn, IsOptional, IsString, IsUUID, MinLength } from 'class-validator';
|
||||
|
||||
export class ListUserSessionsQuery {
|
||||
@IsOptional()
|
||||
@@ -45,3 +45,8 @@ export class CreateManagedUserDto {
|
||||
@IsIn(['FREE', 'EDU', 'PRO'])
|
||||
licenseCode?: 'FREE' | 'EDU' | 'PRO';
|
||||
}
|
||||
|
||||
export class UpdateLmsInstructorDto {
|
||||
@IsBoolean()
|
||||
isInstructor!: boolean;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user