From dbf71f91ef8a365f33f3db359b13008c09998d31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=94=D0=BC=D0=B8=D1=82=D1=80=D0=B8=D0=B9?= Date: Thu, 2 Apr 2026 15:20:37 +0300 Subject: [PATCH] add support metadata from grpc typescript --- .github/workflows/publish.yml | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index ffa93a7..1ea98ad 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -50,7 +50,7 @@ jobs: npm install -g ts-proto mkdir -p ./gen/go # Создаем вложенную папку для Go protoc -I ./proto ./proto/*.proto \ - --ts_proto_out=nestJs=true,package=omit:./gen \ + --ts_proto_out=nestJs=true,addGrpcMetadata=true,package=omit:./gen \ --go_out=paths=source_relative:./gen/go \ --go-grpc_out=paths=source_relative:./gen/go diff --git a/package.json b/package.json index d991dc3..b0b5d49 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@lendry-erp/contracts", - "version": "1.0.26", + "version": "1.0.27", "description": "Protobuf definitions and generated TypeScript types", "type": "commonjs", "main": "./dist/index.js",