mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-24 13:11:14 -05:00
Approve tool use
This commit is contained in:
@@ -1198,6 +1198,53 @@ export type Database = {
|
||||
}
|
||||
Relationships: []
|
||||
}
|
||||
moderation_audit_log: {
|
||||
Row: {
|
||||
action: string
|
||||
created_at: string
|
||||
id: string
|
||||
is_test_data: boolean | null
|
||||
metadata: Json | null
|
||||
moderator_id: string
|
||||
new_status: string | null
|
||||
notes: string | null
|
||||
previous_status: string | null
|
||||
submission_id: string | null
|
||||
}
|
||||
Insert: {
|
||||
action: string
|
||||
created_at?: string
|
||||
id?: string
|
||||
is_test_data?: boolean | null
|
||||
metadata?: Json | null
|
||||
moderator_id: string
|
||||
new_status?: string | null
|
||||
notes?: string | null
|
||||
previous_status?: string | null
|
||||
submission_id?: string | null
|
||||
}
|
||||
Update: {
|
||||
action?: string
|
||||
created_at?: string
|
||||
id?: string
|
||||
is_test_data?: boolean | null
|
||||
metadata?: Json | null
|
||||
moderator_id?: string
|
||||
new_status?: string | null
|
||||
notes?: string | null
|
||||
previous_status?: string | null
|
||||
submission_id?: string | null
|
||||
}
|
||||
Relationships: [
|
||||
{
|
||||
foreignKeyName: "moderation_audit_log_submission_id_fkey"
|
||||
columns: ["submission_id"]
|
||||
isOneToOne: false
|
||||
referencedRelation: "content_submissions"
|
||||
referencedColumns: ["id"]
|
||||
},
|
||||
]
|
||||
}
|
||||
notification_channels: {
|
||||
Row: {
|
||||
channel_type: string
|
||||
@@ -4708,6 +4755,17 @@ export type Database = {
|
||||
Returns: undefined
|
||||
}
|
||||
log_cleanup_results: { Args: never; Returns: undefined }
|
||||
log_moderation_action: {
|
||||
Args: {
|
||||
_action: string
|
||||
_metadata?: Json
|
||||
_new_status?: string
|
||||
_notes?: string
|
||||
_previous_status?: string
|
||||
_submission_id: string
|
||||
}
|
||||
Returns: string
|
||||
}
|
||||
log_request_metadata: {
|
||||
Args: {
|
||||
p_client_version?: string
|
||||
@@ -4788,6 +4846,10 @@ export type Database = {
|
||||
Args: { target_ride_id: string }
|
||||
Returns: undefined
|
||||
}
|
||||
validate_moderation_action: {
|
||||
Args: { _action: string; _submission_id: string; _user_id: string }
|
||||
Returns: boolean
|
||||
}
|
||||
}
|
||||
Enums: {
|
||||
account_deletion_status:
|
||||
|
||||
Reference in New Issue
Block a user