/**
 * CalendarEvents - Command and status events for CalendarApp
 */
export const CalendarEvents = {
  // Command events (host → calendar)
  CMD_NAVIGATE_PREV: 'calendar:cmd:navigate:prev',
  CMD_NAVIGATE_NEXT: 'calendar:cmd:navigate:next',
  CMD_DRAWER_TOGGLE: 'calendar:cmd:drawer:toggle',
  CMD_RENDER: 'calendar:cmd:render',
  CMD_WORKWEEK_CHANGE: 'calendar:cmd:workweek:change',
  CMD_VIEW_UPDATE: 'calendar:cmd:view:update'
} as const;

/**
 * Payload interfaces for CalendarEvents
 */
export interface RenderPayload {
  viewId: string;
}

export interface WorkweekChangePayload {
  presetId: string;
}

export interface ViewUpdatePayload {
  type: string;
  values: string[];
}
