feat(frontend): partial user lookup
This commit is contained in:
parent
9d3d46bf33
commit
db22e35f0d
7 changed files with 157 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
|||
import type { Member } from "./member";
|
||||
import type { PartialMember, PartialUser, User } from "./user";
|
||||
import type { AuthMethod, PartialMember, PartialUser, User } from "./user";
|
||||
|
||||
export type CreateReportRequest = {
|
||||
reason: ReportReason;
|
||||
|
@ -70,3 +70,13 @@ export type PartialReport = {
|
|||
context: string | null;
|
||||
target_type: "USER" | "MEMBER";
|
||||
};
|
||||
|
||||
export type QueriedUser = {
|
||||
user: User;
|
||||
member_list_hidden: boolean;
|
||||
last_active: string;
|
||||
last_sid_reroll: string;
|
||||
suspended: boolean;
|
||||
deleted: boolean;
|
||||
auth_methods?: AuthMethod[];
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue