mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-23 15:31:13 -05:00
Fix user profile privacy
This commit is contained in:
@@ -949,13 +949,46 @@ export type Database = {
|
||||
}
|
||||
}
|
||||
Views: {
|
||||
[_ in never]: never
|
||||
public_profiles: {
|
||||
Row: {
|
||||
avatar_image_id: string | null
|
||||
avatar_url: string | null
|
||||
bio: string | null
|
||||
coaster_count: number | null
|
||||
created_at: string | null
|
||||
date_of_birth: string | null
|
||||
display_name: string | null
|
||||
home_park_id: string | null
|
||||
id: string | null
|
||||
location_id: string | null
|
||||
park_count: number | null
|
||||
personal_location: string | null
|
||||
preferred_pronouns: string | null
|
||||
privacy_level: string | null
|
||||
reputation_score: number | null
|
||||
review_count: number | null
|
||||
ride_count: number | null
|
||||
show_pronouns: boolean | null
|
||||
updated_at: string | null
|
||||
user_id: string | null
|
||||
username: string | null
|
||||
}
|
||||
Relationships: []
|
||||
}
|
||||
}
|
||||
Functions: {
|
||||
can_manage_user: {
|
||||
Args: { _manager_id: string; _target_user_id: string }
|
||||
Returns: boolean
|
||||
}
|
||||
can_view_profile_field: {
|
||||
Args: {
|
||||
_field_name: string
|
||||
_profile_user_id: string
|
||||
_viewer_id: string
|
||||
}
|
||||
Returns: boolean
|
||||
}
|
||||
get_user_management_permissions: {
|
||||
Args: { _user_id: string }
|
||||
Returns: Json
|
||||
|
||||
Reference in New Issue
Block a user