@cinemaaa/contracts
v1.0.3
Published
Protocol Buffer contracts for cinema backend services
Readme
Protocol Buffer Contracts
This directory contains Protocol Buffer definitions for the cinema backend services.
Setup
Install dependencies:
yarn installGenerate TypeScript Code
Generate TypeScript code from proto files:
yarn generateOr manually:
PATH="$(pwd)/node_modules/.bin:$PATH" protoc -I ./proto ./proto/*.proto --ts_proto_out=./gen --ts_proto_opt=nestJs=true,package=omitThe generated code will be output to the ./gen directory.
