diff --git a/table.proto b/table.proto index 15ff5a5..3999482 100644 --- a/table.proto +++ b/table.proto @@ -5,6 +5,7 @@ syntax = "proto3"; package gitpb; import "google/protobuf/timestamp.proto"; // Import the well-known type for Timestamp +import "google/protobuf/any.proto"; // Import the well-known type for Timestamp import "widget.proto"; // Import the well-known type for Timestamp // @@ -64,6 +65,13 @@ message BoolCol { repeated bool vals = 4; // deprecate } +message AnyCol { + Widget header = 1; + repeated Widget widgets = 2; + ColAttr attr = 3; + repeated google.protobuf.Any vals = 4; // deprecate +} + message Table { // `autogenpb:marshal` string uuid = 1; string title = 2; @@ -75,7 +83,8 @@ message Table { // `autogenpb: repeated TimeCol timeCols = 8; repeated BoolCol boolCols = 9; repeated ButtonCol buttonCols = 10; - int64 height = 11; // the number of rows + repeated AnyCol anyCols = 11; + int64 height = 12; // the number of rows } message Tables { // `autogenpb:marshal`