summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-09-15 03:53:50 -0500
committerJeff Carr <[email protected]>2025-09-15 03:53:50 -0500
commitd2ad8b348ac3f918cbb7ac34a541aebc0b495910 (patch)
tree9636dc1a982d4ab426d06a0721dde53fb356fecc
parentba36e04edf770f76258aabd159e36866c71bb63e (diff)
trying to implement use of 'any'v0.0.15
-rw-r--r--table.proto11
1 files changed, 10 insertions, 1 deletions
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`