From e009b1eaf7c4906b1fb275068e7f358215748528 Mon Sep 17 00:00:00 2001 From: Diego Artiles Date: Sat, 14 Sep 2024 14:08:15 -0300 Subject: [PATCH] feat(apps/chat-with-pdf): add profile types to database.types.ts --- apps/chat-with-pdf/database.types.ts | 35 ++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/apps/chat-with-pdf/database.types.ts b/apps/chat-with-pdf/database.types.ts index d136df0..e00b0ac 100644 --- a/apps/chat-with-pdf/database.types.ts +++ b/apps/chat-with-pdf/database.types.ts @@ -201,6 +201,41 @@ export type Database = { } Relationships: [] } + profiles: { + Row: { + avatarUrl: string | null + email: string | null + firstName: string | null + id: string + lastName: string | null + role: string | null + } + Insert: { + avatarUrl?: string | null + email?: string | null + firstName?: string | null + id: string + lastName?: string | null + role?: string | null + } + Update: { + avatarUrl?: string | null + email?: string | null + firstName?: string | null + id?: string + lastName?: string | null + role?: string | null + } + Relationships: [ + { + foreignKeyName: "profiles_id_fkey" + columns: ["id"] + isOneToOne: true + referencedRelation: "users" + referencedColumns: ["id"] + }, + ] + } } Views: { [_ in never]: never