mirror of
https://github.com/pengzhanbo/vuepress-theme-plume.git
synced 2026-04-23 10:58:13 +08:00
22 lines
482 B
TypeScript
22 lines
482 B
TypeScript
import type { GitPluginPageData } from '@vuepress/plugin-git'
|
|
|
|
interface ReadingTime {
|
|
/** 分钟数 */
|
|
minutes: number
|
|
/** 字数 */
|
|
words: number
|
|
}
|
|
|
|
export interface PlumeThemePageData extends GitPluginPageData {
|
|
isBlogPost: boolean
|
|
type: 'blog' | 'friends' | 'blog-tags' | 'blog-archives'
|
|
categoryList?: PageCategoryData[]
|
|
filePathRelative: string | null
|
|
readingTime?: ReadingTime
|
|
}
|
|
|
|
export interface PageCategoryData {
|
|
type: string | number
|
|
name: string
|
|
}
|