chore: get announcements for customers
This commit is contained in:
@@ -61,4 +61,17 @@ export class CreateAnnouncementDto {
|
||||
example: ["f7b1b3b1-1b1b-4b1b-8b1b-1b1b1b1b1b1b"],
|
||||
})
|
||||
groupIds: string[];
|
||||
|
||||
@IsOptional()
|
||||
@IsArray()
|
||||
@IsUUID("4", {
|
||||
each: true,
|
||||
message: AnnouncementMessage.USER_MUST_BE_UUID,
|
||||
})
|
||||
@ApiProperty({
|
||||
type: [String],
|
||||
description: "Array of users ids",
|
||||
example: ["f7b1b3b1-1b1b-4b1b-8b1b-1b1b1b1b1b1b"],
|
||||
})
|
||||
userIds: string[];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user