Home Cloud API specification. Generated from proto3 using ConnectRPC.
npm install @home-cloud/apiThis directory contains the API specification of the system. The spec is written in protocol buffers and compiled using Buf.
The easiest way to generate protos is using dctl:
``shell`you only need to run this the first time
dctl api init
dctl api build
Any time you want to regenerate your protos just run dctl api build again.
To use the generated files locally, you will need to add a replace to the go.mod of any service using the protobufs:
`go.mod
...
replace
...
``