new changes
This commit is contained in:
Vendored
+28
-14
@@ -11,22 +11,22 @@ declare global {
|
||||
type LogType = {
|
||||
title: string;
|
||||
status?: "success" | "error" | "info" | "warning";
|
||||
message?: string,
|
||||
details?: any
|
||||
}
|
||||
message?: string;
|
||||
details?: any;
|
||||
};
|
||||
|
||||
type AxiosLogType = {
|
||||
url: string,
|
||||
method: string,
|
||||
status: number,
|
||||
code: string,
|
||||
requestHeaders: Record<any, any>,
|
||||
responseHeaders?: Record<any, any>,
|
||||
response?: any,
|
||||
payload?: Record<any, any>,
|
||||
params?: Record<any, any>,
|
||||
date: string
|
||||
}
|
||||
url: string;
|
||||
method: string;
|
||||
status: number;
|
||||
code: string;
|
||||
requestHeaders: Record<any, any>;
|
||||
responseHeaders?: Record<any, any>;
|
||||
response?: any;
|
||||
payload?: Record<any, any>;
|
||||
params?: Record<any, any>;
|
||||
date: string;
|
||||
};
|
||||
|
||||
type Chat = {
|
||||
id: number;
|
||||
@@ -276,4 +276,18 @@ declare global {
|
||||
updated_at: string;
|
||||
order: Order;
|
||||
};
|
||||
|
||||
type PaymentGateway = {
|
||||
id: number;
|
||||
picture: string;
|
||||
title: string;
|
||||
type:
|
||||
| "ZARINPAL"
|
||||
| "SEP"
|
||||
| "MELLAT"
|
||||
| "IDPAY"
|
||||
| "ZIBAL"
|
||||
| "BAHAMTA"
|
||||
| "BMI";
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user