Create Blog types

cgen-148372bec14342dbb102383b90298fcc
This commit is contained in:
Builder.io 2025-10-14 04:54:23 +00:00
parent 57b4f71861
commit f74501f06e

View file

@ -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;
}