From 5aa19686578be7d8f3f2da0b842672e5e1c359c0 Mon Sep 17 00:00:00 2001 From: Lex Berezhny Date: Mon, 15 Apr 2019 14:48:12 -0400 Subject: [PATCH 1/2] initial import of support proto --- v2/proto/support.proto | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 v2/proto/support.proto diff --git a/v2/proto/support.proto b/v2/proto/support.proto new file mode 100644 index 0000000..928d51a --- /dev/null +++ b/v2/proto/support.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + +package pb; + +message Support { + oneof type { + Edit edit = 1; + Comment comment = 2; + } +} + +message Edit { + string key = 1; + string value = 2; +} + +message Comment { + string body = 1; +} -- 2.43.4 From d7ea08a219bb134919e6b00f7908f74f990387c8 Mon Sep 17 00:00:00 2001 From: Lex Berezhny Date: Fri, 5 Jun 2020 13:30:01 -0400 Subject: [PATCH 2/2] simplified support to just be a string as first value (emoji) --- v2/proto/support.proto | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/v2/proto/support.proto b/v2/proto/support.proto index 928d51a..5fa7e79 100644 --- a/v2/proto/support.proto +++ b/v2/proto/support.proto @@ -3,12 +3,16 @@ syntax = "proto3"; package pb; message Support { - oneof type { - Edit edit = 1; - Comment comment = 2; - } + string emoji = 1; + /* + oneof type { + Edit edit = 1; + Comment comment = 2; + } + */ } +/* message Edit { string key = 1; string value = 2; @@ -17,3 +21,4 @@ message Edit { message Comment { string body = 1; } +*/ -- 2.43.4