mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-24 06:31:14 -05:00
Refactor security functions
This commit is contained in:
@@ -3043,10 +3043,10 @@ export type Database = {
|
||||
get_my_sessions: {
|
||||
Args: Record<PropertyKey, never>
|
||||
Returns: {
|
||||
aal: "aal1" | "aal2" | "aal3"
|
||||
aal: string
|
||||
created_at: string
|
||||
id: string
|
||||
ip: unknown
|
||||
ip: string
|
||||
not_after: string
|
||||
refreshed_at: string
|
||||
updated_at: string
|
||||
@@ -3084,6 +3084,10 @@ export type Database = {
|
||||
Args: { ip_text: string }
|
||||
Returns: string
|
||||
}
|
||||
hash_session_ip: {
|
||||
Args: { session_ip: unknown }
|
||||
Returns: string
|
||||
}
|
||||
increment_blog_view_count: {
|
||||
Args: { post_slug: string }
|
||||
Returns: undefined
|
||||
@@ -3125,6 +3129,10 @@ export type Database = {
|
||||
Args: { session_id: string }
|
||||
Returns: undefined
|
||||
}
|
||||
revoke_session_with_mfa: {
|
||||
Args: { target_session_id: string; target_user_id: string }
|
||||
Returns: Json
|
||||
}
|
||||
rollback_to_version: {
|
||||
Args: {
|
||||
p_changed_by: string
|
||||
|
||||
Reference in New Issue
Block a user