Files

34 lines
942 B
TypeScript

export const endpoints = {
apiServer: { url: 'http://192.168.50.205/api' },
test: { url: '/test' },
category: {
url: "/category",
name:"Kategorien",
new: { url: "/category/new" },
update: { url: "/category/update", param: "id" }
},
manufacturer: {
url: "/manufacturer",
new: { url: "/manufacturer/new",name:"Hersteller" },
update: { url: "/manufacturer/update", param: "id" }
},
article: {
url: "/catalog/article/",
new: { url: "/catalog/article/new" },
update: { url: "/catalog/article/", param: "id" }
},
stock: {
url: "/stock/movement/",
new: { url: "/stock/movement/new" },
update: { url: "/stock/", param: "id" }
},
location: {
url: "/locations",
name:"Lagerorte",
treeView:{
url:"/locations/childs",
name:"Get Tree View",
}
}
}