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;
|
||||
status: 'error';
|
||||
message: string;
|
||||
errors?: { [key: string]: string };
|
||||
};
|
||||
|
||||
type SuccessApiResponse<T = unknown> = {
|
||||
export type SuccessApiResponse<T = unknown> = {
|
||||
code: number;
|
||||
status: 'success';
|
||||
message: string;
|
||||
|
||||
Reference in New Issue
Block a user