Support broadcast messages

This commit is contained in:
Chocobozzz 2020-05-28 11:15:38 +02:00 committed by Chocobozzz
parent 8adf0a767f
commit 72c33e716f
20 changed files with 281 additions and 19 deletions

View file

@ -1,4 +1,5 @@
import { NSFWPolicyType } from '../videos/nsfw-policy.type'
import { BroadcastMessageLevel } from './broadcast-message-level.type'
export interface CustomConfig {
instance: {
@ -131,4 +132,11 @@ export interface CustomConfig {
}
}
}
broadcastMessage: {
enabled: boolean
message: string
level: BroadcastMessageLevel
dismissable: boolean
}
}