allow migrating from old to new bridge

This commit is contained in:
Cadence Ember
2023-09-04 01:38:30 +12:00
parent 5185ae45ab
commit 39458bd2bf
13 changed files with 214 additions and 42 deletions

4
types.d.ts vendored
View File

@@ -21,6 +21,10 @@ export type AppServiceRegistrationConfig = {
max_file_size: number
server_name: string
}
old_bridge?: {
as_token: string
database: string
}
}
export type WebhookCreds = {