customer-riverside/web/modules/custom/riverside_pt/js/globals.d.ts
Philip Peterson 0b3112f81b ts fixes
2026-06-14 00:38:35 -07:00

25 lines
486 B
TypeScript

interface RiversidePtSettings {
eventsUrl: string;
storeSlotUrl: string;
bookingUrl?: string;
holidays: Record<string, boolean>;
scrollTo?: string;
}
interface RiversidePtEvent {
id: number | string;
title?: string;
start: string;
end: string;
startStr?: string;
}
interface Window {
FullCalendar?: any;
rptScrollTo: (el: Element, animate?: boolean) => void;
drupalSettings?: {
riversidePt?: RiversidePtSettings;
};
}
declare const FullCalendar: any;