mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-24 00:11:15 -05:00
Connect to Lovable Cloud
Approved Lovable tool use and migration updates to fix security warning and add monitoring edge function. Prepare and apply migrations to ensure search_path is set to public and implement monitoring endpoint for rate limit metrics.
This commit is contained in:
@@ -2950,6 +2950,89 @@ export type Database = {
|
||||
},
|
||||
]
|
||||
}
|
||||
rate_limit_alert_config: {
|
||||
Row: {
|
||||
created_at: string
|
||||
created_by: string | null
|
||||
enabled: boolean
|
||||
function_name: string | null
|
||||
id: string
|
||||
metric_type: string
|
||||
threshold_value: number
|
||||
time_window_ms: number
|
||||
updated_at: string
|
||||
}
|
||||
Insert: {
|
||||
created_at?: string
|
||||
created_by?: string | null
|
||||
enabled?: boolean
|
||||
function_name?: string | null
|
||||
id?: string
|
||||
metric_type: string
|
||||
threshold_value: number
|
||||
time_window_ms?: number
|
||||
updated_at?: string
|
||||
}
|
||||
Update: {
|
||||
created_at?: string
|
||||
created_by?: string | null
|
||||
enabled?: boolean
|
||||
function_name?: string | null
|
||||
id?: string
|
||||
metric_type?: string
|
||||
threshold_value?: number
|
||||
time_window_ms?: number
|
||||
updated_at?: string
|
||||
}
|
||||
Relationships: []
|
||||
}
|
||||
rate_limit_alerts: {
|
||||
Row: {
|
||||
alert_message: string
|
||||
config_id: string | null
|
||||
created_at: string
|
||||
function_name: string | null
|
||||
id: string
|
||||
metric_type: string
|
||||
metric_value: number
|
||||
resolved_at: string | null
|
||||
threshold_value: number
|
||||
time_window_ms: number
|
||||
}
|
||||
Insert: {
|
||||
alert_message: string
|
||||
config_id?: string | null
|
||||
created_at?: string
|
||||
function_name?: string | null
|
||||
id?: string
|
||||
metric_type: string
|
||||
metric_value: number
|
||||
resolved_at?: string | null
|
||||
threshold_value: number
|
||||
time_window_ms: number
|
||||
}
|
||||
Update: {
|
||||
alert_message?: string
|
||||
config_id?: string | null
|
||||
created_at?: string
|
||||
function_name?: string | null
|
||||
id?: string
|
||||
metric_type?: string
|
||||
metric_value?: number
|
||||
resolved_at?: string | null
|
||||
threshold_value?: number
|
||||
time_window_ms?: number
|
||||
}
|
||||
Relationships: [
|
||||
{
|
||||
foreignKeyName: "rate_limit_alerts_config_id_fkey"
|
||||
columns: ["config_id"]
|
||||
isOneToOne: false
|
||||
referencedRelation: "rate_limit_alert_config"
|
||||
referencedColumns: ["id"]
|
||||
},
|
||||
]
|
||||
}
|
||||
rate_limits: {
|
||||
Row: {
|
||||
action: string
|
||||
|
||||
Reference in New Issue
Block a user