feat(card): add cover image support for card types
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user