export interface Organization { id: number slug: string name: string billing_email: string } export interface Project { id: number ref: string name: string status: string organization_id: number cloud_provider: string region: string connectionString: string inserted_at: string } export interface User { id: number mobile: string primary_email: string username: string first_name: string last_name: string is_alpha_user: boolean } export interface Member { id: number is_owner: boolean profile: { id: number primary_email: string username: string } } export interface ResponseError { message: string } export interface ResponseFailure { error: ResponseError } export type SupaResponse = T & ResponseFailure