77 lines
1.8 KiB
TypeScript
77 lines
1.8 KiB
TypeScript
const CompanySelfEndpoints = [
|
||
"/company/list",
|
||
"/company/create",
|
||
"/company/update/{company_uu_id}",
|
||
];
|
||
|
||
const CompanyAllEndpoints = [
|
||
"/company/list",
|
||
"/company/create",
|
||
"/company/update/{company_uu_id}",
|
||
"/department/list",
|
||
"/department/create",
|
||
"/department/update/{department_uu_id}",
|
||
"/duties/list",
|
||
"/duties/create",
|
||
"/duties/update",
|
||
"/employee/list",
|
||
"/employee/create",
|
||
"/employee/update/{employee_uu_id}",
|
||
"/employee/employ",
|
||
"/employee/fire",
|
||
"/staff/list",
|
||
"/staff/create",
|
||
"/staff/update/{staff_uu_id}",
|
||
];
|
||
|
||
const CompanyPageInfo = {
|
||
tr: [
|
||
{
|
||
title: "Şirket Listesi",
|
||
icon: null,
|
||
description: "Şirketleri listeyebilirsiniz",
|
||
endpoint: "/company/list",
|
||
component: "Table",
|
||
},
|
||
{
|
||
title: "Şirket Ekle",
|
||
icon: "BadgePlus",
|
||
description: "Şirket oluşturma sayfasına hoş geldiniz",
|
||
endpoint: "/company/create",
|
||
component: "AddCreate2Table",
|
||
},
|
||
{
|
||
title: null,
|
||
icon: "Pencil",
|
||
description: "Şirket güncelleme sayfasına hoş geldiniz",
|
||
endpoint: "/company/update/{company_uu_id}",
|
||
component: "AddUpdate2Table",
|
||
},
|
||
],
|
||
en: [
|
||
{
|
||
title: "Company List",
|
||
icon: null,
|
||
description: "Welcome to the company update page",
|
||
endpoint: "/company/list",
|
||
component: "Table",
|
||
},
|
||
{
|
||
title: "Create Company",
|
||
icon: "BadgePlus",
|
||
description: "Welcome to the company creation page",
|
||
endpoint: "/company/create",
|
||
component: "AddCreate2Table",
|
||
},
|
||
{
|
||
title: "Update Company",
|
||
icon: "Pencil",
|
||
description: "Welcome to the company update page",
|
||
endpoint: "/company/update/{company_uu_id}",
|
||
component: "AddUpdate2Table",
|
||
},
|
||
],
|
||
};
|
||
|
||
export { CompanyAllEndpoints, CompanySelfEndpoints, CompanyPageInfo };
|