refactor: 退役运行时视觉模块并泛化模板门禁
This commit is contained in:
1 parent
25d1fe983c
commit
e2e2340bfe
56 files changed
+290
-1037
No files matched your search
@@ -157,13 +157,6 @@ export class UpdateOfferingDto {
|
||||
@IsOptional() cta?: { type: string; label: string; config?: Record<string, unknown> };
|
||||
}
|
||||
|
||||
export class UpdateModuleDto {
|
||||
@IsOptional() @IsString() title?: string;
|
||||
@IsOptional() @IsBoolean() isEnabled?: boolean;
|
||||
@IsOptional() @IsInt() @Min(0) @Max(9999) sortOrder?: number;
|
||||
@IsOptional() config?: Record<string, unknown>;
|
||||
}
|
||||
|
||||
export class CreateFieldDefinitionDto {
|
||||
@IsIn(["profile", "service", "inquiry"]) scope!: string;
|
||||
@IsString() @Matches(/^[a-z][a-z0-9_]*$/) key!: string;
|
||||
|
||||
Reference in new issue
Block a user