feat(auth): refactor account submission data structure and remove unused billing error component

This commit is contained in:
Danel Kungla
2025-08-12 15:47:01 +03:00
parent 801f5f45e2
commit 3295ce7d04
4 changed files with 202 additions and 60 deletions

View File

@@ -2,7 +2,17 @@ import { SupabaseClient } from '@supabase/supabase-js';
import { Database } from '@kit/supabase/database';
import { AccountSubmitData } from './actions/update-account-actions';
export interface AccountSubmitData {
firstName: string;
lastName: string;
personalCode: string;
email: string;
phone?: string;
city?: string;
weight: number | null;
height: number | null;
userConsent: boolean;
}
/**
* Class representing an API for interacting with user accounts.