mirror of
https://github.com/pengzhanbo/vuepress-theme-plume.git
synced 2026-04-25 11:28:13 +08:00
28 lines
657 B
TypeScript
28 lines
657 B
TypeScript
import type { GitPluginPageData } from '@vuepress/plugin-git'
|
|
import type { ReadingTime } from '@vuepress/plugin-reading-time'
|
|
import type { BlogCategoryItem } from './features/index.js'
|
|
|
|
export interface ThemePageData extends GitPluginPageData {
|
|
/**
|
|
* 页面布局类型
|
|
* @internal
|
|
*/
|
|
type: 'friends' | 'blog' | 'blog-tags' | 'blog-archives' | 'blog-categories'
|
|
/**
|
|
* 博客文章分类列表
|
|
*/
|
|
categoryList?: BlogCategoryItem[]
|
|
/**
|
|
* 相对于根目录的文件路径
|
|
*/
|
|
filePathRelative: string | null
|
|
/**
|
|
* 阅读时间
|
|
*/
|
|
readingTime?: ReadingTime
|
|
/**
|
|
* 是否启用公告
|
|
*/
|
|
bulletin?: boolean
|
|
}
|