feat: add media grpc

This commit is contained in:
Sergey Krylov 2026-04-01 06:53:27 +03:00
parent 4c325ed4f7
commit 58fe189d01
2 changed files with 17 additions and 4 deletions

View File

@ -15,5 +15,10 @@ export const GRPC_CLIENTS = {
package: 'users.v1', package: 'users.v1',
protoPath: PROTO_PATHS.USERS, protoPath: PROTO_PATHS.USERS,
env: 'USERS_GRPC_URL' env: 'USERS_GRPC_URL'
},
MEDIA_PACKAGE: {
package: 'media.v1',
protoPath: PROTO_PATHS.MEDIA,
env: 'MEDIA_GRPC_URL'
} }
} as const; } as const;

View File

@ -135,7 +135,15 @@
dotenv-expand "12.0.3" dotenv-expand "12.0.3"
lodash "4.17.23" lodash "4.17.23"
"@nestjs/microservices@^11.1.12", "@nestjs/microservices@^11.1.16": "@nestjs/microservices@^11.1.12":
version "11.1.17"
resolved "https://registry.yarnpkg.com/@nestjs/microservices/-/microservices-11.1.17.tgz#f2b1aa25e24532377477a437583f1af002118602"
integrity sha512-rubBPEEXS9PwA3LwdNN/ytjEUmON+d8+4fbiUCIFGW8i+rR/g36vrpwuvoAzcGpxlu45/TpZPfHTb0nJciG9Yw==
dependencies:
iterare "1.2.1"
tslib "2.8.1"
"@nestjs/microservices@^11.1.16":
version "11.1.16" version "11.1.16"
resolved "https://registry.yarnpkg.com/@nestjs/microservices/-/microservices-11.1.16.tgz#6f445c44adcee88af983830e0667c93ccefe2869" resolved "https://registry.yarnpkg.com/@nestjs/microservices/-/microservices-11.1.16.tgz#6f445c44adcee88af983830e0667c93ccefe2869"
integrity sha512-eG/ArIq0UJyR3i/GTYuApA4OZylhuLGacVaVT9mMxQgT7ZTpp5CZgOwLNdcUUdOS6qypK3waG1m2AC54xzdf0Q== integrity sha512-eG/ArIq0UJyR3i/GTYuApA4OZylhuLGacVaVT9mMxQgT7ZTpp5CZgOwLNdcUUdOS6qypK3waG1m2AC54xzdf0Q==
@ -144,9 +152,9 @@
tslib "2.8.1" tslib "2.8.1"
"@teacinema/contracts@^1.1.3": "@teacinema/contracts@^1.1.3":
version "1.1.3" version "1.1.7"
resolved "https://git.ksv741.keenetic.pro/api/packages/teacinema/npm/%40teacinema%2Fcontracts/-/1.1.3/contracts-1.1.3.tgz#e08600a8dc09977dae35654d372e29e411029e33" resolved "https://git.ksv741.keenetic.pro/api/packages/teacinema/npm/%40teacinema%2Fcontracts/-/1.1.7/contracts-1.1.7.tgz#8c298e7a811d91ae69dd4de05f1e3b351ea00542"
integrity sha512-kwcSh2YIxmoBJQ56L+tQpGj12ySwNwf9KRNcUqhPffLPO60PR5aiKA2eN2SfKc23TKp0YoSkdC9LWeor0a9Ysg== integrity sha512-KDXMAcux131gSS8f0/c0s0GHeWPz8DBSmVnR7UMnAG1j1jNjQxljn/M/XHBuARqUxuJD0l2ucJbFhvCDl+FKmg==
dependencies: dependencies:
"@nestjs/microservices" "^11.1.12" "@nestjs/microservices" "^11.1.12"
protoc "33.4.0" protoc "33.4.0"