fix : slide update display location
This commit is contained in:
@@ -140,6 +140,17 @@ export class UpdateSliderDTO {
|
||||
@IsBoolean()
|
||||
@ApiProperty({ type: "boolean", description: "slider active status", example: true, required: false })
|
||||
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 {
|
||||
@Expose()
|
||||
|
||||
Reference in New Issue
Block a user