mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 12:11:10 +00:00
Adds authorization module tests
This commit is contained in:
1 parent
718e1c49cf
commit
0114ff13e8
125 files changed
+10411
-203
No files matched your search
@@ -15,8 +15,8 @@ namespace Lumina.Contracts.Responses.MediaLibrary.Management;
|
||||
/// <param name="Title">The title of the media library.</param>
|
||||
/// <param name="LibraryType">The type of the media library.</param>
|
||||
/// <param name="ContentLocations">The file system paths of the directories where the media library elements are located.</param>
|
||||
/// <param name="Created">The date and time when the library was created.</param>
|
||||
/// <param name="Updated">The optional date and time when the library was updated.</param>
|
||||
/// <param name="CreatedOnUtc">The date and time when the library was created.</param>
|
||||
/// <param name="UpdatedOnUtc">The optional date and time when the library was updated.</param>
|
||||
[DebuggerDisplay("Title: {Title}")]
|
||||
public record LibraryResponse(
|
||||
Guid Id,
|
||||
@@ -24,6 +24,6 @@ public record LibraryResponse(
|
||||
string Title,
|
||||
LibraryType LibraryType,
|
||||
List<string> ContentLocations,
|
||||
DateTime Created,
|
||||
DateTime? Updated
|
||||
DateTime CreatedOnUtc,
|
||||
DateTime? UpdatedOnUtc
|
||||
);
|
||||
+4
-4
@@ -31,8 +31,8 @@ namespace Lumina.Contracts.Responses.MediaLibrary.WrittenContentLibrary.BookLibr
|
||||
/// <param name="ISBNs">The list of ISBN (International Standard Book Number) of the book.</param>
|
||||
/// <param name="Contributors">The list of media contributors (actors, directors, etc) starring in this book.</param>
|
||||
/// <param name="Ratings">The list of ratings for this book.</param>
|
||||
/// <param name="Created">The date and time when the book was created.</param>
|
||||
/// <param name="Updated">The optional date and time when the book was updated.</param>
|
||||
/// <param name="CreatedOnUtc">The date and time when the book was created.</param>
|
||||
/// <param name="UpdatedOnUtc">The optional date and time when the book was updated.</param>
|
||||
[DebuggerDisplay("Title: {Metadata.Title}")]
|
||||
public record BookResponse(
|
||||
Guid Id,
|
||||
@@ -53,6 +53,6 @@ public record BookResponse(
|
||||
List<IsbnDto>? ISBNs,
|
||||
List<MediaContributorDto>? Contributors,
|
||||
List<BookRatingDto>? Ratings,
|
||||
DateTime Created,
|
||||
DateTime? Updated
|
||||
DateTime CreatedOnUtc,
|
||||
DateTime? UpdatedOnUtc
|
||||
);
|
||||
@@ -10,12 +10,12 @@ namespace Lumina.Contracts.Responses.UsersManagement.Users;
|
||||
/// </summary>
|
||||
/// <param name="Id">The id of the user.</param>
|
||||
/// <param name="Username">The username of the user.</param>
|
||||
/// <param name="Created">The date and time when the user was created.</param>
|
||||
/// <param name="Updated">The optional date and time when the user was updated.</param>
|
||||
/// <param name="CreatedOnUtc">The date and time when the user was created.</param>
|
||||
/// <param name="UpdatedOnUtc">The optional date and time when the user was updated.</param>
|
||||
[DebuggerDisplay("Username: {Username}")]
|
||||
public record UserResponse(
|
||||
Guid Id,
|
||||
string Username,
|
||||
DateTime Created,
|
||||
DateTime? Updated
|
||||
DateTime CreatedOnUtc,
|
||||
DateTime? UpdatedOnUtc
|
||||
);
|
||||
Reference in new issue
Block a user