mirror of
https://gitdab.com/cadence/out-of-your-element.git
synced 2025-09-10 04:12:50 +02:00
preparing for m2d
This commit is contained in:
parent
d592a3c82e
commit
6e55e6d1b3
6 changed files with 80 additions and 1 deletions
12
types.d.ts
vendored
12
types.d.ts
vendored
|
@ -15,6 +15,18 @@ export type WebhookCreds = {
|
|||
}
|
||||
|
||||
namespace Event {
|
||||
export type Outer<T> = {
|
||||
type: string
|
||||
room_id: string
|
||||
sender: string
|
||||
content: T
|
||||
origin_server_ts: number
|
||||
unsigned: any
|
||||
event_id: string
|
||||
user_id: string
|
||||
age: number
|
||||
}
|
||||
|
||||
export type BaseStateEvent = {
|
||||
type: string
|
||||
room_id: string
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue