Fix analyze_data_completeness jsonb

- Add safe JSONB array null filtering via helper and update analyze_data_completeness
- Ensure search_path set to public in helper function
- Add admin-page guard to useDataCompleteness to disable on non-admin routes
This commit is contained in:
gpt-engineer-app[bot]
2025-11-12 01:45:22 +00:00
parent b58a0a7741
commit 348ab23d26
2 changed files with 413 additions and 0 deletions

View File

@@ -6816,6 +6816,7 @@ export type Database = {
Returns: string
}
extract_cf_image_id: { Args: { url: string }; Returns: string }
filter_jsonb_array_nulls: { Args: { arr: Json }; Returns: Json }
generate_deletion_confirmation_code: { Args: never; Returns: string }
generate_incident_number: { Args: never; Returns: string }
generate_notification_idempotency_key: {