Files
joshuaandClaude Opus 5.5 ea1575f716 Contracts: event, event feed, church, identity, sign-in return, Hub protocol v2
- crosscode.event/1 and crosscode.event-feed/1 (feed, event.changed
  webhook), with session and registration rules; parseEventFeed skips
  and reports bad events instead of failing the whole feed.
- crosscode.church/1: branding, campuses, service times, contact, links.
- crosscode.identity/1: sign-in claims and the user.updated /
  user.deleted / user.export back-channel calls and replies.
- Sign-in return helpers (isSafeReturnPath, encodeState/decodeState,
  isRegisteredRedirectUri) so every product returns people to the page
  they came from in the same safe way.
- Hub protocol v2: product on register/heartbeat, stats per product,
  install public key, linked products, customerId/product in licences.
- @crosscode/contracts/signing (Node only): the Hub's HMAC scheme.
- Samples for every contract in samples/, checked by the tests (120).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 09:47:40 +02:00

31 lines
1.1 KiB
JSON

{
"schema": "crosscode.event-feed/1",
"generatedAt": "2026-11-03T10:05:00.000Z",
"events": [
{
"schema": "crosscode.event/1",
"id": "8f1c2a4e-5b6d-4c7e-9f80-a1b2c3d4e5f6",
"origin": { "product": "events", "installId": "3b0f6a52-6c1e-4b7a-9d0e-2f1a8c4b7e01", "url": "https://events.hopefamily.co.za/events/youth-camp" },
"status": "published",
"updatedAt": "2026-11-03T10:00:00.000Z",
"title": "Youth Camp 2027",
"summary": "Three days at Camp Wartburg",
"description": null,
"imageUrl": null,
"timezone": "Africa/Johannesburg",
"startsAt": "2027-03-14T06:00:00.000Z",
"endsAt": "2027-03-16T12:00:00.000Z",
"allDay": false,
"sessions": [],
"location": null,
"campus": null,
"series": null,
"tags": [],
"registration": { "mode": "origin", "url": "https://events.hopefamily.co.za/events/youth-camp", "status": "full", "opensAt": null, "closesAt": null, "priceFrom": { "amountCents": 45000, "currency": "ZAR" } }
}
],
"deleted": [
{ "id": "0f9e8d7c-6b5a-4493-8271-605f4e3d2c1b", "deletedAt": "2026-11-02T08:00:00.000Z" }
]
}