mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-22 03:51:12 -05:00
Refactor: Implement entity type safety plan
This commit is contained in:
@@ -16,7 +16,7 @@ export interface Company {
|
||||
slug: string;
|
||||
description?: string;
|
||||
company_type: string; // Allow any string from database
|
||||
person_type: string; // 'company', 'individual', 'firm', 'organization'
|
||||
person_type: 'company' | 'individual' | 'firm' | 'organization';
|
||||
website_url?: string;
|
||||
founded_year?: number; // Legacy field
|
||||
founded_date?: string;
|
||||
|
||||
Reference in New Issue
Block a user