implement optional confetti on announcements
This commit is contained in:
parent
69f3c8a58e
commit
45bf8262aa
12 changed files with 60 additions and 1 deletions
|
|
@ -72,6 +72,12 @@ export class MiAnnouncement {
|
|||
})
|
||||
public silence: boolean;
|
||||
|
||||
@Index()
|
||||
@Column('boolean', {
|
||||
default: false,
|
||||
})
|
||||
public confetti: boolean;
|
||||
|
||||
@Index()
|
||||
@Column({
|
||||
...id(),
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue