implement optional confetti on announcements

This commit is contained in:
bunnybeam 2025-07-07 20:03:28 +01:00
parent 69f3c8a58e
commit 45bf8262aa
No known key found for this signature in database
12 changed files with 60 additions and 1 deletions

View file

@ -72,6 +72,12 @@ export class MiAnnouncement {
})
public silence: boolean;
@Index()
@Column('boolean', {
default: false,
})
public confetti: boolean;
@Index()
@Column({
...id(),

View file

@ -52,6 +52,10 @@ export const packedAnnouncementSchema = {
type: 'boolean',
optional: false, nullable: false,
},
confetti: {
type: 'boolean',
optional: false, nullable: false,
},
forYou: {
type: 'boolean',
optional: false, nullable: false,