1
0
Fork 0
mirror of https://github.com/anyproto/any-sync.git synced 2025-06-08 05:57:03 +09:00

Add object type to message for ignore purposes

# Conflicts:
#	commonspace/spacesyncproto/protos/spacesync.proto
#	commonspace/spacesyncproto/spacesync.pb.go
This commit is contained in:
Mikhail Rakhmanov 2025-04-03 11:57:45 +02:00
parent 9ae9722779
commit 12ea073b98
No known key found for this signature in database
GPG key ID: DED12CFEF5B8396B
8 changed files with 216 additions and 101 deletions

View file

@ -79,6 +79,7 @@ message ObjectSyncMessage {
string replyId = 3;
bytes payload = 4;
string objectId = 5;
ObjectType objectType = 6;
}
// SpacePushRequest is a request to add space on a node containing only one acl record
@ -200,4 +201,11 @@ message AclGetRecordsResponse {
enum DiffType {
Initial = 0;
Precalculated = 1;
}
}
// ObjectType is a type of object
enum ObjectType {
Tree = 0;
Acl = 1;
KeyValue = 2;
}