From 3913367e8ad391b21295cc33c6dde96c596f5ee7 Mon Sep 17 00:00:00 2001 From: Lex Berezhny Date: Mon, 25 Mar 2019 11:08:46 -0400 Subject: [PATCH] put stream types into oneof --- v2/proto/claim.proto | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/v2/proto/claim.proto b/v2/proto/claim.proto index 3b1d633..db4efb5 100644 --- a/v2/proto/claim.proto +++ b/v2/proto/claim.proto @@ -41,9 +41,11 @@ message Stream { Fee fee = 14; File file = 15; - Image image = 16; - Video video = 17; - Audio audio = 18; + oneof type { + Image image = 16; + Video video = 17; + Audio audio = 18; + } } message Fee {