feat: add realtime

This commit is contained in:
2026-10-08 04:11:44 +02:00
parent e5580767a5
commit b336580040
31 changed files with 756 additions and 131 deletions
+3
View File
@@ -43,6 +43,9 @@ Sync semantics:
- Every sync returns **all** pending commands for the device; `cursor` is still returned but no longer
filters. Devices dedupe by command id and re-send the ack for commands they already processed.
- The first ack for a command wins; later acks are accepted as no-ops.
- `plannedTabNames` only contains planned customers the device has not opened a tab for yet. Once a sync
reports an open tab with exactly that name, the customer is marked delivered and no longer sent.
The customer (and their email, used for reminders) is kept.
### Tabs
`GET /venues/:venueId/tabs` - List open tabs