MCPcopy Create free account
hub / github.com/Fibi66/FeiControl / buildEventKey

Function buildEventKey

src/app/api/calendar/route.ts:22–24  ·  view source on GitHub ↗
(event: Omit<CalendarEvent, "key">)

Source from the content-addressed store, hash-verified

20const CALENDAR_COMPLETIONS_FILE = join(DATA_DIR, "calendar-event-completions.json");
21
22function buildEventKey(event: Omit<CalendarEvent, "key">): string {
23 return `${event.date}|${event.time}|${event.allDay ? "1" : "0"}|${event.title}`;
24}
25
26function normalizeEventCompletions(payload: unknown): EventCompletionState {
27 if (!payload || typeof payload !== "object") {

Callers 1

parseKhalOutputFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected