Constexport const EXPORTABLE_FIELDS = [
// Kenmei data
{ id: "kenmeiId", label: "Kenmei ID", group: "Kenmei" },
{ id: "kenmeiTitle", label: "Kenmei Title", group: "Kenmei" },
{ id: "kenmeiStatus", label: "Kenmei Status", group: "Kenmei" },
{ id: "kenmeiScore", label: "Kenmei Score", group: "Kenmei" },
{ id: "chaptersRead", label: "Chapters Read", group: "Kenmei" },
{ id: "volumesRead", label: "Volumes Read", group: "Kenmei" },
{ id: "author", label: "Author", group: "Kenmei" },
{ id: "notes", label: "Notes", group: "Kenmei" },
{ id: "createdAt", label: "Created At", group: "Kenmei" },
{ id: "updatedAt", label: "Updated At", group: "Kenmei" },
{ id: "lastReadAt", label: "Last Read At", group: "Kenmei" },
// Match data
{ id: "matchStatus", label: "Match Status", group: "Match" },
{ id: "matchDate", label: "Match Date", group: "Match" },
{ id: "confidence", label: "Confidence", group: "Match" },
// AniList data
{ id: "anilistId", label: "AniList ID", group: "AniList" },
{
id: "anilistTitleRomaji",
label: "AniList Title (Romaji)",
group: "AniList",
},
{
id: "anilistTitleEnglish",
label: "AniList Title (English)",
group: "AniList",
},
{
id: "anilistTitleNative",
label: "AniList Title (Native)",
group: "AniList",
},
{ id: "format", label: "Format", group: "AniList" },
{ id: "totalChapters", label: "Total Chapters", group: "AniList" },
{ id: "totalVolumes", label: "Total Volumes", group: "AniList" },
{ id: "genres", label: "Genres", group: "AniList" },
] as const satisfies Array<{
id: keyof FlattenedMatchResult;
label: string;
group: string;
}>;
Metadata describing exportable fields in flat match results. Used by UI to select which columns to include in CSV/Markdown exports.