mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-19 20:54:20 +01:00
Convert CollectionType, SpecialFolderType to enum (#9764)
* 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>
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Jellyfin.Data.Enums;
|
||||
using MediaBrowser.Model.Entities;
|
||||
using MediaBrowser.Model.Globalization;
|
||||
using MediaBrowser.Model.Providers;
|
||||
@@ -27,7 +28,7 @@ namespace MediaBrowser.Model.Dto
|
||||
|
||||
public IReadOnlyList<ExternalIdInfo> ExternalIdInfos { get; set; }
|
||||
|
||||
public string? ContentType { get; set; }
|
||||
public CollectionType? ContentType { get; set; }
|
||||
|
||||
public IReadOnlyList<NameValuePair> ContentTypeOptions { get; set; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user