Events 3.2.0, contracts 1.10.0: the heartbeat says what's on now
stats.live (eventsNow: a session or a one-day event on now, +/- 30 min; checkInsLastHour) so Hub 2.7.0 asks again before an emergency update takes a site with an event on down. Decision 39: emergency updates can run as soon as possible (decision 30 changed). Tests: liveNow, Events 776. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -190,6 +190,12 @@ export const eventsStatsSchema = z.object({
|
||||
/** What the Events licence tier is billed on. */
|
||||
eventIncome12m: incomeBandSchema,
|
||||
}),
|
||||
/**
|
||||
* 1.10.0: what's happening now, so the Hub can warn before taking the site down (an emergency
|
||||
* update "as soon as possible"): events with a session or a one-day event on now (give or take
|
||||
* 30 minutes), and tickets checked in during the last hour. Optional: older installs don't send it.
|
||||
*/
|
||||
live: z.object({ eventsNow: count, checkInsLastHour: count }).optional(),
|
||||
});
|
||||
|
||||
/** Church Website. `storage` is what the extra-storage add-on is billed on (ROADMAP-v3 §10). */
|
||||
|
||||
Reference in New Issue
Block a user