getting edits closer to working

This commit is contained in:
Cadence Ember 2023-08-16 17:03:05 +12:00
commit b1ca71f37c
10 changed files with 259 additions and 51 deletions

8
types.d.ts vendored
View file

@ -38,6 +38,14 @@ namespace Event {
event_id: string
}
export type ReplacementContent<T> = T & {
"m.new_content": T
"m.relates_to": {
rel_type: string // "m.replace"
event_id: string
}
}
export type BaseStateEvent = {
type: string
room_id: string