chore: Removing away (DB related, not slot related) from code (#14673)

* chore: Removing away (DB related, not slot related) from code

* Remove more isAway/away, eg. references
This commit is contained in:
Alex van Andel authored and GitHub committed 2024-04-20 02:23:34 +01:00
1 parent 8904f20eb8
commit a15cad4d03
20 files changed
+1 -97

No files matched your search

-1
View File
@@ -50,7 +50,6 @@ const userSelect = Prisma.validator<Prisma.UserSelect>()({
invitedTo: true,
brandColor: true,
darkBrandColor: true,
away: true,
allowDynamicBooking: true,
allowSEOIndexing: true,
receiveMonthlyDigestEmail: true,
-2
View File
@@ -207,7 +207,6 @@ type UserPayload = Prisma.UserGetPayload<{
selectedCalendars: true;
schedules: true;
avatarUrl: true;
away: true;
backupCodes: true;
bio: true;
brandColor: true;
@@ -255,7 +254,6 @@ export const buildUser = <T extends Partial<UserPayload>>(
allowDynamicBooking: true,
availability: [],
avatarUrl: "",
away: false,
backupCodes: null,
bio: null,
brandColor: "#292929",