• Exports a full sync report to a JSON file.

    Parameters

    Returns void

    If the report is missing, a warning is logged and no file is exported.

    exportSyncReport(report);
    
    export function exportSyncReport(report: SyncReport): void {
    if (!report) {
    console.warn("No report to export");
    return;
    }
    exportJsonFile(report, "anilist-sync-report", report.timestamp);
    console.log("Sync report exported successfully");
    }