import type { BookingConfig } from "@/lib/config";

const stub: BookingConfig = {
    restUrl: "https://example.test/wp-json/fxtr/v1/",
    restNonce: "test-nonce",
    today: "2026-10-19",
    caps: { settings: true },
    dateFormat: "F j, Y",
    timeFormat: "g:i a",
    locale: "en-US",
};

globalThis.window = (globalThis.window ?? {}) as Window & typeof globalThis;
window.fxtrAdmin = stub;
