diff --git a/frontend/types/global.d.ts b/frontend/types/global.d.ts index 1e0fcb5..c353263 100644 --- a/frontend/types/global.d.ts +++ b/frontend/types/global.d.ts @@ -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, - responseHeaders?: Record, - response?: any, - payload?: Record, - params?: Record, - date: string - } + url: string; + method: string; + status: number; + code: string; + requestHeaders: Record; + responseHeaders?: Record; + response?: any; + payload?: Record; + params?: Record; + 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"; + }; }