mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-03-01 07:52:53 +00:00
enforce user access to offline items
This commit is contained in:
@@ -5,12 +5,14 @@ namespace MediaBrowser.Model.Sync
|
||||
public class SyncDataRequest
|
||||
{
|
||||
public List<string> LocalItemIds { get; set; }
|
||||
public List<string> OfflineUserIds { get; set; }
|
||||
|
||||
public string TargetId { get; set; }
|
||||
|
||||
public SyncDataRequest()
|
||||
{
|
||||
LocalItemIds = new List<string>();
|
||||
OfflineUserIds = new List<string>();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,10 +5,12 @@ namespace MediaBrowser.Model.Sync
|
||||
public class SyncDataResponse
|
||||
{
|
||||
public List<string> ItemIdsToRemove { get; set; }
|
||||
public Dictionary<string, List<string>> ItemUserAccess { get; set; }
|
||||
|
||||
public SyncDataResponse()
|
||||
{
|
||||
ItemIdsToRemove = new List<string>();
|
||||
ItemUserAccess = new Dictionary<string, List<string>>();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user