Moderation configuration screen: WIP.
This commit is contained in:
@ -46,21 +46,29 @@ interface ProsodyListRoomsResultSuccess {
|
||||
|
||||
type ProsodyListRoomsResult = ProsodyListRoomsResultError | ProsodyListRoomsResultSuccess
|
||||
|
||||
interface ChannelInfos {
|
||||
id: number
|
||||
name: string
|
||||
displayName: string
|
||||
}
|
||||
|
||||
interface ChannelModerationOptions {
|
||||
channel: {
|
||||
id: number
|
||||
name: string
|
||||
displayName: string
|
||||
}
|
||||
bot: boolean
|
||||
forbiddenWords: string[]
|
||||
bannedJIDs: string[]
|
||||
}
|
||||
|
||||
interface ChannelModeration {
|
||||
channel: ChannelInfos
|
||||
moderation: ChannelModerationOptions
|
||||
}
|
||||
|
||||
export type {
|
||||
ConverseJSTheme,
|
||||
InitConverseJSParams,
|
||||
ProsodyListRoomsResult,
|
||||
ProsodyListRoomsResultRoom,
|
||||
ChannelModerationOptions
|
||||
ChannelInfos,
|
||||
ChannelModerationOptions,
|
||||
ChannelModeration
|
||||
}
|
||||
|
Reference in New Issue
Block a user