2021-06-02 17:54:04 +00:00
|
|
|
type ChatType = 'disabled' | 'builtin-prosody' | 'builtin-converse' | 'external-uri'
|
|
|
|
|
2021-06-11 23:16:57 +00:00
|
|
|
interface ProsodyListRoomsResultError {
|
|
|
|
ok: false
|
|
|
|
error: string
|
|
|
|
}
|
|
|
|
|
|
|
|
interface ProsodyListRoomsResultSuccess {
|
|
|
|
ok: true
|
|
|
|
rooms: Array<{
|
|
|
|
name: string
|
|
|
|
href: string
|
|
|
|
}>
|
|
|
|
}
|
|
|
|
|
|
|
|
type ProsodyListRoomsResult = ProsodyListRoomsResultError | ProsodyListRoomsResultSuccess
|
|
|
|
|
2021-06-02 17:54:04 +00:00
|
|
|
export {
|
2021-06-11 23:16:57 +00:00
|
|
|
ChatType,
|
|
|
|
ProsodyListRoomsResult
|
2021-06-02 17:54:04 +00:00
|
|
|
}
|