mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-25 07:45:47 +00:00
chore(FE-41): create CreatedUser and BaseMetadata type
This commit is contained in:
Vendored
+13
@@ -37,3 +37,16 @@ export type User = {
|
|||||||
export type UserWithRoles = User & {
|
export type UserWithRoles = User & {
|
||||||
roles: RoleWithPermissions[];
|
roles: RoleWithPermissions[];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export type CreatedUser = {
|
||||||
|
id: number;
|
||||||
|
id_user: number;
|
||||||
|
email: string;
|
||||||
|
name: string;
|
||||||
|
};
|
||||||
|
|
||||||
|
export type BaseMetadata = {
|
||||||
|
created_user: CreatedUser;
|
||||||
|
created_at: string;
|
||||||
|
updated_at: string;
|
||||||
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user