ADD: TsApiFeatures

ADD: Typesense
ADD: Index all belongings router, controller & service
This commit is contained in:
2024-12-31 22:49:43 +03:30
parent a8f8095948
commit ef504f3775
5 changed files with 291 additions and 0 deletions
+2
View File
@@ -11,6 +11,8 @@ router.get('/admin/get-all', perm.requires('getallbelongings'), belongingControl
router.post('/admin/create', perm.requires('createabelonging'), belongingController.createBelonging)
router.post('/admin/index-all', perm.requires('indexbelongings', belongingController.indexAllBelongings))
router.get('/admin/get-one/:belongingId', perm.requires('getabelonging'), belongingController.getBelonging)
router.put('/admin/update/:belongingId', perm.requires('updateabelonging'), belongingController.updateBelonging)