chore: 调整bloglist不返回deletedAt字段

This commit is contained in:
2025-12-27 13:53:15 +08:00
parent 0b9963bb29
commit c75a67c0d9
2 changed files with 2 additions and 3 deletions

View File

@@ -3,7 +3,7 @@ import { serverFetch } from "../server";
export async function list() {
return serverFetch<Pick<Blog,
'id' | 'title' | 'slug' | 'description' | 'viewCount' | 'createdAt' | 'updatedAt' | 'deletedAt'
'id' | 'title' | 'slug' | 'description' | 'viewCount' | 'createdAt' | 'updatedAt'
>[]>('/api/blog')
}