Refactor: clients → companies schema v2

This commit is contained in:
Krao Hasanee
2026-03-26 23:42:06 -04:00
commit 719209fa25
61 changed files with 8192 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
import { supabase } from './supabase';
export async function sendEmail(type, to, data) {
const { error } = await supabase.functions.invoke('send-email', {
body: { type, to, data },
});
if (error) console.error('Email error:', error);
}