feat(FE-41): create user type

This commit is contained in:
ValdiANS
2025-10-05 13:39:16 +07:00
parent d5294e9b0b
commit 0675d95a2a
+18
View File
@@ -0,0 +1,18 @@
import { BaseMetadata } from '@/types/api/api-general';
export type BaseUser = {
id: number;
id_user: number;
email: string;
name: string;
};
export type User = BaseMetadata & BaseUser;
export type CreateUserPayload = {
id_user: number;
name: string;
email: string;
};
export type UpdateUserPayload = CreateUserPayload;