Fix: Resolve type incompatibility in company person_type

This commit is contained in:
gpt-engineer-app[bot]
2025-10-16 13:50:25 +00:00
parent 4efdeaa104
commit 95679c1067
6 changed files with 21 additions and 17 deletions

View File

@@ -16,7 +16,7 @@ export interface Company {
slug: string;
description?: string;
company_type: string; // Allow any string from database
person_type: 'company' | 'individual' | 'firm' | 'organization';
person_type?: string; // Database returns string, validated at form level
website_url?: string;
founded_year?: number; // Legacy field
founded_date?: string;