update connect rpc methods
This commit is contained in:
parent
afa3a0608c
commit
15002b4e18
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -40,3 +40,4 @@ models/
|
|||
/out
|
||||
|
||||
/redmage
|
||||
gen/
|
||||
|
|
5
Makefile
5
Makefile
|
@ -14,6 +14,11 @@ export REDMAGE_RUNTIME_VERSION=$(shell echo "$${REDMAGE_RUNTIME_VERSION:-unknown
|
|||
|
||||
export GCO_ENABLED=0
|
||||
|
||||
generate:
|
||||
rm -rf ./gen/grpc
|
||||
cd proto
|
||||
buf generate
|
||||
|
||||
start: dev-dependencies web-dependencies migrate-up
|
||||
REDMAGE_RUNTIME_VERSION=$(shell git describe --tags --abbrev=0) air
|
||||
|
||||
|
|
24
flake.lock
24
flake.lock
|
@ -41,11 +41,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1694102001,
|
||||
"narHash": "sha256-vky6VPK1n1od6vXbqzOXnekrQpTL4hbPAwUhT5J9c9E=",
|
||||
"lastModified": 1709087332,
|
||||
"narHash": "sha256-HG2cCnktfHsKV0s4XW83gU3F57gaTljL9KNSuG6bnQs=",
|
||||
"owner": "hercules-ci",
|
||||
"repo": "gitignore.nix",
|
||||
"rev": "9e21c80adf67ebcb077d75bd5e7d724d21eeafd6",
|
||||
"rev": "637db329424fd7e46cf4185293b9cc8c88c95394",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -78,11 +78,11 @@
|
|||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1712192574,
|
||||
"narHash": "sha256-LbbVOliJKTF4Zl2b9salumvdMXuQBr2kuKP5+ZwbYq4=",
|
||||
"lastModified": 1722415718,
|
||||
"narHash": "sha256-5US0/pgxbMksF92k1+eOa8arJTJiPvsdZj9Dl+vJkM4=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "f480f9d09e4b4cf87ee6151eba068197125714de",
|
||||
"rev": "c3392ad349a5227f4a3464dce87bcc5046692fce",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -93,11 +93,11 @@
|
|||
},
|
||||
"nixpkgs_2": {
|
||||
"locked": {
|
||||
"lastModified": 1712437997,
|
||||
"narHash": "sha256-g0whLLwRvgO2FsyhY8fNk+TWenS3jg5UdlWL4uqgFeo=",
|
||||
"lastModified": 1710565619,
|
||||
"narHash": "sha256-xu/EnZCNdIj7m/QjCNIG5vrCA4TYg5uwFReb9XDxET0=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "e38d7cb66ea4f7a0eb6681920615dfcc30fc2920",
|
||||
"rev": "8ac30a39abc5ea67037dfbf090d6e89f187c6e50",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -159,11 +159,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1703164129,
|
||||
"narHash": "sha256-kCcCqqwvjN07H8FPG4tXsRVRcMqT8dUNt9pwW1kKAe8=",
|
||||
"lastModified": 1709043057,
|
||||
"narHash": "sha256-F/u9u1vevCUqgCz0WjcCOPcN+h9kLEP73nBqie86J2w=",
|
||||
"owner": "joerdav",
|
||||
"repo": "xc",
|
||||
"rev": "0655cccfcf036556aeaddfb8f45dc7e8dd1b3680",
|
||||
"rev": "52cfa7e7f2d5a0d97b45a6f69ff1403a901e78c6",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
@ -1,9 +1,8 @@
|
|||
version: v1
|
||||
name: buf.build/tigor/redmage
|
||||
version: v2
|
||||
plugins:
|
||||
- plugin: go
|
||||
- local: protoc-gen-go
|
||||
out: ../gen/grpc
|
||||
opt: paths=source_relative
|
||||
- plugin: go-grpc
|
||||
- local: protoc-gen-connect-go
|
||||
out: ../gen/grpc
|
||||
opt: paths=source_relative
|
||||
|
|
1
proto/buf.yaml
Normal file
1
proto/buf.yaml
Normal file
|
@ -0,0 +1 @@
|
|||
version: v2
|
Loading…
Reference in a new issue