improve app registration and component service ports
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
2026-07-09 14:26:49 +09:00
parent c46c176ca8
commit 3a79364905
5 changed files with 133 additions and 6 deletions
+29 -1
View File
@@ -1,4 +1,4 @@
import { IsOptional, IsString } from 'class-validator';
import { IsEmail, IsIn, IsOptional, IsString, IsUUID, MinLength } from 'class-validator';
export class ListUserSessionsQuery {
@IsOptional()
@@ -9,3 +9,31 @@ export class ListUserSessionsQuery {
@IsString()
state?: string;
}
export class CreateManagedUserDto {
@IsEmail()
email!: string;
@IsString()
@MinLength(8)
password!: string;
@IsString()
name!: string;
@IsOptional()
@IsUUID()
organizationId?: string | null;
@IsOptional()
@IsString()
department?: string | null;
@IsOptional()
@IsString()
position?: string | null;
@IsOptional()
@IsIn(['FREE', 'EDU', 'PRO'])
licenseCode?: 'FREE' | 'EDU' | 'PRO';
}