feat(11-03): surface reminderLeadMinutes on CalendarOccurrence + GET select (D-10)
- Add reminderLeadMinutes: number | null to CalendarOccurrence interface (D-06) - Import classifyValarms in expand.ts; derive series-level value once per VEVENT - Add reminderLeadMinutes to both non-recurring and recurring occurrence construction - Add reminderLeadMinutes to GET /api/events select for edit-mode pre-population
This commit is contained in:
@@ -177,6 +177,8 @@ eventsRouter.get('/', zValidator('query', eventsQuerySchema), async (c) => {
|
||||
userId: users.id,
|
||||
userColor: users.color,
|
||||
ownerName: users.displayName,
|
||||
// Phase 11 Plan 03: surface reminderLeadMinutes for edit-mode pre-population (D-06/D-10)
|
||||
reminderLeadMinutes: calendarEvents.reminderLeadMinutes,
|
||||
})
|
||||
.from(calendarEvents)
|
||||
.innerJoin(calendars, eq(calendarEvents.calendarId, calendars.id))
|
||||
|
||||
Reference in New Issue
Block a user