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:
parent
9ae9722779
commit
12ea073b98
8 changed files with 216 additions and 101 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue