fix db relations + display sandboxes on dash

This commit is contained in:
Ishaan Dey
2024-04-18 00:13:40 -04:00
parent 14d76c605e
commit 19c2992824
13 changed files with 458 additions and 36 deletions

15
frontend/lib/types.ts Normal file
View File

@ -0,0 +1,15 @@
// DB Types
export type User = {
id: string
name: string
email: string
}
export type Sandbox = {
id: string
name: string
type: "react" | "node"
bucket: string | null
userId: string
}