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.
15 lines (14 loc) • 374 B
TypeScript
export interface SEOCheck {
name: string;
pass: boolean | "partial";
points: number;
maxPoints: number;
hint: string;
}
export interface SEOScoreResult {
score: number;
checks: SEOCheck[];
color: "green" | "orange" | "red";
label: string;
}
export declare function computeSEOScore(value: Record<string, any> | undefined): SEOScoreResult;