mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-20 13:32:00 +00:00
chore(FE-40): export ErrorApiResponse and SucessApiResponse type
This commit is contained in:
Vendored
+2
-2
@@ -1,11 +1,11 @@
|
|||||||
type ErrorApiResponse = {
|
export type ErrorApiResponse = {
|
||||||
code: number;
|
code: number;
|
||||||
status: 'error';
|
status: 'error';
|
||||||
message: string;
|
message: string;
|
||||||
errors?: { [key: string]: string };
|
errors?: { [key: string]: string };
|
||||||
};
|
};
|
||||||
|
|
||||||
type SuccessApiResponse<T = unknown> = {
|
export type SuccessApiResponse<T = unknown> = {
|
||||||
code: number;
|
code: number;
|
||||||
status: 'success';
|
status: 'success';
|
||||||
message: string;
|
message: string;
|
||||||
|
|||||||
Reference in New Issue
Block a user