feat: 文章分页
This commit is contained in:
1
src/types/index.ts
Normal file
1
src/types/index.ts
Normal file
@@ -0,0 +1 @@
|
||||
export * from './post.ts'
|
||||
8
src/types/post.ts
Normal file
8
src/types/post.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
export type Post = {
|
||||
title: string;
|
||||
summary: string;
|
||||
slug: string;
|
||||
cover: string;
|
||||
category_name: string;
|
||||
published_at: string;
|
||||
}
|
||||
Reference in New Issue
Block a user