more changes

This commit is contained in:
Alex Grintsvayg 2019-02-14 09:55:47 -05:00
parent 4223fd24b4
commit 69807aaae5
No known key found for this signature in database
GPG key ID: AEB3F089F86A22B5
4 changed files with 12 additions and 11 deletions

View file

@ -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?
}

View file

@ -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?

View file

@ -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;

View file

@ -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;
}