old version placed
This commit is contained in:
0
apimaps/identity/iconSet.tsx
Normal file
0
apimaps/identity/iconSet.tsx
Normal file
22
apimaps/identity/pageInfo.ts
Normal file
22
apimaps/identity/pageInfo.ts
Normal file
@@ -0,0 +1,22 @@
|
||||
const IdentityAllEndpoints = [
|
||||
"/users/list",
|
||||
"/users/create",
|
||||
"/users/update/{user_uu_id}",
|
||||
"/people/list",
|
||||
"/people/create",
|
||||
"/people/update/{people_uu_id}",
|
||||
];
|
||||
|
||||
const IdentitySelfEndpoints = ["/users/list"];
|
||||
|
||||
const AddressAllEndpoints = [
|
||||
"/address/list",
|
||||
"/address/create",
|
||||
"/address/update",
|
||||
"/postcode/create",
|
||||
"/postcode/update",
|
||||
"/postcode/list",
|
||||
"/address/search",
|
||||
];
|
||||
|
||||
export { IdentityAllEndpoints, IdentitySelfEndpoints, AddressAllEndpoints };
|
||||
69
apimaps/identity/subCategories.tsx
Normal file
69
apimaps/identity/subCategories.tsx
Normal file
@@ -0,0 +1,69 @@
|
||||
import { AddressAllEndpoints } from "./pageInfo";
|
||||
import { PeoplePageInfo } from "../people/pageInfo";
|
||||
|
||||
const AddressSubCategories = [
|
||||
{
|
||||
title: {
|
||||
tr: "Posta Kodları",
|
||||
en: "Postcodes",
|
||||
},
|
||||
icon: "Container",
|
||||
component: null,
|
||||
selfEndpoints: ["/postcode/list", "/postcode/create", "/postcode/update"],
|
||||
allEndpoints: [],
|
||||
subCategories: [],
|
||||
},
|
||||
{
|
||||
title: {
|
||||
tr: "Adres Arama",
|
||||
en: "Address Search",
|
||||
},
|
||||
icon: "ScanSearch",
|
||||
component: null,
|
||||
selfEndpoints: ["/address/search", "/address/list"],
|
||||
allEndpoints: [],
|
||||
subCategories: [],
|
||||
},
|
||||
];
|
||||
|
||||
const IdentityCategories = [
|
||||
{
|
||||
title: {
|
||||
tr: "Kullanıcılar",
|
||||
en: "Users",
|
||||
},
|
||||
icon: "UserPlus",
|
||||
component: null,
|
||||
selfEndpoints: [
|
||||
"/users/list",
|
||||
"/users/create",
|
||||
"/users/update/{user_uu_id}",
|
||||
],
|
||||
allEndpoints: [],
|
||||
subCategories: [],
|
||||
},
|
||||
{
|
||||
title: {
|
||||
tr: "İnsanlar",
|
||||
en: "People",
|
||||
},
|
||||
icon: "PersonStanding",
|
||||
component: "PeoplePage",
|
||||
pageInfo: PeoplePageInfo,
|
||||
allEndpoints: [],
|
||||
subCategories: [],
|
||||
},
|
||||
{
|
||||
title: {
|
||||
tr: "Adresler",
|
||||
en: "Addresses",
|
||||
},
|
||||
icon: "MapPinned",
|
||||
component: null,
|
||||
selfEndpoints: ["/address/list", "/address/create", "/address/update"],
|
||||
allEndpoints: AddressAllEndpoints,
|
||||
subCategories: AddressSubCategories,
|
||||
},
|
||||
];
|
||||
|
||||
export { IdentityCategories };
|
||||
Reference in New Issue
Block a user