status-go/protocol/protobuf/profile_showcase.proto
Mikhail Rogachev 03c32f620f
feat: Profile showcase data sharing (#4209)
* feat: Add profile showcase messaging part with ecrypted data

* feat: Separate profile showcase categories to provide ablity to store custom data

* fix: review fixes

* feat: move profile showcase out of contact data

* fix: create index on contact id for profile tables

* chore: remove logger from link preview
2023-11-09 22:59:01 +04:00

46 lines
990 B
Protocol Buffer

syntax = "proto3";
option go_package = "./;protobuf";
package protobuf;
message ProfileShowcaseCommunity {
string community_id = 1;
uint32 order = 2;
}
message ProfileShowcaseAccount {
string address = 1;
string name = 2;
string color_id = 3;
string emoji = 4;
uint32 order = 5;
}
message ProfileShowcaseCollectible {
string uid = 1;
uint32 order = 2;
}
message ProfileShowcaseAsset {
string symbol = 1;
uint32 order = 2;
}
message ProfileShowcaseEntries {
repeated ProfileShowcaseCommunity communities = 1;
repeated ProfileShowcaseAccount accounts = 2;
repeated ProfileShowcaseCollectible collectibles = 3;
repeated ProfileShowcaseAsset assets = 4;
}
message ProfileShowcaseEntriesEncrypted {
bytes encrypted_entries = 1;
repeated bytes encryption_keys = 2;
}
message ProfileShowcase {
ProfileShowcaseEntries for_everyone = 1;
ProfileShowcaseEntriesEncrypted for_contacts = 2;
ProfileShowcaseEntriesEncrypted for_id_verified_contacts = 3;
}