import {
  DecisionBookAllEndpoints,
  DecisionBookItemAllEndpoints,
  ProjectBookItemsAllEndpoints,
} from "./pageInfo";

const DecisionBookCategories = [
  {
    title: {
      tr: "Kararlar",
      en: "Decisions",
    },
    icon: "Stamp",
    component: null,
    selfEndpoints: [
      "/build/decision_book/items/list",
      "/build/decision_book/items/create",
      "/build/decision_book/items/update/{decision_book_item_uu_id}",
    ],
    allEndpoints: [],
    subCategories: [],
  },
  {
    title: {
      tr: "Karar Defteri Kişiler",
      en: "Decision Book People",
    },
    icon: "FolderCheck",
    component: null,
    selfEndpoints: [
      "/build/decision_book/people/list",
      "/build/decision_book/people/add",
      "/build/decision_book/people/remove",
    ],
    allEndpoints: [],
    subCategories: [],
  },
];

const ProjectBookItemsCategories = [
  {
    title: {
      tr: "Proje Dosya İşlemleri",
      en: "Project File Operations",
    },
    icon: "FolderKey",
    component: null,
    selfEndpoints: [
      "/build/decision_book/project/items/list",
      "/build/decision_book/project/items/create",
      "/build/decision_book/project/items/update/{project_item_uu_id}",
    ],
    allEndpoints: [],
    subCategories: [],
  },
  {
    title: {
      tr: "Proje Dosya Kişiler",
      en: "Project File People",
    },
    icon: "FolderCog",
    component: null,
    selfEndpoints: [
      "/build/decision_book/project/people/list",
      "/build/decision_book/project/people/create",
      "/build/decision_book/project/people/update/{project_people_uu_id}",
    ],
    allEndpoints: [],
    subCategories: [],
  },
];

const DecisionBookSubCategories = [
  {
    name: "DecisionsPage",
    title: {
      tr: "Kararlar",
      en: "Decisions",
    },
    icon: "ScrollText",
    url: "/decisions/decision-book",
    allEndpoints: DecisionBookItemAllEndpoints,
    subCategories: DecisionBookCategories,
  },
  {
    name: "ProjectsPage",
    title: {
      tr: "Proje Dosyaları",
      en: "Project Files",
    },
    icon: "Projector",
    url: "/decisions/projects",
    allEndpoints: ProjectBookItemsAllEndpoints,
    subCategories: ProjectBookItemsCategories,
  },
];

export { DecisionBookSubCategories };
