Options for filtering data during export operations.

export interface ExportFilterOptions {
/** Filter by match status */
statusFilter?: ("matched" | "manual" | "pending" | "skipped")[];
/** Minimum confidence threshold (0-100) */
confidenceThreshold?: number;
/** Include entries without matches */
includeUnmatched?: boolean;
/** Only export unmatched entries (no selectedMatch and no anilistMatches) */
unmatchedOnly?: boolean;
/** Selected field IDs for CSV/Markdown export projection; if not provided, all fields included */
fields?: ExportableFieldId[];
/** JSON export scope: "full" includes complete match result objects, "selected" includes only fields mapped from FlattenedMatchResult */
jsonScope?: "full" | "selected";
}
interface ExportFilterOptions {
    statusFilter?: ("pending" | "matched" | "manual" | "skipped")[];
    confidenceThreshold?: number;
    includeUnmatched?: boolean;
    unmatchedOnly?: boolean;
    fields?: (
        | "genres"
        | "format"
        | "confidence"
        | "chaptersRead"
        | "matchDate"
        | "kenmeiId"
        | "kenmeiTitle"
        | "kenmeiStatus"
        | "kenmeiScore"
        | "volumesRead"
        | "author"
        | "notes"
        | "createdAt"
        | "updatedAt"
        | "lastReadAt"
        | "matchStatus"
        | "anilistId"
        | "anilistTitleRomaji"
        | "anilistTitleEnglish"
        | "anilistTitleNative"
        | "totalChapters"
        | "totalVolumes"
    )[];
    jsonScope?: "full"
    | "selected";
}

Properties

statusFilter?: ("pending" | "matched" | "manual" | "skipped")[]

Filter by match status

confidenceThreshold?: number

Minimum confidence threshold (0-100)

includeUnmatched?: boolean

Include entries without matches

unmatchedOnly?: boolean

Only export unmatched entries (no selectedMatch and no anilistMatches)

fields?: (
    | "genres"
    | "format"
    | "confidence"
    | "chaptersRead"
    | "matchDate"
    | "kenmeiId"
    | "kenmeiTitle"
    | "kenmeiStatus"
    | "kenmeiScore"
    | "volumesRead"
    | "author"
    | "notes"
    | "createdAt"
    | "updatedAt"
    | "lastReadAt"
    | "matchStatus"
    | "anilistId"
    | "anilistTitleRomaji"
    | "anilistTitleEnglish"
    | "anilistTitleNative"
    | "totalChapters"
    | "totalVolumes"
)[]

Selected field IDs for CSV/Markdown export projection; if not provided, all fields included

jsonScope?: "full" | "selected"

JSON export scope: "full" includes complete match result objects, "selected" includes only fields mapped from FlattenedMatchResult