fix: restore complete admin feature dependencies

This commit is contained in:
Simo committed 2026-07-11 21:15:54 +02:00
1 parent 5b4228261a
commit 0cd753c735
115 files changed
+18565 -4930

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
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<User, "id" | "username" | "look" | "motto">;
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<User, "id" | "username"> };