feat(v3.4.15): HQ store media edit and package images up to 20

Allow HQ to replace/delete store photos; support multi-image packages with a 20-image cap.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-07 19:24:07 +08:00
parent 0692bebf07
commit 76375eff83
19 changed files with 657 additions and 302 deletions
@@ -1,5 +1,6 @@
import { Type } from 'class-transformer';
import {
ArrayMaxSize,
IsArray,
IsBoolean,
IsIn,
@@ -96,6 +97,7 @@ export class CreateStoreDto {
@IsOptional()
@IsArray()
@IsString({ each: true })
@ArrayMaxSize(20)
envPhotoUrls?: string[];
@IsOptional()
@@ -164,7 +166,17 @@ export class UpdateStoreDto {
@IsOptional()
@IsString()
coverUrl?: string;
coverUrl?: string | null;
@IsOptional()
@IsArray()
@IsString({ each: true })
@ArrayMaxSize(20)
envPhotoUrls?: string[];
@IsOptional()
@IsString()
contractUrl?: string | null;
@IsOptional()
@IsString()