From cab4fdb6e150435de495f2141df90471505e14a2 Mon Sep 17 00:00:00 2001 From: tone <3341154833@qq.com> Date: Tue, 6 May 2025 19:13:20 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E5=89=8D=E7=AB=AFblog=20type?= =?UTF-8?q?s=E5=A3=B0=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tone-page-web/lib/types/blog.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 tone-page-web/lib/types/blog.ts diff --git a/tone-page-web/lib/types/blog.ts b/tone-page-web/lib/types/blog.ts new file mode 100644 index 0000000..0008095 --- /dev/null +++ b/tone-page-web/lib/types/blog.ts @@ -0,0 +1,12 @@ +export type BlogPermission = + 'public' | + 'password' | + 'listed'; + +export interface Blog { + id: string; + title: string; + description: string; + publish_at: string; + permissions: BlogPermission[]; +} \ No newline at end of file