ADD: API_URL to env

ADD: DocumentUrls and mainImageUrls field in belonging model
FIX: Indexing bugs for belonging
ADD: getImage endpoint to get private images
ADD: PrivateUrl field as virtual
FIX: Minor bug in bucketDeleteFile service
ADD: Word type to multer file checker
This commit is contained in:
2025-04-27 16:17:17 +03:30
parent d7d2d98b6d
commit 4fc323cd16
8 changed files with 100 additions and 29 deletions
+2
View File
@@ -35,6 +35,8 @@ router.get('/bucket/get-files', perm.requires('getbucketfiles'), fileController.
router.get('/bucket/get-signed', perm.requires('getbucketfiles'), fileController.getSignedUrl)
router.get('/get-image/:bucketName/:fileName', perm.requires('getimages'), fileController.getImage);
router.delete('/bucket/delete-file/:bucketName', perm.requires('deletebucketfiles'), fileController.bucketDeleteFile)
router.get('/admin/get-all', perm.requires('getallfiles'), fileController.getAllFiles)