2023-08-15 15:27:01 +00:00
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
option go_package = "./;protobuf";
|
|
|
|
package protobuf;
|
|
|
|
|
|
|
|
import "communities.proto";
|
2023-08-15 17:42:40 +00:00
|
|
|
import "community_token.proto";
|
2023-08-15 15:27:01 +00:00
|
|
|
|
|
|
|
message CommunityPrivilegedUserSyncMessage {
|
|
|
|
uint64 clock = 1;
|
|
|
|
EventType type = 2;
|
|
|
|
bytes community_id = 3;
|
|
|
|
map<string,CommunityRequestToJoin> request_to_join = 4;
|
|
|
|
|
|
|
|
enum EventType {
|
|
|
|
UNKNOWN = 0;
|
|
|
|
CONTROL_NODE_ACCEPT_REQUEST_TO_JOIN = 1;
|
|
|
|
CONTROL_NODE_REJECT_REQUEST_TO_JOIN = 2;
|
|
|
|
}
|
|
|
|
}
|