Adding ban_expires to person

This commit is contained in:
Dessalines 2021-12-14 17:06:00 -05:00
parent 176d237166
commit 71584c715d
3 changed files with 10 additions and 0 deletions

View file

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

View file

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

View file

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