fix(runtime): harden application service boundaries

This commit is contained in:
edde746
2026-07-24 03:46:46 +02:00
parent 658da37b48
commit e0bf66eea8
309 changed files with 32574 additions and 4369 deletions
+4 -4
View File
@@ -261,8 +261,8 @@ abstract class ApiCache {
int? viewedLeafCount,
});
/// Bulk-load every pinned metadata row into a [MediaItem] map keyed by
/// `buildGlobalKey(ServerId(serverId), itemId)`. Used by [DownloadManagerService] on
/// cold start to hydrate offline state in a single query per backend.
Future<Map<String, MediaItem>> getAllPinnedMetadata();
/// Bulk-load pinned metadata whose private cache namespace is included in
/// [cacheServerIds]. A null set retains the backend's complete diagnostic
/// view; profile-visible hydration must always pass exact allowed scopes.
Future<Map<String, MediaItem>> getAllPinnedMetadata({Set<ServerId>? cacheServerIds});
}