Skip to content

Commit

Permalink
OMG commit with all the changes i forgot to be comitting
Browse files Browse the repository at this point in the history
  • Loading branch information
martypdx committed Nov 2, 2023
1 parent 750f24d commit bf7d55c
Show file tree
Hide file tree
Showing 14 changed files with 974 additions and 44 deletions.
7 changes: 5 additions & 2 deletions deno.lock
@@ -1,7 +1,10 @@
{
"version": "3",
"redirects": {
"https://esm.sh/@supabase/supabase-js@2": "https://esm.sh/@supabase/supabase-js@2.38.4"
"https://deno.land/std/http/http_status.ts": "https://deno.land/std@0.205.0/http/http_status.ts",
"https://deno.land/std/http/status.ts": "https://deno.land/std@0.205.0/http/status.ts",
"https://esm.sh/@supabase/supabase-js@2": "https://esm.sh/@supabase/supabase-js@2.38.4",
"https://esm.sh/@supabase/supabase-js@2/dist/module/index.d.ts": "https://esm.sh/v133/@supabase/supabase-js@2.38.4/dist/module/index.d.ts"
},
"remote": {
"https://deno.land/std@0.127.0/_util/assert.ts": "6396c1bd0361c4939e7f32f9b03efffcd04b640a1b206ed67058553d6cb59cc4",
Expand Down Expand Up @@ -32,4 +35,4 @@
"https://deno.land/x/lz4@v0.1.2/mod.ts": "4decfc1a3569d03fd1813bd39128b71c8f082850fe98ecfdde20025772916582",
"https://deno.land/x/lz4@v0.1.2/wasm.js": "b9c65605327ba273f0c76a6dc596ec534d4cda0f0225d7a94ebc606782319e46"
}
}
}
359 changes: 359 additions & 0 deletions schema.gen.ts
@@ -0,0 +1,359 @@
export type Json =
| string
| number
| boolean
| null
| { [key: string]: Json | undefined }
| Json[]

export interface Database {
graphql_public: {
Tables: {
[_ in never]: never
}
Views: {
[_ in never]: never
}
Functions: {
graphql: {
Args: {
operationName?: string
query?: string
variables?: Json
extensions?: Json
}
Returns: Json
}
}
Enums: {
[_ in never]: never
}
CompositeTypes: {
[_ in never]: never
}
}
public: {
Tables: {
healer: {
Row: {
avatar: string | null
content: string
created_at: string
id: number
name: string
}
Insert: {
avatar?: string | null
content: string
created_at?: string
id?: number
name: string
}
Update: {
avatar?: string | null
content?: string
created_at?: string
id?: number
name?: string
}
Relationships: []
}
service: {
Row: {
content: string | null
created_at: string
id: number
name: string
}
Insert: {
content?: string | null
created_at?: string
id?: number
name: string
}
Update: {
content?: string | null
created_at?: string
id?: number
name?: string
}
Relationships: []
}
session: {
Row: {
created_at: string
healer_id: number
id: number
service_id: number
step_id: number | null
uid: string
}
Insert: {
created_at?: string
healer_id?: number
id?: number
service_id?: number
step_id?: number | null
uid?: string
}
Update: {
created_at?: string
healer_id?: number
id?: number
service_id?: number
step_id?: number | null
uid?: string
}
Relationships: [
{
foreignKeyName: "session_healer_id_fkey"
columns: ["healer_id"]
referencedRelation: "healer"
referencedColumns: ["id"]
},
{
foreignKeyName: "session_service_id_fkey"
columns: ["service_id"]
referencedRelation: "service"
referencedColumns: ["id"]
},
{
foreignKeyName: "session_step_id_fkey"
columns: ["step_id"]
referencedRelation: "step"
referencedColumns: ["id"]
},
{
foreignKeyName: "session_uid_fkey"
columns: ["uid"]
referencedRelation: "users"
referencedColumns: ["id"]
}
]
}
step: {
Row: {
content: string | null
created_at: string
id: number
name: string | null
prior_id: number | null
}
Insert: {
content?: string | null
created_at?: string
id?: number
name?: string | null
prior_id?: number | null
}
Update: {
content?: string | null
created_at?: string
id?: number
name?: string | null
prior_id?: number | null
}
Relationships: [
{
foreignKeyName: "step_prior_id_fkey"
columns: ["prior_id"]
referencedRelation: "step"
referencedColumns: ["id"]
}
]
}
}
Views: {
[_ in never]: never
}
Functions: {
[_ in never]: never
}
Enums: {
[_ in never]: never
}
CompositeTypes: {
[_ in never]: never
}
}
storage: {
Tables: {
buckets: {
Row: {
allowed_mime_types: string[] | null
avif_autodetection: boolean | null
created_at: string | null
file_size_limit: number | null
id: string
name: string
owner: string | null
public: boolean | null
updated_at: string | null
}
Insert: {
allowed_mime_types?: string[] | null
avif_autodetection?: boolean | null
created_at?: string | null
file_size_limit?: number | null
id: string
name: string
owner?: string | null
public?: boolean | null
updated_at?: string | null
}
Update: {
allowed_mime_types?: string[] | null
avif_autodetection?: boolean | null
created_at?: string | null
file_size_limit?: number | null
id?: string
name?: string
owner?: string | null
public?: boolean | null
updated_at?: string | null
}
Relationships: [
{
foreignKeyName: "buckets_owner_fkey"
columns: ["owner"]
referencedRelation: "users"
referencedColumns: ["id"]
}
]
}
migrations: {
Row: {
executed_at: string | null
hash: string
id: number
name: string
}
Insert: {
executed_at?: string | null
hash: string
id: number
name: string
}
Update: {
executed_at?: string | null
hash?: string
id?: number
name?: string
}
Relationships: []
}
objects: {
Row: {
bucket_id: string | null
created_at: string | null
id: string
last_accessed_at: string | null
metadata: Json | null
name: string | null
owner: string | null
path_tokens: string[] | null
updated_at: string | null
version: string | null
}
Insert: {
bucket_id?: string | null
created_at?: string | null
id?: string
last_accessed_at?: string | null
metadata?: Json | null
name?: string | null
owner?: string | null
path_tokens?: string[] | null
updated_at?: string | null
version?: string | null
}
Update: {
bucket_id?: string | null
created_at?: string | null
id?: string
last_accessed_at?: string | null
metadata?: Json | null
name?: string | null
owner?: string | null
path_tokens?: string[] | null
updated_at?: string | null
version?: string | null
}
Relationships: [
{
foreignKeyName: "objects_bucketId_fkey"
columns: ["bucket_id"]
referencedRelation: "buckets"
referencedColumns: ["id"]
}
]
}
}
Views: {
[_ in never]: never
}
Functions: {
can_insert_object: {
Args: {
bucketid: string
name: string
owner: string
metadata: Json
}
Returns: undefined
}
extension: {
Args: {
name: string
}
Returns: string
}
filename: {
Args: {
name: string
}
Returns: string
}
foldername: {
Args: {
name: string
}
Returns: unknown
}
get_size_by_bucket: {
Args: Record<PropertyKey, never>
Returns: {
size: number
bucket_id: string
}[]
}
search: {
Args: {
prefix: string
bucketname: string
limits?: number
levels?: number
offsets?: number
search?: string
sortcolumn?: string
sortorder?: string
}
Returns: {
name: string
id: string
updated_at: string
created_at: string
last_accessed_at: string
metadata: Json
}[]
}
}
Enums: {
[_ in never]: never
}
CompositeTypes: {
[_ in never]: never
}
}
}

1 change: 1 addition & 0 deletions spiritwave.ai.code-workspace
Expand Up @@ -29,6 +29,7 @@
"denoland",
"Hyperlegible",
"nosniff",
"openai",
"OPENAI",
"qunit",
"selkie",
Expand Down

0 comments on commit bf7d55c

Please sign in to comment.