refactor: 统一模板契约并修复预览版本
This commit is contained in:
1 parent
cd2992c00a
commit
50b87e48de
56 files changed
+7849
-5756
No files matched your search
@@ -106,7 +106,13 @@ export class UpdateBookingTagsDto {
|
||||
export class InstallTemplateDto {
|
||||
@IsIn(brandTemplateKeys)
|
||||
templateKey!: BrandTemplateKey;
|
||||
@IsOptional() @IsUUID() templatePackageVersionId?: string;
|
||||
@IsUUID() templatePackageVersionId!: string;
|
||||
}
|
||||
|
||||
export class SelectTemplateVersionDto {
|
||||
@IsUUID() templatePackageVersionId!: string;
|
||||
@IsOptional() @IsUUID() expectedCurrentPackageVersionId?: string | null;
|
||||
@IsBoolean() confirm!: boolean;
|
||||
}
|
||||
|
||||
export class UpgradeTemplateDto {
|
||||
|
||||
Reference in new issue
Block a user