Support edited manga info in domain

This commit is contained in:
Jobobby04
2022-06-04 11:31:11 -04:00
parent 0259da5648
commit 46bf8b58b5
7 changed files with 122 additions and 51 deletions
@@ -19,7 +19,9 @@ val historyWithRelationsMapper: (Long, Long, Long, String, String?, Float, Date?
id = historyId,
chapterId = chapterId,
mangaId = mangaId,
title = title,
// SY -->
ogTitle = title,
// SY <--
thumbnailUrl = thumbnailUrl ?: "",
chapterNumber = chapterNumber,
readAt = readAt,
@@ -14,12 +14,14 @@ val mangaMapper: (Long, Long, String, String?, String?, String?, List<String>?,
chapterFlags = chapterFlags,
coverLastModified = coverLastModified,
url = url,
title = title,
artist = artist,
author = author,
description = description,
genre = genre,
status = status,
// SY -->
ogTitle = title,
ogArtist = artist,
ogAuthor = author,
ogDescription = description,
ogGenre = genre,
ogStatus = status,
// SY <--
thumbnailUrl = thumbnailUrl,
initialized = initialized,
filteredScanlators = filteredScanlators,