import createClient from "openapi-fetch";
import type { paths } from "@bookra/api-client/generated/types";

const baseUrl = import.meta.env.VITE_BOOKRA_API_URL ?? "http://localhost:8080";

export const apiClient = createClient<paths>({
  baseUrl,
});

