diff --git a/events.proto b/events.proto index 510ab72..9c1c8a4 100644 --- a/events.proto +++ b/events.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package witProto; +package witProtobuf; enum EventType { ADD = 0; @@ -10,15 +10,20 @@ enum EventType { MIGRATE = 5; } -message Event { - EventType type = 1; - string label = 2; - int32 id = 3; - repeated int64 reps = 4; -} message Result { - string url = 1; - string title = 2; + string name = 1; + string error = 2; repeated string snippets = 3; } + +message Event { + EventType type = 1; + int32 id = 2; + Result result = 3; + string name = 4; + + string comment = 5; + string email = 6; + repeated int64 reps = 7; +}