mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-13 18:21:16 +03:30
add package
This commit is contained in:
Vendored
+22
-1
@@ -8,6 +8,7 @@ const urls = {
|
||||
listFilterItemsTestResult : `/TestResults/ListFilterItems`,
|
||||
statistics : `/TestResults/chart`,
|
||||
storeTestType : "/TestTypes",
|
||||
storePackage : "/Packages",
|
||||
listTestTypeName : "/TestTypes/ListNames",
|
||||
getInputs : `/GetInputs`,
|
||||
forgotPassword : `/password/phone`,
|
||||
@@ -73,7 +74,27 @@ const urls = {
|
||||
deleteUser: function(userId) {
|
||||
return `Users/${userId}`;
|
||||
},
|
||||
|
||||
listPackage : function(filter) {
|
||||
return "/Packages" + filter;
|
||||
},
|
||||
showPackage : function(id) {
|
||||
return `/Packages/${id}` ;
|
||||
},
|
||||
editPackage : function(id) {
|
||||
return `/Packages/${id}/edit`;
|
||||
},
|
||||
updatePackage : function(id) {
|
||||
return `/Packages/${id}`;
|
||||
},
|
||||
removePackage: function(id) {
|
||||
return `Packages/${id}`;
|
||||
},
|
||||
verifyPackage : function(id) {
|
||||
return `/Package/Verify/${id}`;
|
||||
},
|
||||
Barcode : function(code) {
|
||||
return `/BarCode/${code}`;
|
||||
},
|
||||
|
||||
};
|
||||
export {urls};
|
||||
Reference in New Issue
Block a user