feat: 建立版本化模板注册表

This commit is contained in:
que01 committed 2026-09-20 17:37:57 +08:00
1 parent 3524a6f322
commit a3434ce2b9
3 files changed
+55 -6

No files matched your search

+8
View File
@@ -103,10 +103,18 @@ export interface ApiErrorBody {
}
export interface BrandTemplateDefinition {
key: "personal" | "food";
version: string;
name: string;
description: string;
serviceCategories: string[];
trustContentTypes: string[];
modules: Array<{
key: string;
type: string;
title: string;
required: boolean;
}>;
capabilities: string[];
}
export interface OfferingSection {
type: "text" | "image-list" | "timeline" | "faq";