Releases with what's new, notices to churches, withdrawn update requests
- Releases page: each Cross Events version with notes and an urgent flag; the newest is the latest version (moved off Settings; the old setting becomes the first release). Installs get the notes for every newer version. - Notices page: a banner for site admins and supervisors (with a time window), an email to the customer and admin contact, or both; for every install or chosen ones. - POST /api/installs/update-request/cancel resolves the request and emails Joshua. - Protocol doc: releases and notices in the heartbeat/register replies. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -64,3 +64,21 @@ export type Stats = {
|
||||
};
|
||||
|
||||
export type InstallEvent = { id: string; type: string; level: Problem["level"]; message: string; createdAt: string; resolvedAt: string | null; install?: { id: string; name: string; url: string } };
|
||||
|
||||
export type Release = { id: string; version: string; notes: string; urgent: boolean; releasedAt: string; installs: number };
|
||||
|
||||
export type NoticeLevel = "info" | "maintenance" | "warning";
|
||||
export type Notice = {
|
||||
id: string;
|
||||
title: string;
|
||||
message: string;
|
||||
level: NoticeLevel;
|
||||
allInstalls: boolean;
|
||||
installIds: string[];
|
||||
showBanner: boolean;
|
||||
startsAt: string | null;
|
||||
endsAt: string | null;
|
||||
emailedAt: string | null;
|
||||
emailedTo: number;
|
||||
createdAt: string;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user