sanity-plugin-seo
Version:
Complete SEO toolkit for Sanity Studio with live scoring, AI suggestions, team workflows, and 30+ structured data types. Free and AI tiers live. Pro coming soon.
31 lines (30 loc) • 1 kB
TypeScript
import React from "react";
import { BulkTab } from "./types";
interface CsvRow {
_id: string;
title: string;
focusKeyword: string;
found: boolean;
}
interface LogEntry {
msg: string;
ok: boolean;
}
interface Props {
selectedCount: number;
bulkTab: BulkTab;
onTabChange: (tab: BulkTab) => void;
bulkProcessing: boolean;
onApply: () => void;
csvPreview: CsvRow[];
csvError: string | null;
csvApplying: boolean;
onCSVFile: (e: React.ChangeEvent<HTMLInputElement>) => void;
onApplyCSV: () => void;
/** Log entries from the last bulk operation — rendered inside the panel */
log: LogEntry[];
/** How many selected pages have no meta title (OG sync will skip them) */
selectedMissingTitle: number;
}
export default function BulkActions({ selectedCount, bulkTab, onTabChange, bulkProcessing, onApply, csvPreview, csvError, csvApplying, onCSVFile, onApplyCSV, log, selectedMissingTitle, }: Props): React.JSX.Element;
export {};