@xiongtao.xt/tau-plugins 0.30.0 → 0.31.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -18,7 +18,6 @@ export interface ManifestItem extends ContentRef {
18
18
  }
19
19
  export interface SiteData {
20
20
  title: string;
21
- description: string;
22
21
  basePath: string;
23
22
  publicUrl?: string;
24
23
  favicon?: {
@@ -26,6 +25,8 @@ export interface SiteData {
26
25
  format: "svg" | "png" | "ico";
27
26
  mimeType: string;
28
27
  };
28
+ /** 模板在 manifest `template.siteFields` 中声明的字段取值,未填写时为声明的默认值 */
29
+ fields: Record<string, string | boolean>;
29
30
  }
30
31
  export interface PublishSettings {
31
32
  appearance?: {
@@ -182,10 +183,6 @@ export interface TimelineItem {
182
183
  publishTime: number;
183
184
  }
184
185
  export interface HomeData {
185
- hero?: {
186
- title: string;
187
- description: string;
188
- };
189
186
  timeline: TimelineItem[];
190
187
  stats: {
191
188
  articles: number;