UNPKG

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.

32 lines (31 loc) 889 B
import type { CSSProperties } from "react"; export interface BulkDoc { _id: string; _type: string; docTitle: string; docSlug: string | null; seo: Record<string, any> | null; score: number; issues: string[]; selected: boolean; } export interface RowEdit { metaTitle: string; metaDescription: string; focusKeyword: string; ogTitle: string; ogDescription: string; seoStatus: string; saving: boolean; saved: boolean; } export type BulkTab = "og" | "csv"; export declare const SEO_STATUSES: { value: string; label: string; }[]; export declare function getIssues(seo: Record<string, any> | null): string[]; export declare function scoreColor(score: number): string; export declare function scoreLabel(score: number): string; export declare const INPUT_STYLE: CSSProperties; export declare const FIELD_LABEL: CSSProperties;