diff options
| author | Jeff Carr <[email protected]> | 2025-02-12 15:43:58 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-02-12 15:43:58 -0600 |
| commit | db0986fa06245a1173aa3a3b654e7df25117acdc (patch) | |
| tree | 0071ca6cb952f09d1e469c966b6bd00305440c09 /widget.proto | |
| parent | 6f5944d45f0857e6261c87bb351f59b770d6f861 (diff) | |
updates for a standard plugin code file
Diffstat (limited to 'widget.proto')
| -rw-r--r-- | widget.proto | 31 |
1 files changed, 17 insertions, 14 deletions
diff --git a/widget.proto b/widget.proto index 371c288..25265a7 100644 --- a/widget.proto +++ b/widget.proto @@ -5,32 +5,35 @@ syntax = "proto3"; package main; import "google/protobuf/timestamp.proto"; // Import the well-known type for Timestamp +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; + int64 id = 1; + string name = 2; + Size size = 3; + Location location = 4; + string color = 5; + google.protobuf.Any TK = 6; } 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; } |
