trying to implement use of 'any'

This commit is contained in:
Jeff Carr 2025-09-15 03:53:50 -05:00
parent ba36e04edf
commit d2ad8b348a
1 changed files with 10 additions and 1 deletions

View File

@ -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`