Implements directory browser dialog, part 1: file system treeview

This commit is contained in:
BinaryAlley committed 2024-09-15 13:07:53 +03:00
1 parent 4a53348013
commit 4e4ecbbfca
318 files changed
+6012 -1184

No files matched your search

@@ -0,0 +1,57 @@
namespace Lumina.Presentation.Web.Common.Enums.AudioLibrary;
/// <summary>
/// Enumeration for the types of audio content libraries.
/// </summary>
public enum AudioContentType
{
/// <summary>
/// A musical composition typically consisting of vocals and/or instruments.
/// </summary>
Music,
/// <summary>
/// A recording of a book or other written work being read aloud.
/// </summary>
AudioBook,
/// <summary>
/// An audio recording of a live musical or spoken word performance.
/// </summary>
LivePerformance,
/// <summary>
/// A recorded conversation where one person asks questions and another provides answers.
/// </summary>
Interview,
/// <summary>
/// A new performance or recording of a previously released song.
/// </summary>
Cover,
/// <summary>
/// An alternative version of a recorded song, typically with altered instrumentation or structure.
/// </summary>
Remix,
/// <summary>
/// An audio recording used to create a specific acoustic environment or impression.
/// </summary>
Soundeffect,
/// <summary>
/// A digital audio file made available on the internet for downloading to a computer or mobile device.
/// </summary>
Podcast,
/// <summary>
/// A regularly scheduled broadcast program consisting of music, talk, or other audio content.
/// </summary>
RadioShow,
/// <summary>
/// A collection of music used as background sound for a movie, TV show, video game, or other media.
/// </summary>
Soundtrack,
}
@@ -1,4 +1,4 @@
namespace Lumina.Presentation.Web.Common.Enums;
namespace Lumina.Presentation.Web.Common.Enums.AudioLibrary;
/// <summary>
/// Enumeration for the various sources of audio ratings.
@@ -1,4 +1,4 @@
namespace Lumina.Presentation.Web.Common.Enums;
namespace Lumina.Presentation.Web.Common.Enums.BookLibrary;
/// <summary>
/// Enumeration for various book formats.
@@ -1,4 +1,4 @@
namespace Lumina.Presentation.Web.Common.Enums;
namespace Lumina.Presentation.Web.Common.Enums.BookLibrary;
/// <summary>
/// Enumeration for the various sources of book ratings.
@@ -1,4 +1,4 @@
namespace Lumina.Presentation.Web.Common.Enums;
namespace Lumina.Presentation.Web.Common.Enums.BookLibrary;
/// <summary>
/// Enumeration for the different ISBN (International Standard Book Number) formats.
@@ -0,0 +1,62 @@
namespace Lumina.Presentation.Web.Common.Enums.BookLibrary;
/// <summary>
/// Enumeration for the types of written content libraries.
/// </summary>
public enum WrittenContentType
{
/// <summary>
/// A printed or written literary work.
/// </summary>
Book,
/// <summary>
/// An electronic version of a printed book.
/// </summary>
EBook,
/// <summary>
/// A set of related books published in succession.
/// </summary>
BookSeries,
/// <summary>
/// A magazine or book containing sequential art in the form of a narrative.
/// </summary>
ComicBook,
/// <summary>
/// A set of related comic books published in succession.
/// </summary>
ComicSeries,
/// <summary>
/// A periodical publication containing articles, stories, and other content.
/// </summary>
Magazine,
/// <summary>
/// A style of Japanese comic books and graphic novels.
/// </summary>
Manga,
/// <summary>
/// A novel in comic-strip format, typically with sophisticated artwork and complex storylines.
/// </summary>
GraphicNovel,
/// <summary>
/// A scholarly article presenting original research or analysis.
/// </summary>
AcademicPaper,
/// <summary>
/// A handwritten or printed form of musical notation.
/// </summary>
SheetMusic,
/// <summary>
/// A script for a film, television program, or other visual media.
/// </summary>
Screenplay,
}
@@ -0,0 +1,22 @@
namespace Lumina.Presentation.Web.Common.Enums.FileSystem;
/// <summary>
/// Enumeration for the types of file system elements.
/// </summary>
public enum FileSystemItemType
{
/// <summary>
/// Represents a file system root, which can be a drive on Windows, and a path separator on Unix.
/// </summary>
Root,
/// <summary>
/// Represents a directory, which is a directory that can contain other directories or files.
/// </summary>
Directory,
/// <summary>
/// Represents a file, which is a document, executable, or other data stored on the file system.
/// </summary>
File
}
@@ -0,0 +1,17 @@
namespace Lumina.Presentation.Web.Common.Enums.FileSystem;
/// <summary>
/// Enumeration for platform types.
/// </summary>
public enum PlatformType
{
/// <summary>
/// Represents Unix-based operating systems, including Linux and macOS.
/// </summary>
Unix,
/// <summary>
/// Represents Microsoft Windows operating systems.
/// </summary>
Windows,
}
@@ -0,0 +1,32 @@
namespace Lumina.Presentation.Web.Common.Enums.Library;
/// <summary>
/// Enumeration for the types of libraries.
/// </summary>
public enum LibraryType
{
/// <summary>
/// Content that is written, such as books, articles, or other written works.
/// </summary>
WrittenContent,
/// <summary>
/// Content that is video, such as movies, TV shows, or other video works.
/// </summary>
VideoContent,
/// <summary>
/// Content that is audio, such as podcasts, radio shows, or other audio works.
/// </summary>
AudioContent,
/// <summary>
/// Content that is visual, such as images, paintings, or other visual works.
/// </summary>
VisualContent,
/// <summary>
/// Content that is miscellaneous, such as lyrics, movie posters, or other miscellaneous works.
/// </summary>
MiscellaneousContent,
}
@@ -0,0 +1,12 @@
namespace Lumina.Presentation.Web.Common.Enums.Library;
/// <summary>
/// Enumeration for the types of miscellaneous content libraries.
/// </summary>
public enum MiscellaneousContentType
{
/// <summary>
/// A collection of media that does not fit into any other category.
/// </summary>
Other,
}
@@ -0,0 +1,12 @@
namespace Lumina.Presentation.Web.Common.Enums.PhotoLibrary;
/// <summary>
/// Enumeration for the types of visual content libraries.
/// </summary>
public enum VisualContentType
{
/// <summary>
/// A collection of photographs organized together.
/// </summary>
PhotoAlbum,
}
@@ -0,0 +1,62 @@
namespace Lumina.Presentation.Web.Common.Enums.VideoLibrary;
/// <summary>
/// Enumeration for the types of video content libraries.
/// </summary>
public enum VideoContentType
{
/// <summary>
/// A series of related episodes broadcast on television or streaming platforms.
/// </summary>
TvShow,
/// <summary>
/// A feature-length film produced for cinema or home viewing.
/// </summary>
Movie,
/// <summary>
/// A collection of related films released in succession.
/// </summary>
FilmSeries,
/// <summary>
/// A collection of related films, TV shows, and other media sharing a fictional universe.
/// </summary>
FilmFranchise,
/// <summary>
/// A live musical performance recorded on video.
/// </summary>
Concert,
/// <summary>
/// A non-fictional film or TV program presenting facts and information about a specific subject.
/// </summary>
Documentary,
/// <summary>
/// An instructional video designed to teach a skill or provide information on a specific topic.
/// </summary>
Tutorial,
/// <summary>
/// Privately recorded videos, often for personal use or sharing with friends and family.
/// </summary>
Personal,
/// <summary>
/// Japanese animated productions, typically characterized by colorful graphics and vibrant characters.
/// </summary>
Anime,
/// <summary>
/// Videos hosted on or originating from the YouTube platform.
/// </summary>
Youtube,
/// <summary>
/// A short video, typically set to music, such as a music video or promotional clip.
/// </summary>
Videoclip,
}
@@ -1,4 +1,4 @@
namespace Lumina.Presentation.Web.Common.Enums;
namespace Lumina.Presentation.Web.Common.Enums.VideoLibrary;
/// <summary>
/// Enumeration for the various sources of video ratings.