mirror of
https://github.com/anyproto/any-sync.git
synced 2025-06-08 05:57:03 +09:00
ACLState refactoring
This commit is contained in:
parent
9f0828a56a
commit
c00ea331dc
17 changed files with 506 additions and 606 deletions
|
@ -20,7 +20,7 @@ type Change struct {
|
|||
SnapshotId string
|
||||
IsSnapshot bool
|
||||
Timestamp int64
|
||||
ReadKeyHash uint64
|
||||
ReadKeyId string
|
||||
Identity string
|
||||
Data []byte
|
||||
Model interface{}
|
||||
|
@ -38,7 +38,7 @@ func NewChange(id string, ch *treechangeproto.TreeChange, signature []byte) *Cha
|
|||
PreviousIds: ch.TreeHeadIds,
|
||||
AclHeadId: ch.AclHeadId,
|
||||
Timestamp: ch.Timestamp,
|
||||
ReadKeyHash: ch.CurrentReadKeyHash,
|
||||
ReadKeyId: ch.ReadKeyId,
|
||||
Id: id,
|
||||
Data: ch.ChangesData,
|
||||
SnapshotId: ch.SnapshotBaseId,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue