So its like broken but we are rewriting status.ts & TechTable & HistoryTable

This commit is contained in:
2025-06-12 16:55:24 -05:00
parent 185a7ea500
commit 653fe64bbf
23 changed files with 2536 additions and 647 deletions

View File

@ -1,6 +1,11 @@
import type { Database } from '@/utils/supabase/types';
export type { User } from '@supabase/supabase-js';
// Result type for API calls
export type Result<T> =
| { success: true; data: T }
| { success: false; error: string };
// Table row types
export type Profile = Database['public']['Tables']['profiles']['Row'];
export type Status = Database['public']['Tables']['statuses']['Row'];