Skip to content

Commit

Permalink
add missing files
Browse files Browse the repository at this point in the history
  • Loading branch information
d-roak committed Jul 25, 2024
1 parent 5688d27 commit a6d5b4d
Show file tree
Hide file tree
Showing 2 changed files with 223 additions and 0 deletions.
16 changes: 16 additions & 0 deletions packages/network/src/proto/messages.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
syntax = "proto3";
package topology.network;

message Message {
enum MessageType {
UPDATE = 0;
SYNC = 1;
SYNC_ACCEPT = 2;
SYNC_REJECT = 3;
}

string id = 1;
string sender = 2;
MessageType type = 3;
bytes data = 4;
}
207 changes: 207 additions & 0 deletions packages/network/src/proto/messages_pb.ts

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

0 comments on commit a6d5b4d

Please sign in to comment.