Refactors the add book slice and shared media contributor model across the stack

This commit is contained in:
BinaryAlley committed 2026-09-12 12:12:22 -07:00
1 parent 3a2c80b615
commit 9a71a6d32b
61 files changed
+5223 -1384

No files matched your search

@@ -24,7 +24,7 @@ public class BookResponseFixture
private readonly Faker _faker = new();
private readonly WrittenContentMetadataDtoFixture _writtenContentMetadataDtoFixture = new();
private readonly IsbnDtoFixture _isbnDtoFixture = new();
private readonly MediaContributorDtoFixture _mediaContributorDtoFixture = new();
private readonly MediaContributorReferenceDtoFixture _mediaContributorReferenceDtoFixture = new();
private readonly BookRatingDtoFixture _bookRatingDtoFixture = new();
private readonly BookSeriesDtoFixture _bookSeriesDtoFixture = new();
@@ -70,7 +70,7 @@ public class BookResponseFixture
_faker.Random.AlphaNumeric(10),
_faker.Random.AlphaNumeric(8),
_isbnDtoFixture.CreateMany(1),
_mediaContributorDtoFixture.CreateMany(1),
_mediaContributorReferenceDtoFixture.CreateMany(1),
_bookRatingDtoFixture.CreateMany(1),
metadataStatus ?? _faker.PickRandom<MetadataStatus>(),
_faker.Date.Recent().ToUniversalTime(),