Protocol Buffer contracts for cinema backend services
npm install @cinemaaa/contractsThis directory contains Protocol Buffer definitions for the cinema backend services.
Install dependencies:
``bash`
yarn install
Generate TypeScript code from proto files:
`bash`
yarn generate
Or manually:
`bash`
PATH="$(pwd)/node_modules/.bin:$PATH" protoc -I ./proto ./proto/*.proto --ts_proto_out=./gen --ts_proto_opt=nestJs=true,package=omit
The generated code will be output to the ./gen` directory.