Support creating v12 rooms

This commit is contained in:
Cadence Ember
2025-12-16 02:15:17 +13:00
parent a6bb248c0a
commit e4d0838af5
10 changed files with 149 additions and 38 deletions

7
src/types.d.ts vendored
View File

@@ -174,7 +174,7 @@ export namespace Event {
}
export type M_Room_Create = {
additional_creators: string[]
additional_creators?: string[]
"m.federate"?: boolean
room_version: string
type?: string
@@ -356,6 +356,11 @@ export namespace Event {
}> & {
redacts: string
}
export type M_Room_Tombstone = {
body: string
replacement_room: string
}
}
export namespace R {