export interface CreateNewsCategoryPayload {
  id?: string;
  newsCategoryTitle: {
    am: string;
    en: string;
  };
  newsCategoryDescription: {
    am: string;
    en: string;
  };
  fileInfo: {
    fileName: string;
    contentType: string;
    size: number;
    originalname: string;
  };
  sortOrder?: number;
  isActive: boolean;
  color?: string;
}

export interface NewsCategoryItem {
  amharicCreatedAt: string;
  createdAt: string;
  updatedAt: string;
  id: string;
  newsCategoryTitle?: {
    am: string;
    en: string;
  };
  newsCategoryDescription?: {
    am: string;
    en: string;
  };
  fileInfo?: {
    fileName: string;
    contentType: string;
    size: number;
    originalname: string;
  };
  sortOrder?: number;
  isActive: boolean;
  presigned?: string;
  color?: string;
}
export interface NewsCategoryFormData {
  NewsCategoryTitleEn: string;
  NewsCategoryTitleAm: string;
  NewsCategoryDescriptionAm: string;
  NewsCategoryDescriptionEn: string;
  image: FileList;
  isActive: boolean;
  color: string;
}
export interface NewsCategoryResponse {
  count: number;
  items: NewsCategoryItem[];
}
