mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 10:11:10 +00:00
Adds media library cover image
This commit is contained in:
1 parent
89debaeaad
commit
666a739b1d
43 files changed
+1170
-94
No files matched your search
@@ -10,9 +10,11 @@ namespace Lumina.Contracts.Requests.MediaLibrary.Management;
|
||||
/// <param name="Title">The title of the media library. Required.</param>
|
||||
/// <param name="LibraryType">The type of the media library. Required.</param>
|
||||
/// <param name="ContentLocations">The file system paths of the directories where the media library elements are located. Required.</param>
|
||||
/// <param name="CoverImage">The path of the image file used as the cover for the library. Optional.</param>
|
||||
[DebuggerDisplay("Title: {Title}")]
|
||||
public record AddLibraryRequest(
|
||||
string? Title,
|
||||
string? LibraryType,
|
||||
string[]? ContentLocations
|
||||
string[]? ContentLocations,
|
||||
string? CoverImage
|
||||
);
|
||||
@@ -2,6 +2,7 @@
|
||||
using Lumina.Domain.Common.Enums.MediaLibrary;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Runtime.InteropServices;
|
||||
#endregion
|
||||
|
||||
namespace Lumina.Contracts.Requests.MediaLibrary.Management;
|
||||
@@ -14,11 +15,13 @@ namespace Lumina.Contracts.Requests.MediaLibrary.Management;
|
||||
/// <param name="Title">The title of the media library. Required.</param>
|
||||
/// <param name="LibraryType">The type of the media library. Required.</param>
|
||||
/// <param name="ContentLocations">The file system paths of the directories where the media library elements are located. Required.</param>
|
||||
/// <param name="CoverImage">The path of the image file used as the cover for the library. Optional.</param>
|
||||
[DebuggerDisplay("Title: {Title}")]
|
||||
public record class UpdateLibraryRequest(
|
||||
Guid Id,
|
||||
Guid UserId,
|
||||
string? Title,
|
||||
string? LibraryType,
|
||||
string[]? ContentLocations
|
||||
string[]? ContentLocations,
|
||||
string? CoverImage
|
||||
);
|
||||
Reference in new issue
Block a user