Adding ban_expires to person (#40)

This commit is contained in:
Dessalines 2022-01-09 11:51:16 -05:00 committed by GitHub
parent 176d237166
commit ada672c225
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 0 deletions

View file

@ -64,6 +64,9 @@ export interface BanFromCommunity {
*/ */
remove_data?: boolean; remove_data?: boolean;
reason?: string; reason?: string;
/**
* The expire time in Unix seconds
*/
expires?: number; expires?: number;
auth: string; auth: string;
} }
@ -110,6 +113,9 @@ export interface RemoveCommunity {
community_id: number; community_id: number;
removed: boolean; removed: boolean;
reason?: string; reason?: string;
/**
* The expire time in Unix seconds
*/
expires?: number; expires?: number;
auth: string; auth: string;
} }

View file

@ -173,6 +173,9 @@ export interface BanPerson {
*/ */
remove_data?: boolean; remove_data?: boolean;
reason?: string; reason?: string;
/**
* The expire time in Unix seconds
*/
expires?: number; expires?: number;
auth: string; auth: string;
} }

View file

@ -35,6 +35,7 @@ export interface PersonSafe {
matrix_user_id?: string; matrix_user_id?: string;
admin: boolean; admin: boolean;
bot_account: boolean; bot_account: boolean;
ban_expires?: string;
} }
export interface Site { export interface Site {