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;
|
2023-08-15 17:42:40 +00:00
|
|
|
repeated CommunityToken community_tokens = 5;
|
2023-08-15 15:27:01 +00:00
|
|
|
|
|
|
|
enum EventType {
|
|
|
|
UNKNOWN = 0;
|
|
|
|
CONTROL_NODE_ACCEPT_REQUEST_TO_JOIN = 1;
|
|
|
|
CONTROL_NODE_REJECT_REQUEST_TO_JOIN = 2;
|
2023-08-15 17:42:40 +00:00
|
|
|
ADD_COMMUNITY_TOKENS = 3;
|
2023-08-15 15:27:01 +00:00
|
|
|
}
|
|
|
|
}
|