"""Module manifest — see core/modules/model.py and APPS_PLATFORM §4.""" from core.modules.model import DeviceApp, Limit, Module, Mount, Perm MODULE = Module( key='kds', kind='app', name='Kitchen display', description='Screens in the kitchen or bar showing orders to prepare.', depends=('ordering',), permissions=( Perm('kds.access', 'Use the kitchen display', roles=('owner', 'store_manager', 'chef', 'assistant_chef')), Perm('kds.bump', 'Mark items ready', roles=('owner', 'store_manager', 'chef', 'assistant_chef')), ), limits=( Limit('devices', 'Number of kitchen screens', free=0, licensed_default=1), ), device_app=DeviceApp(login_modes=('pin', 'tap', 'password'), scope=('kds.*',)), routers=( Mount('routers.kds', '/api/kds'), ), )