chore(FE-40): export ErrorApiResponse and SucessApiResponse type

This commit is contained in:
ValdiANS
2025-10-01 16:01:47 +07:00
parent 4ff196cb9d
commit 8ad49a4480
+2 -2
View File
@@ -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;