diff options
Diffstat (limited to 'bug.proto')
| -rw-r--r-- | bug.proto | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/bug.proto b/bug.proto new file mode 100644 index 0000000..5bed185 --- /dev/null +++ b/bug.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + +// protobufs for git-bug + +package bugpb; + +// import "google/protobuf/timestamp.proto"; // Import the well-known type for Timestamp +import "google/protobuf/any.proto"; // Import 'Any' + +message Bug { + string uuid = 1; + string name = 2; +} + +message Bugs { // `autogenpb:marshal` + string uuid = 1; // `autogenpb:uuid:cdf6711e-f948-4376-9e72-cf1912a96cee` + string version = 2; // `autogenpb:version:v1` + repeated Bug Bugs = 3; // this never gets used, but it's not worth violating the autogenpb standard +} |
