完善前端blog types声明
This commit is contained in:
12
tone-page-web/lib/types/blog.ts
Normal file
12
tone-page-web/lib/types/blog.ts
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
export type BlogPermission =
|
||||||
|
'public' |
|
||||||
|
'password' |
|
||||||
|
'listed';
|
||||||
|
|
||||||
|
export interface Blog {
|
||||||
|
id: string;
|
||||||
|
title: string;
|
||||||
|
description: string;
|
||||||
|
publish_at: string;
|
||||||
|
permissions: BlogPermission[];
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user