From f74501f06e43dc59053b2095fd515f05013c2b3b Mon Sep 17 00:00:00 2001 From: "Builder.io" Date: Tue, 14 Oct 2025 04:54:23 +0000 Subject: [PATCH] Create Blog types cgen-148372bec14342dbb102383b90298fcc --- client/components/blog/types.ts | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 client/components/blog/types.ts diff --git a/client/components/blog/types.ts b/client/components/blog/types.ts new file mode 100644 index 00000000..5baf1c3d --- /dev/null +++ b/client/components/blog/types.ts @@ -0,0 +1,21 @@ +export interface BlogPost { + id?: string | number; + slug: string; + title: string; + excerpt?: string | null; + author?: string | null; + date?: string | null; + readTime?: string | null; + category?: string | null; + image?: string | null; + likes?: number | null; + comments?: number | null; + trending?: boolean; + body?: string | null; +} + +export interface BlogCategory { + id: string; + name: string; + count: number; +}