Initialize prosody-list-rooms button.
This commit is contained in:
@ -1,5 +1,21 @@
|
||||
type ChatType = 'disabled' | 'builtin-prosody' | 'builtin-converse' | 'external-uri'
|
||||
|
||||
export {
|
||||
ChatType
|
||||
interface ProsodyListRoomsResultError {
|
||||
ok: false
|
||||
error: string
|
||||
}
|
||||
|
||||
interface ProsodyListRoomsResultSuccess {
|
||||
ok: true
|
||||
rooms: Array<{
|
||||
name: string
|
||||
href: string
|
||||
}>
|
||||
}
|
||||
|
||||
type ProsodyListRoomsResult = ProsodyListRoomsResultError | ProsodyListRoomsResultSuccess
|
||||
|
||||
export {
|
||||
ChatType,
|
||||
ProsodyListRoomsResult
|
||||
}
|
||||
|
Reference in New Issue
Block a user