fix: refs #7152 add supplier storage
gitea/salix/pipeline/pr-master This commit looks good Details

This commit is contained in:
Jon Elias 2024-04-04 08:16:37 +02:00
parent 016b314e0b
commit 3e044a8efe
2 changed files with 18 additions and 0 deletions

View File

@ -117,6 +117,21 @@
"video/mp4"
]
},
"supplierStorage": {
"name": "supplierStorage",
"connector": "loopback-component-storage",
"provider": "filesystem",
"root": "./storage/dms",
"maxFileSize": "31457280",
"allowedContentTypes": [
"image/png",
"image/jpeg",
"image/jpg",
"image/webp",
"video/mp4",
"application/pdf"
]
},
"accessStorage": {
"name": "accessStorage",
"connector": "loopback-component-storage",

View File

@ -8,6 +8,9 @@
"SupplierDms": {
"dataSource": "vn"
},
"SupplierContainer": {
"dataSource": "supplierStorage"
},
"SupplierAddress": {
"dataSource": "vn"
},