From afc43d336cdba37fa64facf164b3cc74a45ea127 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sun, 29 Sep 2024 17:32:35 +0000 Subject: [PATCH] chore: updated generated Supabase types --- src/types/database.ts | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/src/types/database.ts b/src/types/database.ts index e7e193e..34b6c2a 100644 --- a/src/types/database.ts +++ b/src/types/database.ts @@ -12,9 +12,8 @@ export type Database = { issue_id: string | null; markdown: string | null; modified_at: string; - payloadobject: Json | null; + payload: Json | null; plaintext: string | null; - type: string; }; Insert: { author_id: string; @@ -24,9 +23,8 @@ export type Database = { issue_id?: string | null; markdown?: string | null; modified_at?: string; - payloadobject?: Json | null; + payload?: Json | null; plaintext?: string | null; - type: string; }; Update: { author_id?: string; @@ -36,9 +34,8 @@ export type Database = { issue_id?: string | null; markdown?: string | null; modified_at?: string; - payloadobject?: Json | null; + payload?: Json | null; plaintext?: string | null; - type?: string; }; Relationships: [ { @@ -52,6 +49,7 @@ export type Database = { }; issues: { Row: { + author_id: string; created_at: string; embedding: string; id: string; @@ -59,9 +57,9 @@ export type Database = { modified_at: string; payload: Json | null; plaintext: string | null; - type: string; }; Insert: { + author_id: string; created_at?: string; embedding: string; id: string; @@ -69,9 +67,9 @@ export type Database = { modified_at?: string; payload?: Json | null; plaintext?: string | null; - type?: string; }; Update: { + author_id?: string; created_at?: string; embedding?: string; id?: string; @@ -79,7 +77,6 @@ export type Database = { modified_at?: string; payload?: Json | null; plaintext?: string | null; - type?: string; }; Relationships: []; }; @@ -103,12 +100,13 @@ export type Database = { }; find_similar_issues: { Args: { + current_id: string; query_embedding: string; threshold: number; }; Returns: { - id: number; - issue: string; + issue_id: string; + issue_plaintext: string; similarity: number; }[]; };