import { File } from "./File"; export type UserRole = "admin" | "moderator" | "visitor"; export type UserFull = { id: string; projectId: string; foreignId: string | null; role: UserRole; email: string | null; name: string | null; username: string | null; avatar: string | null; avatarFileId: string | null; bannerFileId: string | null; avatarFile?: File | null; bannerFile?: File | null; bio: string | null; birthdate: string | null; location: { type: "Point"; coordinates: [number, number]; } | null; metadata: Record; secureMetadata: Record; reputation: number; spaceReputation?: number; isVerified: boolean; isActive: boolean; lastActive: string; createdAt: string; updatedAt: string; }; export type AuthUser = Omit & { suspensions: { reason: string | null; startDate: string; endDate: string | null; }[]; authMethods: string[]; }; export type User = Omit; export type UserInclude = "files"; export type UserIncludeArray = UserInclude[]; export type UserIncludeParam = string | UserIncludeArray;