/** * Core blog types used throughout the system * @module @unbloque/blog-core/types */ export interface BlogPost { id: string; title: string; slug: string; content: string; excerpt: string; coverImage?: string; author: string; createdAt?: Date; publishedAt?: Date; updatedAt: Date; tags: string[]; readingTime: number; status: "draft" | "published"; seoTitle?: string; seoDescription?: string; seoKeywords?: string[]; } export interface CreateBlogPostInput { title: string; slug: string; content: string; excerpt: string; coverImage?: string; author: string; tags: string[]; status?: "draft" | "published"; seoTitle?: string; seoDescription?: string; seoKeywords?: string[]; } export interface UpdateBlogPostInput extends Partial { publishedAt?: Date; } export interface BlogPostFilters { status?: "draft" | "published"; tags?: string[]; author?: string; search?: string; } export type CreateBlogPost = CreateBlogPostInput; export type UpdateBlogPost = UpdateBlogPostInput; //# sourceMappingURL=types.d.ts.map