Files
Convivo/interfaces/mock-api/fixtures/sessionize.json
T
Lago 16f304d145 Phase 7+8: Pretix + Sessionize interfaces
- Migration 20260825000000_interfaces.sql: external_id on contacts/
  registrations/sessions (+ partial unique indexes), slots_id_seq, sync_runs
  audit table, and service-role-only sync_pretix_attendees /
  sync_sessionize_sessions RPCs (idempotent upserts).
- sync-trigger Edge Function: admin-JWT or CRON_SECRET auth, pulls from
  Pretix/Sessionize base URLs, normalizes, calls the service-role RPCs.
- interfaces/mock-api: dependency-free Node server (:54330) + fixtures so the
  full pipeline is testable without real tokens.
- APPE Admin 'Interfaces' view: per-source + 'Sync all' triggers, result
  counts, recent sync runs, and QR CSV export; /functions proxy added.
- Docs: new docs/backend/interfaces.md; updated README, roadmap, next-steps,
  schema, rls, rpcs, architecture, admin-app, and docs index.
2026-08-23 03:34:30 +02:00

30 lines
907 B
JSON

{
"sessions": [
{
"id": "ses-900",
"title": "Lightning Talks (Synced)",
"description": "A batch of short talks, synced from Sessionize.",
"room": "Main Hall",
"capacity": 200,
"start_time": "2026-10-23T16:00:00Z",
"end_time": "2026-10-23T16:45:00Z",
"speakers": [
{ "id": "spk-1", "name": "New Speaker Two", "email": "[email protected]" },
{ "id": "spk-2", "name": "Dr. Elena Vasquez", "email": "[email protected]" }
]
},
{
"id": "ses-901",
"title": "Panel: The Future of APPE",
"description": "A panel discussion, synced from Sessionize.",
"room": "Room B",
"capacity": 120,
"start_time": "2026-10-23T17:00:00Z",
"end_time": "2026-10-23T17:45:00Z",
"speakers": [
{ "id": "spk-3", "name": "Bruno Costa", "email": "[email protected]" }
]
}
]
}