diff options
| author | Patrick Barron <barronpm@gmail.com> | 2020-06-30 21:44:41 -0400 |
|---|---|---|
| committer | Patrick Barron <barronpm@gmail.com> | 2020-07-17 16:11:53 -0400 |
| commit | ab396225eaf486932fdb2f23eefa1cbfecbb27f4 (patch) | |
| tree | b225cd9617e14ae1f0386f9ff8aa85a8a433e424 /Jellyfin.Data/Enums/ViewType.cs | |
| parent | 175e7b45e56fb97b0f9bdddd99c195af3ecabcc6 (diff) | |
Migrate Display Preferences to EF Core
Diffstat (limited to 'Jellyfin.Data/Enums/ViewType.cs')
| -rw-r--r-- | Jellyfin.Data/Enums/ViewType.cs | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/Jellyfin.Data/Enums/ViewType.cs b/Jellyfin.Data/Enums/ViewType.cs new file mode 100644 index 000000000..595429ab1 --- /dev/null +++ b/Jellyfin.Data/Enums/ViewType.cs @@ -0,0 +1,38 @@ +namespace Jellyfin.Data.Enums +{ + /// <summary> + /// An enum representing the type of view for a library or collection. + /// </summary> + public enum ViewType + { + /// <summary> + /// Shows banners. + /// </summary> + Banner = 0, + + /// <summary> + /// Shows a list of content. + /// </summary> + List = 1, + + /// <summary> + /// Shows poster artwork. + /// </summary> + Poster = 2, + + /// <summary> + /// Shows poster artwork with a card containing the name and year. + /// </summary> + PosterCard = 3, + + /// <summary> + /// Shows a thumbnail. + /// </summary> + Thumb = 4, + + /// <summary> + /// Shows a thumbnail with a card containing the name and year. + /// </summary> + ThumbCard = 5 + } +} |
