Files
xenia-pos-local/local_backend/modules/catalog/manifest.py
T
bonaminandClaude Opus 5.5 f4aae6abbc feat: the table map (platform-v2 step 6.8, D-31)
- 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>
2026-11-18 17:00:45 +02:00

21 lines
819 B
Python

"""Module manifest — see core/modules/model.py and APPS_PLATFORM §4."""
from core.modules.model import Module, Mount, Perm
MODULE = Module(
key='catalog',
kind='core',
name='Catalogue',
description='Products, categories, options, tables and prep zones.',
permissions=(
Perm('catalog.menu.manage', 'Edit products, categories and prep zones', roles=('owner', 'store_manager')),
Perm('catalog.tables.manage', 'Edit tables and table groups', roles=('owner', 'store_manager')),
),
routers=(
Mount('routers.tables', '/api/tables'),
Mount('routers.floor_plans', '/api/floor-plans'),
Mount('routers.products', '/api/products'),
Mount('routers.prep_zones', '/api/prep-zones'),
Mount('routers.data_transfer', '/api/data-transfer'),
),
)