From 2356a531fbbe2d48d439c44f5f9eb79ec9a2322a Mon Sep 17 00:00:00 2001
From: "gpt-engineer-app[bot]"
<159125892+gpt-engineer-app[bot]@users.noreply.github.com>
Date: Sat, 18 Apr 2026 04:09:26 +0000
Subject: [PATCH 1/3] Changes
Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com>
---
.../20260418040923_cf92cfb4-9abb-4ead-90a4-09202f7d8b5d.sql | 2 ++
1 file changed, 2 insertions(+)
create mode 100644 supabase/migrations/20260418040923_cf92cfb4-9abb-4ead-90a4-09202f7d8b5d.sql
diff --git a/supabase/migrations/20260418040923_cf92cfb4-9abb-4ead-90a4-09202f7d8b5d.sql b/supabase/migrations/20260418040923_cf92cfb4-9abb-4ead-90a4-09202f7d8b5d.sql
new file mode 100644
index 0000000..6d6dee2
--- /dev/null
+++ b/supabase/migrations/20260418040923_cf92cfb4-9abb-4ead-90a4-09202f7d8b5d.sql
@@ -0,0 +1,2 @@
+ALTER TYPE public.client_type ADD VALUE IF NOT EXISTS 'individual';
+ALTER TYPE public.client_type ADD VALUE IF NOT EXISTS 'business';
\ No newline at end of file
From c82696513d43be6ed15263c9d8ca2eebd25ee99d Mon Sep 17 00:00:00 2001
From: "gpt-engineer-app[bot]"
<159125892+gpt-engineer-app[bot]@users.noreply.github.com>
Date: Sat, 18 Apr 2026 04:09:32 +0000
Subject: [PATCH 2/3] Changes
Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com>
---
src/components/clients/client-form-dialog.tsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/components/clients/client-form-dialog.tsx b/src/components/clients/client-form-dialog.tsx
index 024bbef..244cf52 100644
--- a/src/components/clients/client-form-dialog.tsx
+++ b/src/components/clients/client-form-dialog.tsx
@@ -21,7 +21,7 @@ const boardMember = z.object({
});
const schema = z.object({
- client_type: z.enum(["hoa", "condo"]),
+ client_type: z.enum(["hoa", "condo", "individual", "business"]),
name: z.string().trim().min(1, "Required").max(200),
primary_contact_name: z.string().trim().max(120).optional().or(z.literal("")),
primary_contact_email: z.string().trim().email("Invalid email").max(255).optional().or(z.literal("")),
From 3163c37084424058305d9f036da81ff72330b0d2 Mon Sep 17 00:00:00 2001
From: "gpt-engineer-app[bot]"
<159125892+gpt-engineer-app[bot]@users.noreply.github.com>
Date: Sat, 18 Apr 2026 04:09:39 +0000
Subject: [PATCH 3/3] Changes
Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com>
---
src/components/clients/client-form-dialog.tsx | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/components/clients/client-form-dialog.tsx b/src/components/clients/client-form-dialog.tsx
index 244cf52..ae78d7c 100644
--- a/src/components/clients/client-form-dialog.tsx
+++ b/src/components/clients/client-form-dialog.tsx
@@ -165,6 +165,8 @@ export function ClientFormDialog({
HOA / Association
Condominium
+ Business
+ Individual