fix : slide update display location
This commit is contained in:
@@ -140,6 +140,17 @@ export class UpdateSliderDTO {
|
|||||||
@IsBoolean()
|
@IsBoolean()
|
||||||
@ApiProperty({ type: "boolean", description: "slider active status", example: true, required: false })
|
@ApiProperty({ type: "boolean", description: "slider active status", example: true, required: false })
|
||||||
isActive: boolean;
|
isActive: boolean;
|
||||||
|
|
||||||
|
@Expose()
|
||||||
|
@IsOptional()
|
||||||
|
@IsNotEmpty()
|
||||||
|
@IsEnum(DisplayLocations)
|
||||||
|
@ApiProperty({
|
||||||
|
type: "string",
|
||||||
|
description: "Display location of the slider",
|
||||||
|
example: "homepage_top | homepage_bottom | category_page | product_page",
|
||||||
|
})
|
||||||
|
displayLocation: DisplayLocations;
|
||||||
}
|
}
|
||||||
export class UpdateBannerDTO {
|
export class UpdateBannerDTO {
|
||||||
@Expose()
|
@Expose()
|
||||||
|
|||||||
Reference in New Issue
Block a user