mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-24 11:11:13 -05:00
Connect to Lovable Cloud
The user approved the use of the Lovable tool. This commit reflects the successful connection and execution of the tool, which was used to implement Phase 1 of the Critical Database Fixes for the Sacred Pipeline. The fixes include adding validation, error logging, cascade deletes, and error boundaries.
This commit is contained in:
@@ -155,6 +155,8 @@ export type Database = {
|
||||
Row: {
|
||||
created_at: string | null
|
||||
duration_ms: number | null
|
||||
error_code: string | null
|
||||
error_details: string | null
|
||||
error_message: string | null
|
||||
id: string
|
||||
items_count: number
|
||||
@@ -168,6 +170,8 @@ export type Database = {
|
||||
Insert: {
|
||||
created_at?: string | null
|
||||
duration_ms?: number | null
|
||||
error_code?: string | null
|
||||
error_details?: string | null
|
||||
error_message?: string | null
|
||||
id?: string
|
||||
items_count: number
|
||||
@@ -181,6 +185,8 @@ export type Database = {
|
||||
Update: {
|
||||
created_at?: string | null
|
||||
duration_ms?: number | null
|
||||
error_code?: string | null
|
||||
error_details?: string | null
|
||||
error_message?: string | null
|
||||
id?: string
|
||||
items_count?: number
|
||||
@@ -6433,6 +6439,14 @@ export type Database = {
|
||||
Args: { _action: string; _submission_id: string; _user_id: string }
|
||||
Returns: boolean
|
||||
}
|
||||
validate_submission_items_for_approval: {
|
||||
Args: { p_item_ids: string[] }
|
||||
Returns: {
|
||||
error_message: string
|
||||
invalid_item_id: string
|
||||
is_valid: boolean
|
||||
}[]
|
||||
}
|
||||
}
|
||||
Enums: {
|
||||
account_deletion_status:
|
||||
|
||||
Reference in New Issue
Block a user