diff options
| author | Jeff Carr <[email protected]> | 2025-02-19 03:23:31 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-02-19 17:39:45 -0600 |
| commit | b2cdb562af05cb13493232c547dea95f22733c54 (patch) | |
| tree | 1765179b534dd66176398ef9903a444228f44406 | |
| parent | b304d01e0c56d7899185ce22604a35e73b007a16 (diff) | |
trim stuff that isn't really used
| -rw-r--r-- | table.proto | 2 | ||||
| -rw-r--r-- | widget.proto | 32 |
2 files changed, 18 insertions, 16 deletions
diff --git a/table.proto b/table.proto index 424c8b2..d3b76cf 100644 --- a/table.proto +++ b/table.proto @@ -12,7 +12,7 @@ import "widget.proto"; // Import the well-known type for Timestamp message StringRow { string header = 1; // repeated string vals = 2; // - repeated Widget widgetS = 3; // + repeated Widget widgets = 3; // } message IntRow { diff --git a/widget.proto b/widget.proto index 96c799b..6986617 100644 --- a/widget.proto +++ b/widget.proto @@ -9,31 +9,33 @@ import "google/protobuf/any.proto"; // Import 'Any' message Size { - int64 width = 1; - int64 height = 2; + int64 width = 1; + int64 height = 2; } message Location { - int64 x = 1; - int64 y = 2; + int64 x = 1; + int64 y = 2; } message Tree { - Widget parent = 1; - repeated Widget children = 2; + Widget parent = 1; + repeated Widget children = 2; } message Widget { - int64 id = 1; - string name = 2; - Size size = 3; - Location location = 4; - string color = 5; - google.protobuf.Any TK = 6; + int64 id = 1; + string name = 2; + int64 size = 3; + // Size size = 3; + // Location location = 4; + // string color = 5; + // google.protobuf.Any TK = 6; + // google.protobuf.Any val = 7; } message Widgets { - string uuid = 1; // `autogenpb:uuid:0331fcd7-3c8c-43e4-be1b-77db6a6bc58c` - string version = 2; // `autogenpb:version:v1` - repeated Widget Widgets = 3; + string uuid = 1; // `autogenpb:uuid:0331fcd7-3c8c-43e4-be1b-77db6a6bc58c` + string version = 2; // `autogenpb:version:v1` + repeated Widget Widgets = 3; } |
