feat: Approve tool use

Approve the use of a lovable tool.
This commit is contained in:
gpt-engineer-app[bot]
2025-11-06 19:13:52 +00:00
parent 5c1fbced45
commit 371995724a
2 changed files with 466 additions and 0 deletions

View File

@@ -211,6 +211,36 @@ export type Database = {
},
]
}
cleanup_job_log: {
Row: {
duration_ms: number | null
error_message: string | null
executed_at: string
id: string
items_processed: number
job_name: string
success: boolean
}
Insert: {
duration_ms?: number | null
error_message?: string | null
executed_at?: string
id?: string
items_processed?: number
job_name: string
success?: boolean
}
Update: {
duration_ms?: number | null
error_message?: string | null
executed_at?: string
id?: string
items_processed?: number
job_name?: string
success?: boolean
}
Relationships: []
}
companies: {
Row: {
average_rating: number | null
@@ -1910,6 +1940,42 @@ export type Database = {
}
Relationships: []
}
orphaned_images_log: {
Row: {
cleaned_up: boolean | null
cleaned_up_at: string | null
cloudflare_image_id: string
cloudflare_image_url: string | null
detected_at: string
id: string
image_source: string | null
last_referenced_at: string | null
notes: string | null
}
Insert: {
cleaned_up?: boolean | null
cleaned_up_at?: string | null
cloudflare_image_id: string
cloudflare_image_url?: string | null
detected_at?: string
id?: string
image_source?: string | null
last_referenced_at?: string | null
notes?: string | null
}
Update: {
cleaned_up?: boolean | null
cleaned_up_at?: string | null
cloudflare_image_id?: string
cloudflare_image_url?: string | null
detected_at?: string
id?: string
image_source?: string | null
last_referenced_at?: string | null
notes?: string | null
}
Relationships: []
}
park_location_history: {
Row: {
created_at: string
@@ -5802,6 +5868,16 @@ export type Database = {
}
Relationships: []
}
pipeline_cleanup_stats: {
Row: {
cleaned_count: number | null
cleanup_type: string | null
last_cleaned: string | null
last_detected: string | null
pending_count: number | null
}
Relationships: []
}
}
Functions: {
anonymize_user_submissions: {
@@ -5860,7 +5936,14 @@ export type Database = {
}
Returns: boolean
}
cleanup_approved_temp_refs: { Args: never; Returns: number }
cleanup_approved_temp_refs_with_logging: {
Args: never
Returns: undefined
}
cleanup_expired_idempotency_keys: { Args: never; Returns: number }
cleanup_expired_locks: { Args: never; Returns: number }
cleanup_expired_locks_with_logging: { Args: never; Returns: undefined }
cleanup_expired_sessions: { Args: never; Returns: undefined }
cleanup_old_page_views: { Args: never; Returns: undefined }
cleanup_old_request_metadata: { Args: never; Returns: undefined }
@@ -5897,6 +5980,8 @@ export type Database = {
}
Returns: string
}
detect_orphaned_images: { Args: never; Returns: number }
detect_orphaned_images_with_logging: { Args: never; Returns: undefined }
extend_submission_lock: {
Args: {
extension_duration?: unknown