Feat: Implement image upload and refine API infrastructure
Introduces a new `ImageModule` to handle image uploads, utilizing Minio for object storage and NATS for triggering asynchronous derivative generation workflows. Enhances the NATS client with improved connection reliability, graceful shutdown, and a simplified `publish` method for outgoing messages. Refines JWT verification for Microsoft Entra ID, including robust JWKS handling, better type safety for claims, and improved error logging to ensure secure authentication. Updates Swagger documentation with the API server URL and Bearer (OpenID Connect) authentication scheme for better discoverability and easier client integration. Enables global CORS to allow cross-origin requests to the API. Adds `minio`, `temporal-polyfill`, and `@types/multer` dependencies to support these new functionalities.
This commit is contained in:
1 parent
d6b9477094
commit
6aec3e91b8
13 files changed
+740
-41
No files matched your search
+4
-1
@@ -27,10 +27,12 @@
|
||||
"@nestjs/platform-express": "^11.0.1",
|
||||
"@nestjs/swagger": "^11.2.1",
|
||||
"jose": "^6.1.0",
|
||||
"minio": "^8.0.6",
|
||||
"mongoose": "^8.19.3",
|
||||
"nats": "^2.29.3",
|
||||
"reflect-metadata": "^0.2.2",
|
||||
"rxjs": "^7.8.1"
|
||||
"rxjs": "^7.8.1",
|
||||
"temporal-polyfill": "^0.3.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@eslint/eslintrc": "^3.2.0",
|
||||
@@ -40,6 +42,7 @@
|
||||
"@nestjs/testing": "^11.0.1",
|
||||
"@types/express": "^5.0.0",
|
||||
"@types/jest": "^30.0.0",
|
||||
"@types/multer": "^2.0.0",
|
||||
"@types/node": "^22.10.7",
|
||||
"@types/supertest": "^6.0.2",
|
||||
"eslint": "^9.18.0",
|
||||
|
||||
Reference in new issue
Block a user