feat: render CMS SEO metadata and refresh published page caches

This commit is contained in:
2026-10-11 18:05:47 +08:00
parent a8e2863cc4
commit 870b9b4282
19 changed files with 310 additions and 35 deletions
+7
View File
@@ -10,12 +10,19 @@ export interface WagtailMeta {
html_url: string | null;
slug: string;
first_published_at: string | null;
seo_title?: string;
search_description?: string;
}
export interface WagtailPageSummary {
id: number;
meta: WagtailMeta;
title: string;
seo_title_override?: string;
seo_description_override?: string;
og_image?: { url: string; title: string } | null;
canonical_url?: string;
schema_json?: Record<string, unknown>;
}
export interface WagtailListResponse<T> {