Accepts set-ready or bump commands. Reject failed requests and publish the confirmed queue with an updated revision.
indexnumber (optional)
Offsets the list entrance in a widget grid.
Data and integration
Preview
A fictional kitchen queue with local readiness toggles and ticket clearance.
Inputs
Send rail id, revision, tickets and optional venue, service, observedAt, clearedCount, averageClearedSeconds, warningSeconds and lateSeconds. Each ticket has id, label, optional channel, releasedAt, totalCents and dishes. Each dish has a stable id, name, positive whole quantity, optional modifier and ready flag.
Source options
Map the kitchen or POS queue into input order. Use Unix milliseconds for observedAt and releasedAt, whole seconds for ages and thresholds, and USD cents for totalCents. Publish a refreshed snapshot for current ages and confirmed actions. The host owns authentication, permissions and revision checks.
Actions
Toggle a dish’s readiness with set-ready, or clear the ticket with bump. Both actions carry railId, revision and ticketId; set-ready also carries dishId and ready. A resolved request waits for a new revision. A rejected request can be retried.
Integration requirements
Age is based on the report minus ticket release. Missing timestamps show an unknown age. Defaults are 480 and 720 seconds for warnings and late tickets. Invalid threshold pairs use those defaults. A supplied queue is read-only until onCommand is provided. Missing counts, means and totals remain unavailable. Empty tickets is a confirmed empty queue.