mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-20 13:32:00 +00:00
chore(FE-40): move api.d.ts to /types/api/api-general.d.ts
This commit is contained in:
@@ -20,6 +20,10 @@ type SuccessApiResponse<T = unknown> = {
|
||||
|
||||
type BaseApiResponse<T = unknown> = ErrorApiResponse | SuccessApiResponse<T>;
|
||||
|
||||
export type LogoutResponse = BaseApiResponse;
|
||||
|
||||
export type GetMeResponse = BaseApiResponse<UserWithRoles>;
|
||||
|
||||
export type User = {
|
||||
id: number;
|
||||
email: string;
|
||||
Reference in New Issue
Block a user