sync update from LAN repo (source dhk-1 @ 3b1ec5b4)

This commit is contained in:
gozeros committed 2026-11-05 10:56:34 +08:00
1 parent da6521b6cb
commit 264e2200d6
995 files changed
+148105 -13399

No files matched your search

@@ -15,6 +15,19 @@ class DuplicateLightAppNameError(ValueError):
class LightAppStore(ABC):
async def list_sidebar_apps(self) -> list[dict[str, Any]]:
"""Return only the columns needed to render iframe app menu entries."""
rows = await self.list_apps(app_type="iframe", enabled_only=True)
return [
{
"app_id": row.get("app_id"),
"name": row.get("name"),
"mount_location": row.get("mount_location"),
"sort_order": row.get("sort_order", 0),
}
for row in rows
]
@abstractmethod
async def list_apps(
self,