- floor_plans / floor_items (0035), tables' plan_id + width/height/rotation/shape; /api/floor-plans (set-up, catalog.tables.manage, floor_plans.changed) and /api/floor-plans/live (each table's state, guests, waiters, time; zone rule) - @xenia/floorplan: the drawing (Floor, Item, TableShape, FloorView) and its geometry (grid snap in whole cells, outlines, chairs), tested - manager: Management -> Tables -> Floor plans (editor: drag, grid, irregular floor, walls/bar/labels/areas, background picture), Tables page List / Map - counter POS: Tables List / Map; waiter: Map mode, the list stays the default - tests: test_floor_plans.py, floor + geometry unit tests, manager/waiter/terminal e2e Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
41 lines
1.2 KiB
JSON
41 lines
1.2 KiB
JSON
{
|
|
"name": "terminal",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"description": "The terminal app (plan phase 3, APPS_PLATFORM D-2, D-8): one web app for every paired screen - kitchen display, counter POS, customer display. Served on :8082 (LAN only).",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vite build",
|
|
"preview": "vite preview",
|
|
"test": "node --test \"tests/*.test.mjs\"",
|
|
"lint": "eslint eslint.config.js tests src"
|
|
},
|
|
"dependencies": {
|
|
"@xenia/access": "^0.0.0",
|
|
"@xenia/api": "^0.0.0",
|
|
"@xenia/floorplan": "^0.0.0",
|
|
"@xenia/i18n": "^0.0.0",
|
|
"@xenia/signage": "^0.0.0",
|
|
"@xenia/ui": "^0.0.0",
|
|
"axios": "^1.21.1",
|
|
"lucide-react": "^1.73.0",
|
|
"qrcode.react": "^4.2.0",
|
|
"react": "^19.3.1",
|
|
"react-dom": "^19.3.1",
|
|
"react-router-dom": "^7.18.5"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.39.5",
|
|
"@vitejs/plugin-react": "^6.3.0",
|
|
"autoprefixer": "^10.6.2",
|
|
"eslint": "^9.39.5",
|
|
"eslint-plugin-react-hooks": "^7.1.1",
|
|
"eslint-plugin-react-refresh": "^0.5.7",
|
|
"globals": "^17.14.0",
|
|
"postcss": "^8.5.33",
|
|
"tailwindcss": "^3.4.16",
|
|
"vite": "^8.3.8"
|
|
}
|
|
}
|