Initialize prosody-list-rooms button.

This commit is contained in:
John Livingston
2021-06-12 01:16:57 +02:00
parent cc9cbf692a
commit 56e74e0877
6 changed files with 119 additions and 4 deletions

View File

@ -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
}