-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modified Prisma queries in login callback to only select necessary fi…
…elds Moved layout's `Map` type to `types.d.ts` as `DefinitionDashMap`
- Loading branch information
1 parent
c080bcf
commit 0d9fdea
Showing
3 changed files
with
14 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,7 @@ | ||
export type Question = { id: number; question: string }; | ||
export type LocalDoor = { room1_id: number; room2_id: number }; | ||
export type DefinitionDashMap = { | ||
id: number; | ||
data: string; | ||
doors: LocalDoor[]; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters