From 69807aaae5ebef44deeb17aeb8d1fc454277be86 Mon Sep 17 00:00:00 2001 From: Alex Grintsvayg Date: Thu, 14 Feb 2019 09:55:47 -0500 Subject: [PATCH] more changes --- proto/channel.proto | 4 ++++ proto/claim.proto | 5 ++--- proto/fee.proto | 7 +++---- proto/stream.proto | 7 +++---- 4 files changed, 12 insertions(+), 11 deletions(-) diff --git a/proto/channel.proto b/proto/channel.proto index db92a2b..347f853 100644 --- a/proto/channel.proto +++ b/proto/channel.proto @@ -4,4 +4,8 @@ package pb; message Channel { bytes public_key = 1; + string name = 2; + string description = 3; + string thumbnail_url = 4; // url or claim ID? + string cover_url = 5; // url or claim ID? } diff --git a/proto/claim.proto b/proto/claim.proto index 3e7b6e1..9362748 100644 --- a/proto/claim.proto +++ b/proto/claim.proto @@ -7,9 +7,8 @@ import "channel.proto"; message Claim { enum Type { - UNKNOWN = 0; - STREAM = 1; - CHANNEL = 2; + STREAM = 0; + CHANNEL = 1; } Type type = 1; // do we need this? diff --git a/proto/fee.proto b/proto/fee.proto index 9ecdbf8..9ba2851 100644 --- a/proto/fee.proto +++ b/proto/fee.proto @@ -4,10 +4,9 @@ package pb; message Fee { enum Currency { - UNKNOWN = 0; - LBC = 1; - BTC = 2; - USD = 3; + LBC = 0; + BTC = 1; + USD = 2; } Currency currency = 1; diff --git a/proto/stream.proto b/proto/stream.proto index 73a37e9..eb5d2cc 100644 --- a/proto/stream.proto +++ b/proto/stream.proto @@ -17,8 +17,7 @@ message Stream { Fee fee = 16; string license_url = 17; - string thumbnail = 18; - string preview = 19; - bool nsfw = 20; - uint32 duration = 21; + string thumbnail_url = 18; + uint32 duration = 19; + repeated string tags = 20; }