diff --git a/apps/web/app/types/generated/supabase.ts b/apps/web/app/types/generated/supabase.ts index 56e616b7..220e7daf 100644 --- a/apps/web/app/types/generated/supabase.ts +++ b/apps/web/app/types/generated/supabase.ts @@ -1,10 +1,4 @@ -export type Json = - | string - | number - | boolean - | null - | { [key: string]: Json | undefined } - | Json[] +export type Json = string | number | boolean | null | { [key: string]: Json | undefined } | Json[] export type Database = { graphql_public: { @@ -57,6 +51,56 @@ export type Database = { }, ] } + attendees: { + Row: { + activated_at: string | null + avatar_url: string + created_at: string + display_name: string | null + email: string + id: string + provider: string + receipt_id: string + role: string | null + updated_at: string + user_id: string + } + Insert: { + activated_at?: string | null + avatar_url: string + created_at?: string + display_name?: string | null + email: string + id?: string + provider: string + receipt_id: string + role?: string | null + updated_at?: string + user_id: string + } + Update: { + activated_at?: string | null + avatar_url?: string + created_at?: string + display_name?: string | null + email?: string + id?: string + provider?: string + receipt_id?: string + role?: string | null + updated_at?: string + user_id?: string + } + Relationships: [ + { + foreignKeyName: 'attendees_user_id_fkey' + columns: ['user_id'] + isOneToOne: false + referencedRelation: 'users' + referencedColumns: ['id'] + }, + ] + } speakers: { Row: { caption_en: string | null @@ -570,10 +614,8 @@ export type Tables< } ? R : never - : PublicTableNameOrOptions extends keyof (PublicSchema['Tables'] & - PublicSchema['Views']) - ? (PublicSchema['Tables'] & - PublicSchema['Views'])[PublicTableNameOrOptions] extends { + : PublicTableNameOrOptions extends keyof (PublicSchema['Tables'] & PublicSchema['Views']) + ? (PublicSchema['Tables'] & PublicSchema['Views'])[PublicTableNameOrOptions] extends { Row: infer R } ? R @@ -581,9 +623,7 @@ export type Tables< : never export type TablesInsert< - PublicTableNameOrOptions extends - | keyof PublicSchema['Tables'] - | { schema: keyof Database }, + PublicTableNameOrOptions extends keyof PublicSchema['Tables'] | { schema: keyof Database }, TableName extends PublicTableNameOrOptions extends { schema: keyof Database } ? keyof Database[PublicTableNameOrOptions['schema']]['Tables'] : never = never, @@ -602,9 +642,7 @@ export type TablesInsert< : never export type TablesUpdate< - PublicTableNameOrOptions extends - | keyof PublicSchema['Tables'] - | { schema: keyof Database }, + PublicTableNameOrOptions extends keyof PublicSchema['Tables'] | { schema: keyof Database }, TableName extends PublicTableNameOrOptions extends { schema: keyof Database } ? keyof Database[PublicTableNameOrOptions['schema']]['Tables'] : never = never, @@ -623,9 +661,7 @@ export type TablesUpdate< : never export type Enums< - PublicEnumNameOrOptions extends - | keyof PublicSchema['Enums'] - | { schema: keyof Database }, + PublicEnumNameOrOptions extends keyof PublicSchema['Enums'] | { schema: keyof Database }, EnumName extends PublicEnumNameOrOptions extends { schema: keyof Database } ? keyof Database[PublicEnumNameOrOptions['schema']]['Enums'] : never = never,