2021-05-06 22:39:20 +00:00
|
|
|
#nullable disable
|
|
|
|
|
2021-07-23 20:07:19 +00:00
|
|
|
#pragma warning disable CA1819, CS1591
|
2020-08-22 19:56:24 +00:00
|
|
|
|
2019-01-13 20:01:16 +00:00
|
|
|
using System;
|
2023-11-09 21:00:29 +00:00
|
|
|
using Jellyfin.Data.Enums;
|
2018-12-27 23:27:57 +00:00
|
|
|
|
|
|
|
namespace MediaBrowser.Controller.Entities
|
|
|
|
{
|
|
|
|
/// <summary>
|
2020-06-15 22:37:52 +00:00
|
|
|
/// This is just a marker interface to denote top level folders.
|
2018-12-27 23:27:57 +00:00
|
|
|
/// </summary>
|
|
|
|
public interface ICollectionFolder : IHasCollectionType
|
|
|
|
{
|
|
|
|
string Path { get; }
|
2019-11-01 15:53:16 +00:00
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
string Name { get; }
|
2019-11-01 15:53:16 +00:00
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
Guid Id { get; }
|
2019-11-01 15:53:16 +00:00
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
string[] PhysicalLocations { get; }
|
|
|
|
}
|
|
|
|
|
|
|
|
public interface ISupportsUserSpecificView
|
|
|
|
{
|
|
|
|
bool EnableUserSpecificView { get; }
|
|
|
|
}
|
|
|
|
|
|
|
|
public interface IHasCollectionType
|
|
|
|
{
|
2023-11-09 21:00:29 +00:00
|
|
|
CollectionType? CollectionType { get; }
|
2018-12-27 23:27:57 +00:00
|
|
|
}
|
|
|
|
}
|