Refactor: Implement type safety and error handling

This commit is contained in:
gpt-engineer-app[bot]
2025-10-17 13:05:59 +00:00
parent 0ff424fcee
commit 3d61d738f2
4 changed files with 65 additions and 6 deletions

View File

@@ -10,6 +10,7 @@
import { supabase } from '@/integrations/supabase/client';
import type { EntityType } from '@/types/versioning';
import { createTableQuery } from './supabaseHelpers';
/**
* Manually trigger cleanup of old versions for a specific entity type