feat(card): add cover image support for card types

This commit is contained in:
richarjiang
2026-04-15 23:50:12 +08:00
parent 4dacd908a6
commit b02f38dcc7
9 changed files with 262 additions and 14 deletions

View File

@@ -9,6 +9,7 @@ export interface CardType {
readonly price: number
readonly originalPrice: number | null
readonly description: string | null
readonly coverUrl: string | null
readonly isActive: boolean
readonly sortOrder: number
readonly createdAt: string
@@ -23,6 +24,7 @@ export interface CreateCardTypeDto {
readonly price: number
readonly originalPrice?: number
readonly description?: string
readonly coverUrl?: string
readonly sortOrder?: number
}

View File

@@ -12,7 +12,7 @@ export interface StudioConfig {
readonly updatedAt: string
}
export type StudioAssetType = 'gallery' | 'logo' | 'banner'
export type StudioAssetType = 'gallery' | 'logo' | 'banner' | 'card-cover'
export interface UpdateStudioConfigDto {
readonly name?: string