feat: 博客标签
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
type Tag = {
|
||||
id: number
|
||||
code: string
|
||||
name: string
|
||||
}
|
||||
export type Post = {
|
||||
title: string;
|
||||
summary: string;
|
||||
@@ -7,6 +12,7 @@ export type Post = {
|
||||
published_at: string;
|
||||
view: number;
|
||||
content: string;
|
||||
tags: Tag[]
|
||||
}
|
||||
|
||||
export type CategoriesStats = {
|
||||
@@ -14,3 +20,4 @@ export type CategoriesStats = {
|
||||
name: string;
|
||||
post_count: number;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user