Notification UI and house invitation
This commit is contained in:
13
src/types/db.d.ts
vendored
13
src/types/db.d.ts
vendored
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user