feat: 让模板声明信任内容编辑语义

This commit is contained in:
que01 committed 2026-09-27 12:51:21 +08:00
1 parent 6d7fae95b3
commit e3a4074d8e
12 files changed
+159 -13

No files matched your search

+6
View File
@@ -225,6 +225,12 @@ export interface TemplatePackageManifest {
fields: readonly { key: string; binding: string; label: string; required?: boolean }[];
}[];
};
trustContentTypes?: readonly {
type: string;
label: string;
help?: string;
placeholder?: string;
}[];
sampleContent?: Partial<Record<BrandTemplateKey, TemplateSampleContent>>;
}