mirror of
https://gitdab.com/cadence/out-of-your-element.git
synced 2025-09-10 04:12:50 +02:00
getting edits closer to working
This commit is contained in:
parent
cae591e5fd
commit
b1ca71f37c
10 changed files with 259 additions and 51 deletions
8
types.d.ts
vendored
8
types.d.ts
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue