mirror of
https://github.com/bookorbit/bookorbit.git
synced 2026-11-03 08:21:39 -06:00
Preserve RanobeDB IDs through write-back, file import, and load-from-file so saved metadata survives round trips. Expose saved RanobeDB sources in the book detail surfaces with the provider icon and database link. Closes #207 Closes #210
This commit is contained in:
@@ -16,7 +16,14 @@ export const CORE_BOOK_FILE_WRITE_FIELDS = [
|
||||
"tags",
|
||||
] as const;
|
||||
|
||||
export const COMMON_PROVIDER_BOOK_FILE_WRITE_FIELDS = ["googleBooksId", "goodreadsId", "amazonId", "hardcoverId", "openLibraryId"] as const;
|
||||
export const COMMON_PROVIDER_BOOK_FILE_WRITE_FIELDS = [
|
||||
"googleBooksId",
|
||||
"goodreadsId",
|
||||
"amazonId",
|
||||
"hardcoverId",
|
||||
"openLibraryId",
|
||||
"ranobedbId",
|
||||
] as const;
|
||||
|
||||
export const COMIC_BOOK_FILE_WRITE_FIELDS = [
|
||||
"comicIssueNumber",
|
||||
@@ -65,6 +72,7 @@ export const BOOK_FILE_WRITE_FIELD_LABELS = {
|
||||
amazonId: "Amazon ID",
|
||||
hardcoverId: "Hardcover ID",
|
||||
openLibraryId: "Open Library ID",
|
||||
ranobedbId: "RanobeDB ID",
|
||||
comicIssueNumber: "Issue number",
|
||||
comicVolumeName: "Volume",
|
||||
comicPencillers: "Pencillers",
|
||||
|
||||
Reference in New Issue
Block a user