mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-20 05:22:02 +00:00
feat(FE-41): create user type
This commit is contained in:
Vendored
+18
@@ -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;
|
||||
Reference in New Issue
Block a user