syntax = "proto3"; package anytype; option go_package = "syncpb"; import "pkg/acl/aclchanges/aclpb/protos/aclchanges.proto"; message Sync { message HeadUpdate { repeated string heads = 1; repeated acl.RawChange changes = 2; string treeId = 3; repeated string snapshotPath = 4; } message Full { // here with send the request with all changes we have (we already know sender's snapshot path) message Request { repeated string heads = 1; repeated acl.RawChange changes = 2; string treeId = 3; repeated string snapshotPath = 4; } message Response { repeated string heads = 1; repeated acl.RawChange changes = 2; string treeId = 3; repeated string snapshotPath = 4; } } }