Notification UI and house invitation

This commit is contained in:
2026-02-19 19:16:26 +07:00
parent 84ed1e6c21
commit fa689ea4aa
35 changed files with 2592 additions and 112 deletions

13
src/types/db.d.ts vendored
View File

@@ -36,6 +36,19 @@ declare global {
};
};
type NotificationWithUser = Prisma.NotificationGetPayload<{
include: {
user: {
select: {
id: true;
name: true;
email: true;
image: true;
};
};
};
}>;
type ReturnError = Error & {
code: string;
message: string;