This commit is contained in:
Cadence Ember
2023-07-03 17:20:24 +12:00
parent 6e55e6d1b3
commit 3578ca28b5
5 changed files with 94 additions and 28 deletions

12
types.d.ts vendored
View File

@@ -5,6 +5,16 @@ export type AppServiceRegistrationConfig = {
url: string
sender_localpart: string
namespace_prefix: string
namespaces: {
users: {
exclusive: boolean
regex: string
}[]
aliases: {
exclusive: boolean
regex: string
}[]
}
protocols: [string]
rate_limited: boolean
}
@@ -23,8 +33,6 @@ namespace Event {
origin_server_ts: number
unsigned: any
event_id: string
user_id: string
age: number
}
export type BaseStateEvent = {