diff --git a/src/lib/api.ts b/src/lib/api.ts index 87ebd3e..413c990 100644 --- a/src/lib/api.ts +++ b/src/lib/api.ts @@ -73,10 +73,14 @@ interface UserData { name: string; } -interface ErrorMessage { +export interface ErrorMessage { message: string; } +export interface Message { + info: string; +} + // Generic function for making API requests export async function apiFetch( endpoint: string,