So its like broken but we are rewriting status.ts & TechTable & HistoryTable
This commit is contained in:
@ -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'];
|
||||
|
Reference in New Issue
Block a user