Update logic for profile creation

This commit is contained in:
Milan Paunovic
2024-08-21 20:03:40 +02:00
parent 4a20f7a53e
commit 957e0a582e
16 changed files with 1670 additions and 2228 deletions
+6
View File
@@ -6,6 +6,12 @@ export interface User {
export interface UserProfile {
userType: "parent" | "child" | "caregiver";
name: string;
childrenIds?: string[];
birthday?: Date;
parentId?: string;
contact?: string;
email: string
password: string
}
export interface ParentProfile extends UserProfile {