7906ddf625
Removing old modes (ConverseJS and External URI). Work in progress.
34 lines
627 B
TypeScript
34 lines
627 B
TypeScript
type ConverseJSTheme = 'peertube' | 'default' | 'concord'
|
|
|
|
interface ProsodyListRoomsResultError {
|
|
ok: false
|
|
error: string
|
|
}
|
|
|
|
interface ProsodyListRoomsResultRoom {
|
|
jid: string
|
|
localpart: string
|
|
name: string
|
|
lang: string
|
|
description: string
|
|
lasttimestamp?: number
|
|
channel?: {
|
|
id: number
|
|
name: string
|
|
displayName: string
|
|
}
|
|
}
|
|
|
|
interface ProsodyListRoomsResultSuccess {
|
|
ok: true
|
|
rooms: ProsodyListRoomsResultRoom[]
|
|
}
|
|
|
|
type ProsodyListRoomsResult = ProsodyListRoomsResultError | ProsodyListRoomsResultSuccess
|
|
|
|
export {
|
|
ConverseJSTheme,
|
|
ProsodyListRoomsResult,
|
|
ProsodyListRoomsResultRoom
|
|
}
|