feat(protobuf): introduce `CommunityTokenType` enum

This is a shared enum type that will be used by `CommunityDescription`
and community token permission protobuf (introduced in a future commit).
This commit is contained in:
Pascal Precht 2023-03-02 17:19:19 +01:00 committed by r4bbit
parent beeef4c5e7
commit 2ef10f23e5
4 changed files with 141 additions and 98 deletions

View File

@ -1266,7 +1266,7 @@ func init() {
}
var fileDescriptor_f937943d74c1cd8b = []byte{
// 1404 bytes of a gzipped FileDescriptorProto
// 1411 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x57, 0xcd, 0x6f, 0x1b, 0x45,
0x14, 0xef, 0xfa, 0x23, 0xb6, 0x9f, 0xed, 0xd4, 0x99, 0x36, 0xc9, 0x36, 0xfd, 0x88, 0xbb, 0x80,
0x94, 0x0a, 0xe1, 0xaa, 0xa9, 0x90, 0x2a, 0xbe, 0x5a, 0x37, 0xb5, 0x8a, 0x69, 0x62, 0xb7, 0x13,
@ -1275,84 +1275,85 @@ var fileDescriptor_f937943d74c1cd8b = []byte{
0x66, 0xf6, 0xc3, 0xeb, 0xaf, 0xb4, 0x52, 0x85, 0xc4, 0xc9, 0xf3, 0xde, 0xbe, 0xf7, 0x7b, 0xdf,
0xf3, 0xc6, 0xb0, 0xe6, 0xf8, 0x83, 0xc1, 0x88, 0x33, 0xc9, 0xa8, 0x68, 0x0c, 0x03, 0x5f, 0xfa,
0xa8, 0xa8, 0x7f, 0x8e, 0x47, 0x27, 0x5b, 0x57, 0x9c, 0x53, 0x22, 0x6d, 0xe6, 0x52, 0x2e, 0x99,
0x1c, 0x87, 0x9f, 0xad, 0x73, 0xc8, 0x3f, 0x0d, 0x08, 0x97, 0xe8, 0x36, 0x54, 0x62, 0xe5, 0xb1,
0xcd, 0x5c, 0xd3, 0xa8, 0x1b, 0x3b, 0x15, 0x5c, 0x4e, 0x78, 0x6d, 0x17, 0x5d, 0x87, 0xd2, 0x80,
0x0e, 0x8e, 0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0x21, 0x68, 0x19, 0xf5, 0x14, 0x55, 0x5b, 0x6f, 0x7d, 0x21, 0x02, 0x4e, 0xc4, 0xac, 0x3f,
0x0c, 0xd8, 0x9e, 0xc7, 0x6e, 0x73, 0x97, 0x7e, 0xff, 0x16, 0xb9, 0x7a, 0x77, 0x97, 0x37, 0x60,
0xc5, 0x3f, 0x39, 0x11, 0x54, 0x46, 0xd9, 0x8d, 0x28, 0x55, 0x05, 0xc1, 0x7e, 0xa0, 0xd1, 0x9f,
0x2d, 0x7d, 0x9e, 0xed, 0x91, 0x5c, 0xd2, 0x23, 0xd6, 0x9f, 0x06, 0x6c, 0x2e, 0x89, 0x02, 0x3d,
0x83, 0x62, 0xf4, 0xc0, 0x8c, 0x9f, 0x02, 0x77, 0x2f, 0xf2, 0x51, 0x2b, 0x35, 0x22, 0x22, 0x7a,
0x15, 0x24, 0x00, 0x5b, 0x27, 0x50, 0x9d, 0xfa, 0xb4, 0x60, 0xc9, 0x3e, 0x9c, 0x5e, 0xb2, 0x77,
0xde, 0x68, 0x2c, 0xc9, 0xca, 0x64, 0xe9, 0x3e, 0xae, 0xbe, 0x2e, 0x37, 0xee, 0x7e, 0x1a, 0x6b,
0x1e, 0xaf, 0xe8, 0xd3, 0xfd, 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, 0x07, 0x30, 0x39, 0xf5, 0x25,
0x0f, 0x00, 0x00,
}

View File

@ -2,6 +2,7 @@ syntax = "proto3";
option go_package = "./;protobuf";
import "chat_identity.proto";
import "enums.proto";
package protobuf;

View File

@ -97,9 +97,41 @@ func (ImageType) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_888b6bd9597961ff, []int{1}
}
type CommunityTokenType int32
const (
CommunityTokenType_UNKNOWN_TOKEN_TYPE CommunityTokenType = 0
CommunityTokenType_ERC20 CommunityTokenType = 1
CommunityTokenType_ERC721 CommunityTokenType = 2
CommunityTokenType_ENS CommunityTokenType = 3
)
var CommunityTokenType_name = map[int32]string{
0: "UNKNOWN_TOKEN_TYPE",
1: "ERC20",
2: "ERC721",
3: "ENS",
}
var CommunityTokenType_value = map[string]int32{
"UNKNOWN_TOKEN_TYPE": 0,
"ERC20": 1,
"ERC721": 2,
"ENS": 3,
}
func (x CommunityTokenType) String() string {
return proto.EnumName(CommunityTokenType_name, int32(x))
}
func (CommunityTokenType) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_888b6bd9597961ff, []int{2}
}
func init() {
proto.RegisterEnum("protobuf.MessageType", MessageType_name, MessageType_value)
proto.RegisterEnum("protobuf.ImageType", ImageType_name, ImageType_value)
proto.RegisterEnum("protobuf.CommunityTokenType", CommunityTokenType_name, CommunityTokenType_value)
}
func init() {
@ -107,21 +139,23 @@ func init() {
}
var fileDescriptor_888b6bd9597961ff = []byte{
// 241 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x5c, 0xd0, 0xbd, 0x4e, 0xc3, 0x40,
0x0c, 0x07, 0x70, 0xd2, 0x84, 0xb6, 0x38, 0xb4, 0x32, 0x16, 0xaa, 0x18, 0x18, 0x98, 0x3b, 0x94,
0x81, 0x91, 0x29, 0x89, 0xcc, 0x71, 0xc0, 0x7d, 0xa8, 0xb9, 0x50, 0x85, 0xe5, 0x44, 0xa5, 0x83,
0xa9, 0xb4, 0x22, 0x74, 0xe0, 0x95, 0x78, 0x4a, 0xd4, 0x88, 0x20, 0xe8, 0xe4, 0xbf, 0x2c, 0xdb,
0xfa, 0xc9, 0x90, 0x86, 0xb7, 0xed, 0xaa, 0x99, 0x6d, 0xde, 0xd7, 0x1f, 0x6b, 0x1a, 0xb6, 0x65,
0xb9, 0x7d, 0x99, 0x7e, 0x45, 0x90, 0xaa, 0xd0, 0x34, 0xcf, 0xaf, 0xc1, 0x7d, 0x6e, 0x02, 0x9d,
0xc1, 0x69, 0xa5, 0xef, 0xb5, 0x59, 0x68, 0xaf, 0xb8, 0x2c, 0x33, 0xc1, 0xde, 0xd5, 0x96, 0xf1,
0x80, 0xc6, 0x00, 0x46, 0xb3, 0x77, 0xc6, 0x1b, 0xcd, 0x18, 0x11, 0xc2, 0xb1, 0xad, 0xf2, 0x07,
0x59, 0x78, 0x31, 0x37, 0x95, 0xc5, 0x1e, 0x9d, 0xc0, 0xc8, 0xce, 0xe5, 0x63, 0xe6, 0xf8, 0xa7,
0x15, 0xd3, 0x05, 0x9c, 0x97, 0x75, 0xe9, 0x58, 0xfd, 0x5e, 0xfb, 0x3f, 0x91, 0x10, 0xc1, 0xb8,
0x30, 0x4a, 0x55, 0x5a, 0xba, 0xda, 0x17, 0xb7, 0x99, 0xc3, 0x43, 0x9a, 0x00, 0xed, 0x6d, 0x89,
0xcc, 0x62, 0x7f, 0x2a, 0xe1, 0x48, 0xae, 0x3a, 0xe9, 0x04, 0xa8, 0x93, 0x4a, 0xf5, 0xc7, 0x39,
0x80, 0xd8, 0x6a, 0x81, 0x11, 0x0d, 0x21, 0xb9, 0xb3, 0x2c, 0xb0, 0xb7, 0x4b, 0x0b, 0xce, 0x77,
0x9e, 0x01, 0xc4, 0x42, 0xde, 0x60, 0x92, 0x8f, 0x9e, 0xd2, 0xd9, 0xe5, 0x75, 0xf7, 0x86, 0x65,
0xbf, 0x4d, 0x57, 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, 0xa0, 0xd7, 0x7f, 0x8a, 0x26, 0x01, 0x00,
0x00,
// 286 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x5c, 0x90, 0x4d, 0x4f, 0xc2, 0x40,
0x10, 0x86, 0x2d, 0xe5, 0x73, 0x10, 0x32, 0x4e, 0x0c, 0xf1, 0xe0, 0xc1, 0x33, 0x07, 0x54, 0x3c,
0x78, 0xf0, 0x54, 0x9a, 0xb1, 0xae, 0xb0, 0x1f, 0x69, 0xb7, 0x12, 0xbc, 0x6c, 0x24, 0xa9, 0xc6,
0x98, 0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3d, 0x66, 0x55, 0x32, 0x5b, 0x50,
0xe3, 0x38, 0x1c, 0x5e, 0xa1, 0x47, 0x00, 0x75, 0x8e, 0xc3, 0xdb, 0xe1, 0x35, 0x56, 0x76, 0x34,
0x56, 0x09, 0xfa, 0xa3, 0xce, 0x73, 0x7b, 0x70, 0x79, 0x57, 0x96, 0x3a, 0xaf, 0xef, 0xd3, 0xcd,
0x77, 0x00, 0x00, 0x00, 0xff, 0xff, 0x58, 0xd8, 0x58, 0xde, 0x74, 0x01, 0x00, 0x00,
}

View File

@ -24,3 +24,10 @@ enum ImageType {
WEBP = 3;
GIF = 4;
}
enum CommunityTokenType {
UNKNOWN_TOKEN_TYPE = 0;
ERC20 = 1;
ERC721 = 2;
ENS = 3;
}