add users and fix modal

This commit is contained in:
2026-02-12 19:10:50 +01:00
parent 1a98957466
commit fe27595931
18 changed files with 482 additions and 88 deletions

View File

@@ -6,3 +6,23 @@ export type User = {
email: string;
products: Product[];
}
export type UserInputs = {
email: string;
name: string;
}
export type UserCreate ={
email: string | null;
name: string | null;
}
export type UserEdit ={
email: string | null;
name: string | null;
}
export type UserEditPayload = {
user: UserEdit;
id: number;
}