feat: 博客标签

This commit is contained in:
2026-07-24 21:18:57 +08:00
parent 2346842ef5
commit 54eae0e738
2 changed files with 10 additions and 5 deletions

View File

@@ -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;
}