diff --git a/proto/desmos/profiles/legacy/v0163/models.proto b/proto/desmos/profiles/legacy/v0163/models.proto deleted file mode 100644 index 955c50ceac..0000000000 --- a/proto/desmos/profiles/legacy/v0163/models.proto +++ /dev/null @@ -1,106 +0,0 @@ -syntax = "proto3"; -package desmos.profiles.legacy.v0163; - -import "gogoproto/gogo.proto"; -import "google/protobuf/any.proto"; -import "google/protobuf/timestamp.proto"; -import "cosmos_proto/cosmos.proto"; - -option go_package = "github.com/desmos-labs/desmos/x/profiles/legacy/v0163"; - -// Pictures contains the data of a user profile's related pictures -message Pictures { - option (gogoproto.equal) = true; - option (gogoproto.goproto_stringer) = true; - - string profile = 1 [ (gogoproto.moretags) = "yaml:\"profile\"" ]; - string cover = 2 [ (gogoproto.moretags) = "yaml:\"cover\"" ]; -} - -// ___________________________________________________________________________________________________________________ - -// Profile represents a generic first on Desmos, containing the information of a -// single user -message Profile { - option (gogoproto.goproto_getters) = false; - option (gogoproto.goproto_stringer) = true; - - google.protobuf.Any account = 1 - [ (cosmos_proto.accepts_interface) = "AccountI" ]; - string dtag = 2 [ - (gogoproto.moretags) = "yaml:\"dtag\"", - (gogoproto.customname) = "DTag" - ]; - string nickname = 3 [ (gogoproto.moretags) = "yaml:\"nickname\"" ]; - string bio = 4 [ (gogoproto.moretags) = "yaml:\"bio\"" ]; - Pictures pictures = 5 [ - (gogoproto.nullable) = false, - (gogoproto.moretags) = "yaml:\"pictures\"" - ]; - google.protobuf.Timestamp creation_date = 6 [ - (gogoproto.stdtime) = true, - (gogoproto.moretags) = "yaml:\"creation_date\"", - (gogoproto.jsontag) = "creation_date", - (gogoproto.nullable) = false - ]; -} - -// ___________________________________________________________________________________________________________________ - -// DTagTransferRequest represent a DTag transfer request between two users -message DTagTransferRequest { - option (gogoproto.equal) = true; - option (gogoproto.goproto_stringer) = true; - - string dtag_to_trade = 1 [ - (gogoproto.moretags) = "yaml:\"dtag_to_trade\"", - (gogoproto.customname) = "DTagToTrade" - ]; - string sender = 2 [ (gogoproto.moretags) = "yaml:\"sender\"" ]; - string receiver = 3 [ (gogoproto.moretags) = "yaml:\"receiver\"" ]; -} - -// DTagTransferRequests contains a list of DTagTransferRequest -message DTagTransferRequests { - option (gogoproto.equal) = true; - option (gogoproto.goproto_stringer) = true; - - repeated DTagTransferRequest requests = 1 [ (gogoproto.nullable) = false ]; -} - -// ___________________________________________________________________________________________________________________ - -// Relationship is the struct of a relationship. -// It represent the concept of "follow" of traditional social networks. -message Relationship { - option (gogoproto.equal) = true; - option (gogoproto.goproto_stringer) = true; - - string creator = 1 [ (gogoproto.moretags) = "yaml:\"creator\"" ]; - string recipient = 2 [ (gogoproto.moretags) = "yaml:\"recipient\"" ]; - string subspace = 3 [ (gogoproto.moretags) = "yaml:\"subspace\"" ]; -} - -// Relationships wraps a list of Relationship objects -message Relationships { - repeated Relationship relationships = 1 [ (gogoproto.nullable) = false ]; -} - -// UserBlock represents the fact that the Blocker has blocked the given Blocked -// user. -message UserBlock { - option (gogoproto.equal) = true; - option (gogoproto.goproto_stringer) = true; - - string blocker = 1 [ (gogoproto.moretags) = "yaml:\"blocker\"" ]; - string blocked = 2 [ (gogoproto.moretags) = "yaml:\"blocked\"" ]; - string reason = 3 [ - (gogoproto.moretags) = "yaml:\"reason\"" - ]; // Reason the user has been blocked for (optional). - string subspace = 4 [ (gogoproto.moretags) = "yaml:\"subspace\"" ]; -} - -// UserBlocks wraps a list of UserBlock objects -message UserBlocks { - repeated UserBlock blocks = 1 [ (gogoproto.nullable) = false ]; -} \ No newline at end of file