Hub 2.25.0: demo clients, and demo data for the Church Website

- A customer can be a demo client: every install a demo site (Accounts
  included, and any later install), never billed (billing off, no invoice
  drafted, sent or made by hand). Migration: Customer.isDemo, demoSince.
- Any install can be marked as a demo site; Events and the Website have
  demo data. The Website's eight demo churches need agent 1.6.0.
- Contracts 1.19.0 vendored.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-27 09:20:10 +02:00
co-authored by Claude Opus 5.5
parent 7850de51ec
commit 8448babb08
24 changed files with 297 additions and 58 deletions
+3
View File
@@ -44,6 +44,9 @@ export type Customer = {
createdAt: string;
/** Hub 2.12.0: archived (left out of the customer list until restored). */
archivedAt?: string | null;
/** Hub 2.25.0: a demo client: all its installs are demo sites, and it isn't billed. */
isDemo?: boolean;
demoSince?: string | null;
/** Hub 2.0: the church's AI allowance, shared by all its installs. */
aiMonthlyCapCents: number;
aiMarkupPercent: number | null;