mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-23 15:31:13 -05:00
Fix security vulnerabilities
This commit is contained in:
@@ -2038,6 +2038,7 @@ export type Database = {
|
||||
expires_at: string
|
||||
id: string
|
||||
ip_address: unknown | null
|
||||
ip_address_hash: string | null
|
||||
last_activity: string
|
||||
session_token: string
|
||||
user_agent: string | null
|
||||
@@ -2049,6 +2050,7 @@ export type Database = {
|
||||
expires_at?: string
|
||||
id?: string
|
||||
ip_address?: unknown | null
|
||||
ip_address_hash?: string | null
|
||||
last_activity?: string
|
||||
session_token: string
|
||||
user_agent?: string | null
|
||||
@@ -2060,6 +2062,7 @@ export type Database = {
|
||||
expires_at?: string
|
||||
id?: string
|
||||
ip_address?: unknown | null
|
||||
ip_address_hash?: string | null
|
||||
last_activity?: string
|
||||
session_token?: string
|
||||
user_agent?: string | null
|
||||
@@ -2174,6 +2177,10 @@ export type Database = {
|
||||
Args: Record<PropertyKey, never>
|
||||
Returns: boolean
|
||||
}
|
||||
cleanup_expired_sessions: {
|
||||
Args: Record<PropertyKey, never>
|
||||
Returns: undefined
|
||||
}
|
||||
extract_cf_image_id: {
|
||||
Args: { url: string }
|
||||
Returns: string
|
||||
@@ -2205,6 +2212,10 @@ export type Database = {
|
||||
}
|
||||
Returns: boolean
|
||||
}
|
||||
hash_ip_address: {
|
||||
Args: { ip_text: string }
|
||||
Returns: string
|
||||
}
|
||||
is_moderator: {
|
||||
Args: { _user_id: string }
|
||||
Returns: boolean
|
||||
|
||||
Reference in New Issue
Block a user