MED-151: add profile view and working smoking dashboard card (#71)
* MED-151: add profile view and working smoking dashboard card * update zod * move some components to shared * move some components to shared * remove console.logs * remove unused password form components * only check null for variant * use pathsconfig
This commit is contained in:
@@ -199,7 +199,6 @@ export type Database = {
|
||||
changed_by: string
|
||||
created_at: string
|
||||
id: number
|
||||
extra_data?: Json | null
|
||||
}
|
||||
Insert: {
|
||||
account_id: string
|
||||
@@ -207,7 +206,6 @@ export type Database = {
|
||||
changed_by: string
|
||||
created_at?: string
|
||||
id?: number
|
||||
extra_data?: Json | null
|
||||
}
|
||||
Update: {
|
||||
account_id?: string
|
||||
@@ -215,7 +213,6 @@ export type Database = {
|
||||
changed_by?: string
|
||||
created_at?: string
|
||||
id?: number
|
||||
extra_data?: Json | null
|
||||
}
|
||||
Relationships: []
|
||||
}
|
||||
@@ -320,10 +317,10 @@ export type Database = {
|
||||
Functions: {
|
||||
graphql: {
|
||||
Args: {
|
||||
extensions?: Json
|
||||
operationName?: string
|
||||
query?: string
|
||||
variables?: Json
|
||||
extensions?: Json
|
||||
}
|
||||
Returns: Json
|
||||
}
|
||||
@@ -342,6 +339,7 @@ export type Database = {
|
||||
account_id: string
|
||||
height: number | null
|
||||
id: string
|
||||
is_smoker: boolean | null
|
||||
recorded_at: string
|
||||
weight: number | null
|
||||
}
|
||||
@@ -349,6 +347,7 @@ export type Database = {
|
||||
account_id?: string
|
||||
height?: number | null
|
||||
id?: string
|
||||
is_smoker?: boolean | null
|
||||
recorded_at?: string
|
||||
weight?: number | null
|
||||
}
|
||||
@@ -356,6 +355,7 @@ export type Database = {
|
||||
account_id?: string
|
||||
height?: number | null
|
||||
id?: string
|
||||
is_smoker?: boolean | null
|
||||
recorded_at?: string
|
||||
weight?: number | null
|
||||
}
|
||||
@@ -363,21 +363,21 @@ export type Database = {
|
||||
{
|
||||
foreignKeyName: "account_params_account_id_fkey"
|
||||
columns: ["account_id"]
|
||||
isOneToOne: false
|
||||
isOneToOne: true
|
||||
referencedRelation: "accounts"
|
||||
referencedColumns: ["id"]
|
||||
},
|
||||
{
|
||||
foreignKeyName: "account_params_account_id_fkey"
|
||||
columns: ["account_id"]
|
||||
isOneToOne: false
|
||||
isOneToOne: true
|
||||
referencedRelation: "user_account_workspace"
|
||||
referencedColumns: ["id"]
|
||||
},
|
||||
{
|
||||
foreignKeyName: "account_params_account_id_fkey"
|
||||
columns: ["account_id"]
|
||||
isOneToOne: false
|
||||
isOneToOne: true
|
||||
referencedRelation: "user_accounts"
|
||||
referencedColumns: ["id"]
|
||||
},
|
||||
@@ -1091,7 +1091,7 @@ export type Database = {
|
||||
price: number
|
||||
price_periods: string | null
|
||||
requires_payment: boolean
|
||||
sync_id: string | null
|
||||
sync_id: string
|
||||
updated_at: string | null
|
||||
}
|
||||
Insert: {
|
||||
@@ -1110,7 +1110,7 @@ export type Database = {
|
||||
price: number
|
||||
price_periods?: string | null
|
||||
requires_payment: boolean
|
||||
sync_id?: string | null
|
||||
sync_id: string
|
||||
updated_at?: string | null
|
||||
}
|
||||
Update: {
|
||||
@@ -1129,7 +1129,7 @@ export type Database = {
|
||||
price?: number
|
||||
price_periods?: string | null
|
||||
requires_payment?: boolean
|
||||
sync_id?: string | null
|
||||
sync_id?: string
|
||||
updated_at?: string | null
|
||||
}
|
||||
Relationships: [
|
||||
@@ -1150,7 +1150,7 @@ export type Database = {
|
||||
doctor_user_id: string | null
|
||||
id: number
|
||||
status: Database["medreport"]["Enums"]["analysis_feedback_status"]
|
||||
updated_at: string | null
|
||||
updated_at: string
|
||||
updated_by: string | null
|
||||
user_id: string
|
||||
value: string | null
|
||||
@@ -1162,7 +1162,7 @@ export type Database = {
|
||||
doctor_user_id?: string | null
|
||||
id?: number
|
||||
status?: Database["medreport"]["Enums"]["analysis_feedback_status"]
|
||||
updated_at?: string | null
|
||||
updated_at?: string
|
||||
updated_by?: string | null
|
||||
user_id: string
|
||||
value?: string | null
|
||||
@@ -1174,7 +1174,7 @@ export type Database = {
|
||||
doctor_user_id?: string | null
|
||||
id?: number
|
||||
status?: Database["medreport"]["Enums"]["analysis_feedback_status"]
|
||||
updated_at?: string | null
|
||||
updated_at?: string
|
||||
updated_by?: string | null
|
||||
user_id?: string
|
||||
value?: string | null
|
||||
@@ -1257,34 +1257,6 @@ export type Database = {
|
||||
},
|
||||
]
|
||||
}
|
||||
medipost_actions: {
|
||||
Row: {
|
||||
id: string
|
||||
action: string
|
||||
xml: string
|
||||
has_analysis_results: boolean
|
||||
created_at: string
|
||||
medusa_order_id: string
|
||||
response_xml: string
|
||||
has_error: boolean
|
||||
}
|
||||
Insert: {
|
||||
action: string
|
||||
xml: string
|
||||
has_analysis_results: boolean
|
||||
medusa_order_id: string
|
||||
response_xml: string
|
||||
has_error: boolean
|
||||
}
|
||||
Update: {
|
||||
action?: string
|
||||
xml?: string
|
||||
has_analysis_results?: boolean
|
||||
medusa_order_id?: string
|
||||
response_xml?: string
|
||||
has_error?: boolean
|
||||
}
|
||||
}
|
||||
medreport_product_groups: {
|
||||
Row: {
|
||||
created_at: string
|
||||
@@ -1871,17 +1843,19 @@ export type Database = {
|
||||
}
|
||||
create_nonce: {
|
||||
Args: {
|
||||
p_user_id?: string
|
||||
p_purpose?: string
|
||||
p_expires_in_seconds?: number
|
||||
p_metadata?: Json
|
||||
p_scopes?: string[]
|
||||
p_purpose?: string
|
||||
p_revoke_previous?: boolean
|
||||
p_scopes?: string[]
|
||||
p_user_id?: string
|
||||
}
|
||||
Returns: Json
|
||||
}
|
||||
create_team_account: {
|
||||
Args: { account_name: string; new_personal_code: string }
|
||||
Args:
|
||||
| { account_name: string }
|
||||
| { account_name: string; new_personal_code: string }
|
||||
Returns: {
|
||||
application_role: Database["medreport"]["Enums"]["application_role"]
|
||||
city: string | null
|
||||
@@ -1908,34 +1882,34 @@ export type Database = {
|
||||
get_account_invitations: {
|
||||
Args: { account_slug: string }
|
||||
Returns: {
|
||||
id: number
|
||||
email: string
|
||||
account_id: string
|
||||
invited_by: string
|
||||
role: string
|
||||
created_at: string
|
||||
updated_at: string
|
||||
email: string
|
||||
expires_at: string
|
||||
personal_code: string
|
||||
inviter_name: string
|
||||
id: number
|
||||
invited_by: string
|
||||
inviter_email: string
|
||||
inviter_name: string
|
||||
personal_code: string
|
||||
role: string
|
||||
updated_at: string
|
||||
}[]
|
||||
}
|
||||
get_account_members: {
|
||||
Args: { account_slug: string }
|
||||
Returns: {
|
||||
id: string
|
||||
user_id: string
|
||||
account_id: string
|
||||
role: string
|
||||
role_hierarchy_level: number
|
||||
primary_owner_user_id: string
|
||||
name: string
|
||||
created_at: string
|
||||
email: string
|
||||
id: string
|
||||
name: string
|
||||
personal_code: string
|
||||
picture_url: string
|
||||
created_at: string
|
||||
primary_owner_user_id: string
|
||||
role: string
|
||||
role_hierarchy_level: number
|
||||
updated_at: string
|
||||
user_id: string
|
||||
}[]
|
||||
}
|
||||
get_config: {
|
||||
@@ -1945,20 +1919,11 @@ export type Database = {
|
||||
get_invitations_with_account_ids: {
|
||||
Args: { company_id: string; personal_codes: string[] }
|
||||
Returns: {
|
||||
account_id: string
|
||||
invite_token: string
|
||||
personal_code: string
|
||||
account_id: string
|
||||
}[]
|
||||
}
|
||||
get_latest_medipost_dispatch_state_for_order: {
|
||||
Args: {
|
||||
medusa_order_id: string
|
||||
}
|
||||
Returns: {
|
||||
has_success: boolean
|
||||
action_date: string
|
||||
}
|
||||
}
|
||||
get_medipost_dispatch_tries: {
|
||||
Args: { p_medusa_order_id: string }
|
||||
Returns: number
|
||||
@@ -1985,17 +1950,17 @@ export type Database = {
|
||||
}
|
||||
has_more_elevated_role: {
|
||||
Args: {
|
||||
target_user_id: string
|
||||
target_account_id: string
|
||||
role_name: string
|
||||
target_account_id: string
|
||||
target_user_id: string
|
||||
}
|
||||
Returns: boolean
|
||||
}
|
||||
has_permission: {
|
||||
Args: {
|
||||
user_id: string
|
||||
account_id: string
|
||||
permission_name: Database["medreport"]["Enums"]["app_permissions"]
|
||||
user_id: string
|
||||
}
|
||||
Returns: boolean
|
||||
}
|
||||
@@ -2005,9 +1970,9 @@ export type Database = {
|
||||
}
|
||||
has_same_role_hierarchy_level: {
|
||||
Args: {
|
||||
target_user_id: string
|
||||
target_account_id: string
|
||||
role_name: string
|
||||
target_account_id: string
|
||||
target_user_id: string
|
||||
}
|
||||
Returns: boolean
|
||||
}
|
||||
@@ -2062,39 +2027,39 @@ export type Database = {
|
||||
team_account_workspace: {
|
||||
Args: { account_slug: string }
|
||||
Returns: {
|
||||
id: string
|
||||
name: string
|
||||
picture_url: string
|
||||
slug: string
|
||||
role: string
|
||||
role_hierarchy_level: number
|
||||
primary_owner_user_id: string
|
||||
subscription_status: Database["medreport"]["Enums"]["subscription_status"]
|
||||
permissions: Database["medreport"]["Enums"]["app_permissions"][]
|
||||
account_role: string
|
||||
application_role: Database["medreport"]["Enums"]["application_role"]
|
||||
id: string
|
||||
name: string
|
||||
permissions: Database["medreport"]["Enums"]["app_permissions"][]
|
||||
picture_url: string
|
||||
primary_owner_user_id: string
|
||||
role: string
|
||||
role_hierarchy_level: number
|
||||
slug: string
|
||||
subscription_status: Database["medreport"]["Enums"]["subscription_status"]
|
||||
}[]
|
||||
}
|
||||
transfer_team_account_ownership: {
|
||||
Args: { target_account_id: string; new_owner_id: string }
|
||||
Args: { new_owner_id: string; target_account_id: string }
|
||||
Returns: undefined
|
||||
}
|
||||
update_account: {
|
||||
Args: {
|
||||
p_name: string
|
||||
p_last_name: string
|
||||
p_personal_code: string
|
||||
p_phone: string
|
||||
p_city: string
|
||||
p_has_consent_personal_data: boolean
|
||||
p_last_name: string
|
||||
p_name: string
|
||||
p_personal_code: string
|
||||
p_phone: string
|
||||
p_uid: string
|
||||
}
|
||||
Returns: undefined
|
||||
}
|
||||
update_analysis_order_status: {
|
||||
Args: {
|
||||
order_id: number
|
||||
medusa_order_id_param: string
|
||||
order_id: number
|
||||
status_param: Database["medreport"]["Enums"]["analysis_order_status"]
|
||||
}
|
||||
Returns: {
|
||||
@@ -2109,14 +2074,14 @@ export type Database = {
|
||||
}
|
||||
upsert_order: {
|
||||
Args: {
|
||||
billing_provider: Database["medreport"]["Enums"]["billing_provider"]
|
||||
currency: string
|
||||
line_items: Json
|
||||
status: Database["medreport"]["Enums"]["payment_status"]
|
||||
target_account_id: string
|
||||
target_customer_id: string
|
||||
target_order_id: string
|
||||
status: Database["medreport"]["Enums"]["payment_status"]
|
||||
billing_provider: Database["medreport"]["Enums"]["billing_provider"]
|
||||
total_amount: number
|
||||
currency: string
|
||||
line_items: Json
|
||||
}
|
||||
Returns: {
|
||||
account_id: string
|
||||
@@ -2132,19 +2097,19 @@ export type Database = {
|
||||
}
|
||||
upsert_subscription: {
|
||||
Args: {
|
||||
target_account_id: string
|
||||
target_customer_id: string
|
||||
target_subscription_id: string
|
||||
active: boolean
|
||||
status: Database["medreport"]["Enums"]["subscription_status"]
|
||||
billing_provider: Database["medreport"]["Enums"]["billing_provider"]
|
||||
cancel_at_period_end: boolean
|
||||
currency: string
|
||||
period_starts_at: string
|
||||
period_ends_at: string
|
||||
line_items: Json
|
||||
trial_starts_at?: string
|
||||
period_ends_at: string
|
||||
period_starts_at: string
|
||||
status: Database["medreport"]["Enums"]["subscription_status"]
|
||||
target_account_id: string
|
||||
target_customer_id: string
|
||||
target_subscription_id: string
|
||||
trial_ends_at?: string
|
||||
trial_starts_at?: string
|
||||
}
|
||||
Returns: {
|
||||
account_id: string
|
||||
@@ -2165,31 +2130,16 @@ export type Database = {
|
||||
}
|
||||
verify_nonce: {
|
||||
Args: {
|
||||
p_token: string
|
||||
p_purpose: string
|
||||
p_user_id?: string
|
||||
p_required_scopes?: string[]
|
||||
p_max_verification_attempts?: number
|
||||
p_ip?: unknown
|
||||
p_max_verification_attempts?: number
|
||||
p_purpose: string
|
||||
p_required_scopes?: string[]
|
||||
p_token: string
|
||||
p_user_agent?: string
|
||||
p_user_id?: string
|
||||
}
|
||||
Returns: Json
|
||||
}
|
||||
sync_analysis_results: {
|
||||
}
|
||||
send_medipost_test_response_for_order: {
|
||||
Args: {
|
||||
medusa_order_id: string
|
||||
}
|
||||
}
|
||||
order_has_medipost_dispatch_error: {
|
||||
Args: {
|
||||
medusa_order_id: string
|
||||
}
|
||||
Returns: {
|
||||
success: boolean
|
||||
}
|
||||
}
|
||||
}
|
||||
Enums: {
|
||||
analysis_feedback_status: "STARTED" | "DRAFT" | "COMPLETED"
|
||||
@@ -7918,9 +7868,9 @@ export type Database = {
|
||||
Functions: {
|
||||
has_permission: {
|
||||
Args: {
|
||||
user_id: string
|
||||
account_id: string
|
||||
permission_name: Database["public"]["Enums"]["app_permissions"]
|
||||
user_id: string
|
||||
}
|
||||
Returns: boolean
|
||||
}
|
||||
@@ -7970,21 +7920,25 @@ export type Database = {
|
||||
}
|
||||
}
|
||||
|
||||
type DefaultSchema = Database[Extract<keyof Database, "public">]
|
||||
type DatabaseWithoutInternals = Omit<Database, "__InternalSupabase">
|
||||
|
||||
type DefaultSchema = DatabaseWithoutInternals[Extract<keyof Database, "public">]
|
||||
|
||||
export type Tables<
|
||||
DefaultSchemaTableNameOrOptions extends
|
||||
| keyof (DefaultSchema["Tables"] & DefaultSchema["Views"])
|
||||
| { schema: keyof Database },
|
||||
| { schema: keyof DatabaseWithoutInternals },
|
||||
TableName extends DefaultSchemaTableNameOrOptions extends {
|
||||
schema: keyof Database
|
||||
schema: keyof DatabaseWithoutInternals
|
||||
}
|
||||
? keyof (Database[DefaultSchemaTableNameOrOptions["schema"]]["Tables"] &
|
||||
Database[DefaultSchemaTableNameOrOptions["schema"]]["Views"])
|
||||
? keyof (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"] &
|
||||
DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Views"])
|
||||
: never = never,
|
||||
> = DefaultSchemaTableNameOrOptions extends { schema: keyof Database }
|
||||
? (Database[DefaultSchemaTableNameOrOptions["schema"]]["Tables"] &
|
||||
Database[DefaultSchemaTableNameOrOptions["schema"]]["Views"])[TableName] extends {
|
||||
> = DefaultSchemaTableNameOrOptions extends {
|
||||
schema: keyof DatabaseWithoutInternals
|
||||
}
|
||||
? (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"] &
|
||||
DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Views"])[TableName] extends {
|
||||
Row: infer R
|
||||
}
|
||||
? R
|
||||
@@ -8002,14 +7956,16 @@ export type Tables<
|
||||
export type TablesInsert<
|
||||
DefaultSchemaTableNameOrOptions extends
|
||||
| keyof DefaultSchema["Tables"]
|
||||
| { schema: keyof Database },
|
||||
| { schema: keyof DatabaseWithoutInternals },
|
||||
TableName extends DefaultSchemaTableNameOrOptions extends {
|
||||
schema: keyof Database
|
||||
schema: keyof DatabaseWithoutInternals
|
||||
}
|
||||
? keyof Database[DefaultSchemaTableNameOrOptions["schema"]]["Tables"]
|
||||
? keyof DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"]
|
||||
: never = never,
|
||||
> = DefaultSchemaTableNameOrOptions extends { schema: keyof Database }
|
||||
? Database[DefaultSchemaTableNameOrOptions["schema"]]["Tables"][TableName] extends {
|
||||
> = DefaultSchemaTableNameOrOptions extends {
|
||||
schema: keyof DatabaseWithoutInternals
|
||||
}
|
||||
? DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"][TableName] extends {
|
||||
Insert: infer I
|
||||
}
|
||||
? I
|
||||
@@ -8025,14 +7981,16 @@ export type TablesInsert<
|
||||
export type TablesUpdate<
|
||||
DefaultSchemaTableNameOrOptions extends
|
||||
| keyof DefaultSchema["Tables"]
|
||||
| { schema: keyof Database },
|
||||
| { schema: keyof DatabaseWithoutInternals },
|
||||
TableName extends DefaultSchemaTableNameOrOptions extends {
|
||||
schema: keyof Database
|
||||
schema: keyof DatabaseWithoutInternals
|
||||
}
|
||||
? keyof Database[DefaultSchemaTableNameOrOptions["schema"]]["Tables"]
|
||||
? keyof DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"]
|
||||
: never = never,
|
||||
> = DefaultSchemaTableNameOrOptions extends { schema: keyof Database }
|
||||
? Database[DefaultSchemaTableNameOrOptions["schema"]]["Tables"][TableName] extends {
|
||||
> = DefaultSchemaTableNameOrOptions extends {
|
||||
schema: keyof DatabaseWithoutInternals
|
||||
}
|
||||
? DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"][TableName] extends {
|
||||
Update: infer U
|
||||
}
|
||||
? U
|
||||
@@ -8048,14 +8006,16 @@ export type TablesUpdate<
|
||||
export type Enums<
|
||||
DefaultSchemaEnumNameOrOptions extends
|
||||
| keyof DefaultSchema["Enums"]
|
||||
| { schema: keyof Database },
|
||||
| { schema: keyof DatabaseWithoutInternals },
|
||||
EnumName extends DefaultSchemaEnumNameOrOptions extends {
|
||||
schema: keyof Database
|
||||
schema: keyof DatabaseWithoutInternals
|
||||
}
|
||||
? keyof Database[DefaultSchemaEnumNameOrOptions["schema"]]["Enums"]
|
||||
? keyof DatabaseWithoutInternals[DefaultSchemaEnumNameOrOptions["schema"]]["Enums"]
|
||||
: never = never,
|
||||
> = DefaultSchemaEnumNameOrOptions extends { schema: keyof Database }
|
||||
? Database[DefaultSchemaEnumNameOrOptions["schema"]]["Enums"][EnumName]
|
||||
> = DefaultSchemaEnumNameOrOptions extends {
|
||||
schema: keyof DatabaseWithoutInternals
|
||||
}
|
||||
? DatabaseWithoutInternals[DefaultSchemaEnumNameOrOptions["schema"]]["Enums"][EnumName]
|
||||
: DefaultSchemaEnumNameOrOptions extends keyof DefaultSchema["Enums"]
|
||||
? DefaultSchema["Enums"][DefaultSchemaEnumNameOrOptions]
|
||||
: never
|
||||
@@ -8063,14 +8023,16 @@ export type Enums<
|
||||
export type CompositeTypes<
|
||||
PublicCompositeTypeNameOrOptions extends
|
||||
| keyof DefaultSchema["CompositeTypes"]
|
||||
| { schema: keyof Database },
|
||||
| { schema: keyof DatabaseWithoutInternals },
|
||||
CompositeTypeName extends PublicCompositeTypeNameOrOptions extends {
|
||||
schema: keyof Database
|
||||
schema: keyof DatabaseWithoutInternals
|
||||
}
|
||||
? keyof Database[PublicCompositeTypeNameOrOptions["schema"]]["CompositeTypes"]
|
||||
? keyof DatabaseWithoutInternals[PublicCompositeTypeNameOrOptions["schema"]]["CompositeTypes"]
|
||||
: never = never,
|
||||
> = PublicCompositeTypeNameOrOptions extends { schema: keyof Database }
|
||||
? Database[PublicCompositeTypeNameOrOptions["schema"]]["CompositeTypes"][CompositeTypeName]
|
||||
> = PublicCompositeTypeNameOrOptions extends {
|
||||
schema: keyof DatabaseWithoutInternals
|
||||
}
|
||||
? DatabaseWithoutInternals[PublicCompositeTypeNameOrOptions["schema"]]["CompositeTypes"][CompositeTypeName]
|
||||
: PublicCompositeTypeNameOrOptions extends keyof DefaultSchema["CompositeTypes"]
|
||||
? DefaultSchema["CompositeTypes"][PublicCompositeTypeNameOrOptions]
|
||||
: never
|
||||
|
||||
@@ -13,7 +13,7 @@ const message =
|
||||
export function getServiceRoleKey() {
|
||||
return z
|
||||
.string({
|
||||
required_error: message,
|
||||
error: message,
|
||||
})
|
||||
.min(1, {
|
||||
message: message,
|
||||
|
||||
@@ -7,14 +7,14 @@ export function getSupabaseClientKeys() {
|
||||
return z
|
||||
.object({
|
||||
url: z.string({
|
||||
description: `This is the URL of your hosted Supabase instance. Please provide the variable NEXT_PUBLIC_SUPABASE_URL.`,
|
||||
required_error: `Please provide the variable NEXT_PUBLIC_SUPABASE_URL`,
|
||||
}),
|
||||
error: `Please provide the variable NEXT_PUBLIC_SUPABASE_URL`,
|
||||
})
|
||||
.describe(`This is the URL of your hosted Supabase instance. Please provide the variable NEXT_PUBLIC_SUPABASE_URL.`),
|
||||
anonKey: z
|
||||
.string({
|
||||
description: `This is the anon key provided by Supabase. It is a public key used client-side. Please provide the variable NEXT_PUBLIC_SUPABASE_ANON_KEY.`,
|
||||
required_error: `Please provide the variable NEXT_PUBLIC_SUPABASE_ANON_KEY`,
|
||||
error: `Please provide the variable NEXT_PUBLIC_SUPABASE_ANON_KEY`,
|
||||
})
|
||||
.describe(`This is the anon key provided by Supabase. It is a public key used client-side. Please provide the variable NEXT_PUBLIC_SUPABASE_ANON_KEY.`)
|
||||
.min(1),
|
||||
})
|
||||
.parse({
|
||||
|
||||
Reference in New Issue
Block a user