mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-24 15:11:12 -05:00
Refactor log_request_metadata function
This commit is contained in:
@@ -702,6 +702,7 @@ export type Database = {
|
||||
status: string
|
||||
subject: string
|
||||
submitter_profile_data: Json | null
|
||||
submitter_profile_id: string | null
|
||||
submitter_reputation: number | null
|
||||
submitter_username: string | null
|
||||
thread_id: string | null
|
||||
@@ -730,6 +731,7 @@ export type Database = {
|
||||
status?: string
|
||||
subject: string
|
||||
submitter_profile_data?: Json | null
|
||||
submitter_profile_id?: string | null
|
||||
submitter_reputation?: number | null
|
||||
submitter_username?: string | null
|
||||
thread_id?: string | null
|
||||
@@ -758,6 +760,7 @@ export type Database = {
|
||||
status?: string
|
||||
subject?: string
|
||||
submitter_profile_data?: Json | null
|
||||
submitter_profile_id?: string | null
|
||||
submitter_reputation?: number | null
|
||||
submitter_username?: string | null
|
||||
thread_id?: string | null
|
||||
@@ -766,7 +769,22 @@ export type Database = {
|
||||
user_agent?: string | null
|
||||
user_id?: string | null
|
||||
}
|
||||
Relationships: []
|
||||
Relationships: [
|
||||
{
|
||||
foreignKeyName: "contact_submissions_submitter_profile_id_fkey"
|
||||
columns: ["submitter_profile_id"]
|
||||
isOneToOne: false
|
||||
referencedRelation: "filtered_profiles"
|
||||
referencedColumns: ["id"]
|
||||
},
|
||||
{
|
||||
foreignKeyName: "contact_submissions_submitter_profile_id_fkey"
|
||||
columns: ["submitter_profile_id"]
|
||||
isOneToOne: false
|
||||
referencedRelation: "profiles"
|
||||
referencedColumns: ["id"]
|
||||
},
|
||||
]
|
||||
}
|
||||
content_submissions: {
|
||||
Row: {
|
||||
@@ -5576,11 +5594,11 @@ export type Database = {
|
||||
log_request_metadata:
|
||||
| {
|
||||
Args: {
|
||||
p_breadcrumbs?: Json
|
||||
p_breadcrumbs?: string
|
||||
p_client_version?: string
|
||||
p_duration_ms?: number
|
||||
p_endpoint?: string
|
||||
p_environment_context?: Json
|
||||
p_environment_context?: string
|
||||
p_error_message?: string
|
||||
p_error_stack?: string
|
||||
p_error_type?: string
|
||||
|
||||
Reference in New Issue
Block a user