Init
This commit is contained in:
14
.vitepress/theme/utils/posts.data.d.ts
vendored
Normal file
14
.vitepress/theme/utils/posts.data.d.ts
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
export interface PostData {
|
||||
id: number
|
||||
title: string
|
||||
content: string
|
||||
href: string
|
||||
create: number
|
||||
update: number
|
||||
tags?: string[]
|
||||
wordCount: number
|
||||
cover?: string
|
||||
excerpt: string
|
||||
pinned?: boolean
|
||||
}
|
||||
export declare const data: PostData[]
|
||||
Reference in New Issue
Block a user