Files
jellyfin-jellyfin-1/MediaBrowser.Controller/Persistence/IItemTypeLookup.cs
2024-10-11 11:46:43 +00:00

23 lines
684 B
C#

using System;
using System.Collections.Generic;
using Jellyfin.Data.Enums;
using MediaBrowser.Model.Querying;
namespace MediaBrowser.Controller.Persistence;
/// <summary>
/// Provides static lookup data for <see cref="ItemFields"/> and <see cref="BaseItemKind"/> for the domain.
/// </summary>
public interface IItemTypeLookup
{
/// <summary>
/// Gets all serialisation target types for music related kinds.
/// </summary>
IReadOnlyList<string> MusicGenreTypes { get; }
/// <summary>
/// Gets mapping for all BaseItemKinds and their expected serialization target.
/// </summary>
public IDictionary<BaseItemKind, string> BaseItemKindNames { get; }
}