feat(admin): add MindSpace SEO/GEO controls and template catalog page
Expose SEO/GEO switches on the MindSpace config form and add template catalog management UI wired to shared Memind modules. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -344,8 +344,25 @@ export type WechatIntentRouterRuntimeState = {
|
||||
config: WechatIntentRouterAdminConfig;
|
||||
};
|
||||
|
||||
export type MindSpaceSeoGeoConfig = {
|
||||
enabled: boolean;
|
||||
seo: {
|
||||
enabled: boolean;
|
||||
canonical: boolean;
|
||||
sitemap: boolean;
|
||||
robotsTxt: boolean;
|
||||
baiduPush: boolean;
|
||||
};
|
||||
geo: {
|
||||
enabled: boolean;
|
||||
jsonLd: boolean;
|
||||
llmsTxt: boolean;
|
||||
};
|
||||
};
|
||||
|
||||
export type MindSpaceAdminConfig = {
|
||||
publicPageLimit: number;
|
||||
seoGeo: MindSpaceSeoGeoConfig;
|
||||
analytics: {
|
||||
enabled: boolean;
|
||||
websiteId: string;
|
||||
@@ -775,3 +792,26 @@ export type MindSearchServiceTestResult = {
|
||||
resultCount?: number | null;
|
||||
message: string;
|
||||
};
|
||||
|
||||
export type AdminTemplateCatalogItem = {
|
||||
skillName: string;
|
||||
label: string;
|
||||
description: string;
|
||||
previewUrl: string | null;
|
||||
priceCents: number;
|
||||
currency: string;
|
||||
billingMode: 'free' | 'one_time' | 'subscription';
|
||||
status: 'draft' | 'active' | 'archived';
|
||||
sortOrder: number;
|
||||
chatSkillId: string;
|
||||
};
|
||||
|
||||
export type AdminTemplateCatalogPatch = {
|
||||
label?: string;
|
||||
description?: string;
|
||||
previewUrl?: string | null;
|
||||
priceCents?: number;
|
||||
billingMode?: AdminTemplateCatalogItem['billingMode'];
|
||||
status?: AdminTemplateCatalogItem['status'];
|
||||
sortOrder?: number;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user