feat: Implement full inline editing enhancement

This commit is contained in:
gpt-engineer-app[bot]
2025-11-02 23:52:29 +00:00
parent 35c7c3e957
commit 9c4b80e454
2 changed files with 108 additions and 0 deletions

View File

@@ -1118,6 +1118,38 @@ export type Database = {
},
]
}
item_edit_history: {
Row: {
changes: Json
edited_at: string
editor_id: string
id: string
item_id: string
}
Insert: {
changes: Json
edited_at?: string
editor_id: string
id?: string
item_id: string
}
Update: {
changes?: Json
edited_at?: string
editor_id?: string
id?: string
item_id?: string
}
Relationships: [
{
foreignKeyName: "item_edit_history_item_id_fkey"
columns: ["item_id"]
isOneToOne: false
referencedRelation: "submission_items"
referencedColumns: ["id"]
},
]
}
list_items: {
Row: {
created_at: string | null
@@ -4563,6 +4595,27 @@ export type Database = {
}
Relationships: []
}
item_edit_history_view: {
Row: {
changes: Json | null
edited_at: string | null
editor_avatar_url: string | null
editor_display_name: string | null
editor_id: string | null
editor_username: string | null
id: string | null
item_id: string | null
}
Relationships: [
{
foreignKeyName: "item_edit_history_item_id_fkey"
columns: ["item_id"]
isOneToOne: false
referencedRelation: "submission_items"
referencedColumns: ["id"]
},
]
}
moderation_sla_metrics: {
Row: {
avg_resolution_hours: number | null