Merge branch 'main' into MED-104

This commit is contained in:
Danel Kungla
2025-08-29 09:46:04 +03:00
27 changed files with 491 additions and 135 deletions

View File

@@ -165,6 +165,33 @@ export type Database = {
}
Relationships: []
}
notification_entries: {
Row: {
action: string
comment: string | null
created_at: string
id: number
related_record_key: string | null
status: Database["audit"]["Enums"]["action_status"]
}
Insert: {
action: string
comment?: string | null
created_at?: string
id?: number
related_record_key?: string | null
status: Database["audit"]["Enums"]["action_status"]
}
Update: {
action?: string
comment?: string | null
created_at?: string
id?: number
related_record_key?: string | null
status?: Database["audit"]["Enums"]["action_status"]
}
Relationships: []
}
page_views: {
Row: {
account_id: string
@@ -266,6 +293,7 @@ export type Database = {
[_ in never]: never
}
Enums: {
action_status: "SUCCESS" | "FAIL"
doctor_page_view_action:
| "VIEW_ANALYSIS_RESULTS"
| "VIEW_DASHBOARD"
@@ -369,8 +397,8 @@ export type Database = {
personal_code: string | null
phone: string | null
picture_url: string | null
preferred_locale: Database["medreport"]["Enums"]["locale"] | null
primary_owner_user_id: string
public_data: Json
slug: string | null
updated_at: string | null
updated_by: string | null
@@ -391,8 +419,8 @@ export type Database = {
personal_code?: string | null
phone?: string | null
picture_url?: string | null
preferred_locale?: Database["medreport"]["Enums"]["locale"] | null
primary_owner_user_id?: string
public_data?: Json
slug?: string | null
updated_at?: string | null
updated_by?: string | null
@@ -413,8 +441,8 @@ export type Database = {
personal_code?: string | null
phone?: string | null
picture_url?: string | null
preferred_locale?: Database["medreport"]["Enums"]["locale"] | null
primary_owner_user_id?: string
public_data?: Json
slug?: string | null
updated_at?: string | null
updated_by?: string | null
@@ -1839,8 +1867,8 @@ export type Database = {
personal_code: string | null
phone: string | null
picture_url: string | null
preferred_locale: Database["medreport"]["Enums"]["locale"] | null
primary_owner_user_id: string
public_data: Json
slug: string | null
updated_at: string | null
updated_by: string | null
@@ -2128,6 +2156,7 @@ export type Database = {
| "invites.manage"
application_role: "user" | "doctor" | "super_admin"
billing_provider: "stripe" | "lemon-squeezy" | "paddle" | "montonio"
locale: "en" | "et" | "ru"
notification_channel: "in_app" | "email"
notification_type: "info" | "warning" | "error"
payment_status: "pending" | "succeeded" | "failed"
@@ -7994,6 +8023,7 @@ export type CompositeTypes<
export const Constants = {
audit: {
Enums: {
action_status: ["SUCCESS", "FAIL"],
doctor_page_view_action: [
"VIEW_ANALYSIS_RESULTS",
"VIEW_DASHBOARD",
@@ -8031,6 +8061,7 @@ export const Constants = {
],
application_role: ["user", "doctor", "super_admin"],
billing_provider: ["stripe", "lemon-squeezy", "paddle", "montonio"],
locale: ["en", "et", "ru"],
notification_channel: ["in_app", "email"],
notification_type: ["info", "warning", "error"],
payment_status: ["pending", "succeeded", "failed"],