import type { IHomeCommonCategoryDetailDefine, IHomeCommonArticleDetailDefine } from "./defines/Details";
import type { IHomeCommonCategoryHomeDefine } from "./defines/Home";
import type { IHomeCommonCategoryListDefine } from "./defines/List";
import type { IHomeTravelDetailDefine, IHomeTravelListDefine } from "./defines/Travel";

export * from "./defines/Blocks";
export * from "./defines/Details";
export * from "./defines/List";
export * from "./defines/Home";

//基础定义

export interface IHomeCommonCategoryDefine {
  /**
   * 通用页面定义
   */
  page: {
    /**
     * 页面索引key
     */
    name: string,
    /**
     * 页面标题
     */
    title: string,
    /**
     * 页面内容定义
     */
    content: IHomeCommonCategoryListDefine
      |IHomeCommonCategoryHomeDefine
      |IHomeCommonCategoryDetailDefine
      |IHomeCommonArticleDetailDefine
      |IHomeTravelListDefine
      |IHomeTravelDetailDefine,
  }[],
}

