feat(card): add cover image support for card types
This commit is contained in:
@@ -37,6 +37,10 @@ export class CreateCardTypeDto {
|
||||
@IsString()
|
||||
description?: string
|
||||
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
coverUrl?: string
|
||||
|
||||
@IsOptional()
|
||||
@IsInt()
|
||||
@Min(0)
|
||||
|
||||
@@ -42,6 +42,10 @@ export class UpdateCardTypeDto {
|
||||
@IsString()
|
||||
description?: string
|
||||
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
coverUrl?: string
|
||||
|
||||
@IsOptional()
|
||||
@IsBoolean()
|
||||
isActive?: boolean
|
||||
|
||||
@@ -10,6 +10,6 @@ export class CreateStudioUploadCredentialDto {
|
||||
contentType?: string
|
||||
|
||||
@IsOptional()
|
||||
@IsIn(['gallery', 'logo', 'banner'])
|
||||
@IsIn(['gallery', 'logo', 'banner', 'card-cover'])
|
||||
assetType?: StudioAssetType
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user