Skip to content

Commit 05e5a67

Browse files
authored
Add 'pay to chat' information to intents (#42)
* Add 'pay to chat' information to intents * move ChatId to common due to circular dependencies. Intents can reference a chat, and chat joining requires an intent.
1 parent 60afdf6 commit 05e5a67

19 files changed

Lines changed: 2060 additions & 1996 deletions

File tree

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,14 @@ generate: generate-go generate-protobuf-es
3535

3636
generate-go:
3737
@rm -rf $(PROTO_OUT_GO_DIR)/*
38+
@mkdir -p $(PROTO_OUT_GO_DIR)
3839
@docker run --rm -v $(PWD)/$(PROTO_DIR):/proto -v $(PWD)/$(PROTO_OUT_GO_DIR):/$(PROTO_OUT_GO_DIR) --user $(USER_ID):$(GROUP_ID) $(DOCKER_GO_BUILDER_IMAGE)
3940
@mv $(PROTO_OUT_GO_DIR)/github.com/code-payments/code-protobuf-api/generated/go/* $(PROTO_OUT_GO_DIR)
4041
@rm -rf $(PROTO_OUT_GO_DIR)/github.com
4142

4243
generate-protobuf-es:
4344
@rm -rf $(PROTO_OUT_PROTOBUF_ES_DIR)/*
45+
@mkdir -p $(PROTO_OUT_PROTOBUF_ES_DIR)
4446
@docker run --rm -v $(PWD)/$(PROTO_DIR):/proto -v $(PWD)/$(PROTO_OUT_PROTOBUF_ES_DIR):/genproto --user $(USER_ID):$(GROUP_ID) $(DOCKER_PROTOBUF_ES_BUILDER_IMAGE)
4547

4648
.PHONY: all clean go protobuf-es docker-build docker-build-go docker-build-protobuf-es generate generate-go generate-protobuf-es

generated/go/chat/v2/chat_service.pb.go

Lines changed: 750 additions & 812 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

generated/go/chat/v2/chat_service.pb.validate.go

Lines changed: 0 additions & 71 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)