From 04e9faf0e346108de5244cd20971dce030ebc87f Mon Sep 17 00:00:00 2001 From: Lex Berezhny Date: Mon, 15 Apr 2019 14:48:12 -0400 Subject: [PATCH 01/28] 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.45.2 From 10a5d98e9b5c178e690a8583dbfb3eb56cfa6f75 Mon Sep 17 00:00:00 2001 From: Lex Berezhny Date: Fri, 19 Apr 2019 08:33:39 -0400 Subject: [PATCH 02/28] added channel.featured content list and renumbered types in Stream --- v2/proto/claim.proto | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/v2/proto/claim.proto b/v2/proto/claim.proto index 118776e..3e97606 100644 --- a/v2/proto/claim.proto +++ b/v2/proto/claim.proto @@ -25,10 +25,10 @@ message Stream { int64 release_time = 5; // seconds since UNIX epoch Fee fee = 6; oneof type { - Image image = 16; - Video video = 17; - Audio audio = 18; - Software software = 19; + Image image = 10; + Video video = 11; + Audio audio = 12; + Software software = 13; } } @@ -37,6 +37,7 @@ message Channel { string contact_email = 2; string homepage_url = 3; Source cover = 4; + ClaimList featured = 5; } message ClaimReference { @@ -61,7 +62,6 @@ message Source { string url = 5; bytes sd_hash = 6; - //Torrent bittorrent = 7; } message Fee { -- 2.45.2 From 0ca364efb57a87801f9ce009e3a54759e973528d Mon Sep 17 00:00:00 2001 From: Jeremy Kauffman Date: Fri, 19 Apr 2019 15:57:39 -0400 Subject: [PATCH 03/28] minor label changes --- v2/proto/claim.proto | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/v2/proto/claim.proto b/v2/proto/claim.proto index 3e97606..d88a10b 100644 --- a/v2/proto/claim.proto +++ b/v2/proto/claim.proto @@ -34,8 +34,8 @@ message Stream { message Channel { bytes public_key = 1; - string contact_email = 2; - string homepage_url = 3; + string email = 2; + string website_url = 3; Source cover = 4; ClaimList featured = 5; } -- 2.45.2 From 3af925981a5f248927451ea790a043c61833d09c Mon Sep 17 00:00:00 2001 From: Mark Beamer Jr Date: Sat, 20 Apr 2019 11:04:32 -0400 Subject: [PATCH 04/28] built libraries based on changes again --- v2/cpp/claim.pb.cc | 4685 ++++++++++++++++++++++++---------------- v2/cpp/claim.pb.h | 3989 +++++++++++++++++++--------------- v2/go/claim.pb.go | 1125 ++++++---- v2/js/claim_pb.js | 2718 ++++++++++++++--------- v2/python/claim_pb2.py | 715 +++--- 5 files changed, 7866 insertions(+), 5366 deletions(-) diff --git a/v2/cpp/claim.pb.cc b/v2/cpp/claim.pb.cc index a5fc5ce..216d079 100644 --- a/v2/cpp/claim.pb.cc +++ b/v2/cpp/claim.pb.cc @@ -26,12 +26,9 @@ class ClaimDefaultTypeInternal { _instance; const ::pb::Stream* stream_; const ::pb::Channel* channel_; + const ::pb::ClaimList* claim_list_; + const ::pb::ClaimReference* repost_; } _Claim_default_instance_; -class ChannelDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed - _instance; -} _Channel_default_instance_; class StreamDefaultTypeInternal { public: ::google::protobuf::internal::ExplicitlyConstructed @@ -39,17 +36,33 @@ class StreamDefaultTypeInternal { const ::pb::Image* image_; const ::pb::Video* video_; const ::pb::Audio* audio_; + const ::pb::Software* software_; } _Stream_default_instance_; +class ChannelDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed + _instance; +} _Channel_default_instance_; +class ClaimReferenceDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed + _instance; +} _ClaimReference_default_instance_; +class ClaimListDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed + _instance; +} _ClaimList_default_instance_; +class SourceDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed + _instance; +} _Source_default_instance_; class FeeDefaultTypeInternal { public: ::google::protobuf::internal::ExplicitlyConstructed _instance; } _Fee_default_instance_; -class FileDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed - _instance; -} _File_default_instance_; class ImageDefaultTypeInternal { public: ::google::protobuf::internal::ExplicitlyConstructed @@ -65,6 +78,11 @@ class AudioDefaultTypeInternal { ::google::protobuf::internal::ExplicitlyConstructed