old version placed
This commit is contained in:
0
apimaps/company/iconSet.tsx
Normal file
0
apimaps/company/iconSet.tsx
Normal file
76
apimaps/company/pageInfo.ts
Normal file
76
apimaps/company/pageInfo.ts
Normal file
@@ -0,0 +1,76 @@
|
||||
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 };
|
||||
62
apimaps/company/subCategories.tsx
Normal file
62
apimaps/company/subCategories.tsx
Normal file
@@ -0,0 +1,62 @@
|
||||
const CompanyCategories = [
|
||||
{
|
||||
title: {
|
||||
tr: "Departmanlar",
|
||||
en: "Departments",
|
||||
},
|
||||
icon: "FolderOpenDot",
|
||||
component: null,
|
||||
selfEndpoints: [
|
||||
"/department/list",
|
||||
"/department/create",
|
||||
"/department/update/{department_uu_id}",
|
||||
],
|
||||
allEndpoints: [],
|
||||
subCategories: [],
|
||||
},
|
||||
{
|
||||
title: {
|
||||
tr: "Görevler",
|
||||
en: "Duties",
|
||||
},
|
||||
icon: "BriefcaseMedical",
|
||||
component: null,
|
||||
selfEndpoints: ["/duties/list", "/duties/create", "/duties/update"],
|
||||
allEndpoints: [],
|
||||
subCategories: [],
|
||||
},
|
||||
{
|
||||
title: {
|
||||
tr: "Çalışanlar",
|
||||
en: "Employees",
|
||||
},
|
||||
icon: "Pickaxe",
|
||||
component: null,
|
||||
selfEndpoints: [
|
||||
"/employee/list",
|
||||
"/employee/create",
|
||||
"/employee/update/{employee_uu_id}",
|
||||
"/employee/employ",
|
||||
"/employee/fire",
|
||||
],
|
||||
allEndpoints: [],
|
||||
subCategories: [],
|
||||
},
|
||||
{
|
||||
title: {
|
||||
tr: "Personel",
|
||||
en: "Staff",
|
||||
},
|
||||
icon: "BicepsFlexed",
|
||||
component: null,
|
||||
selfEndpoints: [
|
||||
"/staff/list",
|
||||
"/staff/create",
|
||||
"/staff/update/{staff_uu_id}",
|
||||
],
|
||||
allEndpoints: [],
|
||||
subCategories: [],
|
||||
},
|
||||
];
|
||||
|
||||
export { CompanyCategories };
|
||||
Reference in New Issue
Block a user