import type { Ban, User, UsersCurrency } from "@/generated/prisma/client"; export type UserWithCurrencies = User & { currencies: UsersCurrency[] }; export type UserWithPermission = User & { permission: { rankName: string } }; export type UserPublicPreview = Pick; export interface NotificationRow { id: number; userId: number; type: string; title: string; message: string; link: string | null; readAt: string | null; createdAt: string; } export type BanWithStaff = Ban & { staff: Pick };