export type CreateBlogType = {
  title: string;
  previewContent: string;
  content: string;
  imageUrl: string;
  metaTitle: string;
  metaDescription: string;
  tags: string[];
  tagInput: string;
  categoryId: string;
  isActive: boolean;
  isPinned: boolean;
  slug: string;
};

export type BlogItemType = {
  id: string;
  createdAt: string;
  author: {
    id: string;
    firstName: string;
    lastName: string;
  };
  category: {
    id: string;
    title: string;
    iconUrl: string;
  };
  imageUrl: string;
  metaTitle: string;
  metaDescription: string;
  previewContent: string;
  slug: string;
  title: string;
  viewCount: number;
};

export type BlogCategoryType = {
  id: string;
  title: string;
  iconUrl: string;
  createdAt: string;
  description: string;
};

export type CreateBlogCategoryType = {
  title: string;
  description: string;
  iconUrl: string;
  isActive: boolean;
};

export type BlogCommentType = {
  content: string;
  createdAt: string;
  id: string;
  status: string;
  title: string;
  updatedAt: string;
  user: {
    firstName: string;
    id: string;
    lastName: string;
    profilePic: string;
  };
  blog: {
    id: string;
    title: string;
  };
};
