Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com>
This commit is contained in:
gpt-engineer-app[bot]
2026-04-17 02:21:25 +00:00
co-authored by renee-png
parent 91a5b8377a
commit 46f2d14c5d
2 changed files with 225 additions and 0 deletions
+141
View File
@@ -14,6 +14,48 @@ export type Database = {
}
public: {
Tables: {
case_contacts: {
Row: {
case_id: string
contact_id: string
created_at: string
created_by: string | null
id: string
role: string | null
}
Insert: {
case_id: string
contact_id: string
created_at?: string
created_by?: string | null
id?: string
role?: string | null
}
Update: {
case_id?: string
contact_id?: string
created_at?: string
created_by?: string | null
id?: string
role?: string | null
}
Relationships: [
{
foreignKeyName: "case_contacts_case_id_fkey"
columns: ["case_id"]
isOneToOne: false
referencedRelation: "cases"
referencedColumns: ["id"]
},
{
foreignKeyName: "case_contacts_contact_id_fkey"
columns: ["contact_id"]
isOneToOne: false
referencedRelation: "contacts"
referencedColumns: ["id"]
},
]
}
cases: {
Row: {
assigned_attorney_id: string | null
@@ -137,6 +179,48 @@ export type Database = {
},
]
}
client_contacts: {
Row: {
client_id: string
contact_id: string
created_at: string
created_by: string | null
id: string
role: string | null
}
Insert: {
client_id: string
contact_id: string
created_at?: string
created_by?: string | null
id?: string
role?: string | null
}
Update: {
client_id?: string
contact_id?: string
created_at?: string
created_by?: string | null
id?: string
role?: string | null
}
Relationships: [
{
foreignKeyName: "client_contacts_client_id_fkey"
columns: ["client_id"]
isOneToOne: false
referencedRelation: "clients"
referencedColumns: ["id"]
},
{
foreignKeyName: "client_contacts_contact_id_fkey"
columns: ["contact_id"]
isOneToOne: false
referencedRelation: "contacts"
referencedColumns: ["id"]
},
]
}
clients: {
Row: {
address_line1: string | null
@@ -524,6 +608,63 @@ export type Database = {
},
]
}
contacts: {
Row: {
address_line1: string | null
address_line2: string | null
city: string | null
company: string | null
contact_type: string
created_at: string
created_by: string | null
email: string | null
id: string
name: string
notes: string | null
phone: string | null
postal_code: string | null
state: string | null
title: string | null
updated_at: string
}
Insert: {
address_line1?: string | null
address_line2?: string | null
city?: string | null
company?: string | null
contact_type?: string
created_at?: string
created_by?: string | null
email?: string | null
id?: string
name: string
notes?: string | null
phone?: string | null
postal_code?: string | null
state?: string | null
title?: string | null
updated_at?: string
}
Update: {
address_line1?: string | null
address_line2?: string | null
city?: string | null
company?: string | null
contact_type?: string
created_at?: string
created_by?: string | null
email?: string | null
id?: string
name?: string
notes?: string | null
phone?: string | null
postal_code?: string | null
state?: string | null
title?: string | null
updated_at?: string
}
Relationships: []
}
document_folders: {
Row: {
case_id: string