Skip to content

Commit

Permalink
interim
Browse files Browse the repository at this point in the history
  • Loading branch information
cesarnml committed Aug 14, 2024
1 parent c59db54 commit 68fc91b
Showing 1 changed file with 15 additions and 22 deletions.
37 changes: 15 additions & 22 deletions src/lib/database.types.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
export type Json =
| string
| number
| boolean
| null
| { [key: string]: Json }
| Json[]
export type Json = string | number | boolean | null | { [key: string]: Json } | Json[]

export interface Database {
public: {
Expand Down Expand Up @@ -62,11 +56,11 @@ export interface Database {
}
Relationships: [
{
foreignKeyName: "buckets_owner_fkey"
columns: ["owner"]
referencedRelation: "users"
referencedColumns: ["id"]
}
foreignKeyName: 'buckets_owner_fkey'
columns: ['owner']
referencedRelation: 'users'
referencedColumns: ['id']
},
]
}
migrations: {
Expand Down Expand Up @@ -129,17 +123,17 @@ export interface Database {
}
Relationships: [
{
foreignKeyName: "objects_bucketId_fkey"
columns: ["bucket_id"]
referencedRelation: "buckets"
referencedColumns: ["id"]
foreignKeyName: 'objects_bucketId_fkey'
columns: ['bucket_id']
referencedRelation: 'buckets'
referencedColumns: ['id']
},
{
foreignKeyName: "objects_owner_fkey"
columns: ["owner"]
referencedRelation: "users"
referencedColumns: ["id"]
}
foreignKeyName: 'objects_owner_fkey'
columns: ['owner']
referencedRelation: 'users'
referencedColumns: ['id']
},
]
}
}
Expand Down Expand Up @@ -210,4 +204,3 @@ export interface Database {
}
}
}

0 comments on commit 68fc91b

Please sign in to comment.