import { SVGProps } from "react";

export type IconSvgProps = SVGProps<SVGSVGElement> & {
  size?: number;
};

export type SidebarMenuTask = {
  childMenu: any[];
  name: string;
  id: number;
  parentId: number;
  position: number;
  statusId: number;
  statusName: string;
};

export type Article = {
  id: number;
  title: string;
  articleCategory: string;
  updated_at: string;
  creator: string;
  source: string;
  status: string;
  actions: string;
};

export type MasterUser = {
  id: number;
  address: string;
  dateOfBirth: string;
  email: string;
  fullname: string;
  genderType: string;
  identityNumber: string;
  identityType: string;
  lastEducation: string;
  phoneNumber: string;
  userLevelsId: number;
  userRoleId: number;
  username: string;
  workType: string;
};

export type MasterUserRole = {
  id: number;
  name: string;
  description: string;
  code: string;
  level_number: number;
  status_id: number;
  created_by_id: string | number;
  is_active: true;
  created_at: string;
  updated_at: string;
};

export type PaginationRequest = {
  limit: string;
  page: number;
  search: string;
  startDate?: string;
  endDate?: string;
  isPublish?: boolean;
  category?: string;
};
