Skip to content

Commit

Permalink
Regenerate protos
Browse files Browse the repository at this point in the history
  • Loading branch information
richardhuaaa committed Jul 31, 2024
1 parent 36320fa commit 37a9bd9
Show file tree
Hide file tree
Showing 14 changed files with 1,116 additions and 552 deletions.
5 changes: 5 additions & 0 deletions dev/docker/down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env sh
set -e
. dev/docker/env

docker_compose down
4 changes: 4 additions & 0 deletions dev/down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash
set -e

dev/docker/down
2 changes: 1 addition & 1 deletion dev/generate
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go generate ./...

# TODO: Generate mocks
rm -rf pkg/proto/**/*.pb.go pkg/proto/**/*.pb.gw.go pkg/proto/**/*.swagger.json
if ! buf generate https://github.com/xmtp/proto.git#branch=rich/xmtpv4,subdir=proto; then
if ! buf generate https://github.com/xmtp/proto.git#subdir=proto; then
echo "Failed to generate protobuf definitions"
exit 1
fi
4 changes: 2 additions & 2 deletions pkg/api/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ func NewReplicationApiService(ctx context.Context, log *zap.Logger) (message_api
return &Service{ctx: ctx, log: log}, nil
}

func (s *Service) SubscribeEnvelopes(req *message_api.BatchSubscribeEnvelopesRequest, server message_api.ReplicationApi_SubscribeEnvelopesServer) error {
return status.Errorf(codes.Unimplemented, "method SubscribeEnvelopes not implemented")
func (s *Service) BatchSubscribeEnvelopes(req *message_api.BatchSubscribeEnvelopesRequest, server message_api.ReplicationApi_BatchSubscribeEnvelopesServer) error {
return status.Errorf(codes.Unimplemented, "method BatchSubscribeEnvelopes not implemented")
}

func (s *Service) QueryEnvelopes(ctx context.Context, req *message_api.QueryEnvelopesRequest) (*message_api.QueryEnvelopesResponse, error) {
Expand Down
171 changes: 92 additions & 79 deletions pkg/proto/identity/associations/signature.pb.go

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions pkg/proto/message_contents/private_preferences.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 37a9bd9

Please sign in to comment.