diff --git a/src/lib/grpc/registry/grpc.registry.ts b/src/lib/grpc/registry/grpc.registry.ts index a3b470a..085e217 100644 --- a/src/lib/grpc/registry/grpc.registry.ts +++ b/src/lib/grpc/registry/grpc.registry.ts @@ -15,5 +15,10 @@ export const GRPC_CLIENTS = { package: 'users.v1', protoPath: PROTO_PATHS.USERS, env: 'USERS_GRPC_URL' + }, + MEDIA_PACKAGE: { + package: 'media.v1', + protoPath: PROTO_PATHS.MEDIA, + env: 'MEDIA_GRPC_URL' } } as const; diff --git a/yarn.lock b/yarn.lock index 4ca4582..afc4f0c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -135,7 +135,15 @@ dotenv-expand "12.0.3" 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" resolved "https://registry.yarnpkg.com/@nestjs/microservices/-/microservices-11.1.16.tgz#6f445c44adcee88af983830e0667c93ccefe2869" integrity sha512-eG/ArIq0UJyR3i/GTYuApA4OZylhuLGacVaVT9mMxQgT7ZTpp5CZgOwLNdcUUdOS6qypK3waG1m2AC54xzdf0Q== @@ -144,9 +152,9 @@ tslib "2.8.1" "@teacinema/contracts@^1.1.3": - version "1.1.3" - resolved "https://git.ksv741.keenetic.pro/api/packages/teacinema/npm/%40teacinema%2Fcontracts/-/1.1.3/contracts-1.1.3.tgz#e08600a8dc09977dae35654d372e29e411029e33" - integrity sha512-kwcSh2YIxmoBJQ56L+tQpGj12ySwNwf9KRNcUqhPffLPO60PR5aiKA2eN2SfKc23TKp0YoSkdC9LWeor0a9Ysg== + version "1.1.7" + resolved "https://git.ksv741.keenetic.pro/api/packages/teacinema/npm/%40teacinema%2Fcontracts/-/1.1.7/contracts-1.1.7.tgz#8c298e7a811d91ae69dd4de05f1e3b351ea00542" + integrity sha512-KDXMAcux131gSS8f0/c0s0GHeWPz8DBSmVnR7UMnAG1j1jNjQxljn/M/XHBuARqUxuJD0l2ucJbFhvCDl+FKmg== dependencies: "@nestjs/microservices" "^11.1.12" protoc "33.4.0"