feat: add update profile request and missing pagination fields to api types
This commit is contained in:
Vendored
+8
@@ -208,6 +208,12 @@ export interface ChangePasswordRequest {
|
||||
new_password: string;
|
||||
}
|
||||
|
||||
export interface UpdateProfileRequest {
|
||||
first_name?: string;
|
||||
last_name?: string;
|
||||
phone?: string;
|
||||
}
|
||||
|
||||
export interface EmailRequest {
|
||||
email: string;
|
||||
}
|
||||
@@ -315,6 +321,7 @@ export interface PagedReportListResponse {
|
||||
ok: boolean;
|
||||
page: number;
|
||||
per_page: number;
|
||||
total?: number;
|
||||
reports: Report[];
|
||||
}
|
||||
|
||||
@@ -393,6 +400,7 @@ export interface ModerationListResponse {
|
||||
ok: boolean;
|
||||
page: number;
|
||||
per_page: number;
|
||||
total?: number;
|
||||
flags: ModerationFlag[];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user