Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com>
This commit is contained in:
gpt-engineer-app[bot]
2026-04-17 01:13:25 +00:00
co-authored by renee-png
parent 5fbcc78761
commit 2c5bb6cb50
2 changed files with 215 additions and 0 deletions
+142
View File
@@ -250,12 +250,145 @@ export type Database = {
},
]
}
collection_tasks: {
Row: {
assignee_id: string | null
collection_id: string
created_at: string
created_by: string | null
done: boolean
done_at: string | null
due_date: string | null
id: string
sort_order: number
stage_key: string | null
title: string
updated_at: string
}
Insert: {
assignee_id?: string | null
collection_id: string
created_at?: string
created_by?: string | null
done?: boolean
done_at?: string | null
due_date?: string | null
id?: string
sort_order?: number
stage_key?: string | null
title: string
updated_at?: string
}
Update: {
assignee_id?: string | null
collection_id?: string
created_at?: string
created_by?: string | null
done?: boolean
done_at?: string | null
due_date?: string | null
id?: string
sort_order?: number
stage_key?: string | null
title?: string
updated_at?: string
}
Relationships: [
{
foreignKeyName: "collection_tasks_assignee_id_fkey"
columns: ["assignee_id"]
isOneToOne: false
referencedRelation: "profiles"
referencedColumns: ["id"]
},
{
foreignKeyName: "collection_tasks_collection_id_fkey"
columns: ["collection_id"]
isOneToOne: false
referencedRelation: "collections"
referencedColumns: ["id"]
},
{
foreignKeyName: "collection_tasks_stage_key_fkey"
columns: ["stage_key"]
isOneToOne: false
referencedRelation: "collection_workflow_stages"
referencedColumns: ["key"]
},
]
}
collection_workflow_stages: {
Row: {
created_at: string
id: string
key: string
label: string
sort_order: number
updated_at: string
}
Insert: {
created_at?: string
id?: string
key: string
label: string
sort_order?: number
updated_at?: string
}
Update: {
created_at?: string
id?: string
key?: string
label?: string
sort_order?: number
updated_at?: string
}
Relationships: []
}
collection_workflow_tasks: {
Row: {
created_at: string
days_to_due: number
id: string
sort_order: number
stage_key: string
title: string
updated_at: string
}
Insert: {
created_at?: string
days_to_due?: number
id?: string
sort_order?: number
stage_key: string
title: string
updated_at?: string
}
Update: {
created_at?: string
days_to_due?: number
id?: string
sort_order?: number
stage_key?: string
title?: string
updated_at?: string
}
Relationships: [
{
foreignKeyName: "collection_workflow_tasks_stage_key_fkey"
columns: ["stage_key"]
isOneToOne: false
referencedRelation: "collection_workflow_stages"
referencedColumns: ["key"]
},
]
}
collections: {
Row: {
case_id: string
closed_at: string | null
created_at: string
created_by: string | null
current_stage: string | null
homeowner_id: string
id: string
notes: string | null
@@ -268,6 +401,7 @@ export type Database = {
closed_at?: string | null
created_at?: string
created_by?: string | null
current_stage?: string | null
homeowner_id: string
id?: string
notes?: string | null
@@ -280,6 +414,7 @@ export type Database = {
closed_at?: string | null
created_at?: string
created_by?: string | null
current_stage?: string | null
homeowner_id?: string
id?: string
notes?: string | null
@@ -295,6 +430,13 @@ export type Database = {
referencedRelation: "cases"
referencedColumns: ["id"]
},
{
foreignKeyName: "collections_current_stage_fkey"
columns: ["current_stage"]
isOneToOne: false
referencedRelation: "collection_workflow_stages"
referencedColumns: ["key"]
},
{
foreignKeyName: "collections_homeowner_id_fkey"
columns: ["homeowner_id"]