Skip to content

Commit

Permalink
Update proto files
Browse files Browse the repository at this point in the history
  • Loading branch information
any-association committed Nov 6, 2024
1 parent 11b02e2 commit 8e7c90c
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions changes.proto
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,6 @@ import "google/protobuf/struct.proto";

// the element of change tree used to store and internal apply smartBlock history
message Change {
// ids of previous changes
repeated string previous_ids = 1;
// id of the last snapshot
string last_snapshot_id = 2;
// ids of the last changes with details/relations content
repeated string previous_meta_ids = 5;
// set of actions to apply
repeated Content content = 3;
// snapshot - when not null, the Content will be ignored
Expand Down Expand Up @@ -181,6 +175,16 @@ message Change {
}
}

message ChangeNoSnapshot {
// set of actions to apply
repeated Change.Content content = 3;
// file keys related to changes content
repeated Change.FileKeys fileKeys = 6;
// creation timestamp
int64 timestamp = 7;
// version of business logic
uint32 version = 8;
}

message StoreChange {
repeated StoreChangeContent changeSet = 1;
Expand Down

0 comments on commit 8e7c90c

Please sign in to comment.