Database: { graphql_public: { CompositeTypes: { [_ in never]: never }; Enums: { [_ in never]: never }; Functions: { graphql: { Args: { extensions?: Json; operationName?: string; query?: string; variables?: Json; }; Returns: Json; }; }; Tables: { [_ in never]: never }; Views: { [_ in never]: never }; }; public: { CompositeTypes: { [_ in never]: never }; Enums: { [_ in never]: never }; Functions: { [_ in never]: never }; Tables: { feedback: { Insert: { created_at?: string | null; description?: string | null; email?: string | null; id?: number; screenshot?: string | null; type?: string | null; user?: string | null; user_agent?: string | null; }; Relationships: [{ columns: ["user"]; foreignKeyName: "feedback_user_fkey"; isOneToOne: false; referencedColumns: ["id"]; referencedRelation: "users"; }]; Row: { created_at: string | null; description: string | null; email: string | null; id: number; screenshot: string | null; type: string | null; user: string | null; user_agent: string | null; }; Update: { created_at?: string | null; description?: string | null; email?: string | null; id?: number; screenshot?: string | null; type?: string | null; user?: string | null; user_agent?: string | null; }; }; profile: { Insert: { avatar_url?: string | null; created_at?: string | null; email?: string | null; id: string; name?: string | null; plan?: string | null; stripe_customer?: string | null; }; Relationships: [{ columns: ["id"]; foreignKeyName: "profile_id_fkey"; isOneToOne: true; referencedColumns: ["id"]; referencedRelation: "users"; }]; Row: { avatar_url: string | null; created_at: string | null; email: string | null; id: string; name: string | null; plan: string | null; stripe_customer: string | null; }; Update: { avatar_url?: string | null; created_at?: string | null; email?: string | null; id?: string; name?: string | null; plan?: string | null; stripe_customer?: string | null; }; }; project: { Insert: { annotations?: Json | null; configuration?: Json | null; created_at?: string | null; id?: string; model?: string | null; options?: Json | null; thumbnail?: string | null; title?: string | null; user_id?: string | null; }; Relationships: [{ columns: ["user_id"]; foreignKeyName: "project_user_id_fkey"; isOneToOne: false; referencedColumns: ["id"]; referencedRelation: "users"; }]; Row: { annotations: Json | null; configuration: Json | null; created_at: string | null; id: string; model: string | null; options: Json | null; thumbnail: string | null; title: string | null; user_id: string | null; }; Update: { annotations?: Json | null; configuration?: Json | null; created_at?: string | null; id?: string; model?: string | null; options?: Json | null; thumbnail?: string | null; title?: string | null; user_id?: string | null; }; }; }; Views: { [_ in never]: never }; }; storage: { CompositeTypes: { [_ in never]: never }; Enums: { [_ in never]: never }; Functions: { can_insert_object: { Args: { bucketid: string; metadata: Json; name: string; owner: string; }; Returns: undefined; }; extension: { Args: { name: string; }; Returns: string; }; filename: { Args: { name: string; }; Returns: string; }; foldername: { Args: { name: string; }; Returns: string[]; }; get_size_by_bucket: { Args: Record<PropertyKey, never>; Returns: { bucket_id: string; size: number; }[]; }; list_multipart_uploads_with_delimiter: { Args: { bucket_id: string; delimiter_param: string; max_keys?: number; next_key_token?: string; next_upload_token?: string; prefix_param: string; }; Returns: { created_at: string; id: string; key: string; }[]; }; list_objects_with_delimiter: { Args: { bucket_id: string; delimiter_param: string; max_keys?: number; next_token?: string; prefix_param: string; start_after?: string; }; Returns: { id: string; metadata: Json; name: string; updated_at: string; }[]; }; search: { Args: { bucketname: string; levels?: number; limits?: number; offsets?: number; prefix: string; search?: string; sortcolumn?: string; sortorder?: string; }; Returns: { created_at: string; id: string; last_accessed_at: string; metadata: Json; name: string; updated_at: string; }[]; }; }; Tables: { buckets: { 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; owner_id?: string | null; public?: boolean | null; updated_at?: string | null; }; Relationships: []; 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; owner_id: 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; owner_id?: string | null; public?: boolean | null; updated_at?: string | null; }; }; migrations: { Insert: { executed_at?: string | null; hash: string; id: number; name: string; }; Relationships: []; Row: { executed_at: string | null; hash: string; id: number; name: string; }; Update: { executed_at?: string | null; hash?: string; id?: number; name?: string; }; }; objects: { 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; owner_id?: string | null; path_tokens?: string[] | null; updated_at?: string | null; version?: string | null; }; Relationships: [{ columns: ["bucket_id"]; foreignKeyName: "objects_bucketId_fkey"; isOneToOne: false; referencedColumns: ["id"]; referencedRelation: "buckets"; }]; 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; owner_id: 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; owner_id?: string | null; path_tokens?: string[] | null; updated_at?: string | null; version?: string | null; }; }; s3_multipart_uploads: { Insert: { bucket_id: string; created_at?: string; id: string; in_progress_size?: number; key: string; owner_id?: string | null; upload_signature: string; version: string; }; Relationships: [{ columns: ["bucket_id"]; foreignKeyName: "s3_multipart_uploads_bucket_id_fkey"; isOneToOne: false; referencedColumns: ["id"]; referencedRelation: "buckets"; }]; Row: { bucket_id: string; created_at: string; id: string; in_progress_size: number; key: string; owner_id: string | null; upload_signature: string; version: string; }; Update: { bucket_id?: string; created_at?: string; id?: string; in_progress_size?: number; key?: string; owner_id?: string | null; upload_signature?: string; version?: string; }; }; s3_multipart_uploads_parts: { Insert: { bucket_id: string; created_at?: string; etag: string; id?: string; key: string; owner_id?: string | null; part_number: number; size?: number; upload_id: string; version: string; }; Relationships: [{ columns: ["bucket_id"]; foreignKeyName: "s3_multipart_uploads_parts_bucket_id_fkey"; isOneToOne: false; referencedColumns: ["id"]; referencedRelation: "buckets"; }, { columns: ["upload_id"]; foreignKeyName: "s3_multipart_uploads_parts_upload_id_fkey"; isOneToOne: false; referencedColumns: ["id"]; referencedRelation: "s3_multipart_uploads"; }]; Row: { bucket_id: string; created_at: string; etag: string; id: string; key: string; owner_id: string | null; part_number: number; size: number; upload_id: string; version: string; }; Update: { bucket_id?: string; created_at?: string; etag?: string; id?: string; key?: string; owner_id?: string | null; part_number?: number; size?: number; upload_id?: string; version?: string; }; }; }; Views: { [_ in never]: never }; }; }