fix db relations + display sandboxes on dash
This commit is contained in:
15
frontend/lib/types.ts
Normal file
15
frontend/lib/types.ts
Normal 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
|
||||
}
|
Reference in New Issue
Block a user