feat: add proto file for grpc api in shared/ with generated types

This commit is contained in:
Aleksi Lassila
2026-01-31 23:28:43 +02:00
parent 35675e2544
commit 32cc4cf89b
24 changed files with 1211 additions and 101 deletions

View File

@@ -5,12 +5,14 @@
"types": "./dist/src/index.d.ts",
"private": true,
"scripts": {
"build": "tsc",
"build": "protoc --plugin=..\\node_modules\\.bin\\protoc-gen-ts_proto --ts_proto_out=.\\src --ts_proto_opt=outputEncodeMethods=false,outputJsonMethods=false,outputClientImpl=false --proto_path=. *.proto&& tsc",
"clean": "rm -rf dist"
},
"author": "",
"license": "ISC",
"devDependencies": {
"@protobuf-ts/protoc": "^2.11.1",
"ts-proto": "^2.11.1",
"typescript": "^5.2.2"
},
"description": "Shared types and utilities for Reiverr",