Add the experience service with sites through analytics/AI hooks, migrations through 0011, and phase docs/manifests marking the track complete. Co-authored-by: Cursor <cursoragent@cursor.com>
32 lines
1.3 KiB
Python
32 lines
1.3 KiB
Python
"""Query handlers for Phase 11.8."""
|
|
from app.services.bundles import ExperienceBundlesService
|
|
|
|
|
|
class BundlesQueries:
|
|
def __init__(self, session):
|
|
self.service = ExperienceBundlesService(session)
|
|
|
|
async def get_bundle_definition(self, tenant_id, entity_id):
|
|
return await self.service.get_bundle_definition(tenant_id, entity_id)
|
|
|
|
async def list_bundle_definitions(self, tenant_id, **kwargs):
|
|
return await self.service.list_bundle_definitions(tenant_id, **kwargs)
|
|
|
|
async def get_tenant_bundle(self, tenant_id, entity_id):
|
|
return await self.service.get_tenant_bundle(tenant_id, entity_id)
|
|
|
|
async def list_tenant_bundles(self, tenant_id, **kwargs):
|
|
return await self.service.list_tenant_bundles(tenant_id, **kwargs)
|
|
|
|
async def get_license_binding(self, tenant_id, entity_id):
|
|
return await self.service.get_license_binding(tenant_id, entity_id)
|
|
|
|
async def list_license_bindings(self, tenant_id, **kwargs):
|
|
return await self.service.list_license_bindings(tenant_id, **kwargs)
|
|
|
|
async def get_feature_toggle(self, tenant_id, entity_id):
|
|
return await self.service.get_feature_toggle(tenant_id, entity_id)
|
|
|
|
async def list_feature_toggles(self, tenant_id, **kwargs):
|
|
return await self.service.list_feature_toggles(tenant_id, **kwargs)
|