diff --git a/frontend/types/global.d.ts b/frontend/types/global.d.ts index 6362e85..2602b13 100644 --- a/frontend/types/global.d.ts +++ b/frontend/types/global.d.ts @@ -8,6 +8,26 @@ declare global { results: T[]; }; + type LogType = { + title: string; + status?: "success" | "error" | "info" | "warning"; + message?: string, + details?: any + } + + type AxiosLogType = { + url: string, + method: string, + status: number, + code: string, + requestHeaders: Record, + responseHeaders: Record, + response?: Record, + payload?: Record, + params?: Record, + date: string + } + type Chat = { id: number; sender: "ai" | "user";