Add profile favorites and batch duplication

Signed-off-by: Loren Eteval <loren.eteval@proton.me>
This commit is contained in:
Loren Eteval
2026-10-07 09:47:08 +08:00
parent 8789f22b9a
commit 58b36b63f3
12 changed files with 638 additions and 18 deletions
+5
View File
@@ -128,6 +128,11 @@ class Storage:
"""Return the user servers value."""
return Storage._UserServersStorage().data()
@staticmethod
def setUserServersFavorite(profileIds, favorite: bool) -> list[str]:
"""Commit favorite metadata through the server repository owner."""
return Storage._UserServersStorage().setProfilesFavorite(profileIds, favorite)
@staticmethod
def moveUserServers(profileIds, visibleProfileIds, position: str) -> bool:
"""Move selected servers within the caller's visible repository scope."""