Refactor: Optimize recent changes query

This commit is contained in:
gpt-engineer-app[bot]
2025-10-30 22:29:56 +00:00
parent 662c2fbed4
commit 8623291c62
3 changed files with 124 additions and 118 deletions

View File

@@ -4619,6 +4619,22 @@ export type Database = {
user_agent: string
}[]
}
get_recent_changes: {
Args: { limit_count?: number }
Returns: {
change_reason: string
change_type: string
changed_at: string
changed_by_avatar: string
changed_by_username: string
entity_id: string
entity_name: string
entity_slug: string
entity_type: string
image_url: string
park_slug: string
}[]
}
get_submission_item_dependencies: {
Args: { item_id: string }
Returns: {