"""Module manifest — see core/modules/model.py and APPS_PLATFORM §4.""" from core.modules.model import Module, Mount, Perm, SettingDef MODULE = Module( key='connect_menu', kind='feature', name='QR menu', description='The online QR menu, kept in sync with the catalogue.', depends=('catalog',), permissions=( Perm('connect_menu.manage', 'Manage the QR menu', roles=('owner', 'store_manager')), ), settings=( SettingDef('connect_menu.table_ordering', 'false', 'The QR menu takes orders at the table (with a table QR code): "true" | "false" (read-only). Phase 3S, S.7.', type='bool'), ), routers=( Mount('routers.qr_codes', '/api/connect/qr'), ), workers=('services.cloud_sync:menu_push_worker',), )