Calendar/wwwroot/js/constants/CoreEvents.d.ts
2026-02-03 00:02:25 +01:00

37 lines
1.6 KiB
TypeScript

/**
* CoreEvents - Consolidated essential events for the calendar
* Reduces complexity from 102+ events to ~20 core events
*/
export declare const CoreEvents: {
readonly INITIALIZED: "core:initialized";
readonly READY: "core:ready";
readonly DESTROYED: "core:destroyed";
readonly VIEW_CHANGED: "view:changed";
readonly VIEW_RENDERED: "view:rendered";
readonly WORKWEEK_CHANGED: "workweek:changed";
readonly NAV_BUTTON_CLICKED: "nav:button-clicked";
readonly DATE_CHANGED: "nav:date-changed";
readonly NAVIGATION_COMPLETED: "nav:navigation-completed";
readonly NAVIGATE_TO_EVENT: "nav:navigate-to-event";
readonly DATA_LOADING: "data:loading";
readonly DATA_LOADED: "data:loaded";
readonly DATA_ERROR: "data:error";
readonly EVENTS_FILTERED: "data:events-filtered";
readonly REMOTE_UPDATE_RECEIVED: "data:remote-update";
readonly GRID_RENDERED: "grid:rendered";
readonly GRID_CLICKED: "grid:clicked";
readonly CELL_SELECTED: "grid:cell-selected";
readonly EVENT_CREATED: "event:created";
readonly EVENT_UPDATED: "event:updated";
readonly EVENT_DELETED: "event:deleted";
readonly EVENT_SELECTED: "event:selected";
readonly ERROR: "system:error";
readonly REFRESH_REQUESTED: "system:refresh";
readonly OFFLINE_MODE_CHANGED: "system:offline-mode-changed";
readonly SYNC_STARTED: "sync:started";
readonly SYNC_COMPLETED: "sync:completed";
readonly SYNC_FAILED: "sync:failed";
readonly SYNC_RETRY: "sync:retry";
readonly FILTER_CHANGED: "filter:changed";
readonly EVENTS_RENDERED: "events:rendered";
};