customer-riverside/web/modules/custom/riverside_pt/js/globals.d.ts

26 lines
486 B
TypeScript
Raw Normal View History

2026-06-13 23:07:39 -08:00
interface RiversidePtSettings {
eventsUrl: string;
storeSlotUrl: string;
2026-06-13 23:38:35 -08:00
bookingUrl?: string;
2026-06-13 23:07:39 -08:00
holidays: Record<string, boolean>;
scrollTo?: string;
}
2026-06-13 23:38:35 -08:00
interface RiversidePtEvent {
id: number | string;
title?: string;
start: string;
end: string;
startStr?: string;
}
2026-06-13 23:07:39 -08:00
interface Window {
2026-06-13 23:38:35 -08:00
FullCalendar?: any;
2026-06-13 23:07:39 -08:00
rptScrollTo: (el: Element, animate?: boolean) => void;
drupalSettings?: {
riversidePt?: RiversidePtSettings;
};
}
2026-06-13 23:38:35 -08:00
declare const FullCalendar: any;