mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-16 18:42:52 -07:00
906f701fa8
* Convert CollectionType, SpecialFolderType to enum * Hide internal enum CollectionType values * Apply suggestions from code review Co-authored-by: Shadowghost <Shadowghost@users.noreply.github.com> * Fix recent change * Update Jellyfin.Data/Attributes/OpenApiIgnoreEnumAttribute.cs Co-authored-by: Patrick Barron <barronpm@gmail.com> --------- Co-authored-by: Shadowghost <Shadowghost@users.noreply.github.com> Co-authored-by: Patrick Barron <barronpm@gmail.com>
34 lines
662 B
C#
34 lines
662 B
C#
#nullable disable
|
|
|
|
#pragma warning disable CA1819, CS1591
|
|
|
|
using System;
|
|
using Jellyfin.Data.Enums;
|
|
|
|
namespace MediaBrowser.Controller.Entities
|
|
{
|
|
/// <summary>
|
|
/// This is just a marker interface to denote top level folders.
|
|
/// </summary>
|
|
public interface ICollectionFolder : IHasCollectionType
|
|
{
|
|
string Path { get; }
|
|
|
|
string Name { get; }
|
|
|
|
Guid Id { get; }
|
|
|
|
string[] PhysicalLocations { get; }
|
|
}
|
|
|
|
public interface ISupportsUserSpecificView
|
|
{
|
|
bool EnableUserSpecificView { get; }
|
|
}
|
|
|
|
public interface IHasCollectionType
|
|
{
|
|
CollectionType? CollectionType { get; }
|
|
}
|
|
}
|