feat(frontend): partial user lookup

This commit is contained in:
sam 2024-12-28 11:39:22 -05:00
parent 9d3d46bf33
commit db22e35f0d
Signed by: sam
GPG key ID: B4EF20DDE721CAA1
7 changed files with 157 additions and 3 deletions

View file

@ -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[];
};