mirror of
https://github.com/LemmyNet/lemmy-js-client.git
synced 2024-12-04 18:21:12 +00:00
Adding ban_expires to person
This commit is contained in:
parent
176d237166
commit
71584c715d
3 changed files with 10 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -173,6 +173,9 @@ export interface BanPerson {
|
|||
*/
|
||||
remove_data?: boolean;
|
||||
reason?: string;
|
||||
/**
|
||||
* The expire time in Unix seconds
|
||||
*/
|
||||
expires?: number;
|
||||
auth: string;
|
||||
}
|
||||
|
|
|
@ -35,6 +35,7 @@ export interface PersonSafe {
|
|||
matrix_user_id?: string;
|
||||
admin: boolean;
|
||||
bot_account: boolean;
|
||||
ban_expires?: string;
|
||||
}
|
||||
|
||||
export interface Site {
|
||||
|
|
Loading…
Reference in a new issue