mirror of
https://github.com/LemmyNet/lemmy-js-client.git
synced 2024-11-01 10:09:55 +00:00
Adding ban_expires to person (#40)
This commit is contained in:
parent
176d237166
commit
ada672c225
3 changed files with 10 additions and 0 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue