Files
crosscode-platform/packages/demo
joshuaandClaude Opus 5.5 49153e6f07 Events 3.8.0, @crosscode/demo 1.1.0: STOP stops all WhatsApp, demo scenarios
Events 3.8.0 (one migration):
- STOP to the church's WhatsApp number stops all WhatsApp, not only news:
  checked before every sendText/sendPdf against WhatsAppStop (by number) and
  User.whatsappOptedOut (from Accounts' user.updated); 2FA codes go by email
- a STOP received here is passed on to Accounts (whatsapp.optout); START turns
  it back on without Accounts; Accounts turning it back on clears it here
- the eight demo scenarios as set-demo profiles, around each church's own
  people (@crosscode/demo, same accounts as Accounts) and campuses; the
  scenario's people are never removed from Accounts

@crosscode/demo 1.1.0: each person's gender.
crosscode script: scenarios as Events demo profiles; Events builds packages/demo.

Checked on PostgreSQL 18: the migration and every scenario loaded.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 11:42:17 +02:00
..

@crosscode/demo

The demo scenarios' churches and people (docs/APP-1.0-PLAN.md §12, "Demo scenarios"). Loading a scenario on a demo client puts the same church into every product: Accounts takes the church profile, logo, icon and people from here, and Cross Events, the Church Website and the App build their demo data around the same people (same sub in every product: demoId).

  • DEMO_CHURCHES, demoChurch(scenario): each church's profile (name, colours, font pairing, corners, campuses, service times, contact, social links) and the mark its logo is drawn with.
  • demoPeople(scenario): the leads (pastor, office, prayer coordinator…) and members, enough for the scenario's App active-member band. demoParts(scenario): what each lead does.
  • demoIconSvg, demoLogoSvg: the logo and icon, drawn for the demo.

Everything is fictional: people and church addresses are at example.com, there are no phone numbers, and the password is Demo@1234. Ships inside the apps that use it (not tagged).