Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com>
This commit is contained in:
gpt-engineer-app[bot]
2026-04-18 06:52:54 +00:00
co-authored by renee-png
parent 30ff4cb46b
commit 4eb7da6427
2 changed files with 145 additions and 0 deletions
+58
View File
@@ -183,10 +183,53 @@ export type Database = {
},
]
}
case_team_members: {
Row: {
billing_rate: number | null
case_id: string
created_at: string
created_by: string | null
id: string
user_id: string
}
Insert: {
billing_rate?: number | null
case_id: string
created_at?: string
created_by?: string | null
id?: string
user_id: string
}
Update: {
billing_rate?: number | null
case_id?: string
created_at?: string
created_by?: string | null
id?: string
user_id?: string
}
Relationships: [
{
foreignKeyName: "case_team_members_case_id_fkey"
columns: ["case_id"]
isOneToOne: false
referencedRelation: "cases"
referencedColumns: ["id"]
},
{
foreignKeyName: "case_team_members_user_id_fkey"
columns: ["user_id"]
isOneToOne: false
referencedRelation: "profiles"
referencedColumns: ["id"]
},
]
}
cases: {
Row: {
archived_at: string | null
assigned_attorney_id: string | null
billing_method: string | null
case_caption: string | null
case_number: string
case_summary: string | null
@@ -201,6 +244,7 @@ export type Database = {
description: string | null
external_id: string | null
filing_date: string | null
flat_fee_amount: number | null
id: string
judge: string | null
jurisdiction: string | null
@@ -214,6 +258,7 @@ export type Database = {
opposing_counsel_firm: string | null
opposing_counsel_phone: string | null
opposing_party: string | null
originating_attorney_id: string | null
practice_area: string | null
settlement_amount: number | null
status: Database["public"]["Enums"]["case_status"]
@@ -224,6 +269,7 @@ export type Database = {
Insert: {
archived_at?: string | null
assigned_attorney_id?: string | null
billing_method?: string | null
case_caption?: string | null
case_number: string
case_summary?: string | null
@@ -238,6 +284,7 @@ export type Database = {
description?: string | null
external_id?: string | null
filing_date?: string | null
flat_fee_amount?: number | null
id?: string
judge?: string | null
jurisdiction?: string | null
@@ -251,6 +298,7 @@ export type Database = {
opposing_counsel_firm?: string | null
opposing_counsel_phone?: string | null
opposing_party?: string | null
originating_attorney_id?: string | null
practice_area?: string | null
settlement_amount?: number | null
status?: Database["public"]["Enums"]["case_status"]
@@ -261,6 +309,7 @@ export type Database = {
Update: {
archived_at?: string | null
assigned_attorney_id?: string | null
billing_method?: string | null
case_caption?: string | null
case_number?: string
case_summary?: string | null
@@ -275,6 +324,7 @@ export type Database = {
description?: string | null
external_id?: string | null
filing_date?: string | null
flat_fee_amount?: number | null
id?: string
judge?: string | null
jurisdiction?: string | null
@@ -288,6 +338,7 @@ export type Database = {
opposing_counsel_firm?: string | null
opposing_counsel_phone?: string | null
opposing_party?: string | null
originating_attorney_id?: string | null
practice_area?: string | null
settlement_amount?: number | null
status?: Database["public"]["Enums"]["case_status"]
@@ -310,6 +361,13 @@ export type Database = {
referencedRelation: "clients"
referencedColumns: ["id"]
},
{
foreignKeyName: "cases_originating_attorney_id_fkey"
columns: ["originating_attorney_id"]
isOneToOne: false
referencedRelation: "profiles"
referencedColumns: ["id"]
},
]
}
client_contacts: {