feat: kick all members after ownership change and auto-accept after sharing the address (#4187)
feat: kick all members after the ownership change and auto-accept after sharing the address
This commit is contained in:
parent
4e0583263a
commit
eb437e9d8d
File diff suppressed because it is too large
Load Diff
|
@ -63,6 +63,7 @@ import (
|
||||||
"crypto/sha256"
|
"crypto/sha256"
|
||||||
"fmt"
|
"fmt"
|
||||||
"io"
|
"io"
|
||||||
|
"io/ioutil"
|
||||||
"os"
|
"os"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
"strings"
|
"strings"
|
||||||
|
@ -72,7 +73,7 @@ import (
|
||||||
func bindataRead(data []byte, name string) ([]byte, error) {
|
func bindataRead(data []byte, name string) ([]byte, error) {
|
||||||
gz, err := gzip.NewReader(bytes.NewBuffer(data))
|
gz, err := gzip.NewReader(bytes.NewBuffer(data))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, fmt.Errorf("read %q: %w", name, err)
|
return nil, fmt.Errorf("read %q: %v", name, err)
|
||||||
}
|
}
|
||||||
|
|
||||||
var buf bytes.Buffer
|
var buf bytes.Buffer
|
||||||
|
@ -80,7 +81,7 @@ func bindataRead(data []byte, name string) ([]byte, error) {
|
||||||
clErr := gz.Close()
|
clErr := gz.Close()
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, fmt.Errorf("read %q: %w", name, err)
|
return nil, fmt.Errorf("read %q: %v", name, err)
|
||||||
}
|
}
|
||||||
if clErr != nil {
|
if clErr != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
|
@ -136,7 +137,7 @@ func _0001_appDownSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "0001_app.down.sql", size: 356, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "0001_app.down.sql", size: 356, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xb5, 0x25, 0xa0, 0xf8, 0x7d, 0x2d, 0xd, 0xcf, 0x18, 0xe4, 0x73, 0xc3, 0x95, 0xf5, 0x24, 0x20, 0xa9, 0xe6, 0x9e, 0x1d, 0x93, 0xe5, 0xc5, 0xad, 0x93, 0x8f, 0x5e, 0x40, 0xb5, 0x30, 0xaa, 0x25}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xb5, 0x25, 0xa0, 0xf8, 0x7d, 0x2d, 0xd, 0xcf, 0x18, 0xe4, 0x73, 0xc3, 0x95, 0xf5, 0x24, 0x20, 0xa9, 0xe6, 0x9e, 0x1d, 0x93, 0xe5, 0xc5, 0xad, 0x93, 0x8f, 0x5e, 0x40, 0xb5, 0x30, 0xaa, 0x25}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -156,7 +157,7 @@ func _0001_appUpSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "0001_app.up.sql", size: 2967, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "0001_app.up.sql", size: 2967, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xf7, 0x3a, 0xa7, 0xf2, 0x8f, 0xfa, 0x82, 0x7c, 0xc5, 0x49, 0xac, 0xac, 0xf, 0xc, 0x77, 0xe2, 0xba, 0xe8, 0x4d, 0xe, 0x6f, 0x5d, 0x2c, 0x2c, 0x18, 0x80, 0xc2, 0x1d, 0xe, 0x25, 0xe, 0x18}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xf7, 0x3a, 0xa7, 0xf2, 0x8f, 0xfa, 0x82, 0x7c, 0xc5, 0x49, 0xac, 0xac, 0xf, 0xc, 0x77, 0xe2, 0xba, 0xe8, 0x4d, 0xe, 0x6f, 0x5d, 0x2c, 0x2c, 0x18, 0x80, 0xc2, 0x1d, 0xe, 0x25, 0xe, 0x18}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -176,7 +177,7 @@ func _0002_tokensDownSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "0002_tokens.down.sql", size: 19, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "0002_tokens.down.sql", size: 19, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xd1, 0x31, 0x2, 0xcc, 0x2f, 0x38, 0x90, 0xf7, 0x58, 0x37, 0x47, 0xf4, 0x18, 0xf7, 0x72, 0x74, 0x67, 0x14, 0x7e, 0xf3, 0xb1, 0xd6, 0x5f, 0xb0, 0xd5, 0xe7, 0x91, 0xf4, 0x26, 0x77, 0x8e, 0x68}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xd1, 0x31, 0x2, 0xcc, 0x2f, 0x38, 0x90, 0xf7, 0x58, 0x37, 0x47, 0xf4, 0x18, 0xf7, 0x72, 0x74, 0x67, 0x14, 0x7e, 0xf3, 0xb1, 0xd6, 0x5f, 0xb0, 0xd5, 0xe7, 0x91, 0xf4, 0x26, 0x77, 0x8e, 0x68}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -196,7 +197,7 @@ func _0002_tokensUpSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "0002_tokens.up.sql", size: 248, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "0002_tokens.up.sql", size: 248, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xcc, 0xd6, 0xde, 0xd3, 0x7b, 0xee, 0x92, 0x11, 0x38, 0xa4, 0xeb, 0x84, 0xca, 0xcb, 0x37, 0x75, 0x5, 0x77, 0x7f, 0x14, 0x39, 0xee, 0xa1, 0x8b, 0xd4, 0x5c, 0x6e, 0x55, 0x6, 0x50, 0x16, 0xd4}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xcc, 0xd6, 0xde, 0xd3, 0x7b, 0xee, 0x92, 0x11, 0x38, 0xa4, 0xeb, 0x84, 0xca, 0xcb, 0x37, 0x75, 0x5, 0x77, 0x7f, 0x14, 0x39, 0xee, 0xa1, 0x8b, 0xd4, 0x5c, 0x6e, 0x55, 0x6, 0x50, 0x16, 0xd4}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -216,7 +217,7 @@ func _0003_settingsDownSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "0003_settings.down.sql", size: 118, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "0003_settings.down.sql", size: 118, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xe5, 0xa6, 0xf5, 0xc0, 0x60, 0x64, 0x77, 0xe2, 0xe7, 0x3c, 0x9b, 0xb1, 0x52, 0xa9, 0x95, 0x16, 0xf8, 0x60, 0x2f, 0xa5, 0xeb, 0x46, 0xb9, 0xb9, 0x8f, 0x4c, 0xf4, 0xfd, 0xbb, 0xe7, 0xe5, 0xe5}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xe5, 0xa6, 0xf5, 0xc0, 0x60, 0x64, 0x77, 0xe2, 0xe7, 0x3c, 0x9b, 0xb1, 0x52, 0xa9, 0x95, 0x16, 0xf8, 0x60, 0x2f, 0xa5, 0xeb, 0x46, 0xb9, 0xb9, 0x8f, 0x4c, 0xf4, 0xfd, 0xbb, 0xe7, 0xe5, 0xe5}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -236,7 +237,7 @@ func _0003_settingsUpSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "0003_settings.up.sql", size: 1311, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "0003_settings.up.sql", size: 1311, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xea, 0x35, 0x0, 0xeb, 0xe2, 0x33, 0x68, 0xb9, 0xf4, 0xf6, 0x8e, 0x9e, 0x10, 0xe9, 0x58, 0x68, 0x28, 0xb, 0xcd, 0xec, 0x74, 0x71, 0xa7, 0x9a, 0x5a, 0x77, 0x59, 0xb1, 0x13, 0x1c, 0xa1, 0x5b}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xea, 0x35, 0x0, 0xeb, 0xe2, 0x33, 0x68, 0xb9, 0xf4, 0xf6, 0x8e, 0x9e, 0x10, 0xe9, 0x58, 0x68, 0x28, 0xb, 0xcd, 0xec, 0x74, 0x71, 0xa7, 0x9a, 0x5a, 0x77, 0x59, 0xb1, 0x13, 0x1c, 0xa1, 0x5b}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -256,7 +257,7 @@ func _0004_pending_stickersDownSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "0004_pending_stickers.down.sql", size: 0, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "0004_pending_stickers.down.sql", size: 0, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xe3, 0xb0, 0xc4, 0x42, 0x98, 0xfc, 0x1c, 0x14, 0x9a, 0xfb, 0xf4, 0xc8, 0x99, 0x6f, 0xb9, 0x24, 0x27, 0xae, 0x41, 0xe4, 0x64, 0x9b, 0x93, 0x4c, 0xa4, 0x95, 0x99, 0x1b, 0x78, 0x52, 0xb8, 0x55}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xe3, 0xb0, 0xc4, 0x42, 0x98, 0xfc, 0x1c, 0x14, 0x9a, 0xfb, 0xf4, 0xc8, 0x99, 0x6f, 0xb9, 0x24, 0x27, 0xae, 0x41, 0xe4, 0x64, 0x9b, 0x93, 0x4c, 0xa4, 0x95, 0x99, 0x1b, 0x78, 0x52, 0xb8, 0x55}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -276,7 +277,7 @@ func _0004_pending_stickersUpSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "0004_pending_stickers.up.sql", size: 61, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "0004_pending_stickers.up.sql", size: 61, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x3c, 0xed, 0x25, 0xdf, 0x75, 0x2, 0x6c, 0xf0, 0xa2, 0xa8, 0x37, 0x62, 0x65, 0xad, 0xfd, 0x98, 0xa0, 0x9d, 0x63, 0x94, 0xdf, 0x6b, 0x46, 0xe0, 0x68, 0xec, 0x9c, 0x7f, 0x77, 0xdd, 0xb3, 0x6}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x3c, 0xed, 0x25, 0xdf, 0x75, 0x2, 0x6c, 0xf0, 0xa2, 0xa8, 0x37, 0x62, 0x65, 0xad, 0xfd, 0x98, 0xa0, 0x9d, 0x63, 0x94, 0xdf, 0x6b, 0x46, 0xe0, 0x68, 0xec, 0x9c, 0x7f, 0x77, 0xdd, 0xb3, 0x6}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -296,7 +297,7 @@ func _0005_waku_modeDownSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "0005_waku_mode.down.sql", size: 0, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "0005_waku_mode.down.sql", size: 0, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xe3, 0xb0, 0xc4, 0x42, 0x98, 0xfc, 0x1c, 0x14, 0x9a, 0xfb, 0xf4, 0xc8, 0x99, 0x6f, 0xb9, 0x24, 0x27, 0xae, 0x41, 0xe4, 0x64, 0x9b, 0x93, 0x4c, 0xa4, 0x95, 0x99, 0x1b, 0x78, 0x52, 0xb8, 0x55}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xe3, 0xb0, 0xc4, 0x42, 0x98, 0xfc, 0x1c, 0x14, 0x9a, 0xfb, 0xf4, 0xc8, 0x99, 0x6f, 0xb9, 0x24, 0x27, 0xae, 0x41, 0xe4, 0x64, 0x9b, 0x93, 0x4c, 0xa4, 0x95, 0x99, 0x1b, 0x78, 0x52, 0xb8, 0x55}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -316,7 +317,7 @@ func _0005_waku_modeUpSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "0005_waku_mode.up.sql", size: 146, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "0005_waku_mode.up.sql", size: 146, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xa6, 0x91, 0xc, 0xd7, 0x89, 0x61, 0x2e, 0x4c, 0x5a, 0xb6, 0x67, 0xd1, 0xc1, 0x42, 0x24, 0x38, 0xd6, 0x1b, 0x75, 0x41, 0x9c, 0x23, 0xb0, 0xca, 0x5c, 0xf1, 0x5c, 0xd0, 0x13, 0x92, 0x3e, 0xe1}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xa6, 0x91, 0xc, 0xd7, 0x89, 0x61, 0x2e, 0x4c, 0x5a, 0xb6, 0x67, 0xd1, 0xc1, 0x42, 0x24, 0x38, 0xd6, 0x1b, 0x75, 0x41, 0x9c, 0x23, 0xb0, 0xca, 0x5c, 0xf1, 0x5c, 0xd0, 0x13, 0x92, 0x3e, 0xe1}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -336,7 +337,7 @@ func _0006_appearanceUpSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "0006_appearance.up.sql", size: 67, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "0006_appearance.up.sql", size: 67, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xae, 0x6, 0x25, 0x6c, 0xe4, 0x9d, 0xa7, 0x72, 0xe8, 0xbc, 0xe4, 0x1f, 0x1e, 0x2d, 0x7c, 0xb7, 0xf6, 0xa3, 0xec, 0x3b, 0x4e, 0x93, 0x2e, 0xa4, 0xec, 0x6f, 0xe5, 0x95, 0x94, 0xe8, 0x4, 0xfb}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xae, 0x6, 0x25, 0x6c, 0xe4, 0x9d, 0xa7, 0x72, 0xe8, 0xbc, 0xe4, 0x1f, 0x1e, 0x2d, 0x7c, 0xb7, 0xf6, 0xa3, 0xec, 0x3b, 0x4e, 0x93, 0x2e, 0xa4, 0xec, 0x6f, 0xe5, 0x95, 0x94, 0xe8, 0x4, 0xfb}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -356,7 +357,7 @@ func _0007_enable_waku_defaultUpSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "0007_enable_waku_default.up.sql", size: 38, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "0007_enable_waku_default.up.sql", size: 38, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xd4, 0x42, 0xb6, 0xe5, 0x48, 0x41, 0xeb, 0xc0, 0x7e, 0x3b, 0xe6, 0x8e, 0x96, 0x33, 0x20, 0x92, 0x24, 0x5a, 0x60, 0xfa, 0xa0, 0x3, 0x5e, 0x76, 0x4b, 0x89, 0xaa, 0x37, 0x66, 0xbc, 0x26, 0x11}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xd4, 0x42, 0xb6, 0xe5, 0x48, 0x41, 0xeb, 0xc0, 0x7e, 0x3b, 0xe6, 0x8e, 0x96, 0x33, 0x20, 0x92, 0x24, 0x5a, 0x60, 0xfa, 0xa0, 0x3, 0x5e, 0x76, 0x4b, 0x89, 0xaa, 0x37, 0x66, 0xbc, 0x26, 0x11}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -376,7 +377,7 @@ func _0008_add_push_notificationsUpSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "0008_add_push_notifications.up.sql", size: 349, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "0008_add_push_notifications.up.sql", size: 349, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x5a, 0x0, 0xbf, 0xd0, 0xdd, 0xcd, 0x73, 0xe0, 0x7c, 0x56, 0xef, 0xdc, 0x57, 0x61, 0x94, 0x64, 0x70, 0xb9, 0xfa, 0xa1, 0x2a, 0x36, 0xc, 0x2f, 0xf8, 0x95, 0xa, 0x57, 0x3e, 0x7a, 0xd7, 0x12}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x5a, 0x0, 0xbf, 0xd0, 0xdd, 0xcd, 0x73, 0xe0, 0x7c, 0x56, 0xef, 0xdc, 0x57, 0x61, 0x94, 0x64, 0x70, 0xb9, 0xfa, 0xa1, 0x2a, 0x36, 0xc, 0x2f, 0xf8, 0x95, 0xa, 0x57, 0x3e, 0x7a, 0xd7, 0x12}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -396,7 +397,7 @@ func _0009_enable_sending_push_notificationsDownSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "0009_enable_sending_push_notifications.down.sql", size: 49, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "0009_enable_sending_push_notifications.down.sql", size: 49, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xe9, 0xae, 0x1b, 0x41, 0xcb, 0x9c, 0x2c, 0x93, 0xc6, 0x2a, 0x77, 0x3, 0xb9, 0x51, 0xe0, 0x68, 0x68, 0x0, 0xf7, 0x5b, 0xb3, 0x1e, 0x94, 0x44, 0xba, 0x9c, 0xd0, 0x3b, 0x80, 0x21, 0x6f, 0xb5}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xe9, 0xae, 0x1b, 0x41, 0xcb, 0x9c, 0x2c, 0x93, 0xc6, 0x2a, 0x77, 0x3, 0xb9, 0x51, 0xe0, 0x68, 0x68, 0x0, 0xf7, 0x5b, 0xb3, 0x1e, 0x94, 0x44, 0xba, 0x9c, 0xd0, 0x3b, 0x80, 0x21, 0x6f, 0xb5}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -416,7 +417,7 @@ func _0009_enable_sending_push_notificationsUpSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "0009_enable_sending_push_notifications.up.sql", size: 49, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "0009_enable_sending_push_notifications.up.sql", size: 49, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x1b, 0x80, 0xe4, 0x9c, 0xc8, 0xb8, 0xd5, 0xef, 0xce, 0x74, 0x9b, 0x7b, 0xdd, 0xa, 0x99, 0x1e, 0xef, 0x7f, 0xb8, 0x99, 0x84, 0x4, 0x0, 0x6b, 0x1d, 0x2c, 0xa, 0xf8, 0x2c, 0x4f, 0xb5, 0x44}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x1b, 0x80, 0xe4, 0x9c, 0xc8, 0xb8, 0xd5, 0xef, 0xce, 0x74, 0x9b, 0x7b, 0xdd, 0xa, 0x99, 0x1e, 0xef, 0x7f, 0xb8, 0x99, 0x84, 0x4, 0x0, 0x6b, 0x1d, 0x2c, 0xa, 0xf8, 0x2c, 0x4f, 0xb5, 0x44}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -436,7 +437,7 @@ func _0010_add_block_mentionsDownSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "0010_add_block_mentions.down.sql", size: 83, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "0010_add_block_mentions.down.sql", size: 83, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x6d, 0x9e, 0x27, 0x1e, 0xba, 0x9f, 0xca, 0xae, 0x98, 0x2e, 0x6e, 0xe3, 0xdd, 0xac, 0x73, 0x34, 0x4e, 0x69, 0x92, 0xb5, 0xf6, 0x9, 0xab, 0x50, 0x35, 0xd, 0xee, 0xeb, 0x3e, 0xcc, 0x7e, 0xce}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x6d, 0x9e, 0x27, 0x1e, 0xba, 0x9f, 0xca, 0xae, 0x98, 0x2e, 0x6e, 0xe3, 0xdd, 0xac, 0x73, 0x34, 0x4e, 0x69, 0x92, 0xb5, 0xf6, 0x9, 0xab, 0x50, 0x35, 0xd, 0xee, 0xeb, 0x3e, 0xcc, 0x7e, 0xce}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -456,7 +457,7 @@ func _0010_add_block_mentionsUpSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "0010_add_block_mentions.up.sql", size: 89, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "0010_add_block_mentions.up.sql", size: 89, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xd7, 0x23, 0x85, 0xa2, 0xb5, 0xb6, 0xb4, 0x3f, 0xdc, 0x4e, 0xff, 0xe2, 0x6b, 0x66, 0x68, 0x5e, 0xb2, 0xb4, 0x14, 0xb2, 0x1b, 0x4d, 0xb1, 0xce, 0xf7, 0x6, 0x58, 0xa7, 0xaf, 0x93, 0x3f, 0x25}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xd7, 0x23, 0x85, 0xa2, 0xb5, 0xb6, 0xb4, 0x3f, 0xdc, 0x4e, 0xff, 0xe2, 0x6b, 0x66, 0x68, 0x5e, 0xb2, 0xb4, 0x14, 0xb2, 0x1b, 0x4d, 0xb1, 0xce, 0xf7, 0x6, 0x58, 0xa7, 0xaf, 0x93, 0x3f, 0x25}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -476,7 +477,7 @@ func _0011_allow_webview_permission_requestsDownSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "0011_allow_webview_permission_requests.down.sql", size: 0, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "0011_allow_webview_permission_requests.down.sql", size: 0, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xe3, 0xb0, 0xc4, 0x42, 0x98, 0xfc, 0x1c, 0x14, 0x9a, 0xfb, 0xf4, 0xc8, 0x99, 0x6f, 0xb9, 0x24, 0x27, 0xae, 0x41, 0xe4, 0x64, 0x9b, 0x93, 0x4c, 0xa4, 0x95, 0x99, 0x1b, 0x78, 0x52, 0xb8, 0x55}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xe3, 0xb0, 0xc4, 0x42, 0x98, 0xfc, 0x1c, 0x14, 0x9a, 0xfb, 0xf4, 0xc8, 0x99, 0x6f, 0xb9, 0x24, 0x27, 0xae, 0x41, 0xe4, 0x64, 0x9b, 0x93, 0x4c, 0xa4, 0x95, 0x99, 0x1b, 0x78, 0x52, 0xb8, 0x55}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -496,7 +497,7 @@ func _0011_allow_webview_permission_requestsUpSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "0011_allow_webview_permission_requests.up.sql", size: 88, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "0011_allow_webview_permission_requests.up.sql", size: 88, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x43, 0x5f, 0x22, 0x4c, 0x98, 0x1d, 0xc6, 0xf4, 0x89, 0xaf, 0xf4, 0x44, 0xba, 0xf8, 0x28, 0xa7, 0xb5, 0xb9, 0xf0, 0xf2, 0xcb, 0x5, 0x59, 0x7a, 0xc, 0xdf, 0xd3, 0x38, 0xa4, 0xb8, 0x98, 0xc2}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x43, 0x5f, 0x22, 0x4c, 0x98, 0x1d, 0xc6, 0xf4, 0x89, 0xaf, 0xf4, 0x44, 0xba, 0xf8, 0x28, 0xa7, 0xb5, 0xb9, 0xf0, 0xf2, 0xcb, 0x5, 0x59, 0x7a, 0xc, 0xdf, 0xd3, 0x38, 0xa4, 0xb8, 0x98, 0xc2}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -516,7 +517,7 @@ func _0012_pending_transactionsDownSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "0012_pending_transactions.down.sql", size: 33, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "0012_pending_transactions.down.sql", size: 33, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x7e, 0x41, 0xfe, 0x5c, 0xd8, 0xc3, 0x29, 0xfd, 0x31, 0x78, 0x99, 0x7a, 0xeb, 0x17, 0x62, 0x88, 0x41, 0xb3, 0xe7, 0xb5, 0x5, 0x0, 0x90, 0xa1, 0x7, 0x1a, 0x23, 0x88, 0x81, 0xba, 0x56, 0x9d}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x7e, 0x41, 0xfe, 0x5c, 0xd8, 0xc3, 0x29, 0xfd, 0x31, 0x78, 0x99, 0x7a, 0xeb, 0x17, 0x62, 0x88, 0x41, 0xb3, 0xe7, 0xb5, 0x5, 0x0, 0x90, 0xa1, 0x7, 0x1a, 0x23, 0x88, 0x81, 0xba, 0x56, 0x9d}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -536,7 +537,7 @@ func _0012_pending_transactionsUpSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "0012_pending_transactions.up.sql", size: 321, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "0012_pending_transactions.up.sql", size: 321, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xd, 0x17, 0xff, 0xd7, 0xa7, 0x49, 0x1e, 0x7b, 0x34, 0x63, 0x7c, 0x53, 0xaa, 0x6b, 0x2d, 0xc8, 0xe0, 0x82, 0x21, 0x90, 0x3a, 0x94, 0xf1, 0xa6, 0xe4, 0x70, 0xe5, 0x85, 0x1a, 0x48, 0x25, 0xb}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xd, 0x17, 0xff, 0xd7, 0xa7, 0x49, 0x1e, 0x7b, 0x34, 0x63, 0x7c, 0x53, 0xaa, 0x6b, 0x2d, 0xc8, 0xe0, 0x82, 0x21, 0x90, 0x3a, 0x94, 0xf1, 0xa6, 0xe4, 0x70, 0xe5, 0x85, 0x1a, 0x48, 0x25, 0xb}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -556,7 +557,7 @@ func _0013_favouritesDownSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "0013_favourites.down.sql", size: 23, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "0013_favourites.down.sql", size: 23, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x32, 0xf8, 0x55, 0x13, 0x4f, 0x4a, 0x19, 0x83, 0x9c, 0xda, 0x34, 0xb8, 0x3, 0x54, 0x82, 0x1e, 0x99, 0x36, 0x6b, 0x42, 0x3, 0xf6, 0x43, 0xde, 0xe6, 0x32, 0xb6, 0xdf, 0xe2, 0x59, 0x8c, 0x84}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x32, 0xf8, 0x55, 0x13, 0x4f, 0x4a, 0x19, 0x83, 0x9c, 0xda, 0x34, 0xb8, 0x3, 0x54, 0x82, 0x1e, 0x99, 0x36, 0x6b, 0x42, 0x3, 0xf6, 0x43, 0xde, 0xe6, 0x32, 0xb6, 0xdf, 0xe2, 0x59, 0x8c, 0x84}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -576,7 +577,7 @@ func _0013_favouritesUpSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "0013_favourites.up.sql", size: 132, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "0013_favourites.up.sql", size: 132, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xbe, 0x1, 0x27, 0x38, 0x76, 0xf5, 0xcb, 0x61, 0xda, 0x5b, 0xce, 0xd9, 0x8b, 0x18, 0x77, 0x61, 0x84, 0xe7, 0x22, 0xe2, 0x13, 0x99, 0xab, 0x32, 0xbc, 0xbe, 0xed, 0x1f, 0x2f, 0xb0, 0xe4, 0x8d}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xbe, 0x1, 0x27, 0x38, 0x76, 0xf5, 0xcb, 0x61, 0xda, 0x5b, 0xce, 0xd9, 0x8b, 0x18, 0x77, 0x61, 0x84, 0xe7, 0x22, 0xe2, 0x13, 0x99, 0xab, 0x32, 0xbc, 0xbe, 0xed, 0x1f, 0x2f, 0xb0, 0xe4, 0x8d}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -596,7 +597,7 @@ func _0014_add_use_mailserversDownSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "0014_add_use_mailservers.down.sql", size: 0, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "0014_add_use_mailservers.down.sql", size: 0, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xe3, 0xb0, 0xc4, 0x42, 0x98, 0xfc, 0x1c, 0x14, 0x9a, 0xfb, 0xf4, 0xc8, 0x99, 0x6f, 0xb9, 0x24, 0x27, 0xae, 0x41, 0xe4, 0x64, 0x9b, 0x93, 0x4c, 0xa4, 0x95, 0x99, 0x1b, 0x78, 0x52, 0xb8, 0x55}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xe3, 0xb0, 0xc4, 0x42, 0x98, 0xfc, 0x1c, 0x14, 0x9a, 0xfb, 0xf4, 0xc8, 0x99, 0x6f, 0xb9, 0x24, 0x27, 0xae, 0x41, 0xe4, 0x64, 0x9b, 0x93, 0x4c, 0xa4, 0x95, 0x99, 0x1b, 0x78, 0x52, 0xb8, 0x55}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -616,7 +617,7 @@ func _0014_add_use_mailserversUpSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "0014_add_use_mailservers.up.sql", size: 111, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "0014_add_use_mailservers.up.sql", size: 111, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xc9, 0xba, 0x65, 0xbf, 0x1b, 0xc9, 0x6d, 0x45, 0xf2, 0xf5, 0x30, 0x7c, 0xc1, 0xde, 0xb8, 0xe3, 0x3f, 0xa9, 0x2f, 0x9f, 0xea, 0x1, 0x29, 0x29, 0x65, 0xe7, 0x38, 0xab, 0xa4, 0x62, 0xf, 0xd0}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xc9, 0xba, 0x65, 0xbf, 0x1b, 0xc9, 0x6d, 0x45, 0xf2, 0xf5, 0x30, 0x7c, 0xc1, 0xde, 0xb8, 0xe3, 0x3f, 0xa9, 0x2f, 0x9f, 0xea, 0x1, 0x29, 0x29, 0x65, 0xe7, 0x38, 0xab, 0xa4, 0x62, 0xf, 0xd0}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -636,7 +637,7 @@ func _0015_link_previewsDownSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "0015_link_previews.down.sql", size: 0, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "0015_link_previews.down.sql", size: 0, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xe3, 0xb0, 0xc4, 0x42, 0x98, 0xfc, 0x1c, 0x14, 0x9a, 0xfb, 0xf4, 0xc8, 0x99, 0x6f, 0xb9, 0x24, 0x27, 0xae, 0x41, 0xe4, 0x64, 0x9b, 0x93, 0x4c, 0xa4, 0x95, 0x99, 0x1b, 0x78, 0x52, 0xb8, 0x55}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xe3, 0xb0, 0xc4, 0x42, 0x98, 0xfc, 0x1c, 0x14, 0x9a, 0xfb, 0xf4, 0xc8, 0x99, 0x6f, 0xb9, 0x24, 0x27, 0xae, 0x41, 0xe4, 0x64, 0x9b, 0x93, 0x4c, 0xa4, 0x95, 0x99, 0x1b, 0x78, 0x52, 0xb8, 0x55}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -656,7 +657,7 @@ func _0015_link_previewsUpSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "0015_link_previews.up.sql", size: 203, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "0015_link_previews.up.sql", size: 203, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xb1, 0xf7, 0x38, 0x25, 0xa6, 0xfc, 0x6b, 0x9, 0xe4, 0xd9, 0xbf, 0x58, 0x7b, 0x80, 0xd8, 0x48, 0x63, 0xde, 0xa5, 0x5e, 0x30, 0xa3, 0xeb, 0x68, 0x8e, 0x6a, 0x9f, 0xfd, 0xf4, 0x46, 0x41, 0x34}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xb1, 0xf7, 0x38, 0x25, 0xa6, 0xfc, 0x6b, 0x9, 0xe4, 0xd9, 0xbf, 0x58, 0x7b, 0x80, 0xd8, 0x48, 0x63, 0xde, 0xa5, 0x5e, 0x30, 0xa3, 0xeb, 0x68, 0x8e, 0x6a, 0x9f, 0xfd, 0xf4, 0x46, 0x41, 0x34}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -676,7 +677,7 @@ func _0016_local_notifications_preferencesDownSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "0016_local_notifications_preferences.down.sql", size: 43, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "0016_local_notifications_preferences.down.sql", size: 43, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xe0, 0x50, 0xc7, 0xdd, 0x53, 0x9c, 0x5d, 0x1e, 0xb5, 0x71, 0x25, 0x50, 0x58, 0xcf, 0x6d, 0xbe, 0x5a, 0x8, 0x12, 0xc9, 0x13, 0xd, 0x9a, 0x3d, 0x4b, 0x7a, 0x2f, 0x1b, 0xe5, 0x23, 0x52, 0x78}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xe0, 0x50, 0xc7, 0xdd, 0x53, 0x9c, 0x5d, 0x1e, 0xb5, 0x71, 0x25, 0x50, 0x58, 0xcf, 0x6d, 0xbe, 0x5a, 0x8, 0x12, 0xc9, 0x13, 0xd, 0x9a, 0x3d, 0x4b, 0x7a, 0x2f, 0x1b, 0xe5, 0x23, 0x52, 0x78}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -696,7 +697,7 @@ func _0016_local_notifications_preferencesUpSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "0016_local_notifications_preferences.up.sql", size: 204, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "0016_local_notifications_preferences.up.sql", size: 204, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x3f, 0x3a, 0x16, 0x25, 0xdf, 0xba, 0x62, 0xd3, 0x81, 0x73, 0xc, 0x10, 0x85, 0xbc, 0x8d, 0xe, 0x1d, 0x62, 0xcb, 0xb, 0x6d, 0x8c, 0x4f, 0x63, 0x5f, 0xe2, 0xd, 0xc5, 0x46, 0xa8, 0x35, 0x5b}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x3f, 0x3a, 0x16, 0x25, 0xdf, 0xba, 0x62, 0xd3, 0x81, 0x73, 0xc, 0x10, 0x85, 0xbc, 0x8d, 0xe, 0x1d, 0x62, 0xcb, 0xb, 0x6d, 0x8c, 0x4f, 0x63, 0x5f, 0xe2, 0xd, 0xc5, 0x46, 0xa8, 0x35, 0x5b}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -716,7 +717,7 @@ func _0017_bookmarksDownSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "0017_bookmarks.down.sql", size: 22, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "0017_bookmarks.down.sql", size: 22, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x9a, 0x13, 0x2a, 0x44, 0xb0, 0x3, 0x18, 0x63, 0xb8, 0x33, 0xda, 0x3a, 0xeb, 0xb8, 0xcb, 0xd1, 0x98, 0x29, 0xa7, 0xf0, 0x6, 0x9d, 0xc9, 0x62, 0xe7, 0x89, 0x7f, 0x77, 0xaf, 0xec, 0x6b, 0x8f}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x9a, 0x13, 0x2a, 0x44, 0xb0, 0x3, 0x18, 0x63, 0xb8, 0x33, 0xda, 0x3a, 0xeb, 0xb8, 0xcb, 0xd1, 0x98, 0x29, 0xa7, 0xf0, 0x6, 0x9d, 0xc9, 0x62, 0xe7, 0x89, 0x7f, 0x77, 0xaf, 0xec, 0x6b, 0x8f}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -736,7 +737,7 @@ func _0017_bookmarksUpSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "0017_bookmarks.up.sql", size: 147, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "0017_bookmarks.up.sql", size: 147, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xbc, 0x47, 0xe1, 0xe3, 0xd8, 0xc6, 0x4, 0x6d, 0x5f, 0x2f, 0xa, 0x51, 0xa6, 0x8c, 0x6a, 0xe0, 0x3d, 0x8c, 0x91, 0x47, 0xbc, 0x1, 0x75, 0x46, 0x92, 0x2, 0x18, 0x6e, 0xe3, 0x4f, 0x18, 0x57}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xbc, 0x47, 0xe1, 0xe3, 0xd8, 0xc6, 0x4, 0x6d, 0x5f, 0x2f, 0xa, 0x51, 0xa6, 0x8c, 0x6a, 0xe0, 0x3d, 0x8c, 0x91, 0x47, 0xbc, 0x1, 0x75, 0x46, 0x92, 0x2, 0x18, 0x6e, 0xe3, 0x4f, 0x18, 0x57}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -756,7 +757,7 @@ func _0018_profile_pictures_visibilityUpSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "0018_profile_pictures_visibility.up.sql", size: 84, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "0018_profile_pictures_visibility.up.sql", size: 84, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xc9, 0xe3, 0xc5, 0xec, 0x83, 0x55, 0x45, 0x57, 0x7a, 0xaa, 0xd2, 0xa7, 0x59, 0xa7, 0x87, 0xef, 0x63, 0x19, 0x9c, 0x46, 0x9c, 0xc5, 0x32, 0x89, 0xa4, 0x68, 0x70, 0xd8, 0x83, 0x43, 0xa4, 0x72}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xc9, 0xe3, 0xc5, 0xec, 0x83, 0x55, 0x45, 0x57, 0x7a, 0xaa, 0xd2, 0xa7, 0x59, 0xa7, 0x87, 0xef, 0x63, 0x19, 0x9c, 0x46, 0x9c, 0xc5, 0x32, 0x89, 0xa4, 0x68, 0x70, 0xd8, 0x83, 0x43, 0xa4, 0x72}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -776,7 +777,7 @@ func _0019_blocks_ranges_extra_dataUpSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "0019_blocks_ranges_extra_data.up.sql", size: 89, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "0019_blocks_ranges_extra_data.up.sql", size: 89, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xa3, 0x96, 0x32, 0x58, 0xf0, 0xb9, 0xe1, 0x70, 0x81, 0xca, 0x8d, 0x45, 0x57, 0x8a, 0x7, 0x5d, 0x9e, 0x2a, 0x30, 0xb, 0xad, 0x5f, 0xf8, 0xd4, 0x30, 0x94, 0x73, 0x37, 0x8d, 0xc1, 0x9a, 0xed}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xa3, 0x96, 0x32, 0x58, 0xf0, 0xb9, 0xe1, 0x70, 0x81, 0xca, 0x8d, 0x45, 0x57, 0x8a, 0x7, 0x5d, 0x9e, 0x2a, 0x30, 0xb, 0xad, 0x5f, 0xf8, 0xd4, 0x30, 0x94, 0x73, 0x37, 0x8d, 0xc1, 0x9a, 0xed}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -796,7 +797,7 @@ func _0020_metricsUpSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "0020_metrics.up.sql", size: 235, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "0020_metrics.up.sql", size: 235, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xe8, 0x32, 0xbc, 0xb6, 0x9b, 0x5a, 0x8f, 0x9f, 0x4c, 0x90, 0x81, 0x3e, 0x2e, 0xd1, 0x23, 0xcd, 0xf1, 0x83, 0x35, 0xca, 0x66, 0x87, 0x52, 0x4e, 0x30, 0x3e, 0x4f, 0xa8, 0xfd, 0x30, 0x16, 0xbd}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xe8, 0x32, 0xbc, 0xb6, 0x9b, 0x5a, 0x8f, 0x9f, 0x4c, 0x90, 0x81, 0x3e, 0x2e, 0xd1, 0x23, 0xcd, 0xf1, 0x83, 0x35, 0xca, 0x66, 0x87, 0x52, 0x4e, 0x30, 0x3e, 0x4f, 0xa8, 0xfd, 0x30, 0x16, 0xbd}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -816,7 +817,7 @@ func _0021_add_session_id_to_metricsUpSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "0021_add_session_id_to_metrics.up.sql", size: 55, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "0021_add_session_id_to_metrics.up.sql", size: 55, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xb7, 0x81, 0xfc, 0x97, 0xd1, 0x8b, 0xea, 0x8e, 0xd7, 0xc2, 0x53, 0x62, 0xe9, 0xbc, 0xf, 0x8c, 0x46, 0x41, 0x41, 0xb7, 0x6, 0x35, 0xf5, 0xba, 0xbb, 0x28, 0x50, 0x48, 0xbf, 0x36, 0x90, 0x5c}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xb7, 0x81, 0xfc, 0x97, 0xd1, 0x8b, 0xea, 0x8e, 0xd7, 0xc2, 0x53, 0x62, 0xe9, 0xbc, 0xf, 0x8c, 0x46, 0x41, 0x41, 0xb7, 0x6, 0x35, 0xf5, 0xba, 0xbb, 0x28, 0x50, 0x48, 0xbf, 0x36, 0x90, 0x5c}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -836,7 +837,7 @@ func _0022_pending_transfersUpSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "0022_pending_transfers.up.sql", size: 706, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "0022_pending_transfers.up.sql", size: 706, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x6a, 0x9, 0xe6, 0x6, 0xae, 0x60, 0xdd, 0xbb, 0x76, 0xac, 0xe0, 0x57, 0x30, 0x67, 0x37, 0x93, 0x40, 0x13, 0xec, 0xf2, 0x6e, 0x61, 0xa, 0x14, 0xb2, 0xb1, 0xbd, 0x91, 0xf8, 0x89, 0xb3, 0xe3}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x6a, 0x9, 0xe6, 0x6, 0xae, 0x60, 0xdd, 0xbb, 0x76, 0xac, 0xe0, 0x57, 0x30, 0x67, 0x37, 0x93, 0x40, 0x13, 0xec, 0xf2, 0x6e, 0x61, 0xa, 0x14, 0xb2, 0xb1, 0xbd, 0x91, 0xf8, 0x89, 0xb3, 0xe3}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -856,7 +857,7 @@ func _1618237885_settings_anon_metrics_should_sendUpSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "1618237885_settings_anon_metrics_should_send.up.sql", size: 80, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "1618237885_settings_anon_metrics_should_send.up.sql", size: 80, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xea, 0x6c, 0x1d, 0x1f, 0x54, 0x62, 0x18, 0x22, 0x5c, 0xa7, 0x8c, 0x59, 0x24, 0xd3, 0x4d, 0x55, 0xc4, 0x2a, 0x9e, 0x4c, 0x37, 0x6b, 0xfd, 0xac, 0xec, 0xb7, 0x68, 0x21, 0x26, 0x26, 0xf3, 0x92}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xea, 0x6c, 0x1d, 0x1f, 0x54, 0x62, 0x18, 0x22, 0x5c, 0xa7, 0x8c, 0x59, 0x24, 0xd3, 0x4d, 0x55, 0xc4, 0x2a, 0x9e, 0x4c, 0x37, 0x6b, 0xfd, 0xac, 0xec, 0xb7, 0x68, 0x21, 0x26, 0x26, 0xf3, 0x92}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -876,7 +877,7 @@ func _1618395756_contacts_onlyUpSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "1618395756_contacts_only.up.sql", size: 136, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "1618395756_contacts_only.up.sql", size: 136, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x1, 0xe3, 0xd0, 0xe7, 0xf2, 0x6e, 0xbf, 0x27, 0xf6, 0xe2, 0x2e, 0x16, 0x4b, 0x52, 0x3b, 0xcf, 0x63, 0x52, 0xfc, 0x1d, 0x43, 0xba, 0x42, 0xf9, 0x1e, 0x1e, 0x39, 0x40, 0xed, 0x0, 0x20, 0xa8}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x1, 0xe3, 0xd0, 0xe7, 0xf2, 0x6e, 0xbf, 0x27, 0xf6, 0xe2, 0x2e, 0x16, 0x4b, 0x52, 0x3b, 0xcf, 0x63, 0x52, 0xfc, 0x1d, 0x43, 0xba, 0x42, 0xf9, 0x1e, 0x1e, 0x39, 0x40, 0xed, 0x0, 0x20, 0xa8}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -896,7 +897,7 @@ func _1622184614_add_default_sync_periodUpSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "1622184614_add_default_sync_period.up.sql", size: 125, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "1622184614_add_default_sync_period.up.sql", size: 125, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x60, 0x39, 0xeb, 0x8f, 0xdc, 0x1, 0x56, 0xc1, 0x9b, 0xaa, 0xda, 0x44, 0xe0, 0xdb, 0xda, 0x2c, 0xe7, 0x71, 0x8d, 0xbc, 0xc1, 0x9a, 0x4f, 0x48, 0xe0, 0x5e, 0x81, 0x1e, 0x8e, 0x6a, 0x4d, 0x3}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x60, 0x39, 0xeb, 0x8f, 0xdc, 0x1, 0x56, 0xc1, 0x9b, 0xaa, 0xda, 0x44, 0xe0, 0xdb, 0xda, 0x2c, 0xe7, 0x71, 0x8d, 0xbc, 0xc1, 0x9a, 0x4f, 0x48, 0xe0, 0x5e, 0x81, 0x1e, 0x8e, 0x6a, 0x4d, 0x3}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -916,7 +917,7 @@ func _1625872445_user_statusUpSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "1625872445_user_status.up.sql", size: 351, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "1625872445_user_status.up.sql", size: 351, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xf5, 0xa, 0xfe, 0x7a, 0xcc, 0x9e, 0x35, 0x26, 0xb, 0xc8, 0xf2, 0x7d, 0xfa, 0x4b, 0xcf, 0x53, 0x20, 0x76, 0xc7, 0xd, 0xbc, 0x78, 0x4f, 0x74, 0x2d, 0x2e, 0x2e, 0x7e, 0x62, 0xae, 0x78, 0x1f}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xf5, 0xa, 0xfe, 0x7a, 0xcc, 0x9e, 0x35, 0x26, 0xb, 0xc8, 0xf2, 0x7d, 0xfa, 0x4b, 0xcf, 0x53, 0x20, 0x76, 0xc7, 0xd, 0xbc, 0x78, 0x4f, 0x74, 0x2d, 0x2e, 0x2e, 0x7e, 0x62, 0xae, 0x78, 0x1f}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -936,7 +937,7 @@ func _1627983977_add_gif_to_settingsUpSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "1627983977_add_gif_to_settings.up.sql", size: 102, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "1627983977_add_gif_to_settings.up.sql", size: 102, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x63, 0xe6, 0xe1, 0x97, 0x64, 0x4c, 0xe2, 0x14, 0xb1, 0x96, 0x3a, 0xb0, 0xb9, 0xb7, 0xb5, 0x78, 0x4a, 0x39, 0x69, 0x89, 0xb7, 0x89, 0x19, 0xb8, 0x89, 0x1, 0xc5, 0xc2, 0x85, 0x53, 0xe2, 0x83}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x63, 0xe6, 0xe1, 0x97, 0x64, 0x4c, 0xe2, 0x14, 0xb1, 0x96, 0x3a, 0xb0, 0xb9, 0xb7, 0xb5, 0x78, 0x4a, 0x39, 0x69, 0x89, 0xb7, 0x89, 0x19, 0xb8, 0x89, 0x1, 0xc5, 0xc2, 0x85, 0x53, 0xe2, 0x83}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -956,7 +957,7 @@ func _1628580203_add_hidden_accountUpSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "1628580203_add_hidden_account.up.sql", size: 67, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "1628580203_add_hidden_account.up.sql", size: 67, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xcb, 0x30, 0xf1, 0xd4, 0x60, 0xe2, 0x28, 0x14, 0xcb, 0x16, 0xb, 0x9, 0xea, 0x17, 0xa, 0x9e, 0x89, 0xa8, 0x32, 0x32, 0xf8, 0x4d, 0xa0, 0xe1, 0xe5, 0x79, 0xbd, 0x7d, 0x79, 0xe9, 0x4c, 0x9e}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xcb, 0x30, 0xf1, 0xd4, 0x60, 0xe2, 0x28, 0x14, 0xcb, 0x16, 0xb, 0x9, 0xea, 0x17, 0xa, 0x9e, 0x89, 0xa8, 0x32, 0x32, 0xf8, 0x4d, 0xa0, 0xe1, 0xe5, 0x79, 0xbd, 0x7d, 0x79, 0xe9, 0x4c, 0x9e}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -976,7 +977,7 @@ func _1629123384_add_id_to_app_metricsUpSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "1629123384_add_id_to_app_metrics.up.sql", size: 589, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "1629123384_add_id_to_app_metrics.up.sql", size: 589, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xdf, 0x66, 0xc0, 0x69, 0xb, 0xad, 0x49, 0x7c, 0x8c, 0x67, 0xb8, 0xd6, 0x8d, 0x5d, 0x86, 0x1f, 0xa4, 0x53, 0xf5, 0x8, 0x1, 0xfd, 0x38, 0x49, 0xee, 0x84, 0xc0, 0xd8, 0x17, 0x72, 0x3, 0xb3}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xdf, 0x66, 0xc0, 0x69, 0xb, 0xad, 0x49, 0x7c, 0x8c, 0x67, 0xb8, 0xd6, 0x8d, 0x5d, 0x86, 0x1f, 0xa4, 0x53, 0xf5, 0x8, 0x1, 0xfd, 0x38, 0x49, 0xee, 0x84, 0xc0, 0xd8, 0x17, 0x72, 0x3, 0xb3}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -996,7 +997,7 @@ func _1630401853_add_opensea_enabled_to_settingsUpSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "1630401853_add_opensea_enabled_to_settings.up.sql", size: 70, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "1630401853_add_opensea_enabled_to_settings.up.sql", size: 70, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x6, 0x91, 0x86, 0x15, 0xc8, 0x99, 0xe3, 0xae, 0xa, 0x6e, 0x94, 0x48, 0x51, 0x5b, 0x18, 0xe0, 0xbc, 0xaf, 0x34, 0x75, 0x55, 0x61, 0xd4, 0xc1, 0x85, 0xc7, 0x3d, 0x99, 0x9e, 0x1f, 0x37, 0x56}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x6, 0x91, 0x86, 0x15, 0xc8, 0x99, 0xe3, 0xae, 0xa, 0x6e, 0x94, 0x48, 0x51, 0x5b, 0x18, 0xe0, 0xbc, 0xaf, 0x34, 0x75, 0x55, 0x61, 0xd4, 0xc1, 0x85, 0xc7, 0x3d, 0x99, 0x9e, 0x1f, 0x37, 0x56}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -1016,7 +1017,7 @@ func _1630464455_createSaved_addressesTableDownSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "1630464455_create-saved_addresses-table.down.sql", size: 28, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "1630464455_create-saved_addresses-table.down.sql", size: 28, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x23, 0x52, 0x39, 0xb5, 0x42, 0xac, 0xcb, 0xa1, 0x44, 0xb7, 0x94, 0x26, 0x24, 0xb2, 0x12, 0xc, 0xc5, 0xbf, 0x63, 0x13, 0x6f, 0x3c, 0x4, 0x7b, 0xf0, 0xd, 0xfa, 0x55, 0x9e, 0x51, 0xf9, 0x7a}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x23, 0x52, 0x39, 0xb5, 0x42, 0xac, 0xcb, 0xa1, 0x44, 0xb7, 0x94, 0x26, 0x24, 0xb2, 0x12, 0xc, 0xc5, 0xbf, 0x63, 0x13, 0x6f, 0x3c, 0x4, 0x7b, 0xf0, 0xd, 0xfa, 0x55, 0x9e, 0x51, 0xf9, 0x7a}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -1036,7 +1037,7 @@ func _1630464455_createSaved_addressesTableUpSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "1630464455_create-saved_addresses-table.up.sql", size: 187, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "1630464455_create-saved_addresses-table.up.sql", size: 187, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x32, 0xf, 0x56, 0x18, 0xeb, 0x4e, 0xac, 0xd8, 0xd6, 0x91, 0xae, 0x83, 0xcf, 0x91, 0x9e, 0x4, 0x4b, 0x2, 0x1f, 0x6d, 0xba, 0xf6, 0x3, 0xf2, 0x98, 0x72, 0xf6, 0x91, 0x29, 0x96, 0x0, 0x35}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x32, 0xf, 0x56, 0x18, 0xeb, 0x4e, 0xac, 0xd8, 0xd6, 0x91, 0xae, 0x83, 0xcf, 0x91, 0x9e, 0x4, 0x4b, 0x2, 0x1f, 0x6d, 0xba, 0xf6, 0x3, 0xf2, 0x98, 0x72, 0xf6, 0x91, 0x29, 0x96, 0x0, 0x35}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -1056,7 +1057,7 @@ func _1630485153_networksDownSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "1630485153_networks.down.sql", size: 21, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "1630485153_networks.down.sql", size: 21, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xbb, 0x3e, 0x57, 0xb7, 0xf7, 0x8, 0xbd, 0xb5, 0xc2, 0xea, 0xc, 0x45, 0xb7, 0x7, 0x9, 0xca, 0xe7, 0x48, 0x7e, 0x56, 0x4e, 0x44, 0x78, 0x8e, 0xe3, 0x87, 0x63, 0xaf, 0x16, 0x3f, 0xf9, 0x71}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xbb, 0x3e, 0x57, 0xb7, 0xf7, 0x8, 0xbd, 0xb5, 0xc2, 0xea, 0xc, 0x45, 0xb7, 0x7, 0x9, 0xca, 0xe7, 0x48, 0x7e, 0x56, 0x4e, 0x44, 0x78, 0x8e, 0xe3, 0x87, 0x63, 0xaf, 0x16, 0x3f, 0xf9, 0x71}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -1076,7 +1077,7 @@ func _1630485153_networksUpSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "1630485153_networks.up.sql", size: 394, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "1630485153_networks.up.sql", size: 394, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xed, 0x9, 0x1d, 0x3, 0x86, 0xbd, 0xc5, 0xde, 0x3c, 0x1b, 0x40, 0x41, 0x7c, 0x61, 0x8, 0x80, 0x53, 0x87, 0x1b, 0x5a, 0x56, 0xd, 0x88, 0x1d, 0x60, 0x24, 0xce, 0x7b, 0x8f, 0xff, 0xaf, 0x36}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xed, 0x9, 0x1d, 0x3, 0x86, 0xbd, 0xc5, 0xde, 0x3c, 0x1b, 0x40, 0x41, 0x7c, 0x61, 0x8, 0x80, 0x53, 0x87, 0x1b, 0x5a, 0x56, 0xd, 0x88, 0x1d, 0x60, 0x24, 0xce, 0x7b, 0x8f, 0xff, 0xaf, 0x36}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -1096,7 +1097,7 @@ func _1632262444_profile_pictures_show_toUpSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "1632262444_profile_pictures_show_to.up.sql", size: 81, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "1632262444_profile_pictures_show_to.up.sql", size: 81, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xc3, 0xa2, 0x5a, 0x94, 0xde, 0x86, 0x2a, 0x29, 0xf5, 0xb3, 0x36, 0xe7, 0x53, 0x81, 0x55, 0xc9, 0xb5, 0xc3, 0xf4, 0x8c, 0x65, 0x2c, 0x4c, 0x48, 0xfd, 0x3c, 0xb7, 0x14, 0xb4, 0xea, 0x7a, 0x13}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xc3, 0xa2, 0x5a, 0x94, 0xde, 0x86, 0x2a, 0x29, 0xf5, 0xb3, 0x36, 0xe7, 0x53, 0x81, 0x55, 0xc9, 0xb5, 0xc3, 0xf4, 0x8c, 0x65, 0x2c, 0x4c, 0x48, 0xfd, 0x3c, 0xb7, 0x14, 0xb4, 0xea, 0x7a, 0x13}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -1116,7 +1117,7 @@ func _1635942153_add_telemetry_server_url_to_settingsUpSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "1635942153_add_telemetry_server_url_to_settings.up.sql", size: 128, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "1635942153_add_telemetry_server_url_to_settings.up.sql", size: 128, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x6e, 0x9b, 0x1d, 0x39, 0x9c, 0x8d, 0x50, 0x86, 0xdf, 0xe5, 0x81, 0x55, 0xdc, 0x31, 0xcd, 0xb7, 0xc7, 0x5a, 0x67, 0x3b, 0x21, 0x99, 0xa5, 0x74, 0xb8, 0xd3, 0x58, 0xae, 0x29, 0x68, 0x2a, 0x8d}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x6e, 0x9b, 0x1d, 0x39, 0x9c, 0x8d, 0x50, 0x86, 0xdf, 0xe5, 0x81, 0x55, 0xdc, 0x31, 0xcd, 0xb7, 0xc7, 0x5a, 0x67, 0x3b, 0x21, 0x99, 0xa5, 0x74, 0xb8, 0xd3, 0x58, 0xae, 0x29, 0x68, 0x2a, 0x8d}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -1136,7 +1137,7 @@ func _1635942154_add_backup_settingUpSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "1635942154_add_backup_setting.up.sql", size: 287, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "1635942154_add_backup_setting.up.sql", size: 287, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xb7, 0xe7, 0xfb, 0x70, 0x80, 0x5, 0xb4, 0x7b, 0x67, 0x8, 0x6e, 0x5f, 0x45, 0x17, 0xd9, 0x5f, 0x18, 0x66, 0x2f, 0x8a, 0x4f, 0xd4, 0x15, 0xe5, 0x2b, 0xbb, 0x25, 0x7a, 0x30, 0xad, 0x4c, 0x1a}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xb7, 0xe7, 0xfb, 0x70, 0x80, 0x5, 0xb4, 0x7b, 0x67, 0x8, 0x6e, 0x5f, 0x45, 0x17, 0xd9, 0x5f, 0x18, 0x66, 0x2f, 0x8a, 0x4f, 0xd4, 0x15, 0xe5, 0x2b, 0xbb, 0x25, 0x7a, 0x30, 0xad, 0x4c, 0x1a}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -1156,7 +1157,7 @@ func _1637745568_add_auto_message_settingUpSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "1637745568_add_auto_message_setting.up.sql", size: 122, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "1637745568_add_auto_message_setting.up.sql", size: 122, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x1d, 0xd8, 0xd2, 0xc2, 0x3a, 0xd7, 0xf1, 0x96, 0x6a, 0x35, 0xe5, 0x5c, 0xb9, 0xed, 0x4b, 0xf2, 0x5f, 0x80, 0x43, 0xca, 0x40, 0x57, 0x7e, 0xd7, 0x41, 0x9f, 0x70, 0x9f, 0xaf, 0x2a, 0xfc, 0x8f}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x1d, 0xd8, 0xd2, 0xc2, 0x3a, 0xd7, 0xf1, 0x96, 0x6a, 0x35, 0xe5, 0x5c, 0xb9, 0xed, 0x4b, 0xf2, 0x5f, 0x80, 0x43, 0xca, 0x40, 0x57, 0x7e, 0xd7, 0x41, 0x9f, 0x70, 0x9f, 0xaf, 0x2a, 0xfc, 0x8f}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -1176,7 +1177,7 @@ func _1640111208_nodeconfigUpSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "1640111208_nodeconfig.up.sql", size: 7659, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "1640111208_nodeconfig.up.sql", size: 7659, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x8e, 0x5a, 0xc6, 0xed, 0x6, 0xcb, 0x51, 0x8b, 0x78, 0xe9, 0x10, 0x37, 0xd1, 0xad, 0x9b, 0x76, 0x9a, 0xb9, 0x72, 0x85, 0xe7, 0x8a, 0x7f, 0xf0, 0x81, 0xf8, 0x33, 0x59, 0x67, 0x8e, 0xeb, 0xb1}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x8e, 0x5a, 0xc6, 0xed, 0x6, 0xcb, 0x51, 0x8b, 0x78, 0xe9, 0x10, 0x37, 0xd1, 0xad, 0x9b, 0x76, 0x9a, 0xb9, 0x72, 0x85, 0xe7, 0x8a, 0x7f, 0xf0, 0x81, 0xf8, 0x33, 0x59, 0x67, 0x8e, 0xeb, 0xb1}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -1196,7 +1197,7 @@ func docGo() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "doc.go", size: 85, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "doc.go", size: 85, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xe5, 0xd2, 0xea, 0xc5, 0xd, 0xc4, 0x7f, 0x95, 0x8e, 0xd5, 0xf5, 0x96, 0xf2, 0x1b, 0xcb, 0xc7, 0xc2, 0x46, 0x1, 0x78, 0x1d, 0x5d, 0x59, 0x19, 0x99, 0xdd, 0x5b, 0xf5, 0x63, 0xa5, 0x25, 0xb8}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xe5, 0xd2, 0xea, 0xc5, 0xd, 0xc4, 0x7f, 0x95, 0x8e, 0xd5, 0xf5, 0x96, 0xf2, 0x1b, 0xcb, 0xc7, 0xc2, 0x46, 0x1, 0x78, 0x1d, 0x5d, 0x59, 0x19, 0x99, 0xdd, 0x5b, 0xf5, 0x63, 0xa5, 0x25, 0xb8}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -1292,76 +1293,124 @@ func AssetNames() []string {
|
||||||
|
|
||||||
// _bindata is a table, holding each asset generator, mapped to its name.
|
// _bindata is a table, holding each asset generator, mapped to its name.
|
||||||
var _bindata = map[string]func() (*asset, error){
|
var _bindata = map[string]func() (*asset, error){
|
||||||
"0001_app.down.sql": _0001_appDownSql,
|
"0001_app.down.sql": _0001_appDownSql,
|
||||||
"0001_app.up.sql": _0001_appUpSql,
|
|
||||||
"0002_tokens.down.sql": _0002_tokensDownSql,
|
|
||||||
"0002_tokens.up.sql": _0002_tokensUpSql,
|
|
||||||
"0003_settings.down.sql": _0003_settingsDownSql,
|
|
||||||
"0003_settings.up.sql": _0003_settingsUpSql,
|
|
||||||
"0004_pending_stickers.down.sql": _0004_pending_stickersDownSql,
|
|
||||||
"0004_pending_stickers.up.sql": _0004_pending_stickersUpSql,
|
|
||||||
"0005_waku_mode.down.sql": _0005_waku_modeDownSql,
|
|
||||||
"0005_waku_mode.up.sql": _0005_waku_modeUpSql,
|
|
||||||
"0006_appearance.up.sql": _0006_appearanceUpSql,
|
|
||||||
"0007_enable_waku_default.up.sql": _0007_enable_waku_defaultUpSql,
|
|
||||||
"0008_add_push_notifications.up.sql": _0008_add_push_notificationsUpSql,
|
|
||||||
"0009_enable_sending_push_notifications.down.sql": _0009_enable_sending_push_notificationsDownSql,
|
|
||||||
"0009_enable_sending_push_notifications.up.sql": _0009_enable_sending_push_notificationsUpSql,
|
|
||||||
"0010_add_block_mentions.down.sql": _0010_add_block_mentionsDownSql,
|
|
||||||
"0010_add_block_mentions.up.sql": _0010_add_block_mentionsUpSql,
|
|
||||||
"0011_allow_webview_permission_requests.down.sql": _0011_allow_webview_permission_requestsDownSql,
|
|
||||||
"0011_allow_webview_permission_requests.up.sql": _0011_allow_webview_permission_requestsUpSql,
|
|
||||||
"0012_pending_transactions.down.sql": _0012_pending_transactionsDownSql,
|
|
||||||
"0012_pending_transactions.up.sql": _0012_pending_transactionsUpSql,
|
|
||||||
"0013_favourites.down.sql": _0013_favouritesDownSql,
|
|
||||||
"0013_favourites.up.sql": _0013_favouritesUpSql,
|
|
||||||
"0014_add_use_mailservers.down.sql": _0014_add_use_mailserversDownSql,
|
|
||||||
"0014_add_use_mailservers.up.sql": _0014_add_use_mailserversUpSql,
|
|
||||||
"0015_link_previews.down.sql": _0015_link_previewsDownSql,
|
|
||||||
"0015_link_previews.up.sql": _0015_link_previewsUpSql,
|
|
||||||
"0016_local_notifications_preferences.down.sql": _0016_local_notifications_preferencesDownSql,
|
|
||||||
"0016_local_notifications_preferences.up.sql": _0016_local_notifications_preferencesUpSql,
|
|
||||||
"0017_bookmarks.down.sql": _0017_bookmarksDownSql,
|
|
||||||
"0017_bookmarks.up.sql": _0017_bookmarksUpSql,
|
|
||||||
"0018_profile_pictures_visibility.up.sql": _0018_profile_pictures_visibilityUpSql,
|
|
||||||
"0019_blocks_ranges_extra_data.up.sql": _0019_blocks_ranges_extra_dataUpSql,
|
|
||||||
"0020_metrics.up.sql": _0020_metricsUpSql,
|
|
||||||
"0021_add_session_id_to_metrics.up.sql": _0021_add_session_id_to_metricsUpSql,
|
|
||||||
"0022_pending_transfers.up.sql": _0022_pending_transfersUpSql,
|
|
||||||
"1618237885_settings_anon_metrics_should_send.up.sql": _1618237885_settings_anon_metrics_should_sendUpSql,
|
|
||||||
"1618395756_contacts_only.up.sql": _1618395756_contacts_onlyUpSql,
|
|
||||||
"1622184614_add_default_sync_period.up.sql": _1622184614_add_default_sync_periodUpSql,
|
|
||||||
"1625872445_user_status.up.sql": _1625872445_user_statusUpSql,
|
|
||||||
"1627983977_add_gif_to_settings.up.sql": _1627983977_add_gif_to_settingsUpSql,
|
|
||||||
"1628580203_add_hidden_account.up.sql": _1628580203_add_hidden_accountUpSql,
|
|
||||||
"1629123384_add_id_to_app_metrics.up.sql": _1629123384_add_id_to_app_metricsUpSql,
|
|
||||||
"1630401853_add_opensea_enabled_to_settings.up.sql": _1630401853_add_opensea_enabled_to_settingsUpSql,
|
|
||||||
"1630464455_create-saved_addresses-table.down.sql": _1630464455_createSaved_addressesTableDownSql,
|
|
||||||
"1630464455_create-saved_addresses-table.up.sql": _1630464455_createSaved_addressesTableUpSql,
|
|
||||||
"1630485153_networks.down.sql": _1630485153_networksDownSql,
|
|
||||||
"1630485153_networks.up.sql": _1630485153_networksUpSql,
|
|
||||||
"1632262444_profile_pictures_show_to.up.sql": _1632262444_profile_pictures_show_toUpSql,
|
|
||||||
"1635942153_add_telemetry_server_url_to_settings.up.sql": _1635942153_add_telemetry_server_url_to_settingsUpSql,
|
|
||||||
"1635942154_add_backup_setting.up.sql": _1635942154_add_backup_settingUpSql,
|
|
||||||
"1637745568_add_auto_message_setting.up.sql": _1637745568_add_auto_message_settingUpSql,
|
|
||||||
"1640111208_nodeconfig.up.sql": _1640111208_nodeconfigUpSql,
|
|
||||||
"doc.go": docGo,
|
|
||||||
}
|
|
||||||
|
|
||||||
// AssetDebug is true if the assets were built with the debug flag enabled.
|
"0001_app.up.sql": _0001_appUpSql,
|
||||||
const AssetDebug = false
|
|
||||||
|
"0002_tokens.down.sql": _0002_tokensDownSql,
|
||||||
|
|
||||||
|
"0002_tokens.up.sql": _0002_tokensUpSql,
|
||||||
|
|
||||||
|
"0003_settings.down.sql": _0003_settingsDownSql,
|
||||||
|
|
||||||
|
"0003_settings.up.sql": _0003_settingsUpSql,
|
||||||
|
|
||||||
|
"0004_pending_stickers.down.sql": _0004_pending_stickersDownSql,
|
||||||
|
|
||||||
|
"0004_pending_stickers.up.sql": _0004_pending_stickersUpSql,
|
||||||
|
|
||||||
|
"0005_waku_mode.down.sql": _0005_waku_modeDownSql,
|
||||||
|
|
||||||
|
"0005_waku_mode.up.sql": _0005_waku_modeUpSql,
|
||||||
|
|
||||||
|
"0006_appearance.up.sql": _0006_appearanceUpSql,
|
||||||
|
|
||||||
|
"0007_enable_waku_default.up.sql": _0007_enable_waku_defaultUpSql,
|
||||||
|
|
||||||
|
"0008_add_push_notifications.up.sql": _0008_add_push_notificationsUpSql,
|
||||||
|
|
||||||
|
"0009_enable_sending_push_notifications.down.sql": _0009_enable_sending_push_notificationsDownSql,
|
||||||
|
|
||||||
|
"0009_enable_sending_push_notifications.up.sql": _0009_enable_sending_push_notificationsUpSql,
|
||||||
|
|
||||||
|
"0010_add_block_mentions.down.sql": _0010_add_block_mentionsDownSql,
|
||||||
|
|
||||||
|
"0010_add_block_mentions.up.sql": _0010_add_block_mentionsUpSql,
|
||||||
|
|
||||||
|
"0011_allow_webview_permission_requests.down.sql": _0011_allow_webview_permission_requestsDownSql,
|
||||||
|
|
||||||
|
"0011_allow_webview_permission_requests.up.sql": _0011_allow_webview_permission_requestsUpSql,
|
||||||
|
|
||||||
|
"0012_pending_transactions.down.sql": _0012_pending_transactionsDownSql,
|
||||||
|
|
||||||
|
"0012_pending_transactions.up.sql": _0012_pending_transactionsUpSql,
|
||||||
|
|
||||||
|
"0013_favourites.down.sql": _0013_favouritesDownSql,
|
||||||
|
|
||||||
|
"0013_favourites.up.sql": _0013_favouritesUpSql,
|
||||||
|
|
||||||
|
"0014_add_use_mailservers.down.sql": _0014_add_use_mailserversDownSql,
|
||||||
|
|
||||||
|
"0014_add_use_mailservers.up.sql": _0014_add_use_mailserversUpSql,
|
||||||
|
|
||||||
|
"0015_link_previews.down.sql": _0015_link_previewsDownSql,
|
||||||
|
|
||||||
|
"0015_link_previews.up.sql": _0015_link_previewsUpSql,
|
||||||
|
|
||||||
|
"0016_local_notifications_preferences.down.sql": _0016_local_notifications_preferencesDownSql,
|
||||||
|
|
||||||
|
"0016_local_notifications_preferences.up.sql": _0016_local_notifications_preferencesUpSql,
|
||||||
|
|
||||||
|
"0017_bookmarks.down.sql": _0017_bookmarksDownSql,
|
||||||
|
|
||||||
|
"0017_bookmarks.up.sql": _0017_bookmarksUpSql,
|
||||||
|
|
||||||
|
"0018_profile_pictures_visibility.up.sql": _0018_profile_pictures_visibilityUpSql,
|
||||||
|
|
||||||
|
"0019_blocks_ranges_extra_data.up.sql": _0019_blocks_ranges_extra_dataUpSql,
|
||||||
|
|
||||||
|
"0020_metrics.up.sql": _0020_metricsUpSql,
|
||||||
|
|
||||||
|
"0021_add_session_id_to_metrics.up.sql": _0021_add_session_id_to_metricsUpSql,
|
||||||
|
|
||||||
|
"0022_pending_transfers.up.sql": _0022_pending_transfersUpSql,
|
||||||
|
|
||||||
|
"1618237885_settings_anon_metrics_should_send.up.sql": _1618237885_settings_anon_metrics_should_sendUpSql,
|
||||||
|
|
||||||
|
"1618395756_contacts_only.up.sql": _1618395756_contacts_onlyUpSql,
|
||||||
|
|
||||||
|
"1622184614_add_default_sync_period.up.sql": _1622184614_add_default_sync_periodUpSql,
|
||||||
|
|
||||||
|
"1625872445_user_status.up.sql": _1625872445_user_statusUpSql,
|
||||||
|
|
||||||
|
"1627983977_add_gif_to_settings.up.sql": _1627983977_add_gif_to_settingsUpSql,
|
||||||
|
|
||||||
|
"1628580203_add_hidden_account.up.sql": _1628580203_add_hidden_accountUpSql,
|
||||||
|
|
||||||
|
"1629123384_add_id_to_app_metrics.up.sql": _1629123384_add_id_to_app_metricsUpSql,
|
||||||
|
|
||||||
|
"1630401853_add_opensea_enabled_to_settings.up.sql": _1630401853_add_opensea_enabled_to_settingsUpSql,
|
||||||
|
|
||||||
|
"1630464455_create-saved_addresses-table.down.sql": _1630464455_createSaved_addressesTableDownSql,
|
||||||
|
|
||||||
|
"1630464455_create-saved_addresses-table.up.sql": _1630464455_createSaved_addressesTableUpSql,
|
||||||
|
|
||||||
|
"1630485153_networks.down.sql": _1630485153_networksDownSql,
|
||||||
|
|
||||||
|
"1630485153_networks.up.sql": _1630485153_networksUpSql,
|
||||||
|
|
||||||
|
"1632262444_profile_pictures_show_to.up.sql": _1632262444_profile_pictures_show_toUpSql,
|
||||||
|
|
||||||
|
"1635942153_add_telemetry_server_url_to_settings.up.sql": _1635942153_add_telemetry_server_url_to_settingsUpSql,
|
||||||
|
|
||||||
|
"1635942154_add_backup_setting.up.sql": _1635942154_add_backup_settingUpSql,
|
||||||
|
|
||||||
|
"1637745568_add_auto_message_setting.up.sql": _1637745568_add_auto_message_settingUpSql,
|
||||||
|
|
||||||
|
"1640111208_nodeconfig.up.sql": _1640111208_nodeconfigUpSql,
|
||||||
|
|
||||||
|
"doc.go": docGo,
|
||||||
|
}
|
||||||
|
|
||||||
// AssetDir returns the file names below a certain
|
// AssetDir returns the file names below a certain
|
||||||
// directory embedded in the file by go-bindata.
|
// directory embedded in the file by go-bindata.
|
||||||
// For example if you run go-bindata on data/... and data contains the
|
// For example if you run go-bindata on data/... and data contains the
|
||||||
// following hierarchy:
|
// following hierarchy:
|
||||||
//
|
// data/
|
||||||
// data/
|
// foo.txt
|
||||||
// foo.txt
|
// img/
|
||||||
// img/
|
// a.png
|
||||||
// a.png
|
// b.png
|
||||||
// b.png
|
|
||||||
//
|
|
||||||
// then AssetDir("data") would return []string{"foo.txt", "img"},
|
// then AssetDir("data") would return []string{"foo.txt", "img"},
|
||||||
// AssetDir("data/img") would return []string{"a.png", "b.png"},
|
// AssetDir("data/img") would return []string{"a.png", "b.png"},
|
||||||
// AssetDir("foo.txt") and AssetDir("notexist") would return an error, and
|
// AssetDir("foo.txt") and AssetDir("notexist") would return an error, and
|
||||||
|
@ -1394,60 +1443,60 @@ type bintree struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
var _bintree = &bintree{nil, map[string]*bintree{
|
var _bintree = &bintree{nil, map[string]*bintree{
|
||||||
"0001_app.down.sql": {_0001_appDownSql, map[string]*bintree{}},
|
"0001_app.down.sql": &bintree{_0001_appDownSql, map[string]*bintree{}},
|
||||||
"0001_app.up.sql": {_0001_appUpSql, map[string]*bintree{}},
|
"0001_app.up.sql": &bintree{_0001_appUpSql, map[string]*bintree{}},
|
||||||
"0002_tokens.down.sql": {_0002_tokensDownSql, map[string]*bintree{}},
|
"0002_tokens.down.sql": &bintree{_0002_tokensDownSql, map[string]*bintree{}},
|
||||||
"0002_tokens.up.sql": {_0002_tokensUpSql, map[string]*bintree{}},
|
"0002_tokens.up.sql": &bintree{_0002_tokensUpSql, map[string]*bintree{}},
|
||||||
"0003_settings.down.sql": {_0003_settingsDownSql, map[string]*bintree{}},
|
"0003_settings.down.sql": &bintree{_0003_settingsDownSql, map[string]*bintree{}},
|
||||||
"0003_settings.up.sql": {_0003_settingsUpSql, map[string]*bintree{}},
|
"0003_settings.up.sql": &bintree{_0003_settingsUpSql, map[string]*bintree{}},
|
||||||
"0004_pending_stickers.down.sql": {_0004_pending_stickersDownSql, map[string]*bintree{}},
|
"0004_pending_stickers.down.sql": &bintree{_0004_pending_stickersDownSql, map[string]*bintree{}},
|
||||||
"0004_pending_stickers.up.sql": {_0004_pending_stickersUpSql, map[string]*bintree{}},
|
"0004_pending_stickers.up.sql": &bintree{_0004_pending_stickersUpSql, map[string]*bintree{}},
|
||||||
"0005_waku_mode.down.sql": {_0005_waku_modeDownSql, map[string]*bintree{}},
|
"0005_waku_mode.down.sql": &bintree{_0005_waku_modeDownSql, map[string]*bintree{}},
|
||||||
"0005_waku_mode.up.sql": {_0005_waku_modeUpSql, map[string]*bintree{}},
|
"0005_waku_mode.up.sql": &bintree{_0005_waku_modeUpSql, map[string]*bintree{}},
|
||||||
"0006_appearance.up.sql": {_0006_appearanceUpSql, map[string]*bintree{}},
|
"0006_appearance.up.sql": &bintree{_0006_appearanceUpSql, map[string]*bintree{}},
|
||||||
"0007_enable_waku_default.up.sql": {_0007_enable_waku_defaultUpSql, map[string]*bintree{}},
|
"0007_enable_waku_default.up.sql": &bintree{_0007_enable_waku_defaultUpSql, map[string]*bintree{}},
|
||||||
"0008_add_push_notifications.up.sql": {_0008_add_push_notificationsUpSql, map[string]*bintree{}},
|
"0008_add_push_notifications.up.sql": &bintree{_0008_add_push_notificationsUpSql, map[string]*bintree{}},
|
||||||
"0009_enable_sending_push_notifications.down.sql": {_0009_enable_sending_push_notificationsDownSql, map[string]*bintree{}},
|
"0009_enable_sending_push_notifications.down.sql": &bintree{_0009_enable_sending_push_notificationsDownSql, map[string]*bintree{}},
|
||||||
"0009_enable_sending_push_notifications.up.sql": {_0009_enable_sending_push_notificationsUpSql, map[string]*bintree{}},
|
"0009_enable_sending_push_notifications.up.sql": &bintree{_0009_enable_sending_push_notificationsUpSql, map[string]*bintree{}},
|
||||||
"0010_add_block_mentions.down.sql": {_0010_add_block_mentionsDownSql, map[string]*bintree{}},
|
"0010_add_block_mentions.down.sql": &bintree{_0010_add_block_mentionsDownSql, map[string]*bintree{}},
|
||||||
"0010_add_block_mentions.up.sql": {_0010_add_block_mentionsUpSql, map[string]*bintree{}},
|
"0010_add_block_mentions.up.sql": &bintree{_0010_add_block_mentionsUpSql, map[string]*bintree{}},
|
||||||
"0011_allow_webview_permission_requests.down.sql": {_0011_allow_webview_permission_requestsDownSql, map[string]*bintree{}},
|
"0011_allow_webview_permission_requests.down.sql": &bintree{_0011_allow_webview_permission_requestsDownSql, map[string]*bintree{}},
|
||||||
"0011_allow_webview_permission_requests.up.sql": {_0011_allow_webview_permission_requestsUpSql, map[string]*bintree{}},
|
"0011_allow_webview_permission_requests.up.sql": &bintree{_0011_allow_webview_permission_requestsUpSql, map[string]*bintree{}},
|
||||||
"0012_pending_transactions.down.sql": {_0012_pending_transactionsDownSql, map[string]*bintree{}},
|
"0012_pending_transactions.down.sql": &bintree{_0012_pending_transactionsDownSql, map[string]*bintree{}},
|
||||||
"0012_pending_transactions.up.sql": {_0012_pending_transactionsUpSql, map[string]*bintree{}},
|
"0012_pending_transactions.up.sql": &bintree{_0012_pending_transactionsUpSql, map[string]*bintree{}},
|
||||||
"0013_favourites.down.sql": {_0013_favouritesDownSql, map[string]*bintree{}},
|
"0013_favourites.down.sql": &bintree{_0013_favouritesDownSql, map[string]*bintree{}},
|
||||||
"0013_favourites.up.sql": {_0013_favouritesUpSql, map[string]*bintree{}},
|
"0013_favourites.up.sql": &bintree{_0013_favouritesUpSql, map[string]*bintree{}},
|
||||||
"0014_add_use_mailservers.down.sql": {_0014_add_use_mailserversDownSql, map[string]*bintree{}},
|
"0014_add_use_mailservers.down.sql": &bintree{_0014_add_use_mailserversDownSql, map[string]*bintree{}},
|
||||||
"0014_add_use_mailservers.up.sql": {_0014_add_use_mailserversUpSql, map[string]*bintree{}},
|
"0014_add_use_mailservers.up.sql": &bintree{_0014_add_use_mailserversUpSql, map[string]*bintree{}},
|
||||||
"0015_link_previews.down.sql": {_0015_link_previewsDownSql, map[string]*bintree{}},
|
"0015_link_previews.down.sql": &bintree{_0015_link_previewsDownSql, map[string]*bintree{}},
|
||||||
"0015_link_previews.up.sql": {_0015_link_previewsUpSql, map[string]*bintree{}},
|
"0015_link_previews.up.sql": &bintree{_0015_link_previewsUpSql, map[string]*bintree{}},
|
||||||
"0016_local_notifications_preferences.down.sql": {_0016_local_notifications_preferencesDownSql, map[string]*bintree{}},
|
"0016_local_notifications_preferences.down.sql": &bintree{_0016_local_notifications_preferencesDownSql, map[string]*bintree{}},
|
||||||
"0016_local_notifications_preferences.up.sql": {_0016_local_notifications_preferencesUpSql, map[string]*bintree{}},
|
"0016_local_notifications_preferences.up.sql": &bintree{_0016_local_notifications_preferencesUpSql, map[string]*bintree{}},
|
||||||
"0017_bookmarks.down.sql": {_0017_bookmarksDownSql, map[string]*bintree{}},
|
"0017_bookmarks.down.sql": &bintree{_0017_bookmarksDownSql, map[string]*bintree{}},
|
||||||
"0017_bookmarks.up.sql": {_0017_bookmarksUpSql, map[string]*bintree{}},
|
"0017_bookmarks.up.sql": &bintree{_0017_bookmarksUpSql, map[string]*bintree{}},
|
||||||
"0018_profile_pictures_visibility.up.sql": {_0018_profile_pictures_visibilityUpSql, map[string]*bintree{}},
|
"0018_profile_pictures_visibility.up.sql": &bintree{_0018_profile_pictures_visibilityUpSql, map[string]*bintree{}},
|
||||||
"0019_blocks_ranges_extra_data.up.sql": {_0019_blocks_ranges_extra_dataUpSql, map[string]*bintree{}},
|
"0019_blocks_ranges_extra_data.up.sql": &bintree{_0019_blocks_ranges_extra_dataUpSql, map[string]*bintree{}},
|
||||||
"0020_metrics.up.sql": {_0020_metricsUpSql, map[string]*bintree{}},
|
"0020_metrics.up.sql": &bintree{_0020_metricsUpSql, map[string]*bintree{}},
|
||||||
"0021_add_session_id_to_metrics.up.sql": {_0021_add_session_id_to_metricsUpSql, map[string]*bintree{}},
|
"0021_add_session_id_to_metrics.up.sql": &bintree{_0021_add_session_id_to_metricsUpSql, map[string]*bintree{}},
|
||||||
"0022_pending_transfers.up.sql": {_0022_pending_transfersUpSql, map[string]*bintree{}},
|
"0022_pending_transfers.up.sql": &bintree{_0022_pending_transfersUpSql, map[string]*bintree{}},
|
||||||
"1618237885_settings_anon_metrics_should_send.up.sql": {_1618237885_settings_anon_metrics_should_sendUpSql, map[string]*bintree{}},
|
"1618237885_settings_anon_metrics_should_send.up.sql": &bintree{_1618237885_settings_anon_metrics_should_sendUpSql, map[string]*bintree{}},
|
||||||
"1618395756_contacts_only.up.sql": {_1618395756_contacts_onlyUpSql, map[string]*bintree{}},
|
"1618395756_contacts_only.up.sql": &bintree{_1618395756_contacts_onlyUpSql, map[string]*bintree{}},
|
||||||
"1622184614_add_default_sync_period.up.sql": {_1622184614_add_default_sync_periodUpSql, map[string]*bintree{}},
|
"1622184614_add_default_sync_period.up.sql": &bintree{_1622184614_add_default_sync_periodUpSql, map[string]*bintree{}},
|
||||||
"1625872445_user_status.up.sql": {_1625872445_user_statusUpSql, map[string]*bintree{}},
|
"1625872445_user_status.up.sql": &bintree{_1625872445_user_statusUpSql, map[string]*bintree{}},
|
||||||
"1627983977_add_gif_to_settings.up.sql": {_1627983977_add_gif_to_settingsUpSql, map[string]*bintree{}},
|
"1627983977_add_gif_to_settings.up.sql": &bintree{_1627983977_add_gif_to_settingsUpSql, map[string]*bintree{}},
|
||||||
"1628580203_add_hidden_account.up.sql": {_1628580203_add_hidden_accountUpSql, map[string]*bintree{}},
|
"1628580203_add_hidden_account.up.sql": &bintree{_1628580203_add_hidden_accountUpSql, map[string]*bintree{}},
|
||||||
"1629123384_add_id_to_app_metrics.up.sql": {_1629123384_add_id_to_app_metricsUpSql, map[string]*bintree{}},
|
"1629123384_add_id_to_app_metrics.up.sql": &bintree{_1629123384_add_id_to_app_metricsUpSql, map[string]*bintree{}},
|
||||||
"1630401853_add_opensea_enabled_to_settings.up.sql": {_1630401853_add_opensea_enabled_to_settingsUpSql, map[string]*bintree{}},
|
"1630401853_add_opensea_enabled_to_settings.up.sql": &bintree{_1630401853_add_opensea_enabled_to_settingsUpSql, map[string]*bintree{}},
|
||||||
"1630464455_create-saved_addresses-table.down.sql": {_1630464455_createSaved_addressesTableDownSql, map[string]*bintree{}},
|
"1630464455_create-saved_addresses-table.down.sql": &bintree{_1630464455_createSaved_addressesTableDownSql, map[string]*bintree{}},
|
||||||
"1630464455_create-saved_addresses-table.up.sql": {_1630464455_createSaved_addressesTableUpSql, map[string]*bintree{}},
|
"1630464455_create-saved_addresses-table.up.sql": &bintree{_1630464455_createSaved_addressesTableUpSql, map[string]*bintree{}},
|
||||||
"1630485153_networks.down.sql": {_1630485153_networksDownSql, map[string]*bintree{}},
|
"1630485153_networks.down.sql": &bintree{_1630485153_networksDownSql, map[string]*bintree{}},
|
||||||
"1630485153_networks.up.sql": {_1630485153_networksUpSql, map[string]*bintree{}},
|
"1630485153_networks.up.sql": &bintree{_1630485153_networksUpSql, map[string]*bintree{}},
|
||||||
"1632262444_profile_pictures_show_to.up.sql": {_1632262444_profile_pictures_show_toUpSql, map[string]*bintree{}},
|
"1632262444_profile_pictures_show_to.up.sql": &bintree{_1632262444_profile_pictures_show_toUpSql, map[string]*bintree{}},
|
||||||
"1635942153_add_telemetry_server_url_to_settings.up.sql": {_1635942153_add_telemetry_server_url_to_settingsUpSql, map[string]*bintree{}},
|
"1635942153_add_telemetry_server_url_to_settings.up.sql": &bintree{_1635942153_add_telemetry_server_url_to_settingsUpSql, map[string]*bintree{}},
|
||||||
"1635942154_add_backup_setting.up.sql": {_1635942154_add_backup_settingUpSql, map[string]*bintree{}},
|
"1635942154_add_backup_setting.up.sql": &bintree{_1635942154_add_backup_settingUpSql, map[string]*bintree{}},
|
||||||
"1637745568_add_auto_message_setting.up.sql": {_1637745568_add_auto_message_settingUpSql, map[string]*bintree{}},
|
"1637745568_add_auto_message_setting.up.sql": &bintree{_1637745568_add_auto_message_settingUpSql, map[string]*bintree{}},
|
||||||
"1640111208_nodeconfig.up.sql": {_1640111208_nodeconfigUpSql, map[string]*bintree{}},
|
"1640111208_nodeconfig.up.sql": &bintree{_1640111208_nodeconfigUpSql, map[string]*bintree{}},
|
||||||
"doc.go": {docGo, map[string]*bintree{}},
|
"doc.go": &bintree{docGo, map[string]*bintree{}},
|
||||||
}}
|
}}
|
||||||
|
|
||||||
// RestoreAsset restores an asset under the given directory.
|
// RestoreAsset restores an asset under the given directory.
|
||||||
|
@ -1464,7 +1513,7 @@ func RestoreAsset(dir, name string) error {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
err = os.WriteFile(_filePath(dir, name), data, info.Mode())
|
err = ioutil.WriteFile(_filePath(dir, name), data, info.Mode())
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,6 +12,7 @@ import (
|
||||||
"crypto/sha256"
|
"crypto/sha256"
|
||||||
"fmt"
|
"fmt"
|
||||||
"io"
|
"io"
|
||||||
|
"io/ioutil"
|
||||||
"os"
|
"os"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
"strings"
|
"strings"
|
||||||
|
@ -21,7 +22,7 @@ import (
|
||||||
func bindataRead(data []byte, name string) ([]byte, error) {
|
func bindataRead(data []byte, name string) ([]byte, error) {
|
||||||
gz, err := gzip.NewReader(bytes.NewBuffer(data))
|
gz, err := gzip.NewReader(bytes.NewBuffer(data))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, fmt.Errorf("read %q: %w", name, err)
|
return nil, fmt.Errorf("read %q: %v", name, err)
|
||||||
}
|
}
|
||||||
|
|
||||||
var buf bytes.Buffer
|
var buf bytes.Buffer
|
||||||
|
@ -29,7 +30,7 @@ func bindataRead(data []byte, name string) ([]byte, error) {
|
||||||
clErr := gz.Close()
|
clErr := gz.Close()
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, fmt.Errorf("read %q: %w", name, err)
|
return nil, fmt.Errorf("read %q: %v", name, err)
|
||||||
}
|
}
|
||||||
if clErr != nil {
|
if clErr != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
|
@ -85,7 +86,7 @@ func _1557732988_initialize_dbDownSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "1557732988_initialize_db.down.sql", size: 72, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "1557732988_initialize_db.down.sql", size: 72, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x77, 0x40, 0x78, 0xb7, 0x71, 0x3c, 0x20, 0x3b, 0xc9, 0xb, 0x2f, 0x49, 0xe4, 0xff, 0x1c, 0x84, 0x54, 0xa1, 0x30, 0xe3, 0x90, 0xf8, 0x73, 0xda, 0xb0, 0x2a, 0xea, 0x8e, 0xf1, 0x82, 0xe7, 0xd2}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x77, 0x40, 0x78, 0xb7, 0x71, 0x3c, 0x20, 0x3b, 0xc9, 0xb, 0x2f, 0x49, 0xe4, 0xff, 0x1c, 0x84, 0x54, 0xa1, 0x30, 0xe3, 0x90, 0xf8, 0x73, 0xda, 0xb0, 0x2a, 0xea, 0x8e, 0xf1, 0x82, 0xe7, 0xd2}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -105,7 +106,7 @@ func _1557732988_initialize_dbUpSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "1557732988_initialize_db.up.sql", size: 278, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "1557732988_initialize_db.up.sql", size: 278, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xf5, 0x85, 0x41, 0x7a, 0xba, 0x4f, 0xa3, 0x43, 0xc0, 0x63, 0xfa, 0x2c, 0xd1, 0xc5, 0xbb, 0x20, 0xa0, 0x64, 0xa8, 0x3b, 0x65, 0x82, 0xa2, 0x14, 0x28, 0x18, 0x7c, 0x8b, 0x3a, 0x7a, 0xfd, 0xe0}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xf5, 0x85, 0x41, 0x7a, 0xba, 0x4f, 0xa3, 0x43, 0xc0, 0x63, 0xfa, 0x2c, 0xd1, 0xc5, 0xbb, 0x20, 0xa0, 0x64, 0xa8, 0x3b, 0x65, 0x82, 0xa2, 0x14, 0x28, 0x18, 0x7c, 0x8b, 0x3a, 0x7a, 0xfd, 0xe0}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -125,7 +126,7 @@ func staticGo() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "static.go", size: 178, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "static.go", size: 178, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xab, 0x8a, 0xf4, 0x27, 0x24, 0x9d, 0x2a, 0x1, 0x7b, 0x54, 0xea, 0xae, 0x4a, 0x35, 0x40, 0x92, 0xb5, 0xf9, 0xb3, 0x54, 0x3e, 0x3a, 0x1a, 0x2b, 0xae, 0xfb, 0x9e, 0x82, 0xeb, 0x4c, 0xf, 0x6}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xab, 0x8a, 0xf4, 0x27, 0x24, 0x9d, 0x2a, 0x1, 0x7b, 0x54, 0xea, 0xae, 0x4a, 0x35, 0x40, 0x92, 0xb5, 0xf9, 0xb3, 0x54, 0x3e, 0x3a, 0x1a, 0x2b, 0xae, 0xfb, 0x9e, 0x82, 0xeb, 0x4c, 0xf, 0x6}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -222,24 +223,21 @@ func AssetNames() []string {
|
||||||
// _bindata is a table, holding each asset generator, mapped to its name.
|
// _bindata is a table, holding each asset generator, mapped to its name.
|
||||||
var _bindata = map[string]func() (*asset, error){
|
var _bindata = map[string]func() (*asset, error){
|
||||||
"1557732988_initialize_db.down.sql": _1557732988_initialize_dbDownSql,
|
"1557732988_initialize_db.down.sql": _1557732988_initialize_dbDownSql,
|
||||||
"1557732988_initialize_db.up.sql": _1557732988_initialize_dbUpSql,
|
|
||||||
"static.go": staticGo,
|
|
||||||
}
|
|
||||||
|
|
||||||
// AssetDebug is true if the assets were built with the debug flag enabled.
|
"1557732988_initialize_db.up.sql": _1557732988_initialize_dbUpSql,
|
||||||
const AssetDebug = false
|
|
||||||
|
"static.go": staticGo,
|
||||||
|
}
|
||||||
|
|
||||||
// AssetDir returns the file names below a certain
|
// AssetDir returns the file names below a certain
|
||||||
// directory embedded in the file by go-bindata.
|
// directory embedded in the file by go-bindata.
|
||||||
// For example if you run go-bindata on data/... and data contains the
|
// For example if you run go-bindata on data/... and data contains the
|
||||||
// following hierarchy:
|
// following hierarchy:
|
||||||
//
|
// data/
|
||||||
// data/
|
// foo.txt
|
||||||
// foo.txt
|
// img/
|
||||||
// img/
|
// a.png
|
||||||
// a.png
|
// b.png
|
||||||
// b.png
|
|
||||||
//
|
|
||||||
// then AssetDir("data") would return []string{"foo.txt", "img"},
|
// then AssetDir("data") would return []string{"foo.txt", "img"},
|
||||||
// AssetDir("data/img") would return []string{"a.png", "b.png"},
|
// AssetDir("data/img") would return []string{"a.png", "b.png"},
|
||||||
// AssetDir("foo.txt") and AssetDir("notexist") would return an error, and
|
// AssetDir("foo.txt") and AssetDir("notexist") would return an error, and
|
||||||
|
@ -272,9 +270,9 @@ type bintree struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
var _bintree = &bintree{nil, map[string]*bintree{
|
var _bintree = &bintree{nil, map[string]*bintree{
|
||||||
"1557732988_initialize_db.down.sql": {_1557732988_initialize_dbDownSql, map[string]*bintree{}},
|
"1557732988_initialize_db.down.sql": &bintree{_1557732988_initialize_dbDownSql, map[string]*bintree{}},
|
||||||
"1557732988_initialize_db.up.sql": {_1557732988_initialize_dbUpSql, map[string]*bintree{}},
|
"1557732988_initialize_db.up.sql": &bintree{_1557732988_initialize_dbUpSql, map[string]*bintree{}},
|
||||||
"static.go": {staticGo, map[string]*bintree{}},
|
"static.go": &bintree{staticGo, map[string]*bintree{}},
|
||||||
}}
|
}}
|
||||||
|
|
||||||
// RestoreAsset restores an asset under the given directory.
|
// RestoreAsset restores an asset under the given directory.
|
||||||
|
@ -291,7 +289,7 @@ func RestoreAsset(dir, name string) error {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
err = os.WriteFile(_filePath(dir, name), data, info.Mode())
|
err = ioutil.WriteFile(_filePath(dir, name), data, info.Mode())
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
|
@ -22,6 +22,7 @@ import (
|
||||||
"crypto/sha256"
|
"crypto/sha256"
|
||||||
"fmt"
|
"fmt"
|
||||||
"io"
|
"io"
|
||||||
|
"io/ioutil"
|
||||||
"os"
|
"os"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
"strings"
|
"strings"
|
||||||
|
@ -31,7 +32,7 @@ import (
|
||||||
func bindataRead(data []byte, name string) ([]byte, error) {
|
func bindataRead(data []byte, name string) ([]byte, error) {
|
||||||
gz, err := gzip.NewReader(bytes.NewBuffer(data))
|
gz, err := gzip.NewReader(bytes.NewBuffer(data))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, fmt.Errorf("read %q: %w", name, err)
|
return nil, fmt.Errorf("read %q: %v", name, err)
|
||||||
}
|
}
|
||||||
|
|
||||||
var buf bytes.Buffer
|
var buf bytes.Buffer
|
||||||
|
@ -39,7 +40,7 @@ func bindataRead(data []byte, name string) ([]byte, error) {
|
||||||
clErr := gz.Close()
|
clErr := gz.Close()
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, fmt.Errorf("read %q: %w", name, err)
|
return nil, fmt.Errorf("read %q: %v", name, err)
|
||||||
}
|
}
|
||||||
if clErr != nil {
|
if clErr != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
|
@ -95,7 +96,7 @@ func _0001_accountsDownSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "0001_accounts.down.sql", size: 21, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "0001_accounts.down.sql", size: 21, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xd2, 0x61, 0x4c, 0x18, 0xfc, 0xc, 0xdf, 0x5c, 0x1f, 0x5e, 0xd3, 0xbd, 0xfa, 0x12, 0x5e, 0x8d, 0x8d, 0x8b, 0xb9, 0x5f, 0x99, 0x46, 0x63, 0xa5, 0xe3, 0xa6, 0x8a, 0x4, 0xf1, 0x73, 0x8a, 0xe9}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xd2, 0x61, 0x4c, 0x18, 0xfc, 0xc, 0xdf, 0x5c, 0x1f, 0x5e, 0xd3, 0xbd, 0xfa, 0x12, 0x5e, 0x8d, 0x8d, 0x8b, 0xb9, 0x5f, 0x99, 0x46, 0x63, 0xa5, 0xe3, 0xa6, 0x8a, 0x4, 0xf1, 0x73, 0x8a, 0xe9}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -115,7 +116,7 @@ func _0001_accountsUpSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "0001_accounts.up.sql", size: 163, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "0001_accounts.up.sql", size: 163, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xf2, 0xfa, 0x99, 0x8e, 0x96, 0xb3, 0x13, 0x6c, 0x1f, 0x6, 0x27, 0xc5, 0xd2, 0xd4, 0xe0, 0xa5, 0x26, 0x82, 0xa7, 0x26, 0xf2, 0x68, 0x9d, 0xed, 0x9c, 0x3d, 0xbb, 0xdc, 0x37, 0x28, 0xbc, 0x1}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xf2, 0xfa, 0x99, 0x8e, 0x96, 0xb3, 0x13, 0x6c, 0x1f, 0x6, 0x27, 0xc5, 0xd2, 0xd4, 0xe0, 0xa5, 0x26, 0x82, 0xa7, 0x26, 0xf2, 0x68, 0x9d, 0xed, 0x9c, 0x3d, 0xbb, 0xdc, 0x37, 0x28, 0xbc, 0x1}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -135,7 +136,7 @@ func _1605007189_identity_imagesDownSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "1605007189_identity_images.down.sql", size: 29, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "1605007189_identity_images.down.sql", size: 29, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x2f, 0xcf, 0xa7, 0xae, 0xd5, 0x4f, 0xcd, 0x14, 0x63, 0x9, 0xbe, 0x39, 0x49, 0x18, 0x96, 0xb2, 0xa3, 0x8, 0x7d, 0x41, 0xdb, 0x50, 0x5d, 0xf5, 0x4d, 0xa2, 0xd, 0x8f, 0x57, 0x79, 0x77, 0x67}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x2f, 0xcf, 0xa7, 0xae, 0xd5, 0x4f, 0xcd, 0x14, 0x63, 0x9, 0xbe, 0x39, 0x49, 0x18, 0x96, 0xb2, 0xa3, 0x8, 0x7d, 0x41, 0xdb, 0x50, 0x5d, 0xf5, 0x4d, 0xa2, 0xd, 0x8f, 0x57, 0x79, 0x77, 0x67}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -155,7 +156,7 @@ func _1605007189_identity_imagesUpSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "1605007189_identity_images.up.sql", size: 268, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "1605007189_identity_images.up.sql", size: 268, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x50, 0xb6, 0xc1, 0x5c, 0x76, 0x72, 0x6b, 0x22, 0x34, 0xdc, 0x96, 0xdc, 0x2b, 0xfd, 0x2d, 0xbe, 0xcc, 0x1e, 0xd4, 0x5, 0x93, 0xd, 0xc2, 0x51, 0xf3, 0x1a, 0xef, 0x2b, 0x26, 0xa4, 0xeb, 0x65}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x50, 0xb6, 0xc1, 0x5c, 0x76, 0x72, 0x6b, 0x22, 0x34, 0xdc, 0x96, 0xdc, 0x2b, 0xfd, 0x2d, 0xbe, 0xcc, 0x1e, 0xd4, 0x5, 0x93, 0xd, 0xc2, 0x51, 0xf3, 0x1a, 0xef, 0x2b, 0x26, 0xa4, 0xeb, 0x65}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -175,7 +176,7 @@ func _1606224181_drop_photo_path_from_accountsDownSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "1606224181_drop_photo_path_from_accounts.down.sql", size: 892, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "1606224181_drop_photo_path_from_accounts.down.sql", size: 892, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x90, 0x24, 0x17, 0x7, 0x80, 0x93, 0x6f, 0x8d, 0x5d, 0xaa, 0x8c, 0x79, 0x15, 0x5d, 0xb3, 0x19, 0xd7, 0xd8, 0x39, 0xf9, 0x3a, 0x63, 0x8f, 0x81, 0x15, 0xb6, 0xd6, 0x9a, 0x37, 0xa8, 0x8e, 0x9b}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x90, 0x24, 0x17, 0x7, 0x80, 0x93, 0x6f, 0x8d, 0x5d, 0xaa, 0x8c, 0x79, 0x15, 0x5d, 0xb3, 0x19, 0xd7, 0xd8, 0x39, 0xf9, 0x3a, 0x63, 0x8f, 0x81, 0x15, 0xb6, 0xd6, 0x9a, 0x37, 0xa8, 0x8e, 0x9b}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -195,7 +196,7 @@ func _1606224181_drop_photo_path_from_accountsUpSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "1606224181_drop_photo_path_from_accounts.up.sql", size: 866, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "1606224181_drop_photo_path_from_accounts.up.sql", size: 866, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xff, 0x4c, 0x97, 0xee, 0xef, 0x82, 0xb8, 0x6c, 0x71, 0xbb, 0x50, 0x7b, 0xe6, 0xd9, 0x22, 0x31, 0x7c, 0x1a, 0xfe, 0x91, 0x28, 0xf6, 0x6, 0x36, 0xe, 0xb1, 0xf1, 0xc8, 0x25, 0xac, 0x7e, 0xd6}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xff, 0x4c, 0x97, 0xee, 0xef, 0x82, 0xb8, 0x6c, 0x71, 0xbb, 0x50, 0x7b, 0xe6, 0xd9, 0x22, 0x31, 0x7c, 0x1a, 0xfe, 0x91, 0x28, 0xf6, 0x6, 0x36, 0xe, 0xb1, 0xf1, 0xc8, 0x25, 0xac, 0x7e, 0xd6}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -215,7 +216,7 @@ func _1648646095_image_clockDownSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "1648646095_image_clock.down.sql", size: 939, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "1648646095_image_clock.down.sql", size: 939, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x4d, 0xa8, 0x1f, 0xf, 0xe0, 0xd7, 0xc9, 0x68, 0x98, 0xd8, 0x37, 0xb8, 0xba, 0x9e, 0xb2, 0x19, 0xf3, 0xc4, 0x73, 0x80, 0x3, 0x17, 0x2a, 0x53, 0x68, 0x10, 0x13, 0x54, 0x99, 0xb1, 0xf5, 0x1c}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x4d, 0xa8, 0x1f, 0xf, 0xe0, 0xd7, 0xc9, 0x68, 0x98, 0xd8, 0x37, 0xb8, 0xba, 0x9e, 0xb2, 0x19, 0xf3, 0xc4, 0x73, 0x80, 0x3, 0x17, 0x2a, 0x53, 0x68, 0x10, 0x13, 0x54, 0x99, 0xb1, 0xf5, 0x1c}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -235,7 +236,7 @@ func _1648646095_image_clockUpSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "1648646095_image_clock.up.sql", size: 69, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "1648646095_image_clock.up.sql", size: 69, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x98, 0xa6, 0xa4, 0x4e, 0x4e, 0xca, 0x17, 0x56, 0xea, 0xfb, 0xf0, 0xa9, 0x81, 0x95, 0xe, 0x80, 0x52, 0x1, 0x47, 0x9b, 0xde, 0x14, 0xfa, 0x72, 0xc9, 0x62, 0x6f, 0x24, 0xa2, 0xc, 0x32, 0x50}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x98, 0xa6, 0xa4, 0x4e, 0x4e, 0xca, 0x17, 0x56, 0xea, 0xfb, 0xf0, 0xa9, 0x81, 0x95, 0xe, 0x80, 0x52, 0x1, 0x47, 0x9b, 0xde, 0x14, 0xfa, 0x72, 0xc9, 0x62, 0x6f, 0x24, 0xa2, 0xc, 0x32, 0x50}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -255,7 +256,7 @@ func _1649317600_add_color_hashUpSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "1649317600_add_color_hash.up.sql", size: 201, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "1649317600_add_color_hash.up.sql", size: 201, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x1a, 0xf, 0x37, 0x6d, 0xcf, 0x99, 0xc9, 0x2e, 0xdc, 0x70, 0x11, 0xb4, 0x36, 0x26, 0x4f, 0x39, 0xa8, 0x44, 0xf, 0xcb, 0xcc, 0x81, 0x74, 0x7a, 0x88, 0xaa, 0x54, 0x8c, 0xc4, 0xe, 0x56, 0x4f}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x1a, 0xf, 0x37, 0x6d, 0xcf, 0x99, 0xc9, 0x2e, 0xdc, 0x70, 0x11, 0xb4, 0x36, 0x26, 0x4f, 0x39, 0xa8, 0x44, 0xf, 0xcb, 0xcc, 0x81, 0x74, 0x7a, 0x88, 0xaa, 0x54, 0x8c, 0xc4, 0xe, 0x56, 0x4f}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -275,7 +276,7 @@ func _1660238799_accounts_kdfUpSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "1660238799_accounts_kdf.up.sql", size: 115, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "1660238799_accounts_kdf.up.sql", size: 115, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xdf, 0xe6, 0x7a, 0x69, 0x25, 0x42, 0x3b, 0x9c, 0x20, 0xf5, 0xcb, 0xae, 0xb0, 0xb3, 0x1b, 0x66, 0xc2, 0x5d, 0xd0, 0xc1, 0x59, 0xe8, 0xa9, 0xc5, 0x69, 0x58, 0x8f, 0xae, 0xe6, 0xd1, 0x4c, 0x53}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xdf, 0xe6, 0x7a, 0x69, 0x25, 0x42, 0x3b, 0x9c, 0x20, 0xf5, 0xcb, 0xae, 0xb0, 0xb3, 0x1b, 0x66, 0xc2, 0x5d, 0xd0, 0xc1, 0x59, 0xe8, 0xa9, 0xc5, 0x69, 0x58, 0x8f, 0xae, 0xe6, 0xd1, 0x4c, 0x53}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -295,7 +296,7 @@ func _1679505708_add_customization_colorUpSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "1679505708_add_customization_color.up.sql", size: 78, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "1679505708_add_customization_color.up.sql", size: 78, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xa9, 0xe1, 0x3d, 0xaa, 0x5d, 0x35, 0x87, 0x8a, 0x8b, 0xe9, 0x4a, 0xa6, 0x7b, 0x85, 0xbc, 0x33, 0x11, 0xc7, 0x7d, 0x61, 0xac, 0x65, 0x59, 0xda, 0x32, 0x59, 0x68, 0x9d, 0xa1, 0x10, 0x7b, 0xa9}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xa9, 0xe1, 0x3d, 0xaa, 0x5d, 0x35, 0x87, 0x8a, 0x8b, 0xe9, 0x4a, 0xa6, 0x7b, 0x85, 0xbc, 0x33, 0x11, 0xc7, 0x7d, 0x61, 0xac, 0x65, 0x59, 0xda, 0x32, 0x59, 0x68, 0x9d, 0xa1, 0x10, 0x7b, 0xa9}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -315,7 +316,7 @@ func _1687853321_add_customization_color_updated_atUpSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "1687853321_add_customization_color_updated_at.up.sql", size: 80, mode: os.FileMode(0644), modTime: time.Unix(1694623803, 0)}
|
info := bindataFileInfo{name: "1687853321_add_customization_color_updated_at.up.sql", size: 80, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xa8, 0xc2, 0x9, 0xec, 0xf4, 0xd1, 0x46, 0x29, 0xc5, 0xce, 0x4d, 0xd4, 0xf, 0x9c, 0xfa, 0x62, 0x1, 0x29, 0xe6, 0xd2, 0xd5, 0xe, 0xf0, 0x27, 0x81, 0x4a, 0x82, 0x25, 0x5f, 0x67, 0xff, 0xd1}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xa8, 0xc2, 0x9, 0xec, 0xf4, 0xd1, 0x46, 0x29, 0xc5, 0xce, 0x4d, 0xd4, 0xf, 0x9c, 0xfa, 0x62, 0x1, 0x29, 0xe6, 0xd2, 0xd5, 0xe, 0xf0, 0x27, 0x81, 0x4a, 0x82, 0x25, 0x5f, 0x67, 0xff, 0xd1}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -335,7 +336,7 @@ func docGo() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "doc.go", size: 74, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "doc.go", size: 74, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xde, 0x7c, 0x28, 0xcd, 0x47, 0xf2, 0xfa, 0x7c, 0x51, 0x2d, 0xd8, 0x38, 0xb, 0xb0, 0x34, 0x9d, 0x4c, 0x62, 0xa, 0x9e, 0x28, 0xc3, 0x31, 0x23, 0xd9, 0xbb, 0x89, 0x9f, 0xa0, 0x89, 0x1f, 0xe8}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xde, 0x7c, 0x28, 0xcd, 0x47, 0xf2, 0xfa, 0x7c, 0x51, 0x2d, 0xd8, 0x38, 0xb, 0xb0, 0x34, 0x9d, 0x4c, 0x62, 0xa, 0x9e, 0x28, 0xc3, 0x31, 0x23, 0xd9, 0xbb, 0x89, 0x9f, 0xa0, 0x89, 0x1f, 0xe8}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -431,35 +432,42 @@ func AssetNames() []string {
|
||||||
|
|
||||||
// _bindata is a table, holding each asset generator, mapped to its name.
|
// _bindata is a table, holding each asset generator, mapped to its name.
|
||||||
var _bindata = map[string]func() (*asset, error){
|
var _bindata = map[string]func() (*asset, error){
|
||||||
"0001_accounts.down.sql": _0001_accountsDownSql,
|
"0001_accounts.down.sql": _0001_accountsDownSql,
|
||||||
"0001_accounts.up.sql": _0001_accountsUpSql,
|
|
||||||
"1605007189_identity_images.down.sql": _1605007189_identity_imagesDownSql,
|
"0001_accounts.up.sql": _0001_accountsUpSql,
|
||||||
"1605007189_identity_images.up.sql": _1605007189_identity_imagesUpSql,
|
|
||||||
"1606224181_drop_photo_path_from_accounts.down.sql": _1606224181_drop_photo_path_from_accountsDownSql,
|
"1605007189_identity_images.down.sql": _1605007189_identity_imagesDownSql,
|
||||||
"1606224181_drop_photo_path_from_accounts.up.sql": _1606224181_drop_photo_path_from_accountsUpSql,
|
|
||||||
"1648646095_image_clock.down.sql": _1648646095_image_clockDownSql,
|
"1605007189_identity_images.up.sql": _1605007189_identity_imagesUpSql,
|
||||||
"1648646095_image_clock.up.sql": _1648646095_image_clockUpSql,
|
|
||||||
"1649317600_add_color_hash.up.sql": _1649317600_add_color_hashUpSql,
|
"1606224181_drop_photo_path_from_accounts.down.sql": _1606224181_drop_photo_path_from_accountsDownSql,
|
||||||
"1660238799_accounts_kdf.up.sql": _1660238799_accounts_kdfUpSql,
|
|
||||||
"1679505708_add_customization_color.up.sql": _1679505708_add_customization_colorUpSql,
|
"1606224181_drop_photo_path_from_accounts.up.sql": _1606224181_drop_photo_path_from_accountsUpSql,
|
||||||
|
|
||||||
|
"1648646095_image_clock.down.sql": _1648646095_image_clockDownSql,
|
||||||
|
|
||||||
|
"1648646095_image_clock.up.sql": _1648646095_image_clockUpSql,
|
||||||
|
|
||||||
|
"1649317600_add_color_hash.up.sql": _1649317600_add_color_hashUpSql,
|
||||||
|
|
||||||
|
"1660238799_accounts_kdf.up.sql": _1660238799_accounts_kdfUpSql,
|
||||||
|
|
||||||
|
"1679505708_add_customization_color.up.sql": _1679505708_add_customization_colorUpSql,
|
||||||
|
|
||||||
"1687853321_add_customization_color_updated_at.up.sql": _1687853321_add_customization_color_updated_atUpSql,
|
"1687853321_add_customization_color_updated_at.up.sql": _1687853321_add_customization_color_updated_atUpSql,
|
||||||
|
|
||||||
"doc.go": docGo,
|
"doc.go": docGo,
|
||||||
}
|
}
|
||||||
|
|
||||||
// AssetDebug is true if the assets were built with the debug flag enabled.
|
|
||||||
const AssetDebug = false
|
|
||||||
|
|
||||||
// AssetDir returns the file names below a certain
|
// AssetDir returns the file names below a certain
|
||||||
// directory embedded in the file by go-bindata.
|
// directory embedded in the file by go-bindata.
|
||||||
// For example if you run go-bindata on data/... and data contains the
|
// For example if you run go-bindata on data/... and data contains the
|
||||||
// following hierarchy:
|
// following hierarchy:
|
||||||
//
|
// data/
|
||||||
// data/
|
// foo.txt
|
||||||
// foo.txt
|
// img/
|
||||||
// img/
|
// a.png
|
||||||
// a.png
|
// b.png
|
||||||
// b.png
|
|
||||||
//
|
|
||||||
// then AssetDir("data") would return []string{"foo.txt", "img"},
|
// then AssetDir("data") would return []string{"foo.txt", "img"},
|
||||||
// AssetDir("data/img") would return []string{"a.png", "b.png"},
|
// AssetDir("data/img") would return []string{"a.png", "b.png"},
|
||||||
// AssetDir("foo.txt") and AssetDir("notexist") would return an error, and
|
// AssetDir("foo.txt") and AssetDir("notexist") would return an error, and
|
||||||
|
@ -492,19 +500,19 @@ type bintree struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
var _bintree = &bintree{nil, map[string]*bintree{
|
var _bintree = &bintree{nil, map[string]*bintree{
|
||||||
"0001_accounts.down.sql": {_0001_accountsDownSql, map[string]*bintree{}},
|
"0001_accounts.down.sql": &bintree{_0001_accountsDownSql, map[string]*bintree{}},
|
||||||
"0001_accounts.up.sql": {_0001_accountsUpSql, map[string]*bintree{}},
|
"0001_accounts.up.sql": &bintree{_0001_accountsUpSql, map[string]*bintree{}},
|
||||||
"1605007189_identity_images.down.sql": {_1605007189_identity_imagesDownSql, map[string]*bintree{}},
|
"1605007189_identity_images.down.sql": &bintree{_1605007189_identity_imagesDownSql, map[string]*bintree{}},
|
||||||
"1605007189_identity_images.up.sql": {_1605007189_identity_imagesUpSql, map[string]*bintree{}},
|
"1605007189_identity_images.up.sql": &bintree{_1605007189_identity_imagesUpSql, map[string]*bintree{}},
|
||||||
"1606224181_drop_photo_path_from_accounts.down.sql": {_1606224181_drop_photo_path_from_accountsDownSql, map[string]*bintree{}},
|
"1606224181_drop_photo_path_from_accounts.down.sql": &bintree{_1606224181_drop_photo_path_from_accountsDownSql, map[string]*bintree{}},
|
||||||
"1606224181_drop_photo_path_from_accounts.up.sql": {_1606224181_drop_photo_path_from_accountsUpSql, map[string]*bintree{}},
|
"1606224181_drop_photo_path_from_accounts.up.sql": &bintree{_1606224181_drop_photo_path_from_accountsUpSql, map[string]*bintree{}},
|
||||||
"1648646095_image_clock.down.sql": {_1648646095_image_clockDownSql, map[string]*bintree{}},
|
"1648646095_image_clock.down.sql": &bintree{_1648646095_image_clockDownSql, map[string]*bintree{}},
|
||||||
"1648646095_image_clock.up.sql": {_1648646095_image_clockUpSql, map[string]*bintree{}},
|
"1648646095_image_clock.up.sql": &bintree{_1648646095_image_clockUpSql, map[string]*bintree{}},
|
||||||
"1649317600_add_color_hash.up.sql": {_1649317600_add_color_hashUpSql, map[string]*bintree{}},
|
"1649317600_add_color_hash.up.sql": &bintree{_1649317600_add_color_hashUpSql, map[string]*bintree{}},
|
||||||
"1660238799_accounts_kdf.up.sql": {_1660238799_accounts_kdfUpSql, map[string]*bintree{}},
|
"1660238799_accounts_kdf.up.sql": &bintree{_1660238799_accounts_kdfUpSql, map[string]*bintree{}},
|
||||||
"1679505708_add_customization_color.up.sql": {_1679505708_add_customization_colorUpSql, map[string]*bintree{}},
|
"1679505708_add_customization_color.up.sql": &bintree{_1679505708_add_customization_colorUpSql, map[string]*bintree{}},
|
||||||
"1687853321_add_customization_color_updated_at.up.sql": {_1687853321_add_customization_color_updated_atUpSql, map[string]*bintree{}},
|
"1687853321_add_customization_color_updated_at.up.sql": &bintree{_1687853321_add_customization_color_updated_atUpSql, map[string]*bintree{}},
|
||||||
"doc.go": {docGo, map[string]*bintree{}},
|
"doc.go": &bintree{docGo, map[string]*bintree{}},
|
||||||
}}
|
}}
|
||||||
|
|
||||||
// RestoreAsset restores an asset under the given directory.
|
// RestoreAsset restores an asset under the given directory.
|
||||||
|
@ -521,7 +529,7 @@ func RestoreAsset(dir, name string) error {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
err = os.WriteFile(_filePath(dir, name), data, info.Mode())
|
err = ioutil.WriteFile(_filePath(dir, name), data, info.Mode())
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
|
@ -40,6 +40,7 @@ const (
|
||||||
ActivityCenterMembershipStatusDeclined
|
ActivityCenterMembershipStatusDeclined
|
||||||
ActivityCenterMembershipStatusAcceptedPending
|
ActivityCenterMembershipStatusAcceptedPending
|
||||||
ActivityCenterMembershipStatusDeclinedPending
|
ActivityCenterMembershipStatusDeclinedPending
|
||||||
|
ActivityCenterMembershipOwnershipChanged
|
||||||
)
|
)
|
||||||
|
|
||||||
type ActivityCenterQueryParamsRead uint
|
type ActivityCenterQueryParamsRead uint
|
||||||
|
|
|
@ -12,6 +12,7 @@ import (
|
||||||
"crypto/sha256"
|
"crypto/sha256"
|
||||||
"fmt"
|
"fmt"
|
||||||
"io"
|
"io"
|
||||||
|
"io/ioutil"
|
||||||
"os"
|
"os"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
"strings"
|
"strings"
|
||||||
|
@ -21,7 +22,7 @@ import (
|
||||||
func bindataRead(data []byte, name string) ([]byte, error) {
|
func bindataRead(data []byte, name string) ([]byte, error) {
|
||||||
gz, err := gzip.NewReader(bytes.NewBuffer(data))
|
gz, err := gzip.NewReader(bytes.NewBuffer(data))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, fmt.Errorf("read %q: %w", name, err)
|
return nil, fmt.Errorf("read %q: %v", name, err)
|
||||||
}
|
}
|
||||||
|
|
||||||
var buf bytes.Buffer
|
var buf bytes.Buffer
|
||||||
|
@ -29,7 +30,7 @@ func bindataRead(data []byte, name string) ([]byte, error) {
|
||||||
clErr := gz.Close()
|
clErr := gz.Close()
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, fmt.Errorf("read %q: %w", name, err)
|
return nil, fmt.Errorf("read %q: %v", name, err)
|
||||||
}
|
}
|
||||||
if clErr != nil {
|
if clErr != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
|
@ -85,7 +86,7 @@ func _1619446565_postgres_make_anon_metrics_tableDownSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "1619446565_postgres_make_anon_metrics_table.down.sql", size: 24, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "1619446565_postgres_make_anon_metrics_table.down.sql", size: 24, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x75, 0xea, 0x1, 0x74, 0xe6, 0xa3, 0x11, 0xd0, 0x86, 0x87, 0x7e, 0x31, 0xb4, 0x1a, 0x27, 0x5d, 0xda, 0x77, 0xa3, 0xf5, 0x1d, 0x88, 0x79, 0xcf, 0xd5, 0x95, 0x75, 0xd, 0x47, 0xa1, 0x90, 0x5}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x75, 0xea, 0x1, 0x74, 0xe6, 0xa3, 0x11, 0xd0, 0x86, 0x87, 0x7e, 0x31, 0xb4, 0x1a, 0x27, 0x5d, 0xda, 0x77, 0xa3, 0xf5, 0x1d, 0x88, 0x79, 0xcf, 0xd5, 0x95, 0x75, 0xd, 0x47, 0xa1, 0x90, 0x5}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -105,7 +106,7 @@ func _1619446565_postgres_make_anon_metrics_tableUpSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "1619446565_postgres_make_anon_metrics_table.up.sql", size: 443, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "1619446565_postgres_make_anon_metrics_table.up.sql", size: 443, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xd5, 0xdc, 0x72, 0x28, 0x3c, 0xf6, 0x94, 0xb0, 0x47, 0x3d, 0xca, 0x55, 0x3d, 0xf7, 0x83, 0xb8, 0x7d, 0x2f, 0x1e, 0x98, 0xb7, 0xde, 0xa, 0xff, 0xa0, 0x52, 0x60, 0x83, 0x56, 0xc5, 0xd1, 0xa2}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xd5, 0xdc, 0x72, 0x28, 0x3c, 0xf6, 0x94, 0xb0, 0x47, 0x3d, 0xca, 0x55, 0x3d, 0xf7, 0x83, 0xb8, 0x7d, 0x2f, 0x1e, 0x98, 0xb7, 0xde, 0xa, 0xff, 0xa0, 0x52, 0x60, 0x83, 0x56, 0xc5, 0xd1, 0xa2}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -125,7 +126,7 @@ func docGo() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "doc.go", size: 380, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "doc.go", size: 380, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x49, 0x1, 0xd4, 0xd6, 0xc7, 0x44, 0xd4, 0xfd, 0x7b, 0x69, 0x1f, 0xe3, 0xe, 0x48, 0x14, 0x99, 0xf0, 0x8e, 0x43, 0xae, 0x54, 0x64, 0xa2, 0x8b, 0x82, 0x1c, 0x2b, 0xb, 0xec, 0xf5, 0xb3, 0xfc}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x49, 0x1, 0xd4, 0xd6, 0xc7, 0x44, 0xd4, 0xfd, 0x7b, 0x69, 0x1f, 0xe3, 0xe, 0x48, 0x14, 0x99, 0xf0, 0x8e, 0x43, 0xae, 0x54, 0x64, 0xa2, 0x8b, 0x82, 0x1c, 0x2b, 0xb, 0xec, 0xf5, 0xb3, 0xfc}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -222,24 +223,21 @@ func AssetNames() []string {
|
||||||
// _bindata is a table, holding each asset generator, mapped to its name.
|
// _bindata is a table, holding each asset generator, mapped to its name.
|
||||||
var _bindata = map[string]func() (*asset, error){
|
var _bindata = map[string]func() (*asset, error){
|
||||||
"1619446565_postgres_make_anon_metrics_table.down.sql": _1619446565_postgres_make_anon_metrics_tableDownSql,
|
"1619446565_postgres_make_anon_metrics_table.down.sql": _1619446565_postgres_make_anon_metrics_tableDownSql,
|
||||||
"1619446565_postgres_make_anon_metrics_table.up.sql": _1619446565_postgres_make_anon_metrics_tableUpSql,
|
|
||||||
|
"1619446565_postgres_make_anon_metrics_table.up.sql": _1619446565_postgres_make_anon_metrics_tableUpSql,
|
||||||
|
|
||||||
"doc.go": docGo,
|
"doc.go": docGo,
|
||||||
}
|
}
|
||||||
|
|
||||||
// AssetDebug is true if the assets were built with the debug flag enabled.
|
|
||||||
const AssetDebug = false
|
|
||||||
|
|
||||||
// AssetDir returns the file names below a certain
|
// AssetDir returns the file names below a certain
|
||||||
// directory embedded in the file by go-bindata.
|
// directory embedded in the file by go-bindata.
|
||||||
// For example if you run go-bindata on data/... and data contains the
|
// For example if you run go-bindata on data/... and data contains the
|
||||||
// following hierarchy:
|
// following hierarchy:
|
||||||
//
|
// data/
|
||||||
// data/
|
// foo.txt
|
||||||
// foo.txt
|
// img/
|
||||||
// img/
|
// a.png
|
||||||
// a.png
|
// b.png
|
||||||
// b.png
|
|
||||||
//
|
|
||||||
// then AssetDir("data") would return []string{"foo.txt", "img"},
|
// then AssetDir("data") would return []string{"foo.txt", "img"},
|
||||||
// AssetDir("data/img") would return []string{"a.png", "b.png"},
|
// AssetDir("data/img") would return []string{"a.png", "b.png"},
|
||||||
// AssetDir("foo.txt") and AssetDir("notexist") would return an error, and
|
// AssetDir("foo.txt") and AssetDir("notexist") would return an error, and
|
||||||
|
@ -272,9 +270,9 @@ type bintree struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
var _bintree = &bintree{nil, map[string]*bintree{
|
var _bintree = &bintree{nil, map[string]*bintree{
|
||||||
"1619446565_postgres_make_anon_metrics_table.down.sql": {_1619446565_postgres_make_anon_metrics_tableDownSql, map[string]*bintree{}},
|
"1619446565_postgres_make_anon_metrics_table.down.sql": &bintree{_1619446565_postgres_make_anon_metrics_tableDownSql, map[string]*bintree{}},
|
||||||
"1619446565_postgres_make_anon_metrics_table.up.sql": {_1619446565_postgres_make_anon_metrics_tableUpSql, map[string]*bintree{}},
|
"1619446565_postgres_make_anon_metrics_table.up.sql": &bintree{_1619446565_postgres_make_anon_metrics_tableUpSql, map[string]*bintree{}},
|
||||||
"doc.go": {docGo, map[string]*bintree{}},
|
"doc.go": &bintree{docGo, map[string]*bintree{}},
|
||||||
}}
|
}}
|
||||||
|
|
||||||
// RestoreAsset restores an asset under the given directory.
|
// RestoreAsset restores an asset under the given directory.
|
||||||
|
@ -291,7 +289,7 @@ func RestoreAsset(dir, name string) error {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
err = os.WriteFile(_filePath(dir, name), data, info.Mode())
|
err = ioutil.WriteFile(_filePath(dir, name), data, info.Mode())
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
|
@ -760,6 +760,37 @@ func (o *Community) RemoveUserFromOrg(pk *ecdsa.PublicKey) (*protobuf.CommunityD
|
||||||
return o.config.CommunityDescription, nil
|
return o.config.CommunityDescription, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (o *Community) RemoveAllUsersFromOrg() *CommunityChanges {
|
||||||
|
o.increaseClock()
|
||||||
|
|
||||||
|
myPublicKey := common.PubkeyToHex(o.config.MemberIdentity)
|
||||||
|
member := o.config.CommunityDescription.Members[myPublicKey]
|
||||||
|
|
||||||
|
membersToRemove := o.config.CommunityDescription.Members
|
||||||
|
delete(membersToRemove, myPublicKey)
|
||||||
|
|
||||||
|
changes := o.emptyCommunityChanges()
|
||||||
|
changes.MembersRemoved = membersToRemove
|
||||||
|
|
||||||
|
o.config.CommunityDescription.Members = make(map[string]*protobuf.CommunityMember)
|
||||||
|
o.config.CommunityDescription.Members[myPublicKey] = member
|
||||||
|
|
||||||
|
for chatID, chat := range o.config.CommunityDescription.Chats {
|
||||||
|
chatMembersToRemove := chat.Members
|
||||||
|
delete(chatMembersToRemove, myPublicKey)
|
||||||
|
|
||||||
|
chat.Members = make(map[string]*protobuf.CommunityMember)
|
||||||
|
chat.Members[myPublicKey] = member
|
||||||
|
|
||||||
|
changes.ChatsModified[chatID] = &CommunityChatChanges{
|
||||||
|
ChatModified: chat,
|
||||||
|
MembersRemoved: chatMembersToRemove,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return changes
|
||||||
|
}
|
||||||
|
|
||||||
func (o *Community) AddCommunityTokensMetadata(token *protobuf.CommunityTokenMetadata) (*protobuf.CommunityDescription, error) {
|
func (o *Community) AddCommunityTokensMetadata(token *protobuf.CommunityTokenMetadata) (*protobuf.CommunityDescription, error) {
|
||||||
o.mutex.Lock()
|
o.mutex.Lock()
|
||||||
defer o.mutex.Unlock()
|
defer o.mutex.Unlock()
|
||||||
|
@ -965,7 +996,7 @@ func (o *Community) MemberIdentity() *ecdsa.PublicKey {
|
||||||
}
|
}
|
||||||
|
|
||||||
// UpdateCommunityDescription will update the community to the new community description and return a list of changes
|
// UpdateCommunityDescription will update the community to the new community description and return a list of changes
|
||||||
func (o *Community) UpdateCommunityDescription(description *protobuf.CommunityDescription, rawMessage []byte) (*CommunityChanges, error) {
|
func (o *Community) UpdateCommunityDescription(description *protobuf.CommunityDescription, rawMessage []byte, newControlNode *ecdsa.PublicKey) (*CommunityChanges, error) {
|
||||||
o.mutex.Lock()
|
o.mutex.Lock()
|
||||||
defer o.mutex.Unlock()
|
defer o.mutex.Unlock()
|
||||||
|
|
||||||
|
@ -988,6 +1019,10 @@ func (o *Community) UpdateCommunityDescription(description *protobuf.CommunityDe
|
||||||
o.config.CommunityDescription = description
|
o.config.CommunityDescription = description
|
||||||
o.config.CommunityDescriptionProtocolMessage = rawMessage
|
o.config.CommunityDescriptionProtocolMessage = rawMessage
|
||||||
|
|
||||||
|
if newControlNode != nil {
|
||||||
|
o.setControlNode(newControlNode)
|
||||||
|
}
|
||||||
|
|
||||||
// We only calculate changes if we joined/spectated the community or we requested access, otherwise not interested
|
// We only calculate changes if we joined/spectated the community or we requested access, otherwise not interested
|
||||||
if o.config.Joined || o.config.Spectated || o.config.RequestedToJoinAt > 0 {
|
if o.config.Joined || o.config.Spectated || o.config.RequestedToJoinAt > 0 {
|
||||||
response = EvaluateCommunityChanges(originCommunity, o)
|
response = EvaluateCommunityChanges(originCommunity, o)
|
||||||
|
|
|
@ -633,7 +633,7 @@ func (s *CommunitySuite) TestHandleCommunityDescription() {
|
||||||
org := s.buildCommunity(signer)
|
org := s.buildCommunity(signer)
|
||||||
org.Join()
|
org.Join()
|
||||||
expectedChanges := tc.changes(org)
|
expectedChanges := tc.changes(org)
|
||||||
actualChanges, err := org.UpdateCommunityDescription(tc.description(org), []byte{0x01})
|
actualChanges, err := org.UpdateCommunityDescription(tc.description(org), []byte{0x01}, nil)
|
||||||
s.Require().Equal(tc.err, err)
|
s.Require().Equal(tc.err, err)
|
||||||
s.Require().Equal(expectedChanges, actualChanges)
|
s.Require().Equal(expectedChanges, actualChanges)
|
||||||
})
|
})
|
||||||
|
|
|
@ -465,15 +465,20 @@ func (m *Manager) runOwnerVerificationLoop() {
|
||||||
response, err := m.HandleCommunityDescriptionMessage(signer, description, communityToValidate.payload, ownerPK)
|
response, err := m.HandleCommunityDescriptionMessage(signer, description, communityToValidate.payload, ownerPK)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
m.logger.Error("failed to handle community", zap.Error(err))
|
m.logger.Error("failed to handle community", zap.Error(err))
|
||||||
|
err = m.persistence.DeleteCommunityToValidate(communityToValidate.id, communityToValidate.clock)
|
||||||
|
if err != nil {
|
||||||
|
m.logger.Error("failed to delete community to validate", zap.Error(err))
|
||||||
|
}
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
if response != nil {
|
if response != nil {
|
||||||
|
|
||||||
m.logger.Info("community validated", zap.String("id", types.EncodeHex(communityToValidate.id)), zap.String("signer", common.PubkeyToHex(signer)))
|
m.logger.Info("community validated", zap.String("id", types.EncodeHex(communityToValidate.id)), zap.String("signer", common.PubkeyToHex(signer)))
|
||||||
m.publish(&Subscription{TokenCommunityValidated: response})
|
m.publish(&Subscription{TokenCommunityValidated: response})
|
||||||
err := m.persistence.DeleteCommunitiesToValidateByCommunityID(communityToValidate.id)
|
err := m.persistence.DeleteCommunitiesToValidateByCommunityID(communityToValidate.id)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
m.logger.Error("failed to delete community to validate", zap.Error(err))
|
m.logger.Error("failed to delete communities to validate", zap.Error(err))
|
||||||
}
|
}
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
@ -1518,6 +1523,27 @@ func (m *Manager) DeleteCategory(request *requests.DeleteCommunityCategory) (*Co
|
||||||
return changes.Community, changes, nil
|
return changes.Community, changes, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (m *Manager) GenerateRequestsToJoinForAutoApprovalOnNewOwnership(communityID types.HexBytes, kickedMembers map[string]*protobuf.CommunityMember) error {
|
||||||
|
var requestsToJoin []*RequestToJoin
|
||||||
|
clock := uint64(time.Now().Unix())
|
||||||
|
for pubKeyStr := range kickedMembers {
|
||||||
|
requestToJoin := &RequestToJoin{
|
||||||
|
PublicKey: pubKeyStr,
|
||||||
|
Clock: clock,
|
||||||
|
CommunityID: communityID,
|
||||||
|
State: RequestToJoinStateAwaitingAddresses,
|
||||||
|
Our: true,
|
||||||
|
RevealedAccounts: make([]*protobuf.RevealedAccount, 0),
|
||||||
|
}
|
||||||
|
|
||||||
|
requestToJoin.CalculateID()
|
||||||
|
|
||||||
|
requestsToJoin = append(requestsToJoin, requestToJoin)
|
||||||
|
}
|
||||||
|
|
||||||
|
return m.persistence.SaveRequestsToJoin(requestsToJoin)
|
||||||
|
}
|
||||||
|
|
||||||
func (m *Manager) Queue(signer *ecdsa.PublicKey, community *Community, clock uint64, payload []byte) error {
|
func (m *Manager) Queue(signer *ecdsa.PublicKey, community *Community, clock uint64, payload []byte) error {
|
||||||
|
|
||||||
m.logger.Info("queuing community", zap.String("id", community.IDString()), zap.String("signer", common.PubkeyToHex(signer)))
|
m.logger.Info("queuing community", zap.String("id", community.IDString()), zap.String("signer", common.PubkeyToHex(signer)))
|
||||||
|
@ -1611,20 +1637,22 @@ func (m *Manager) HandleCommunityDescriptionMessage(signer *ecdsa.PublicKey, des
|
||||||
community.config.PrivateKey = nil
|
community.config.PrivateKey = nil
|
||||||
}
|
}
|
||||||
|
|
||||||
community.setControlNode(verifiedOwner)
|
// new control node will be set in the 'UpdateCommunityDescription'
|
||||||
}
|
if !common.IsPubKeyEqual(verifiedOwner, signer) {
|
||||||
if !common.IsPubKeyEqual(community.ControlNode(), signer) {
|
return nil, ErrNotAuthorized
|
||||||
|
}
|
||||||
|
} else if !common.IsPubKeyEqual(community.ControlNode(), signer) {
|
||||||
return nil, ErrNotAuthorized
|
return nil, ErrNotAuthorized
|
||||||
}
|
}
|
||||||
} else if !common.IsPubKeyEqual(community.PublicKey(), signer) {
|
} else if !common.IsPubKeyEqual(community.PublicKey(), signer) {
|
||||||
return nil, ErrNotAuthorized
|
return nil, ErrNotAuthorized
|
||||||
}
|
}
|
||||||
|
|
||||||
return m.handleCommunityDescriptionMessageCommon(community, description, payload)
|
return m.handleCommunityDescriptionMessageCommon(community, description, payload, verifiedOwner)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *Manager) handleCommunityDescriptionMessageCommon(community *Community, description *protobuf.CommunityDescription, payload []byte) (*CommunityResponse, error) {
|
func (m *Manager) handleCommunityDescriptionMessageCommon(community *Community, description *protobuf.CommunityDescription, payload []byte, newControlNode *ecdsa.PublicKey) (*CommunityResponse, error) {
|
||||||
changes, err := community.UpdateCommunityDescription(description, payload)
|
changes, err := community.UpdateCommunityDescription(description, payload, newControlNode)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
@ -2458,6 +2486,11 @@ func (m *Manager) HandleCommunityRequestToJoin(signer *ecdsa.PublicKey, receiver
|
||||||
} else if existingRequestToJoin.State == RequestToJoinStateAcceptedPending {
|
} else if existingRequestToJoin.State == RequestToJoinStateAcceptedPending {
|
||||||
requestToJoin.State = RequestToJoinStateAccepted
|
requestToJoin.State = RequestToJoinStateAccepted
|
||||||
return community, requestToJoin, nil
|
return community, requestToJoin, nil
|
||||||
|
|
||||||
|
} else if existingRequestToJoin.State == RequestToJoinStateAwaitingAddresses {
|
||||||
|
// community ownership changed, accept request automatically
|
||||||
|
requestToJoin.State = RequestToJoinStateAccepted
|
||||||
|
return community, requestToJoin, nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2806,7 +2839,7 @@ func (m *Manager) HandleCommunityRequestToJoinResponse(signer *ecdsa.PublicKey,
|
||||||
return nil, ErrNotAuthorized
|
return nil, ErrNotAuthorized
|
||||||
}
|
}
|
||||||
|
|
||||||
_, err = community.UpdateCommunityDescription(request.Community, appMetadataMsg)
|
_, err = community.UpdateCommunityDescription(request.Community, appMetadataMsg, nil)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
@ -3260,7 +3293,11 @@ func (m *Manager) PendingRequestsToJoin() ([]*RequestToJoin, error) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *Manager) PendingRequestsToJoinForUser(pk *ecdsa.PublicKey) ([]*RequestToJoin, error) {
|
func (m *Manager) PendingRequestsToJoinForUser(pk *ecdsa.PublicKey) ([]*RequestToJoin, error) {
|
||||||
return m.persistence.PendingRequestsToJoinForUser(common.PubkeyToHex(pk))
|
return m.persistence.RequestsToJoinForUserByState(common.PubkeyToHex(pk), RequestToJoinStatePending)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (m *Manager) AwaitingAddressesRequestsToJoinForUser(pk *ecdsa.PublicKey) ([]*RequestToJoin, error) {
|
||||||
|
return m.persistence.RequestsToJoinForUserByState(common.PubkeyToHex(pk), RequestToJoinStateAwaitingAddresses)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *Manager) PendingRequestsToJoinForCommunity(id types.HexBytes) ([]*RequestToJoin, error) {
|
func (m *Manager) PendingRequestsToJoinForCommunity(id types.HexBytes) ([]*RequestToJoin, error) {
|
||||||
|
@ -3305,6 +3342,11 @@ func (m *Manager) GetPubsubTopic(communityID string) (string, error) {
|
||||||
return transport.GetPubsubTopic(community.Shard().TransportShard()), nil
|
return transport.GetPubsubTopic(community.Shard().TransportShard()), nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (m *Manager) RequestsToJoinForCommunityAwaitingAddresses(id types.HexBytes) ([]*RequestToJoin, error) {
|
||||||
|
m.logger.Info("fetching ownership changed invitations", zap.String("community-id", id.String()))
|
||||||
|
return m.persistence.RequestsToJoinForCommunityAwaitingAddresses(id)
|
||||||
|
}
|
||||||
|
|
||||||
func (m *Manager) CanPost(pk *ecdsa.PublicKey, communityID string, chatID string, grant []byte) (bool, error) {
|
func (m *Manager) CanPost(pk *ecdsa.PublicKey, communityID string, chatID string, grant []byte) (bool, error) {
|
||||||
community, err := m.GetByIDString(communityID)
|
community, err := m.GetByIDString(communityID)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
@ -4478,7 +4520,7 @@ func (m *Manager) AddCommunityToken(token *community_token.CommunityToken, clock
|
||||||
}
|
}
|
||||||
|
|
||||||
if token.PrivilegesLevel == community_token.OwnerLevel {
|
if token.PrivilegesLevel == community_token.OwnerLevel {
|
||||||
err = m.promoteSelfToControlNode(community, clock)
|
_, err = m.promoteSelfToControlNode(community, clock)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
@ -4804,7 +4846,7 @@ func (m *Manager) createCommunityTokenPermission(request *requests.CreateCommuni
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *Manager) PromoteSelfToControlNode(communityID types.HexBytes, clock uint64) (*Community, error) {
|
func (m *Manager) PromoteSelfToControlNode(communityID types.HexBytes, clock uint64) (*CommunityChanges, error) {
|
||||||
community, err := m.GetByID(communityID)
|
community, err := m.GetByID(communityID)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
|
@ -4814,17 +4856,23 @@ func (m *Manager) PromoteSelfToControlNode(communityID types.HexBytes, clock uin
|
||||||
return nil, ErrOrgNotFound
|
return nil, ErrOrgNotFound
|
||||||
}
|
}
|
||||||
|
|
||||||
err = m.promoteSelfToControlNode(community, clock)
|
ownerChanged, err := m.promoteSelfToControlNode(community, clock)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
return community, m.saveAndPublish(community)
|
if ownerChanged {
|
||||||
|
return community.RemoveAllUsersFromOrg(), m.saveAndPublish(community)
|
||||||
|
}
|
||||||
|
|
||||||
|
return community.emptyCommunityChanges(), m.saveAndPublish(community)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *Manager) promoteSelfToControlNode(community *Community, clock uint64) error {
|
func (m *Manager) promoteSelfToControlNode(community *Community, clock uint64) (bool, error) {
|
||||||
|
ownerChanged := false
|
||||||
community.setPrivateKey(m.identity)
|
community.setPrivateKey(m.identity)
|
||||||
if !community.ControlNode().Equal(&m.identity.PublicKey) {
|
if !community.ControlNode().Equal(&m.identity.PublicKey) {
|
||||||
|
ownerChanged = true
|
||||||
community.setControlNode(&m.identity.PublicKey)
|
community.setControlNode(&m.identity.PublicKey)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -4833,15 +4881,21 @@ func (m *Manager) promoteSelfToControlNode(community *Community, clock uint64) e
|
||||||
Clock: clock,
|
Clock: clock,
|
||||||
InstallationId: m.installationID,
|
InstallationId: m.installationID,
|
||||||
}
|
}
|
||||||
|
|
||||||
err := m.SaveSyncControlNode(community.ID(), syncControlNode)
|
err := m.SaveSyncControlNode(community.ID(), syncControlNode)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return false, err
|
||||||
}
|
}
|
||||||
community.config.ControlDevice = true
|
community.config.ControlDevice = true
|
||||||
|
|
||||||
|
_, err = community.AddRoleToMember(&m.identity.PublicKey, protobuf.CommunityMember_ROLE_OWNER)
|
||||||
|
if err != nil {
|
||||||
|
return false, err
|
||||||
|
}
|
||||||
|
|
||||||
community.increaseClock()
|
community.increaseClock()
|
||||||
|
|
||||||
return nil
|
return ownerChanged, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *Manager) shareRequestsToJoinWithNewPrivilegedMembers(community *Community, newPrivilegedMembers map[protobuf.CommunityMember_Roles][]*ecdsa.PublicKey) error {
|
func (m *Manager) shareRequestsToJoinWithNewPrivilegedMembers(community *Community, newPrivilegedMembers map[protobuf.CommunityMember_Roles][]*ecdsa.PublicKey) error {
|
||||||
|
@ -5000,3 +5054,14 @@ func (m *Manager) SetSyncControlNode(id types.HexBytes, syncControlNode *protobu
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (m *Manager) GetCommunityRequestToJoinWithRevealedAddresses(pubKey string, communityID types.HexBytes) (*RequestToJoin, error) {
|
||||||
|
return m.persistence.GetCommunityRequestToJoinWithRevealedAddresses(pubKey, communityID)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (m *Manager) SafeGetSignerPubKey(chainID uint64, communityID string) (string, error) {
|
||||||
|
ctx, cancel := context.WithTimeout(context.Background(), time.Second*3)
|
||||||
|
defer cancel()
|
||||||
|
|
||||||
|
return m.ownerVerifier.SafeGetSignerPubKey(ctx, chainID, communityID)
|
||||||
|
}
|
||||||
|
|
|
@ -468,7 +468,7 @@ func (p *Persistence) SaveRequestToJoinRevealedAddresses(requestID types.HexByte
|
||||||
_ = tx.Rollback()
|
_ = tx.Rollback()
|
||||||
}()
|
}()
|
||||||
|
|
||||||
query := `INSERT OR REPLACE INTO communities_requests_to_join_revealed_addresses (request_id, address, chain_ids, is_airdrop_address) VALUES (?, ?, ?, ?)`
|
query := `INSERT OR REPLACE INTO communities_requests_to_join_revealed_addresses (request_id, address, chain_ids, is_airdrop_address, signature) VALUES (?, ?, ?, ?, ?)`
|
||||||
stmt, err := tx.Prepare(query)
|
stmt, err := tx.Prepare(query)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return
|
return
|
||||||
|
@ -486,6 +486,7 @@ func (p *Persistence) SaveRequestToJoinRevealedAddresses(requestID types.HexByte
|
||||||
account.Address,
|
account.Address,
|
||||||
strings.Join(chainIDs, ","),
|
strings.Join(chainIDs, ","),
|
||||||
account.IsAirdropAddress,
|
account.IsAirdropAddress,
|
||||||
|
account.Signature,
|
||||||
)
|
)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return
|
return
|
||||||
|
@ -660,7 +661,7 @@ func (p *Persistence) RemoveRequestToJoinRevealedAddresses(requestID []byte) err
|
||||||
|
|
||||||
func (p *Persistence) GetRequestToJoinRevealedAddresses(requestID []byte) ([]*protobuf.RevealedAccount, error) {
|
func (p *Persistence) GetRequestToJoinRevealedAddresses(requestID []byte) ([]*protobuf.RevealedAccount, error) {
|
||||||
revealedAccounts := make([]*protobuf.RevealedAccount, 0)
|
revealedAccounts := make([]*protobuf.RevealedAccount, 0)
|
||||||
rows, err := p.db.Query(`SELECT address, chain_ids, is_airdrop_address FROM communities_requests_to_join_revealed_addresses WHERE request_id = ?`, requestID)
|
rows, err := p.db.Query(`SELECT address, chain_ids, is_airdrop_address, signature FROM communities_requests_to_join_revealed_addresses WHERE request_id = ?`, requestID)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
@ -670,12 +671,13 @@ func (p *Persistence) GetRequestToJoinRevealedAddresses(requestID []byte) ([]*pr
|
||||||
var address sql.NullString
|
var address sql.NullString
|
||||||
var chainIDsStr sql.NullString
|
var chainIDsStr sql.NullString
|
||||||
var isAirdropAddress sql.NullBool
|
var isAirdropAddress sql.NullBool
|
||||||
err := rows.Scan(&address, &chainIDsStr, &isAirdropAddress)
|
var signature sql.RawBytes
|
||||||
|
err := rows.Scan(&address, &chainIDsStr, &isAirdropAddress, &signature)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
revealedAccount, err := toRevealedAccount(address, chainIDsStr, isAirdropAddress)
|
revealedAccount, err := toRevealedAccount(address, chainIDsStr, isAirdropAddress, signature)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
@ -738,9 +740,9 @@ func (p *Persistence) CanceledRequestsToJoinForUser(pk string) ([]*RequestToJoin
|
||||||
return requests, nil
|
return requests, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (p *Persistence) PendingRequestsToJoinForUser(pk string) ([]*RequestToJoin, error) {
|
func (p *Persistence) RequestsToJoinForUserByState(pk string, state RequestToJoinState) ([]*RequestToJoin, error) {
|
||||||
var requests []*RequestToJoin
|
var requests []*RequestToJoin
|
||||||
rows, err := p.db.Query(`SELECT id,public_key,clock,ens_name,chat_id,community_id,state FROM communities_requests_to_join WHERE state = ? AND public_key = ?`, RequestToJoinStatePending, pk)
|
rows, err := p.db.Query(`SELECT id,public_key,clock,ens_name,chat_id,community_id,state FROM communities_requests_to_join WHERE state = ? AND public_key = ?`, state, pk)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
@ -828,6 +830,10 @@ func (p *Persistence) DeclinedPendingRequestsToJoinForCommunity(id []byte) ([]*R
|
||||||
return p.RequestsToJoinForCommunityWithState(id, RequestToJoinStateDeclinedPending)
|
return p.RequestsToJoinForCommunityWithState(id, RequestToJoinStateDeclinedPending)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (p *Persistence) RequestsToJoinForCommunityAwaitingAddresses(id []byte) ([]*RequestToJoin, error) {
|
||||||
|
return p.RequestsToJoinForCommunityWithState(id, RequestToJoinStateAwaitingAddresses)
|
||||||
|
}
|
||||||
|
|
||||||
func (p *Persistence) SetRequestToJoinState(pk string, communityID []byte, state RequestToJoinState) error {
|
func (p *Persistence) SetRequestToJoinState(pk string, communityID []byte, state RequestToJoinState) error {
|
||||||
_, err := p.db.Exec(`UPDATE communities_requests_to_join SET state = ? WHERE community_id = ? AND public_key = ?`, state, communityID, pk)
|
_, err := p.db.Exec(`UPDATE communities_requests_to_join SET state = ? WHERE community_id = ? AND public_key = ?`, state, communityID, pk)
|
||||||
return err
|
return err
|
||||||
|
@ -1394,10 +1400,11 @@ func decodeEventsData(eventsBytes []byte, eventsDescriptionBytes []byte) (*Event
|
||||||
func (p *Persistence) GetCommunityRequestsToJoinWithRevealedAddresses(communityID []byte) ([]*RequestToJoin, error) {
|
func (p *Persistence) GetCommunityRequestsToJoinWithRevealedAddresses(communityID []byte) ([]*RequestToJoin, error) {
|
||||||
requests := []*RequestToJoin{}
|
requests := []*RequestToJoin{}
|
||||||
rows, err := p.db.Query(`
|
rows, err := p.db.Query(`
|
||||||
SELECT r.id, r.public_key, r.clock, r.ens_name, r.chat_id, r.state, r.community_id, a.address, a.chain_ids, a.is_airdrop_address
|
SELECT r.id, r.public_key, r.clock, r.ens_name, r.chat_id, r.state, r.community_id,
|
||||||
|
a.address, a.chain_ids, a.is_airdrop_address, a.signature
|
||||||
FROM communities_requests_to_join r
|
FROM communities_requests_to_join r
|
||||||
LEFT JOIN communities_requests_to_join_revealed_addresses a ON r.id = a.request_id
|
LEFT JOIN communities_requests_to_join_revealed_addresses a ON r.id = a.request_id
|
||||||
WHERE community_id = ?`, communityID)
|
WHERE r.community_id = ? AND r.state != ?`, communityID, RequestToJoinStateAwaitingAddresses)
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
|
@ -1411,14 +1418,15 @@ func (p *Persistence) GetCommunityRequestsToJoinWithRevealedAddresses(communityI
|
||||||
var address sql.NullString
|
var address sql.NullString
|
||||||
var chainIDsStr sql.NullString
|
var chainIDsStr sql.NullString
|
||||||
var isAirdropAddress sql.NullBool
|
var isAirdropAddress sql.NullBool
|
||||||
|
var signature sql.RawBytes
|
||||||
|
|
||||||
err = rows.Scan(&request.ID, &request.PublicKey, &request.Clock, &request.ENSName, &request.ChatID, &request.State, &request.CommunityID,
|
err = rows.Scan(&request.ID, &request.PublicKey, &request.Clock, &request.ENSName, &request.ChatID, &request.State, &request.CommunityID,
|
||||||
&address, &chainIDsStr, &isAirdropAddress)
|
&address, &chainIDsStr, &isAirdropAddress, &signature)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
revealedAccount, err := toRevealedAccount(address, chainIDsStr, isAirdropAddress)
|
revealedAccount, err := toRevealedAccount(address, chainIDsStr, isAirdropAddress, signature)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
@ -1441,7 +1449,7 @@ func (p *Persistence) GetCommunityRequestsToJoinWithRevealedAddresses(communityI
|
||||||
return requests, nil
|
return requests, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func toRevealedAccount(rawAddress sql.NullString, rawChainIDsStr sql.NullString, isAirdropAddress sql.NullBool) (*protobuf.RevealedAccount, error) {
|
func toRevealedAccount(rawAddress sql.NullString, rawChainIDsStr sql.NullString, isAirdropAddress sql.NullBool, rawSignature sql.RawBytes) (*protobuf.RevealedAccount, error) {
|
||||||
if !rawAddress.Valid {
|
if !rawAddress.Valid {
|
||||||
return nil, nil
|
return nil, nil
|
||||||
}
|
}
|
||||||
|
@ -1471,6 +1479,7 @@ func toRevealedAccount(rawAddress sql.NullString, rawChainIDsStr sql.NullString,
|
||||||
Address: address,
|
Address: address,
|
||||||
ChainIds: chainIDs,
|
ChainIds: chainIDs,
|
||||||
IsAirdropAddress: false,
|
IsAirdropAddress: false,
|
||||||
|
Signature: rawSignature,
|
||||||
}
|
}
|
||||||
if isAirdropAddress.Valid {
|
if isAirdropAddress.Valid {
|
||||||
revealedAccount.IsAirdropAddress = isAirdropAddress.Bool
|
revealedAccount.IsAirdropAddress = isAirdropAddress.Bool
|
||||||
|
@ -1528,6 +1537,11 @@ func (p *Persistence) DeleteCommunitiesToValidateByCommunityID(communityID []byt
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (p *Persistence) DeleteCommunityToValidate(communityID []byte, clock uint64) error {
|
||||||
|
_, err := p.db.Exec(`DELETE FROM communities_validate_signer WHERE id = ? AND clock = ?`, communityID, clock)
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
func (p *Persistence) GetSyncControlNode(communityID types.HexBytes) (*protobuf.SyncCommunityControlNode, error) {
|
func (p *Persistence) GetSyncControlNode(communityID types.HexBytes) (*protobuf.SyncCommunityControlNode, error) {
|
||||||
result := &protobuf.SyncCommunityControlNode{}
|
result := &protobuf.SyncCommunityControlNode{}
|
||||||
|
|
||||||
|
@ -1560,3 +1574,61 @@ func (p *Persistence) SaveSyncControlNode(communityID types.HexBytes, clock uint
|
||||||
)
|
)
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (p *Persistence) GetCommunityRequestToJoinWithRevealedAddresses(pubKey string, communityID []byte) (*RequestToJoin, error) {
|
||||||
|
requestToJoin, err := p.GetRequestToJoinByPkAndCommunityID(pubKey, communityID)
|
||||||
|
if err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
|
||||||
|
revealedAccounts, err := p.GetRequestToJoinRevealedAddresses(requestToJoin.ID)
|
||||||
|
if err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
|
||||||
|
requestToJoin.RevealedAccounts = revealedAccounts
|
||||||
|
|
||||||
|
return requestToJoin, nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (p *Persistence) SaveRequestsToJoin(requests []*RequestToJoin) (err error) {
|
||||||
|
tx, err := p.db.BeginTx(context.Background(), &sql.TxOptions{})
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
|
defer func() {
|
||||||
|
if err != nil {
|
||||||
|
// Rollback the transaction on error
|
||||||
|
_ = tx.Rollback()
|
||||||
|
}
|
||||||
|
}()
|
||||||
|
|
||||||
|
stmt, err := tx.Prepare(`INSERT OR REPLACE INTO communities_requests_to_join(id,public_key,clock,ens_name,chat_id,community_id,state)
|
||||||
|
VALUES (?, ?, ?, ?, ?, ?, ?)`)
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
defer stmt.Close()
|
||||||
|
|
||||||
|
for _, request := range requests {
|
||||||
|
var clock uint64
|
||||||
|
// Fetch any existing request to join
|
||||||
|
err = tx.QueryRow(`SELECT clock FROM communities_requests_to_join WHERE public_key = ? AND community_id = ?`, request.PublicKey, request.CommunityID).Scan(&clock)
|
||||||
|
if err != nil && err != sql.ErrNoRows {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
|
if clock >= request.Clock {
|
||||||
|
return ErrOldRequestToJoin
|
||||||
|
}
|
||||||
|
|
||||||
|
_, err = stmt.Exec(request.ID, request.PublicKey, request.Clock, request.ENSName, request.ChatID, request.CommunityID, request.State)
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
err = tx.Commit()
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
|
@ -563,7 +563,8 @@ func (s *PersistenceSuite) TestGetCommunityRequestsToJoinWithRevealedAddresses()
|
||||||
s.Require().Equal(revealedAddresses[index], account.Address)
|
s.Require().Equal(revealedAddresses[index], account.Address)
|
||||||
}
|
}
|
||||||
|
|
||||||
// RTJ with 1 revealed Address, ChainIds and IsAirdropAddress
|
// RTJ with 1 revealed Address, ChainIds, IsAirdropAddress and Signature
|
||||||
|
signature := []byte("test")
|
||||||
expectedRtj2 := &RequestToJoin{
|
expectedRtj2 := &RequestToJoin{
|
||||||
ID: types.HexBytes{8, 7, 6, 5, 4, 3, 2, 1},
|
ID: types.HexBytes{8, 7, 6, 5, 4, 3, 2, 1},
|
||||||
PublicKey: common.PubkeyToHex(&identity.PublicKey),
|
PublicKey: common.PubkeyToHex(&identity.PublicKey),
|
||||||
|
@ -575,6 +576,7 @@ func (s *PersistenceSuite) TestGetCommunityRequestsToJoinWithRevealedAddresses()
|
||||||
Address: revealedAddresses[2],
|
Address: revealedAddresses[2],
|
||||||
ChainIds: chainIds,
|
ChainIds: chainIds,
|
||||||
IsAirdropAddress: true,
|
IsAirdropAddress: true,
|
||||||
|
Signature: signature,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
@ -592,6 +594,7 @@ func (s *PersistenceSuite) TestGetCommunityRequestsToJoinWithRevealedAddresses()
|
||||||
s.Require().Equal(revealedAddresses[2], rtjResult[1].RevealedAccounts[0].Address)
|
s.Require().Equal(revealedAddresses[2], rtjResult[1].RevealedAccounts[0].Address)
|
||||||
s.Require().Equal(chainIds, rtjResult[1].RevealedAccounts[0].ChainIds)
|
s.Require().Equal(chainIds, rtjResult[1].RevealedAccounts[0].ChainIds)
|
||||||
s.Require().Equal(true, rtjResult[1].RevealedAccounts[0].IsAirdropAddress)
|
s.Require().Equal(true, rtjResult[1].RevealedAccounts[0].IsAirdropAddress)
|
||||||
|
s.Require().Equal(rtjResult[1].RevealedAccounts[0].Signature, signature)
|
||||||
|
|
||||||
// RTJ without RevealedAccounts
|
// RTJ without RevealedAccounts
|
||||||
expectedRtjWithoutRevealedAccounts := &RequestToJoin{
|
expectedRtjWithoutRevealedAccounts := &RequestToJoin{
|
||||||
|
|
|
@ -18,6 +18,7 @@ const (
|
||||||
RequestToJoinStateCanceled
|
RequestToJoinStateCanceled
|
||||||
RequestToJoinStateAcceptedPending
|
RequestToJoinStateAcceptedPending
|
||||||
RequestToJoinStateDeclinedPending
|
RequestToJoinStateDeclinedPending
|
||||||
|
RequestToJoinStateAwaitingAddresses
|
||||||
)
|
)
|
||||||
|
|
||||||
type RequestToJoin struct {
|
type RequestToJoin struct {
|
||||||
|
|
|
@ -353,6 +353,14 @@ func newCommunitiesTestMessenger(shh types.Waku, privateKey *ecdsa.PrivateKey, l
|
||||||
}
|
}
|
||||||
|
|
||||||
func createCommunity(s *suite.Suite, owner *Messenger) (*communities.Community, *Chat) {
|
func createCommunity(s *suite.Suite, owner *Messenger) (*communities.Community, *Chat) {
|
||||||
|
return createCommunityConfigurable(s, owner, protobuf.CommunityPermissions_AUTO_ACCEPT)
|
||||||
|
}
|
||||||
|
|
||||||
|
func createOnRequestCommunity(s *suite.Suite, owner *Messenger) (*communities.Community, *Chat) {
|
||||||
|
return createCommunityConfigurable(s, owner, protobuf.CommunityPermissions_MANUAL_ACCEPT)
|
||||||
|
}
|
||||||
|
|
||||||
|
func createCommunityConfigurable(s *suite.Suite, owner *Messenger, permission protobuf.CommunityPermissions_Access) (*communities.Community, *Chat) {
|
||||||
description := &requests.CreateCommunity{
|
description := &requests.CreateCommunity{
|
||||||
Membership: protobuf.CommunityPermissions_AUTO_ACCEPT,
|
Membership: protobuf.CommunityPermissions_AUTO_ACCEPT,
|
||||||
Name: "status",
|
Name: "status",
|
||||||
|
|
|
@ -98,9 +98,15 @@ func (s *MessengerCommunitiesSignersSuite) joinCommunity(controlNode *Messenger,
|
||||||
joinCommunity(&s.Suite, community, controlNode, user, request)
|
joinCommunity(&s.Suite, community, controlNode, user, request)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (s *MessengerCommunitiesSignersSuite) joinOnRequestCommunity(controlNode *Messenger, community *communities.Community, user *Messenger) {
|
||||||
|
request := &requests.RequestToJoinCommunity{CommunityID: community.ID()}
|
||||||
|
joinOnRequestCommunity(&s.Suite, community, controlNode, user, request)
|
||||||
|
}
|
||||||
|
|
||||||
// John crates a community
|
// John crates a community
|
||||||
// Ownership is transferred to Alice
|
// Ownership is transferred to Alice
|
||||||
// Both John and Bob accepts the changes
|
// Alice kick all members Bob and John rejoins
|
||||||
|
// Bob and John accepts the changes
|
||||||
|
|
||||||
func (s *MessengerCommunitiesSignersSuite) TestControlNodeUpdateSigner() {
|
func (s *MessengerCommunitiesSignersSuite) TestControlNodeUpdateSigner() {
|
||||||
// Create a community
|
// Create a community
|
||||||
|
@ -144,7 +150,7 @@ func (s *MessengerCommunitiesSignersSuite) TestControlNodeUpdateSigner() {
|
||||||
_, err = WaitOnSignaledMessengerResponse(
|
_, err = WaitOnSignaledMessengerResponse(
|
||||||
s.bob,
|
s.bob,
|
||||||
func(r *MessengerResponse) bool {
|
func(r *MessengerResponse) bool {
|
||||||
return len(r.Communities()) > 0 && len(r.Communities()[0].CommunityTokensMetadata()) == 1
|
return len(r.Communities()) > 0 && len(r.Communities()[0].TokenPermissions()) == 1
|
||||||
},
|
},
|
||||||
"no communities",
|
"no communities",
|
||||||
)
|
)
|
||||||
|
@ -154,53 +160,294 @@ func (s *MessengerCommunitiesSignersSuite) TestControlNodeUpdateSigner() {
|
||||||
_, err = WaitOnSignaledMessengerResponse(
|
_, err = WaitOnSignaledMessengerResponse(
|
||||||
s.alice,
|
s.alice,
|
||||||
func(r *MessengerResponse) bool {
|
func(r *MessengerResponse) bool {
|
||||||
return len(r.Communities()) > 0 && len(r.Communities()[0].CommunityTokensMetadata()) == 1
|
return len(r.Communities()) > 0 && len(r.Communities()[0].TokenPermissions()) == 1
|
||||||
},
|
},
|
||||||
"no communities",
|
"no communities",
|
||||||
)
|
)
|
||||||
s.Require().NoError(err)
|
s.Require().NoError(err)
|
||||||
|
|
||||||
// Alice will be transferred the ownership token, and alice will let others know
|
// Ownership token will be transferred to Alice and she will kick all members
|
||||||
// update mock - the signer for the community returned by the contracts should be alice
|
// and request kicked members to rejoin
|
||||||
|
// the signer for the community returned by the contracts should be alice
|
||||||
s.collectiblesServiceMock.SetSignerPubkeyForCommunity(community.ID(), common.PubkeyToHex(&s.alice.identity.PublicKey))
|
s.collectiblesServiceMock.SetSignerPubkeyForCommunity(community.ID(), common.PubkeyToHex(&s.alice.identity.PublicKey))
|
||||||
s.collectiblesServiceMock.SetMockCollectibleContractData(chainID, tokenAddress,
|
|
||||||
&communitytokens.CollectibleContractData{TotalSupply: &bigint.BigInt{}})
|
|
||||||
|
|
||||||
community, err = s.alice.PromoteSelfToControlNode(community.ID())
|
response, err := s.alice.PromoteSelfToControlNode(community.ID())
|
||||||
|
s.Require().NoError(err)
|
||||||
|
s.Require().NotNil(response)
|
||||||
|
|
||||||
|
community, err = s.alice.communitiesManager.GetByID(community.ID())
|
||||||
s.Require().NoError(err)
|
s.Require().NoError(err)
|
||||||
s.Require().True(community.IsControlNode())
|
s.Require().True(community.IsControlNode())
|
||||||
|
s.Require().True(common.IsPubKeyEqual(community.ControlNode(), &s.alice.identity.PublicKey))
|
||||||
|
s.Require().True(community.IsOwner())
|
||||||
|
|
||||||
// john accepts community update from alice (new control node)
|
// check that Bob received kick event, also he will receive
|
||||||
_, err = WaitOnSignaledMessengerResponse(
|
// request to share RevealedAddresses and send request to join to the control node
|
||||||
s.john,
|
|
||||||
func(r *MessengerResponse) bool {
|
|
||||||
return len(r.Communities()) > 0 && r.Communities()[0].IDString() == community.IDString()
|
|
||||||
},
|
|
||||||
"no communities",
|
|
||||||
)
|
|
||||||
s.Require().NoError(err)
|
|
||||||
|
|
||||||
// We check the control node is correctly set on john to alice
|
|
||||||
johnCommunity, err := s.john.communitiesManager.GetByIDString(community.IDString())
|
|
||||||
s.Require().NoError(err)
|
|
||||||
s.Require().NotNil(johnCommunity)
|
|
||||||
s.Require().True(common.IsPubKeyEqual(johnCommunity.ControlNode(), &s.alice.identity.PublicKey))
|
|
||||||
s.Require().False(johnCommunity.IsControlNode())
|
|
||||||
|
|
||||||
// bob accepts community update from alice (new control node)
|
|
||||||
_, err = WaitOnSignaledMessengerResponse(
|
_, err = WaitOnSignaledMessengerResponse(
|
||||||
s.bob,
|
s.bob,
|
||||||
func(r *MessengerResponse) bool {
|
func(r *MessengerResponse) bool {
|
||||||
return len(r.Communities()) > 0 && r.Communities()[0].IDString() == community.IDString()
|
return len(r.Communities()) > 0 && !r.Communities()[0].HasMember(&s.bob.identity.PublicKey)
|
||||||
},
|
},
|
||||||
"no communities",
|
"Bob was not kicked from the community",
|
||||||
)
|
)
|
||||||
s.Require().NoError(err)
|
s.Require().NoError(err)
|
||||||
|
|
||||||
// We check the control node is correctly set on bob to alice
|
// check that John received kick event, also he will receive
|
||||||
bobCommunity, err := s.bob.communitiesManager.GetByIDString(community.IDString())
|
// request to share RevealedAddresses and send request to join to the control node
|
||||||
|
_, err = WaitOnSignaledMessengerResponse(
|
||||||
|
s.john,
|
||||||
|
func(r *MessengerResponse) bool {
|
||||||
|
return len(r.Communities()) > 0 && !r.Communities()[0].HasMember(&s.john.identity.PublicKey)
|
||||||
|
},
|
||||||
|
"John was not kicked from the community",
|
||||||
|
)
|
||||||
s.Require().NoError(err)
|
s.Require().NoError(err)
|
||||||
s.Require().NotNil(bobCommunity)
|
|
||||||
s.Require().True(common.IsPubKeyEqual(bobCommunity.ControlNode(), &s.alice.identity.PublicKey))
|
// Alice auto-accept requests to join with RevealedAddresses
|
||||||
s.Require().False(bobCommunity.IsControlNode())
|
// TODO: please, check TODO's in this test and uncomment them if Members() == 3
|
||||||
|
_, err = WaitOnMessengerResponse(
|
||||||
|
s.alice,
|
||||||
|
func(r *MessengerResponse) bool {
|
||||||
|
return len(r.Communities()) > 0 && len(r.Communities()[0].Members()) == 2
|
||||||
|
},
|
||||||
|
"no community update with accepted request",
|
||||||
|
)
|
||||||
|
s.Require().NoError(err)
|
||||||
|
|
||||||
|
validateResults := func(messenger *Messenger) *communities.Community {
|
||||||
|
community, err = messenger.communitiesManager.GetByID(community.ID())
|
||||||
|
s.Require().NoError(err)
|
||||||
|
s.Require().True(common.IsPubKeyEqual(community.ControlNode(), &s.alice.identity.PublicKey))
|
||||||
|
s.Require().Len(community.Members(), 2)
|
||||||
|
s.Require().True(community.HasMember(&messenger.identity.PublicKey))
|
||||||
|
|
||||||
|
return community
|
||||||
|
}
|
||||||
|
|
||||||
|
community = validateResults(s.alice)
|
||||||
|
s.Require().True(community.IsControlNode())
|
||||||
|
s.Require().True(community.IsOwner())
|
||||||
|
|
||||||
|
// Bob is a community member again
|
||||||
|
_, err = WaitOnMessengerResponse(
|
||||||
|
s.bob,
|
||||||
|
func(r *MessengerResponse) bool {
|
||||||
|
return len(r.Communities()) > 0 && r.Communities()[0].HasMember(&s.bob.identity.PublicKey)
|
||||||
|
},
|
||||||
|
"Bob was auto-accepted",
|
||||||
|
)
|
||||||
|
s.Require().NoError(err)
|
||||||
|
|
||||||
|
community = validateResults(s.bob)
|
||||||
|
s.Require().False(community.IsControlNode())
|
||||||
|
s.Require().False(community.IsOwner())
|
||||||
|
|
||||||
|
// TODO: uncomment when ex-owner will start sharing request to join with revealed address
|
||||||
|
// // Jonh is a community member again
|
||||||
|
// _, err = WaitOnMessengerResponse(
|
||||||
|
// s.bob,
|
||||||
|
// func(r *MessengerResponse) bool {
|
||||||
|
// return len(r.Communities()) > 0 && r.Communities()[0].HasMember(&s.bob.identity.PublicKey)
|
||||||
|
// },
|
||||||
|
// "John was auto-accepted",
|
||||||
|
// )
|
||||||
|
// s.Require().NoError(err)
|
||||||
|
|
||||||
|
// community = validateResults(s.john)
|
||||||
|
// s.Require().False(community.IsControlNode())
|
||||||
|
// s.Require().False(community.IsOwner())
|
||||||
|
|
||||||
|
// Alice change community name
|
||||||
|
|
||||||
|
expectedName := "Alice owns community"
|
||||||
|
|
||||||
|
response, err = s.alice.EditCommunity(&requests.EditCommunity{
|
||||||
|
CommunityID: community.ID(),
|
||||||
|
CreateCommunity: requests.CreateCommunity{
|
||||||
|
Membership: protobuf.CommunityPermissions_AUTO_ACCEPT,
|
||||||
|
Name: expectedName,
|
||||||
|
Color: "#000000",
|
||||||
|
Description: "edited community description",
|
||||||
|
},
|
||||||
|
})
|
||||||
|
|
||||||
|
s.Require().NoError(err)
|
||||||
|
s.Require().NotNil(response)
|
||||||
|
|
||||||
|
validateNameInResponse := func(r *MessengerResponse) bool {
|
||||||
|
return len(r.Communities()) > 0 && r.Communities()[0].IDString() == community.IDString() &&
|
||||||
|
r.Communities()[0].Name() == expectedName
|
||||||
|
}
|
||||||
|
|
||||||
|
s.Require().True(validateNameInResponse(response))
|
||||||
|
|
||||||
|
validateNameInDB := func(messenger *Messenger) {
|
||||||
|
community, err = messenger.communitiesManager.GetByID(community.ID())
|
||||||
|
s.Require().NoError(err)
|
||||||
|
s.Require().Equal(expectedName, response.Communities()[0].Name())
|
||||||
|
}
|
||||||
|
|
||||||
|
validateNameInDB(s.alice)
|
||||||
|
|
||||||
|
// TODO: uncomment when ex-owner will start sharing request to join with revealed address
|
||||||
|
// john accepts community update from alice (new control node)
|
||||||
|
// _, err = WaitOnMessengerResponse(
|
||||||
|
// s.john,
|
||||||
|
// validateNameInResponse,
|
||||||
|
// "john did not receive community name update",
|
||||||
|
// )
|
||||||
|
// s.Require().NoError(err)
|
||||||
|
// validateNameInDB(s.john)
|
||||||
|
|
||||||
|
// bob accepts community update from alice (new control node)
|
||||||
|
_, err = WaitOnMessengerResponse(
|
||||||
|
s.bob,
|
||||||
|
validateNameInResponse,
|
||||||
|
"bob did not receive community name update",
|
||||||
|
)
|
||||||
|
s.Require().NoError(err)
|
||||||
|
validateNameInDB(s.bob)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (s *MessengerCommunitiesSignersSuite) TestAutoAcceptOnOwnershipChangeRequestRequired() {
|
||||||
|
community, _ := createOnRequestCommunity(&s.Suite, s.john)
|
||||||
|
|
||||||
|
s.advertiseCommunityTo(s.john, community, s.bob)
|
||||||
|
s.advertiseCommunityTo(s.john, community, s.alice)
|
||||||
|
|
||||||
|
s.joinOnRequestCommunity(s.john, community, s.bob)
|
||||||
|
s.joinOnRequestCommunity(s.john, community, s.alice)
|
||||||
|
|
||||||
|
// john mints owner token
|
||||||
|
var chainID uint64 = 1
|
||||||
|
tokenAddress := "token-address"
|
||||||
|
tokenName := "tokenName"
|
||||||
|
tokenSymbol := "TSM"
|
||||||
|
_, err := s.john.SaveCommunityToken(&token.CommunityToken{
|
||||||
|
TokenType: protobuf.CommunityTokenType_ERC721,
|
||||||
|
CommunityID: community.IDString(),
|
||||||
|
Address: tokenAddress,
|
||||||
|
ChainID: int(chainID),
|
||||||
|
Name: tokenName,
|
||||||
|
Supply: &bigint.BigInt{},
|
||||||
|
Symbol: tokenSymbol,
|
||||||
|
PrivilegesLevel: token.OwnerLevel,
|
||||||
|
}, nil)
|
||||||
|
s.Require().NoError(err)
|
||||||
|
|
||||||
|
err = s.john.AddCommunityToken(community.IDString(), int(chainID), tokenAddress)
|
||||||
|
s.Require().NoError(err)
|
||||||
|
|
||||||
|
// set john as contract owner
|
||||||
|
s.collectiblesServiceMock.SetSignerPubkeyForCommunity(community.ID(), common.PubkeyToHex(&s.john.identity.PublicKey))
|
||||||
|
s.collectiblesServiceMock.SetMockCollectibleContractData(chainID, tokenAddress,
|
||||||
|
&communitytokens.CollectibleContractData{TotalSupply: &bigint.BigInt{}})
|
||||||
|
|
||||||
|
hasTokenPermission := func(r *MessengerResponse) bool {
|
||||||
|
return len(r.Communities()) > 0 && r.Communities()[0].HasTokenPermissions()
|
||||||
|
}
|
||||||
|
|
||||||
|
// bob received owner permissions
|
||||||
|
_, err = WaitOnSignaledMessengerResponse(
|
||||||
|
s.bob,
|
||||||
|
hasTokenPermission,
|
||||||
|
"no communities with token permission for Bob",
|
||||||
|
)
|
||||||
|
s.Require().NoError(err)
|
||||||
|
|
||||||
|
// alice received owner permissions
|
||||||
|
_, err = WaitOnSignaledMessengerResponse(
|
||||||
|
s.alice,
|
||||||
|
hasTokenPermission,
|
||||||
|
"no communities with token permission for Alice",
|
||||||
|
)
|
||||||
|
s.Require().NoError(err)
|
||||||
|
|
||||||
|
// simulate Alice received owner token
|
||||||
|
s.collectiblesServiceMock.SetSignerPubkeyForCommunity(community.ID(), common.PubkeyToHex(&s.alice.identity.PublicKey))
|
||||||
|
|
||||||
|
// after receiving owner token - set up control node, set up owner role, kick all members
|
||||||
|
// and request kicked members to rejoin
|
||||||
|
response, err := s.alice.PromoteSelfToControlNode(community.ID())
|
||||||
|
s.Require().NoError(err)
|
||||||
|
s.Require().NotNil(response)
|
||||||
|
community, err = s.alice.communitiesManager.GetByID(community.ID())
|
||||||
|
s.Require().NoError(err)
|
||||||
|
s.Require().True(community.IsControlNode())
|
||||||
|
s.Require().True(common.IsPubKeyEqual(community.ControlNode(), &s.alice.identity.PublicKey))
|
||||||
|
s.Require().True(community.IsOwner())
|
||||||
|
|
||||||
|
// check that client received kick event
|
||||||
|
// Bob will receive request to share RevealedAddresses and send request to join to the control node
|
||||||
|
_, err = WaitOnSignaledMessengerResponse(
|
||||||
|
s.bob,
|
||||||
|
func(r *MessengerResponse) bool {
|
||||||
|
return len(r.Communities()) > 0 && !r.Communities()[0].HasMember(&s.bob.identity.PublicKey)
|
||||||
|
},
|
||||||
|
"Bob was not kicked from the community",
|
||||||
|
)
|
||||||
|
s.Require().NoError(err)
|
||||||
|
|
||||||
|
// check that client received kick event
|
||||||
|
// John will receive request to share RevealedAddresses and send request to join to the control node
|
||||||
|
_, err = WaitOnSignaledMessengerResponse(
|
||||||
|
s.john,
|
||||||
|
func(r *MessengerResponse) bool {
|
||||||
|
return len(r.Communities()) > 0 && !r.Communities()[0].HasMember(&s.john.identity.PublicKey)
|
||||||
|
},
|
||||||
|
"John was not kicked from the community",
|
||||||
|
)
|
||||||
|
s.Require().NoError(err)
|
||||||
|
|
||||||
|
// Alice auto-accept requests to join with RevealedAddresses
|
||||||
|
// TODO: please, check TODO's in this test and uncomment them if Members() == 3
|
||||||
|
_, err = WaitOnMessengerResponse(
|
||||||
|
s.alice,
|
||||||
|
func(r *MessengerResponse) bool {
|
||||||
|
return len(r.Communities()) > 0 && len(r.Communities()[0].Members()) == 2
|
||||||
|
},
|
||||||
|
"no community update with accepted request",
|
||||||
|
)
|
||||||
|
s.Require().NoError(err)
|
||||||
|
|
||||||
|
validateResults := func(messenger *Messenger) *communities.Community {
|
||||||
|
community, err = messenger.communitiesManager.GetByID(community.ID())
|
||||||
|
s.Require().NoError(err)
|
||||||
|
s.Require().True(common.IsPubKeyEqual(community.ControlNode(), &s.alice.identity.PublicKey))
|
||||||
|
s.Require().Len(community.Members(), 2)
|
||||||
|
s.Require().True(community.HasMember(&messenger.identity.PublicKey))
|
||||||
|
|
||||||
|
return community
|
||||||
|
}
|
||||||
|
|
||||||
|
community = validateResults(s.alice)
|
||||||
|
s.Require().True(community.IsControlNode())
|
||||||
|
s.Require().True(community.IsOwner())
|
||||||
|
|
||||||
|
_, err = WaitOnMessengerResponse(
|
||||||
|
s.bob,
|
||||||
|
func(r *MessengerResponse) bool {
|
||||||
|
return len(r.Communities()) > 0 && r.Communities()[0].HasMember(&s.bob.identity.PublicKey)
|
||||||
|
},
|
||||||
|
"Bob was auto-accepted",
|
||||||
|
)
|
||||||
|
s.Require().NoError(err)
|
||||||
|
|
||||||
|
community = validateResults(s.bob)
|
||||||
|
s.Require().False(community.IsControlNode())
|
||||||
|
s.Require().False(community.IsOwner())
|
||||||
|
|
||||||
|
// TODO: uncomment when ex-owner will start sharing request to join with revealed address
|
||||||
|
// _, err = WaitOnMessengerResponse(
|
||||||
|
// s.john,
|
||||||
|
// func(r *MessengerResponse) bool {
|
||||||
|
// return len(r.Communities()) > 0 && r.Communities()[0].HasMember(&s.bob.identity.PublicKey)
|
||||||
|
// },
|
||||||
|
// "John was auto-accepted",
|
||||||
|
// )
|
||||||
|
// s.Require().NoError(err)
|
||||||
|
|
||||||
|
// community = validateResults(s.john)
|
||||||
|
// s.Require().False(community.IsControlNode())
|
||||||
|
// s.Require().False(community.IsOwner())
|
||||||
}
|
}
|
||||||
|
|
|
@ -29,6 +29,7 @@ import (
|
||||||
"crypto/sha256"
|
"crypto/sha256"
|
||||||
"fmt"
|
"fmt"
|
||||||
"io"
|
"io"
|
||||||
|
"io/ioutil"
|
||||||
"os"
|
"os"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
"strings"
|
"strings"
|
||||||
|
@ -38,7 +39,7 @@ import (
|
||||||
func bindataRead(data []byte, name string) ([]byte, error) {
|
func bindataRead(data []byte, name string) ([]byte, error) {
|
||||||
gz, err := gzip.NewReader(bytes.NewBuffer(data))
|
gz, err := gzip.NewReader(bytes.NewBuffer(data))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, fmt.Errorf("read %q: %w", name, err)
|
return nil, fmt.Errorf("read %q: %v", name, err)
|
||||||
}
|
}
|
||||||
|
|
||||||
var buf bytes.Buffer
|
var buf bytes.Buffer
|
||||||
|
@ -46,7 +47,7 @@ func bindataRead(data []byte, name string) ([]byte, error) {
|
||||||
clErr := gz.Close()
|
clErr := gz.Close()
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, fmt.Errorf("read %q: %w", name, err)
|
return nil, fmt.Errorf("read %q: %v", name, err)
|
||||||
}
|
}
|
||||||
if clErr != nil {
|
if clErr != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
|
@ -102,7 +103,7 @@ func _1536754952_initial_schemaDownSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "1536754952_initial_schema.down.sql", size: 83, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "1536754952_initial_schema.down.sql", size: 83, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x44, 0xcf, 0x76, 0x71, 0x1f, 0x5e, 0x9a, 0x43, 0xd8, 0xcd, 0xb8, 0xc3, 0x70, 0xc3, 0x7f, 0xfc, 0x90, 0xb4, 0x25, 0x1e, 0xf4, 0x66, 0x20, 0xb8, 0x33, 0x7e, 0xb0, 0x76, 0x1f, 0xc, 0xc0, 0x75}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x44, 0xcf, 0x76, 0x71, 0x1f, 0x5e, 0x9a, 0x43, 0xd8, 0xcd, 0xb8, 0xc3, 0x70, 0xc3, 0x7f, 0xfc, 0x90, 0xb4, 0x25, 0x1e, 0xf4, 0x66, 0x20, 0xb8, 0x33, 0x7e, 0xb0, 0x76, 0x1f, 0xc, 0xc0, 0x75}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -122,7 +123,7 @@ func _1536754952_initial_schemaUpSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "1536754952_initial_schema.up.sql", size: 962, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "1536754952_initial_schema.up.sql", size: 962, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xea, 0x90, 0x5a, 0x59, 0x3e, 0x3, 0xe2, 0x3c, 0x81, 0x42, 0xcd, 0x4c, 0x9a, 0xe8, 0xda, 0x93, 0x2b, 0x70, 0xa4, 0xd5, 0x29, 0x3e, 0xd5, 0xc9, 0x27, 0xb6, 0xb7, 0x65, 0xff, 0x0, 0xcb, 0xde}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xea, 0x90, 0x5a, 0x59, 0x3e, 0x3, 0xe2, 0x3c, 0x81, 0x42, 0xcd, 0x4c, 0x9a, 0xe8, 0xda, 0x93, 0x2b, 0x70, 0xa4, 0xd5, 0x29, 0x3e, 0xd5, 0xc9, 0x27, 0xb6, 0xb7, 0x65, 0xff, 0x0, 0xcb, 0xde}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -142,7 +143,7 @@ func _1539249977_update_ratchet_infoDownSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "1539249977_update_ratchet_info.down.sql", size: 311, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "1539249977_update_ratchet_info.down.sql", size: 311, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x1, 0xa4, 0xeb, 0xa0, 0xe6, 0xa0, 0xd4, 0x48, 0xbb, 0xad, 0x6f, 0x7d, 0x67, 0x8c, 0xbd, 0x25, 0xde, 0x1f, 0x73, 0x9a, 0xbb, 0xa8, 0xc9, 0x30, 0xb7, 0xa9, 0x7c, 0xaf, 0xb5, 0x1, 0x61, 0xdd}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x1, 0xa4, 0xeb, 0xa0, 0xe6, 0xa0, 0xd4, 0x48, 0xbb, 0xad, 0x6f, 0x7d, 0x67, 0x8c, 0xbd, 0x25, 0xde, 0x1f, 0x73, 0x9a, 0xbb, 0xa8, 0xc9, 0x30, 0xb7, 0xa9, 0x7c, 0xaf, 0xb5, 0x1, 0x61, 0xdd}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -162,7 +163,7 @@ func _1539249977_update_ratchet_infoUpSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "1539249977_update_ratchet_info.up.sql", size: 368, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "1539249977_update_ratchet_info.up.sql", size: 368, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xc, 0x8e, 0xbf, 0x6f, 0xa, 0xc0, 0xe1, 0x3c, 0x42, 0x28, 0x88, 0x1d, 0xdb, 0xba, 0x1c, 0x83, 0xec, 0xba, 0xd3, 0x5f, 0x5c, 0x77, 0x5e, 0xa7, 0x46, 0x36, 0xec, 0x69, 0xa, 0x4b, 0x17, 0x79}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xc, 0x8e, 0xbf, 0x6f, 0xa, 0xc0, 0xe1, 0x3c, 0x42, 0x28, 0x88, 0x1d, 0xdb, 0xba, 0x1c, 0x83, 0xec, 0xba, 0xd3, 0x5f, 0x5c, 0x77, 0x5e, 0xa7, 0x46, 0x36, 0xec, 0x69, 0xa, 0x4b, 0x17, 0x79}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -182,7 +183,7 @@ func _1540715431_add_versionDownSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "1540715431_add_version.down.sql", size: 127, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "1540715431_add_version.down.sql", size: 127, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xf5, 0x9, 0x4, 0xe3, 0x76, 0x2e, 0xb8, 0x9, 0x23, 0xf0, 0x70, 0x93, 0xc4, 0x50, 0xe, 0x9d, 0x84, 0x22, 0x8c, 0x94, 0xd3, 0x24, 0x9, 0x9a, 0xc1, 0xa1, 0x48, 0x45, 0xfd, 0x40, 0x6e, 0xe6}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xf5, 0x9, 0x4, 0xe3, 0x76, 0x2e, 0xb8, 0x9, 0x23, 0xf0, 0x70, 0x93, 0xc4, 0x50, 0xe, 0x9d, 0x84, 0x22, 0x8c, 0x94, 0xd3, 0x24, 0x9, 0x9a, 0xc1, 0xa1, 0x48, 0x45, 0xfd, 0x40, 0x6e, 0xe6}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -202,7 +203,7 @@ func _1540715431_add_versionUpSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "1540715431_add_version.up.sql", size: 265, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "1540715431_add_version.up.sql", size: 265, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xc7, 0x4c, 0x36, 0x96, 0xdf, 0x16, 0x10, 0xa6, 0x27, 0x1a, 0x79, 0x8b, 0x42, 0x83, 0x23, 0xc, 0x7e, 0xb6, 0x3d, 0x2, 0xda, 0xa4, 0xb4, 0xd, 0x27, 0x55, 0xba, 0xdc, 0xb2, 0x88, 0x8f, 0xa6}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xc7, 0x4c, 0x36, 0x96, 0xdf, 0x16, 0x10, 0xa6, 0x27, 0x1a, 0x79, 0x8b, 0x42, 0x83, 0x23, 0xc, 0x7e, 0xb6, 0x3d, 0x2, 0xda, 0xa4, 0xb4, 0xd, 0x27, 0x55, 0xba, 0xdc, 0xb2, 0x88, 0x8f, 0xa6}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -222,7 +223,7 @@ func _1541164797_add_installationsDownSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "1541164797_add_installations.down.sql", size: 26, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "1541164797_add_installations.down.sql", size: 26, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xf5, 0xfd, 0xe6, 0xd8, 0xca, 0x3b, 0x38, 0x18, 0xee, 0x0, 0x5f, 0x36, 0x9e, 0x1e, 0xd, 0x19, 0x3e, 0xb4, 0x73, 0x53, 0xe9, 0xa5, 0xac, 0xdd, 0xa1, 0x2f, 0xc7, 0x6c, 0xa8, 0xd9, 0xa, 0x88}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xf5, 0xfd, 0xe6, 0xd8, 0xca, 0x3b, 0x38, 0x18, 0xee, 0x0, 0x5f, 0x36, 0x9e, 0x1e, 0xd, 0x19, 0x3e, 0xb4, 0x73, 0x53, 0xe9, 0xa5, 0xac, 0xdd, 0xa1, 0x2f, 0xc7, 0x6c, 0xa8, 0xd9, 0xa, 0x88}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -242,7 +243,7 @@ func _1541164797_add_installationsUpSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "1541164797_add_installations.up.sql", size: 216, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "1541164797_add_installations.up.sql", size: 216, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x2d, 0x18, 0x26, 0xb8, 0x88, 0x47, 0xdb, 0x83, 0xcc, 0xb6, 0x9d, 0x1c, 0x1, 0xae, 0x2f, 0xde, 0x97, 0x82, 0x3, 0x30, 0xa8, 0x63, 0xa1, 0x78, 0x4b, 0xa5, 0x9, 0x8, 0x75, 0xa2, 0x57, 0x81}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x2d, 0x18, 0x26, 0xb8, 0x88, 0x47, 0xdb, 0x83, 0xcc, 0xb6, 0x9d, 0x1c, 0x1, 0xae, 0x2f, 0xde, 0x97, 0x82, 0x3, 0x30, 0xa8, 0x63, 0xa1, 0x78, 0x4b, 0xa5, 0x9, 0x8, 0x75, 0xa2, 0x57, 0x81}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -262,7 +263,7 @@ func _1558084410_add_secretDownSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "1558084410_add_secret.down.sql", size: 56, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "1558084410_add_secret.down.sql", size: 56, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x49, 0xb, 0x65, 0xdf, 0x59, 0xbf, 0xe9, 0x5, 0x5b, 0x6f, 0xd5, 0x3a, 0xb7, 0x57, 0xe8, 0x78, 0x38, 0x73, 0x53, 0x57, 0xf7, 0x24, 0x4, 0xe4, 0xa2, 0x49, 0x22, 0xa2, 0xc6, 0xfd, 0x80, 0xa4}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x49, 0xb, 0x65, 0xdf, 0x59, 0xbf, 0xe9, 0x5, 0x5b, 0x6f, 0xd5, 0x3a, 0xb7, 0x57, 0xe8, 0x78, 0x38, 0x73, 0x53, 0x57, 0xf7, 0x24, 0x4, 0xe4, 0xa2, 0x49, 0x22, 0xa2, 0xc6, 0xfd, 0x80, 0xa4}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -282,7 +283,7 @@ func _1558084410_add_secretUpSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "1558084410_add_secret.up.sql", size: 301, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "1558084410_add_secret.up.sql", size: 301, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xf5, 0x32, 0x36, 0x8e, 0x47, 0xb0, 0x8f, 0xc1, 0xc6, 0xf7, 0xc6, 0x9f, 0x2d, 0x44, 0x75, 0x2b, 0x26, 0xec, 0x6, 0xa0, 0x7b, 0xa5, 0xbd, 0xc8, 0x76, 0x8a, 0x82, 0x68, 0x2, 0x42, 0xb5, 0xf4}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xf5, 0x32, 0x36, 0x8e, 0x47, 0xb0, 0x8f, 0xc1, 0xc6, 0xf7, 0xc6, 0x9f, 0x2d, 0x44, 0x75, 0x2b, 0x26, 0xec, 0x6, 0xa0, 0x7b, 0xa5, 0xbd, 0xc8, 0x76, 0x8a, 0x82, 0x68, 0x2, 0x42, 0xb5, 0xf4}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -302,7 +303,7 @@ func _1558588866_add_versionDownSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "1558588866_add_version.down.sql", size: 47, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "1558588866_add_version.down.sql", size: 47, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xde, 0x52, 0x34, 0x3c, 0x46, 0x4a, 0xf0, 0x72, 0x47, 0x6f, 0x49, 0x5c, 0xc7, 0xf9, 0x32, 0xce, 0xc4, 0x3d, 0xfd, 0x61, 0xa1, 0x8b, 0x8f, 0xf2, 0x31, 0x34, 0xde, 0x15, 0x49, 0xa6, 0xde, 0xb9}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xde, 0x52, 0x34, 0x3c, 0x46, 0x4a, 0xf0, 0x72, 0x47, 0x6f, 0x49, 0x5c, 0xc7, 0xf9, 0x32, 0xce, 0xc4, 0x3d, 0xfd, 0x61, 0xa1, 0x8b, 0x8f, 0xf2, 0x31, 0x34, 0xde, 0x15, 0x49, 0xa6, 0xde, 0xb9}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -322,7 +323,7 @@ func _1558588866_add_versionUpSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "1558588866_add_version.up.sql", size: 57, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "1558588866_add_version.up.sql", size: 57, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x2a, 0xea, 0x64, 0x39, 0x61, 0x20, 0x83, 0x83, 0xb, 0x2e, 0x79, 0x64, 0xb, 0x53, 0xfa, 0xfe, 0xc6, 0xf7, 0x67, 0x42, 0xd3, 0x4f, 0xdc, 0x7e, 0x30, 0x32, 0xe8, 0x14, 0x41, 0xe9, 0xe7, 0x3b}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x2a, 0xea, 0x64, 0x39, 0x61, 0x20, 0x83, 0x83, 0xb, 0x2e, 0x79, 0x64, 0xb, 0x53, 0xfa, 0xfe, 0xc6, 0xf7, 0x67, 0x42, 0xd3, 0x4f, 0xdc, 0x7e, 0x30, 0x32, 0xe8, 0x14, 0x41, 0xe9, 0xe7, 0x3b}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -342,7 +343,7 @@ func _1559627659_add_contact_codeDownSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "1559627659_add_contact_code.down.sql", size: 32, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "1559627659_add_contact_code.down.sql", size: 32, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x5d, 0x64, 0x6d, 0xce, 0x24, 0x42, 0x20, 0x8d, 0x4f, 0x37, 0xaa, 0x9d, 0xc, 0x57, 0x98, 0xc1, 0xd1, 0x1a, 0x34, 0xcd, 0x9f, 0x8f, 0x34, 0x86, 0xb3, 0xd3, 0xdc, 0xf1, 0x7d, 0xe5, 0x1b, 0x6e}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x5d, 0x64, 0x6d, 0xce, 0x24, 0x42, 0x20, 0x8d, 0x4f, 0x37, 0xaa, 0x9d, 0xc, 0x57, 0x98, 0xc1, 0xd1, 0x1a, 0x34, 0xcd, 0x9f, 0x8f, 0x34, 0x86, 0xb3, 0xd3, 0xdc, 0xf1, 0x7d, 0xe5, 0x1b, 0x6e}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -362,7 +363,7 @@ func _1559627659_add_contact_codeUpSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "1559627659_add_contact_code.up.sql", size: 198, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "1559627659_add_contact_code.up.sql", size: 198, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x16, 0xf6, 0xc2, 0x62, 0x9c, 0xd2, 0xc9, 0x1e, 0xd8, 0xea, 0xaa, 0xea, 0x95, 0x8f, 0x89, 0x6a, 0x85, 0x5d, 0x9d, 0x99, 0x78, 0x3c, 0x90, 0x66, 0x99, 0x3e, 0x4b, 0x19, 0x62, 0xfb, 0x31, 0x4d}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x16, 0xf6, 0xc2, 0x62, 0x9c, 0xd2, 0xc9, 0x1e, 0xd8, 0xea, 0xaa, 0xea, 0x95, 0x8f, 0x89, 0x6a, 0x85, 0x5d, 0x9d, 0x99, 0x78, 0x3c, 0x90, 0x66, 0x99, 0x3e, 0x4b, 0x19, 0x62, 0xfb, 0x31, 0x4d}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -382,7 +383,7 @@ func _1561368210_add_installation_metadataDownSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "1561368210_add_installation_metadata.down.sql", size: 35, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "1561368210_add_installation_metadata.down.sql", size: 35, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xa8, 0xde, 0x3f, 0xd2, 0x4a, 0x50, 0x98, 0x56, 0xe3, 0xc0, 0xcd, 0x9d, 0xb0, 0x34, 0x3b, 0xe5, 0x62, 0x18, 0xb5, 0x20, 0xc9, 0x3e, 0xdc, 0x6a, 0x40, 0x36, 0x66, 0xea, 0x51, 0x8c, 0x71, 0xf5}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xa8, 0xde, 0x3f, 0xd2, 0x4a, 0x50, 0x98, 0x56, 0xe3, 0xc0, 0xcd, 0x9d, 0xb0, 0x34, 0x3b, 0xe5, 0x62, 0x18, 0xb5, 0x20, 0xc9, 0x3e, 0xdc, 0x6a, 0x40, 0x36, 0x66, 0xea, 0x51, 0x8c, 0x71, 0xf5}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -402,7 +403,7 @@ func _1561368210_add_installation_metadataUpSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "1561368210_add_installation_metadata.up.sql", size: 267, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "1561368210_add_installation_metadata.up.sql", size: 267, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xb4, 0x71, 0x8f, 0x29, 0xb1, 0xaa, 0xd6, 0xd1, 0x8c, 0x17, 0xef, 0x6c, 0xd5, 0x80, 0xb8, 0x2c, 0xc3, 0xfe, 0xec, 0x24, 0x4d, 0xc8, 0x25, 0xd3, 0xb4, 0xcd, 0xa9, 0xac, 0x63, 0x61, 0xb2, 0x9c}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xb4, 0x71, 0x8f, 0x29, 0xb1, 0xaa, 0xd6, 0xd1, 0x8c, 0x17, 0xef, 0x6c, 0xd5, 0x80, 0xb8, 0x2c, 0xc3, 0xfe, 0xec, 0x24, 0x4d, 0xc8, 0x25, 0xd3, 0xb4, 0xcd, 0xa9, 0xac, 0x63, 0x61, 0xb2, 0x9c}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -422,7 +423,7 @@ func _1632236298_add_communitiesDownSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "1632236298_add_communities.down.sql", size: 151, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "1632236298_add_communities.down.sql", size: 151, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x26, 0xe5, 0x47, 0xd1, 0xe5, 0xec, 0x5b, 0x3e, 0xdc, 0x22, 0xf4, 0x27, 0xee, 0x70, 0xf3, 0x9, 0x4f, 0xd2, 0x9f, 0x92, 0xf, 0x5a, 0x18, 0x11, 0xb7, 0x40, 0xab, 0xf1, 0x98, 0x72, 0xd6, 0x60}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x26, 0xe5, 0x47, 0xd1, 0xe5, 0xec, 0x5b, 0x3e, 0xdc, 0x22, 0xf4, 0x27, 0xee, 0x70, 0xf3, 0x9, 0x4f, 0xd2, 0x9f, 0x92, 0xf, 0x5a, 0x18, 0x11, 0xb7, 0x40, 0xab, 0xf1, 0x98, 0x72, 0xd6, 0x60}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -442,7 +443,7 @@ func _1632236298_add_communitiesUpSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "1632236298_add_communities.up.sql", size: 584, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "1632236298_add_communities.up.sql", size: 584, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x8f, 0xe0, 0x1, 0x6e, 0x84, 0xc, 0x35, 0xe4, 0x5a, 0xf, 0xbe, 0xcb, 0xf7, 0xd2, 0xa8, 0x25, 0xf5, 0xdb, 0x7, 0xcb, 0xa3, 0xe6, 0xf4, 0xc4, 0x1b, 0xa5, 0xec, 0x32, 0x1e, 0x1e, 0x48, 0x60}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x8f, 0xe0, 0x1, 0x6e, 0x84, 0xc, 0x35, 0xe4, 0x5a, 0xf, 0xbe, 0xcb, 0xf7, 0xd2, 0xa8, 0x25, 0xf5, 0xdb, 0x7, 0xcb, 0xa3, 0xe6, 0xf4, 0xc4, 0x1b, 0xa5, 0xec, 0x32, 0x1e, 0x1e, 0x48, 0x60}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -462,7 +463,7 @@ func _1636536507_add_index_bundlesUpSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "1636536507_add_index_bundles.up.sql", size: 347, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "1636536507_add_index_bundles.up.sql", size: 347, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xf1, 0xb9, 0x3c, 0x16, 0xfc, 0xfb, 0xb2, 0xb4, 0x3b, 0xfe, 0xdc, 0xf5, 0x9c, 0x42, 0xa0, 0xa0, 0xd4, 0xd, 0x5b, 0x97, 0x10, 0x80, 0x95, 0xe, 0x13, 0xc1, 0x18, 0x8, 0xee, 0xf, 0x99, 0xee}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xf1, 0xb9, 0x3c, 0x16, 0xfc, 0xfb, 0xb2, 0xb4, 0x3b, 0xfe, 0xdc, 0xf5, 0x9c, 0x42, 0xa0, 0xa0, 0xd4, 0xd, 0x5b, 0x97, 0x10, 0x80, 0x95, 0xe, 0x13, 0xc1, 0x18, 0x8, 0xee, 0xf, 0x99, 0xee}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -482,7 +483,7 @@ func docGo() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "doc.go", size: 377, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "doc.go", size: 377, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xef, 0xaf, 0xdf, 0xcf, 0x65, 0xae, 0x19, 0xfc, 0x9d, 0x29, 0xc1, 0x91, 0xaf, 0xb5, 0xd5, 0xb1, 0x56, 0xf3, 0xee, 0xa8, 0xba, 0x13, 0x65, 0xdb, 0xab, 0xcf, 0x4e, 0xac, 0x92, 0xe9, 0x60, 0xf1}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xef, 0xaf, 0xdf, 0xcf, 0x65, 0xae, 0x19, 0xfc, 0x9d, 0x29, 0xc1, 0x91, 0xaf, 0xb5, 0xd5, 0xb1, 0x56, 0xf3, 0xee, 0xa8, 0xba, 0x13, 0x65, 0xdb, 0xab, 0xcf, 0x4e, 0xac, 0x92, 0xe9, 0x60, 0xf1}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -578,42 +579,56 @@ func AssetNames() []string {
|
||||||
|
|
||||||
// _bindata is a table, holding each asset generator, mapped to its name.
|
// _bindata is a table, holding each asset generator, mapped to its name.
|
||||||
var _bindata = map[string]func() (*asset, error){
|
var _bindata = map[string]func() (*asset, error){
|
||||||
"1536754952_initial_schema.down.sql": _1536754952_initial_schemaDownSql,
|
"1536754952_initial_schema.down.sql": _1536754952_initial_schemaDownSql,
|
||||||
"1536754952_initial_schema.up.sql": _1536754952_initial_schemaUpSql,
|
|
||||||
"1539249977_update_ratchet_info.down.sql": _1539249977_update_ratchet_infoDownSql,
|
|
||||||
"1539249977_update_ratchet_info.up.sql": _1539249977_update_ratchet_infoUpSql,
|
|
||||||
"1540715431_add_version.down.sql": _1540715431_add_versionDownSql,
|
|
||||||
"1540715431_add_version.up.sql": _1540715431_add_versionUpSql,
|
|
||||||
"1541164797_add_installations.down.sql": _1541164797_add_installationsDownSql,
|
|
||||||
"1541164797_add_installations.up.sql": _1541164797_add_installationsUpSql,
|
|
||||||
"1558084410_add_secret.down.sql": _1558084410_add_secretDownSql,
|
|
||||||
"1558084410_add_secret.up.sql": _1558084410_add_secretUpSql,
|
|
||||||
"1558588866_add_version.down.sql": _1558588866_add_versionDownSql,
|
|
||||||
"1558588866_add_version.up.sql": _1558588866_add_versionUpSql,
|
|
||||||
"1559627659_add_contact_code.down.sql": _1559627659_add_contact_codeDownSql,
|
|
||||||
"1559627659_add_contact_code.up.sql": _1559627659_add_contact_codeUpSql,
|
|
||||||
"1561368210_add_installation_metadata.down.sql": _1561368210_add_installation_metadataDownSql,
|
|
||||||
"1561368210_add_installation_metadata.up.sql": _1561368210_add_installation_metadataUpSql,
|
|
||||||
"1632236298_add_communities.down.sql": _1632236298_add_communitiesDownSql,
|
|
||||||
"1632236298_add_communities.up.sql": _1632236298_add_communitiesUpSql,
|
|
||||||
"1636536507_add_index_bundles.up.sql": _1636536507_add_index_bundlesUpSql,
|
|
||||||
"doc.go": docGo,
|
|
||||||
}
|
|
||||||
|
|
||||||
// AssetDebug is true if the assets were built with the debug flag enabled.
|
"1536754952_initial_schema.up.sql": _1536754952_initial_schemaUpSql,
|
||||||
const AssetDebug = false
|
|
||||||
|
"1539249977_update_ratchet_info.down.sql": _1539249977_update_ratchet_infoDownSql,
|
||||||
|
|
||||||
|
"1539249977_update_ratchet_info.up.sql": _1539249977_update_ratchet_infoUpSql,
|
||||||
|
|
||||||
|
"1540715431_add_version.down.sql": _1540715431_add_versionDownSql,
|
||||||
|
|
||||||
|
"1540715431_add_version.up.sql": _1540715431_add_versionUpSql,
|
||||||
|
|
||||||
|
"1541164797_add_installations.down.sql": _1541164797_add_installationsDownSql,
|
||||||
|
|
||||||
|
"1541164797_add_installations.up.sql": _1541164797_add_installationsUpSql,
|
||||||
|
|
||||||
|
"1558084410_add_secret.down.sql": _1558084410_add_secretDownSql,
|
||||||
|
|
||||||
|
"1558084410_add_secret.up.sql": _1558084410_add_secretUpSql,
|
||||||
|
|
||||||
|
"1558588866_add_version.down.sql": _1558588866_add_versionDownSql,
|
||||||
|
|
||||||
|
"1558588866_add_version.up.sql": _1558588866_add_versionUpSql,
|
||||||
|
|
||||||
|
"1559627659_add_contact_code.down.sql": _1559627659_add_contact_codeDownSql,
|
||||||
|
|
||||||
|
"1559627659_add_contact_code.up.sql": _1559627659_add_contact_codeUpSql,
|
||||||
|
|
||||||
|
"1561368210_add_installation_metadata.down.sql": _1561368210_add_installation_metadataDownSql,
|
||||||
|
|
||||||
|
"1561368210_add_installation_metadata.up.sql": _1561368210_add_installation_metadataUpSql,
|
||||||
|
|
||||||
|
"1632236298_add_communities.down.sql": _1632236298_add_communitiesDownSql,
|
||||||
|
|
||||||
|
"1632236298_add_communities.up.sql": _1632236298_add_communitiesUpSql,
|
||||||
|
|
||||||
|
"1636536507_add_index_bundles.up.sql": _1636536507_add_index_bundlesUpSql,
|
||||||
|
|
||||||
|
"doc.go": docGo,
|
||||||
|
}
|
||||||
|
|
||||||
// AssetDir returns the file names below a certain
|
// AssetDir returns the file names below a certain
|
||||||
// directory embedded in the file by go-bindata.
|
// directory embedded in the file by go-bindata.
|
||||||
// For example if you run go-bindata on data/... and data contains the
|
// For example if you run go-bindata on data/... and data contains the
|
||||||
// following hierarchy:
|
// following hierarchy:
|
||||||
//
|
// data/
|
||||||
// data/
|
// foo.txt
|
||||||
// foo.txt
|
// img/
|
||||||
// img/
|
// a.png
|
||||||
// a.png
|
// b.png
|
||||||
// b.png
|
|
||||||
//
|
|
||||||
// then AssetDir("data") would return []string{"foo.txt", "img"},
|
// then AssetDir("data") would return []string{"foo.txt", "img"},
|
||||||
// AssetDir("data/img") would return []string{"a.png", "b.png"},
|
// AssetDir("data/img") would return []string{"a.png", "b.png"},
|
||||||
// AssetDir("foo.txt") and AssetDir("notexist") would return an error, and
|
// AssetDir("foo.txt") and AssetDir("notexist") would return an error, and
|
||||||
|
@ -646,26 +661,26 @@ type bintree struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
var _bintree = &bintree{nil, map[string]*bintree{
|
var _bintree = &bintree{nil, map[string]*bintree{
|
||||||
"1536754952_initial_schema.down.sql": {_1536754952_initial_schemaDownSql, map[string]*bintree{}},
|
"1536754952_initial_schema.down.sql": &bintree{_1536754952_initial_schemaDownSql, map[string]*bintree{}},
|
||||||
"1536754952_initial_schema.up.sql": {_1536754952_initial_schemaUpSql, map[string]*bintree{}},
|
"1536754952_initial_schema.up.sql": &bintree{_1536754952_initial_schemaUpSql, map[string]*bintree{}},
|
||||||
"1539249977_update_ratchet_info.down.sql": {_1539249977_update_ratchet_infoDownSql, map[string]*bintree{}},
|
"1539249977_update_ratchet_info.down.sql": &bintree{_1539249977_update_ratchet_infoDownSql, map[string]*bintree{}},
|
||||||
"1539249977_update_ratchet_info.up.sql": {_1539249977_update_ratchet_infoUpSql, map[string]*bintree{}},
|
"1539249977_update_ratchet_info.up.sql": &bintree{_1539249977_update_ratchet_infoUpSql, map[string]*bintree{}},
|
||||||
"1540715431_add_version.down.sql": {_1540715431_add_versionDownSql, map[string]*bintree{}},
|
"1540715431_add_version.down.sql": &bintree{_1540715431_add_versionDownSql, map[string]*bintree{}},
|
||||||
"1540715431_add_version.up.sql": {_1540715431_add_versionUpSql, map[string]*bintree{}},
|
"1540715431_add_version.up.sql": &bintree{_1540715431_add_versionUpSql, map[string]*bintree{}},
|
||||||
"1541164797_add_installations.down.sql": {_1541164797_add_installationsDownSql, map[string]*bintree{}},
|
"1541164797_add_installations.down.sql": &bintree{_1541164797_add_installationsDownSql, map[string]*bintree{}},
|
||||||
"1541164797_add_installations.up.sql": {_1541164797_add_installationsUpSql, map[string]*bintree{}},
|
"1541164797_add_installations.up.sql": &bintree{_1541164797_add_installationsUpSql, map[string]*bintree{}},
|
||||||
"1558084410_add_secret.down.sql": {_1558084410_add_secretDownSql, map[string]*bintree{}},
|
"1558084410_add_secret.down.sql": &bintree{_1558084410_add_secretDownSql, map[string]*bintree{}},
|
||||||
"1558084410_add_secret.up.sql": {_1558084410_add_secretUpSql, map[string]*bintree{}},
|
"1558084410_add_secret.up.sql": &bintree{_1558084410_add_secretUpSql, map[string]*bintree{}},
|
||||||
"1558588866_add_version.down.sql": {_1558588866_add_versionDownSql, map[string]*bintree{}},
|
"1558588866_add_version.down.sql": &bintree{_1558588866_add_versionDownSql, map[string]*bintree{}},
|
||||||
"1558588866_add_version.up.sql": {_1558588866_add_versionUpSql, map[string]*bintree{}},
|
"1558588866_add_version.up.sql": &bintree{_1558588866_add_versionUpSql, map[string]*bintree{}},
|
||||||
"1559627659_add_contact_code.down.sql": {_1559627659_add_contact_codeDownSql, map[string]*bintree{}},
|
"1559627659_add_contact_code.down.sql": &bintree{_1559627659_add_contact_codeDownSql, map[string]*bintree{}},
|
||||||
"1559627659_add_contact_code.up.sql": {_1559627659_add_contact_codeUpSql, map[string]*bintree{}},
|
"1559627659_add_contact_code.up.sql": &bintree{_1559627659_add_contact_codeUpSql, map[string]*bintree{}},
|
||||||
"1561368210_add_installation_metadata.down.sql": {_1561368210_add_installation_metadataDownSql, map[string]*bintree{}},
|
"1561368210_add_installation_metadata.down.sql": &bintree{_1561368210_add_installation_metadataDownSql, map[string]*bintree{}},
|
||||||
"1561368210_add_installation_metadata.up.sql": {_1561368210_add_installation_metadataUpSql, map[string]*bintree{}},
|
"1561368210_add_installation_metadata.up.sql": &bintree{_1561368210_add_installation_metadataUpSql, map[string]*bintree{}},
|
||||||
"1632236298_add_communities.down.sql": {_1632236298_add_communitiesDownSql, map[string]*bintree{}},
|
"1632236298_add_communities.down.sql": &bintree{_1632236298_add_communitiesDownSql, map[string]*bintree{}},
|
||||||
"1632236298_add_communities.up.sql": {_1632236298_add_communitiesUpSql, map[string]*bintree{}},
|
"1632236298_add_communities.up.sql": &bintree{_1632236298_add_communitiesUpSql, map[string]*bintree{}},
|
||||||
"1636536507_add_index_bundles.up.sql": {_1636536507_add_index_bundlesUpSql, map[string]*bintree{}},
|
"1636536507_add_index_bundles.up.sql": &bintree{_1636536507_add_index_bundlesUpSql, map[string]*bintree{}},
|
||||||
"doc.go": {docGo, map[string]*bintree{}},
|
"doc.go": &bintree{docGo, map[string]*bintree{}},
|
||||||
}}
|
}}
|
||||||
|
|
||||||
// RestoreAsset restores an asset under the given directory.
|
// RestoreAsset restores an asset under the given directory.
|
||||||
|
@ -682,7 +697,7 @@ func RestoreAsset(dir, name string) error {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
err = os.WriteFile(_filePath(dir, name), data, info.Mode())
|
err = ioutil.WriteFile(_filePath(dir, name), data, info.Mode())
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -351,8 +351,9 @@ func (m *Messenger) handleCommunitiesSubscription(c chan *communities.Subscripti
|
||||||
}
|
}
|
||||||
if sub.TokenCommunityValidated != nil {
|
if sub.TokenCommunityValidated != nil {
|
||||||
state := m.buildMessageState()
|
state := m.buildMessageState()
|
||||||
|
communityResponse := sub.TokenCommunityValidated
|
||||||
|
|
||||||
err := m.handleCommunityResponse(state, sub.TokenCommunityValidated)
|
err := m.handleCommunityResponse(state, communityResponse)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
m.logger.Error("failed to handle community response", zap.Error(err))
|
m.logger.Error("failed to handle community response", zap.Error(err))
|
||||||
}
|
}
|
||||||
|
@ -364,6 +365,16 @@ func (m *Messenger) handleCommunitiesSubscription(c chan *communities.Subscripti
|
||||||
m.logger.Error("failed to save data and prepare response")
|
m.logger.Error("failed to save data and prepare response")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// control node changed and we were kicked out. It now awaits our addresses
|
||||||
|
if communityResponse.Changes.ControlNodeChanged != nil && communityResponse.Changes.MemberKicked {
|
||||||
|
requestToJoin, err := m.sendSharedAddressToControlNode(communityResponse.Community.ControlNode(), communityResponse.Community)
|
||||||
|
if err != nil {
|
||||||
|
m.logger.Error("share address to control node failed", zap.String("id", types.EncodeHex(communityResponse.Community.ID())), zap.Error(err))
|
||||||
|
} else {
|
||||||
|
state.Response.RequestsToJoinCommunity = append(state.Response.RequestsToJoinCommunity, requestToJoin)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if m.config.messengerSignalsHandler != nil {
|
if m.config.messengerSignalsHandler != nil {
|
||||||
m.config.messengerSignalsHandler.MessengerResponse(response)
|
m.config.messengerSignalsHandler.MessengerResponse(response)
|
||||||
}
|
}
|
||||||
|
@ -2411,11 +2422,16 @@ func (m *Messenger) MyPendingRequestsToJoin() ([]*communities.RequestToJoin, err
|
||||||
return m.communitiesManager.PendingRequestsToJoinForUser(&m.identity.PublicKey)
|
return m.communitiesManager.PendingRequestsToJoinForUser(&m.identity.PublicKey)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (m *Messenger) MyAwaitingAddressesRequestsToJoin() ([]*communities.RequestToJoin, error) {
|
||||||
|
return m.communitiesManager.AwaitingAddressesRequestsToJoinForUser(&m.identity.PublicKey)
|
||||||
|
}
|
||||||
|
|
||||||
func (m *Messenger) PendingRequestsToJoinForCommunity(id types.HexBytes) ([]*communities.RequestToJoin, error) {
|
func (m *Messenger) PendingRequestsToJoinForCommunity(id types.HexBytes) ([]*communities.RequestToJoin, error) {
|
||||||
return m.communitiesManager.PendingRequestsToJoinForCommunity(id)
|
return m.communitiesManager.PendingRequestsToJoinForCommunity(id)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *Messenger) AllPendingRequestsToJoinForCommunity(id types.HexBytes) ([]*communities.RequestToJoin, error) {
|
func (m *Messenger) AllPendingRequestsToJoinForCommunity(id types.HexBytes) ([]*communities.RequestToJoin, error) {
|
||||||
|
// TODO: optimize and extract via one query
|
||||||
pendingRequests, err := m.communitiesManager.PendingRequestsToJoinForCommunity(id)
|
pendingRequests, err := m.communitiesManager.PendingRequestsToJoinForCommunity(id)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
|
@ -2429,8 +2445,14 @@ func (m *Messenger) AllPendingRequestsToJoinForCommunity(id types.HexBytes) ([]*
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ownershipChangedRequests, err := m.communitiesManager.RequestsToJoinForCommunityAwaitingAddresses(id)
|
||||||
|
if err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
|
||||||
pendingRequests = append(pendingRequests, acceptedPendingRequests...)
|
pendingRequests = append(pendingRequests, acceptedPendingRequests...)
|
||||||
pendingRequests = append(pendingRequests, declinedPendingRequests...)
|
pendingRequests = append(pendingRequests, declinedPendingRequests...)
|
||||||
|
pendingRequests = append(pendingRequests, ownershipChangedRequests...)
|
||||||
|
|
||||||
return pendingRequests, nil
|
return pendingRequests, nil
|
||||||
}
|
}
|
||||||
|
@ -2976,6 +2998,8 @@ func (m *Messenger) handleCommunityResponse(state *ReceivedMessageState, communi
|
||||||
notification.MembershipStatus = ActivityCenterMembershipStatusAcceptedPending
|
notification.MembershipStatus = ActivityCenterMembershipStatusAcceptedPending
|
||||||
case communities.RequestToJoinStateDeclinedPending:
|
case communities.RequestToJoinStateDeclinedPending:
|
||||||
notification.MembershipStatus = ActivityCenterMembershipStatusDeclinedPending
|
notification.MembershipStatus = ActivityCenterMembershipStatusDeclinedPending
|
||||||
|
case communities.RequestToJoinStateAwaitingAddresses:
|
||||||
|
notification.MembershipStatus = ActivityCenterMembershipOwnershipChanged
|
||||||
default:
|
default:
|
||||||
notification.MembershipStatus = ActivityCenterMembershipStatusPending
|
notification.MembershipStatus = ActivityCenterMembershipStatusPending
|
||||||
|
|
||||||
|
@ -3134,6 +3158,47 @@ func (m *Messenger) HandleCommunityPrivilegedUserSyncMessage(state *ReceivedMess
|
||||||
return m.handleCommunityPrivilegedUserSyncMessage(state, signer, message)
|
return m.handleCommunityPrivilegedUserSyncMessage(state, signer, message)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (m *Messenger) sendSharedAddressToControlNode(receiver *ecdsa.PublicKey, community *communities.Community) (*communities.RequestToJoin, error) {
|
||||||
|
if receiver == nil {
|
||||||
|
return nil, errors.New("receiver can't be nil")
|
||||||
|
}
|
||||||
|
|
||||||
|
if community == nil {
|
||||||
|
return nil, communities.ErrOrgNotFound
|
||||||
|
}
|
||||||
|
|
||||||
|
m.logger.Info("share address to the new owner ", zap.String("community id", community.IDString()))
|
||||||
|
|
||||||
|
pk := common.PubkeyToHex(&m.identity.PublicKey)
|
||||||
|
|
||||||
|
requestToJoin, err := m.communitiesManager.GetCommunityRequestToJoinWithRevealedAddresses(pk, community.ID())
|
||||||
|
if err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
|
||||||
|
requestToJoin.Clock = uint64(time.Now().Unix())
|
||||||
|
requestToJoin.State = communities.RequestToJoinStateAwaitingAddresses
|
||||||
|
payload, err := proto.Marshal(requestToJoin.ToCommunityRequestToJoinProtobuf())
|
||||||
|
if err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
|
||||||
|
rawMessage := common.RawMessage{
|
||||||
|
Payload: payload,
|
||||||
|
CommunityID: community.ID(),
|
||||||
|
SkipProtocolLayer: true,
|
||||||
|
MessageType: protobuf.ApplicationMetadataMessage_COMMUNITY_REQUEST_TO_JOIN,
|
||||||
|
PubsubTopic: community.PubsubTopic(), // TODO: confirm if it should be sent in community pubsub topic
|
||||||
|
}
|
||||||
|
|
||||||
|
if err = m.communitiesManager.SaveRequestToJoin(requestToJoin); err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
|
||||||
|
_, err = m.sender.SendPrivate(context.Background(), receiver, &rawMessage)
|
||||||
|
return requestToJoin, err
|
||||||
|
}
|
||||||
|
|
||||||
func (m *Messenger) HandleSyncInstallationCommunity(messageState *ReceivedMessageState, syncCommunity *protobuf.SyncInstallationCommunity, statusMessage *v1protocol.StatusMessage) error {
|
func (m *Messenger) HandleSyncInstallationCommunity(messageState *ReceivedMessageState, syncCommunity *protobuf.SyncInstallationCommunity, statusMessage *v1protocol.StatusMessage) error {
|
||||||
return m.handleSyncInstallationCommunity(messageState, syncCommunity, nil)
|
return m.handleSyncInstallationCommunity(messageState, syncCommunity, nil)
|
||||||
}
|
}
|
||||||
|
@ -5926,18 +5991,28 @@ func (m *Messenger) SetCommunitySignerPubKey(ctx context.Context, communityID []
|
||||||
return m.communityTokensService.SetSignerPubKey(ctx, chainID, contractAddress, txArgs, password, newSignerPubKey)
|
return m.communityTokensService.SetSignerPubKey(ctx, chainID, contractAddress, txArgs, password, newSignerPubKey)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *Messenger) PromoteSelfToControlNode(communityID types.HexBytes) (*communities.Community, error) {
|
func (m *Messenger) PromoteSelfToControlNode(communityID types.HexBytes) (*MessengerResponse, error) {
|
||||||
clock, _ := m.getLastClockWithRelatedChat()
|
clock, _ := m.getLastClockWithRelatedChat()
|
||||||
|
changes, err := m.communitiesManager.PromoteSelfToControlNode(communityID, clock)
|
||||||
community, err := m.communitiesManager.PromoteSelfToControlNode(communityID, clock)
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
err = m.syncCommunity(context.Background(), community, m.dispatchMessage)
|
if len(changes.MembersRemoved) > 0 {
|
||||||
|
err = m.communitiesManager.GenerateRequestsToJoinForAutoApprovalOnNewOwnership(changes.Community.ID(), changes.MembersRemoved)
|
||||||
|
if err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
err = m.syncCommunity(context.Background(), changes.Community, m.dispatchMessage)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
return community, nil
|
var response MessengerResponse
|
||||||
|
response.AddCommunity(changes.Community)
|
||||||
|
response.CommunityChanges = []*communities.CommunityChanges{changes}
|
||||||
|
|
||||||
|
return &response, nil
|
||||||
}
|
}
|
||||||
|
|
|
@ -1554,6 +1554,10 @@ func (m *Messenger) HandleCommunityRequestToJoin(state *ReceivedMessageState, re
|
||||||
case communities.RequestToJoinStateCanceled:
|
case communities.RequestToJoinStateCanceled:
|
||||||
// cancellation is handled by separate message
|
// cancellation is handled by separate message
|
||||||
fallthrough
|
fallthrough
|
||||||
|
case communities.RequestToJoinStateAwaitingAddresses:
|
||||||
|
// ownership changed request is handled only if owner kicked members and saved
|
||||||
|
// temporary RequestToJoinStateAwaitingAddresses request
|
||||||
|
fallthrough
|
||||||
case communities.RequestToJoinStateAcceptedPending, communities.RequestToJoinStateDeclinedPending:
|
case communities.RequestToJoinStateAcceptedPending, communities.RequestToJoinStateDeclinedPending:
|
||||||
// request can be marked as pending only manually
|
// request can be marked as pending only manually
|
||||||
return errors.New("invalid request state")
|
return errors.New("invalid request state")
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1 @@
|
||||||
|
ALTER TABLE communities_requests_to_join_revealed_addresses ADD COLUMN signature BLOB;
|
|
@ -1,32 +1,28 @@
|
||||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||||
// versions:
|
|
||||||
// protoc-gen-go v1.29.1
|
|
||||||
// protoc v3.20.3
|
|
||||||
// source: anon_metrics.proto
|
// source: anon_metrics.proto
|
||||||
|
|
||||||
package protobuf
|
package protobuf
|
||||||
|
|
||||||
import (
|
import (
|
||||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
fmt "fmt"
|
||||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
proto "github.com/golang/protobuf/proto"
|
||||||
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
|
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
|
||||||
reflect "reflect"
|
math "math"
|
||||||
sync "sync"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
// Reference imports to suppress errors if they are not otherwise used.
|
||||||
// Verify that this generated code is sufficiently up-to-date.
|
var _ = proto.Marshal
|
||||||
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
var _ = fmt.Errorf
|
||||||
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
var _ = math.Inf
|
||||||
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
||||||
)
|
// This is a compile-time assertion to ensure that this generated file
|
||||||
|
// is compatible with the proto package it is being compiled against.
|
||||||
|
// A compilation error at this line likely means your copy of the
|
||||||
|
// proto package needs to be updated.
|
||||||
|
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
|
||||||
|
|
||||||
// AnonymousMetric represents a single metric data point
|
// AnonymousMetric represents a single metric data point
|
||||||
type AnonymousMetric struct {
|
type AnonymousMetric struct {
|
||||||
state protoimpl.MessageState
|
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
// id is the unique id of the metric message
|
// id is the unique id of the metric message
|
||||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
||||||
// event is the app metric event type
|
// event is the app metric event type
|
||||||
|
@ -40,243 +36,153 @@ type AnonymousMetric struct {
|
||||||
// session_id is the id of the session the metric was recorded in
|
// session_id is the id of the session the metric was recorded in
|
||||||
SessionId string `protobuf:"bytes,6,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
|
SessionId string `protobuf:"bytes,6,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
|
||||||
// created_at is the datetime at which the metric was stored in the local db
|
// created_at is the datetime at which the metric was stored in the local db
|
||||||
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
|
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
|
||||||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
|
XXX_unrecognized []byte `json:"-"`
|
||||||
|
XXX_sizecache int32 `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *AnonymousMetric) Reset() {
|
func (m *AnonymousMetric) Reset() { *m = AnonymousMetric{} }
|
||||||
*x = AnonymousMetric{}
|
func (m *AnonymousMetric) String() string { return proto.CompactTextString(m) }
|
||||||
if protoimpl.UnsafeEnabled {
|
func (*AnonymousMetric) ProtoMessage() {}
|
||||||
mi := &file_anon_metrics_proto_msgTypes[0]
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *AnonymousMetric) String() string {
|
|
||||||
return protoimpl.X.MessageStringOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (*AnonymousMetric) ProtoMessage() {}
|
|
||||||
|
|
||||||
func (x *AnonymousMetric) ProtoReflect() protoreflect.Message {
|
|
||||||
mi := &file_anon_metrics_proto_msgTypes[0]
|
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
if ms.LoadMessageInfo() == nil {
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
return ms
|
|
||||||
}
|
|
||||||
return mi.MessageOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
// Deprecated: Use AnonymousMetric.ProtoReflect.Descriptor instead.
|
|
||||||
func (*AnonymousMetric) Descriptor() ([]byte, []int) {
|
func (*AnonymousMetric) Descriptor() ([]byte, []int) {
|
||||||
return file_anon_metrics_proto_rawDescGZIP(), []int{0}
|
return fileDescriptor_4be044a92fa0408c, []int{0}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *AnonymousMetric) GetId() string {
|
func (m *AnonymousMetric) XXX_Unmarshal(b []byte) error {
|
||||||
if x != nil {
|
return xxx_messageInfo_AnonymousMetric.Unmarshal(m, b)
|
||||||
return x.Id
|
}
|
||||||
|
func (m *AnonymousMetric) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||||
|
return xxx_messageInfo_AnonymousMetric.Marshal(b, m, deterministic)
|
||||||
|
}
|
||||||
|
func (m *AnonymousMetric) XXX_Merge(src proto.Message) {
|
||||||
|
xxx_messageInfo_AnonymousMetric.Merge(m, src)
|
||||||
|
}
|
||||||
|
func (m *AnonymousMetric) XXX_Size() int {
|
||||||
|
return xxx_messageInfo_AnonymousMetric.Size(m)
|
||||||
|
}
|
||||||
|
func (m *AnonymousMetric) XXX_DiscardUnknown() {
|
||||||
|
xxx_messageInfo_AnonymousMetric.DiscardUnknown(m)
|
||||||
|
}
|
||||||
|
|
||||||
|
var xxx_messageInfo_AnonymousMetric proto.InternalMessageInfo
|
||||||
|
|
||||||
|
func (m *AnonymousMetric) GetId() string {
|
||||||
|
if m != nil {
|
||||||
|
return m.Id
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *AnonymousMetric) GetEvent() string {
|
func (m *AnonymousMetric) GetEvent() string {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.Event
|
return m.Event
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *AnonymousMetric) GetValue() []byte {
|
func (m *AnonymousMetric) GetValue() []byte {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.Value
|
return m.Value
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *AnonymousMetric) GetAppVersion() string {
|
func (m *AnonymousMetric) GetAppVersion() string {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.AppVersion
|
return m.AppVersion
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *AnonymousMetric) GetOs() string {
|
func (m *AnonymousMetric) GetOs() string {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.Os
|
return m.Os
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *AnonymousMetric) GetSessionId() string {
|
func (m *AnonymousMetric) GetSessionId() string {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.SessionId
|
return m.SessionId
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *AnonymousMetric) GetCreatedAt() *timestamppb.Timestamp {
|
func (m *AnonymousMetric) GetCreatedAt() *timestamppb.Timestamp {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.CreatedAt
|
return m.CreatedAt
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// AnonymousMetricBatch represents a batch of AnonymousMetrics allowing broadcast of AnonymousMetrics with fewer messages
|
// AnonymousMetricBatch represents a batch of AnonymousMetrics allowing broadcast of AnonymousMetrics with fewer messages
|
||||||
type AnonymousMetricBatch struct {
|
type AnonymousMetricBatch struct {
|
||||||
state protoimpl.MessageState
|
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
// metrics is an array of AnonymousMetric metrics
|
// metrics is an array of AnonymousMetric metrics
|
||||||
Metrics []*AnonymousMetric `protobuf:"bytes,1,rep,name=metrics,proto3" json:"metrics,omitempty"`
|
Metrics []*AnonymousMetric `protobuf:"bytes,1,rep,name=metrics,proto3" json:"metrics,omitempty"`
|
||||||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
|
XXX_unrecognized []byte `json:"-"`
|
||||||
|
XXX_sizecache int32 `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *AnonymousMetricBatch) Reset() {
|
func (m *AnonymousMetricBatch) Reset() { *m = AnonymousMetricBatch{} }
|
||||||
*x = AnonymousMetricBatch{}
|
func (m *AnonymousMetricBatch) String() string { return proto.CompactTextString(m) }
|
||||||
if protoimpl.UnsafeEnabled {
|
func (*AnonymousMetricBatch) ProtoMessage() {}
|
||||||
mi := &file_anon_metrics_proto_msgTypes[1]
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *AnonymousMetricBatch) String() string {
|
|
||||||
return protoimpl.X.MessageStringOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (*AnonymousMetricBatch) ProtoMessage() {}
|
|
||||||
|
|
||||||
func (x *AnonymousMetricBatch) ProtoReflect() protoreflect.Message {
|
|
||||||
mi := &file_anon_metrics_proto_msgTypes[1]
|
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
if ms.LoadMessageInfo() == nil {
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
return ms
|
|
||||||
}
|
|
||||||
return mi.MessageOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
// Deprecated: Use AnonymousMetricBatch.ProtoReflect.Descriptor instead.
|
|
||||||
func (*AnonymousMetricBatch) Descriptor() ([]byte, []int) {
|
func (*AnonymousMetricBatch) Descriptor() ([]byte, []int) {
|
||||||
return file_anon_metrics_proto_rawDescGZIP(), []int{1}
|
return fileDescriptor_4be044a92fa0408c, []int{1}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *AnonymousMetricBatch) GetMetrics() []*AnonymousMetric {
|
func (m *AnonymousMetricBatch) XXX_Unmarshal(b []byte) error {
|
||||||
if x != nil {
|
return xxx_messageInfo_AnonymousMetricBatch.Unmarshal(m, b)
|
||||||
return x.Metrics
|
}
|
||||||
|
func (m *AnonymousMetricBatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||||
|
return xxx_messageInfo_AnonymousMetricBatch.Marshal(b, m, deterministic)
|
||||||
|
}
|
||||||
|
func (m *AnonymousMetricBatch) XXX_Merge(src proto.Message) {
|
||||||
|
xxx_messageInfo_AnonymousMetricBatch.Merge(m, src)
|
||||||
|
}
|
||||||
|
func (m *AnonymousMetricBatch) XXX_Size() int {
|
||||||
|
return xxx_messageInfo_AnonymousMetricBatch.Size(m)
|
||||||
|
}
|
||||||
|
func (m *AnonymousMetricBatch) XXX_DiscardUnknown() {
|
||||||
|
xxx_messageInfo_AnonymousMetricBatch.DiscardUnknown(m)
|
||||||
|
}
|
||||||
|
|
||||||
|
var xxx_messageInfo_AnonymousMetricBatch proto.InternalMessageInfo
|
||||||
|
|
||||||
|
func (m *AnonymousMetricBatch) GetMetrics() []*AnonymousMetric {
|
||||||
|
if m != nil {
|
||||||
|
return m.Metrics
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
var File_anon_metrics_proto protoreflect.FileDescriptor
|
func init() {
|
||||||
|
proto.RegisterType((*AnonymousMetric)(nil), "protobuf.AnonymousMetric")
|
||||||
var file_anon_metrics_proto_rawDesc = []byte{
|
proto.RegisterType((*AnonymousMetricBatch)(nil), "protobuf.AnonymousMetricBatch")
|
||||||
0x0a, 0x12, 0x61, 0x6e, 0x6f, 0x6e, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x70,
|
|
||||||
0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x1a, 0x1f,
|
|
||||||
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f,
|
|
||||||
0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22,
|
|
||||||
0xd8, 0x01, 0x0a, 0x0f, 0x41, 0x6e, 0x6f, 0x6e, 0x79, 0x6d, 0x6f, 0x75, 0x73, 0x4d, 0x65, 0x74,
|
|
||||||
0x72, 0x69, 0x63, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
||||||
0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01,
|
|
||||||
0x28, 0x09, 0x52, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c,
|
|
||||||
0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12,
|
|
||||||
0x1f, 0x0a, 0x0b, 0x61, 0x70, 0x70, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04,
|
|
||||||
0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x61, 0x70, 0x70, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
|
|
||||||
0x12, 0x0e, 0x0a, 0x02, 0x6f, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x6f, 0x73,
|
|
||||||
0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x06,
|
|
||||||
0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12,
|
|
||||||
0x39, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x07, 0x20,
|
|
||||||
0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
|
|
||||||
0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52,
|
|
||||||
0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x22, 0x4b, 0x0a, 0x14, 0x41, 0x6e,
|
|
||||||
0x6f, 0x6e, 0x79, 0x6d, 0x6f, 0x75, 0x73, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x42, 0x61, 0x74,
|
|
||||||
0x63, 0x68, 0x12, 0x33, 0x0a, 0x07, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x18, 0x01, 0x20,
|
|
||||||
0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41,
|
|
||||||
0x6e, 0x6f, 0x6e, 0x79, 0x6d, 0x6f, 0x75, 0x73, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x52, 0x07,
|
|
||||||
0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x42, 0x0d, 0x5a, 0x0b, 0x2e, 0x2f, 0x3b, 0x70, 0x72,
|
|
||||||
0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
var (
|
func init() {
|
||||||
file_anon_metrics_proto_rawDescOnce sync.Once
|
proto.RegisterFile("anon_metrics.proto", fileDescriptor_4be044a92fa0408c)
|
||||||
file_anon_metrics_proto_rawDescData = file_anon_metrics_proto_rawDesc
|
|
||||||
)
|
|
||||||
|
|
||||||
func file_anon_metrics_proto_rawDescGZIP() []byte {
|
|
||||||
file_anon_metrics_proto_rawDescOnce.Do(func() {
|
|
||||||
file_anon_metrics_proto_rawDescData = protoimpl.X.CompressGZIP(file_anon_metrics_proto_rawDescData)
|
|
||||||
})
|
|
||||||
return file_anon_metrics_proto_rawDescData
|
|
||||||
}
|
}
|
||||||
|
|
||||||
var file_anon_metrics_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
|
var fileDescriptor_4be044a92fa0408c = []byte{
|
||||||
var file_anon_metrics_proto_goTypes = []interface{}{
|
// 269 bytes of a gzipped FileDescriptorProto
|
||||||
(*AnonymousMetric)(nil), // 0: protobuf.AnonymousMetric
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x5c, 0x90, 0x3d, 0x6b, 0xc3, 0x30,
|
||||||
(*AnonymousMetricBatch)(nil), // 1: protobuf.AnonymousMetricBatch
|
0x10, 0x86, 0x51, 0xd2, 0x24, 0xf5, 0xb9, 0x1f, 0x20, 0x32, 0xa8, 0x81, 0x12, 0x93, 0xc9, 0x93,
|
||||||
(*timestamppb.Timestamp)(nil), // 2: google.protobuf.Timestamp
|
0x0d, 0xc9, 0x54, 0x3a, 0x25, 0x5b, 0x29, 0x5d, 0x4c, 0xe9, 0xd0, 0xc5, 0x28, 0xb6, 0x9a, 0x0a,
|
||||||
}
|
0x62, 0x9d, 0xb0, 0x64, 0x43, 0xff, 0x69, 0x7f, 0x4e, 0xb1, 0x64, 0x51, 0xc8, 0x24, 0xdd, 0xa3,
|
||||||
var file_anon_metrics_proto_depIdxs = []int32{
|
0xf7, 0x5e, 0x78, 0x04, 0x94, 0x2b, 0x54, 0x65, 0x23, 0x6c, 0x2b, 0x2b, 0x93, 0xe9, 0x16, 0x2d,
|
||||||
2, // 0: protobuf.AnonymousMetric.created_at:type_name -> google.protobuf.Timestamp
|
0xd2, 0x6b, 0x77, 0x1c, 0xbb, 0xaf, 0xd5, 0xfa, 0x84, 0x78, 0x3a, 0x8b, 0x3c, 0x80, 0xdc, 0xca,
|
||||||
0, // 1: protobuf.AnonymousMetricBatch.metrics:type_name -> protobuf.AnonymousMetric
|
0x46, 0x18, 0xcb, 0x1b, 0xed, 0xa3, 0x9b, 0x5f, 0x02, 0xf7, 0x7b, 0x85, 0xea, 0xa7, 0xc1, 0xce,
|
||||||
2, // [2:2] is the sub-list for method output_type
|
0xbc, 0xb9, 0x16, 0x7a, 0x07, 0x13, 0x59, 0x33, 0x92, 0x90, 0x34, 0x2a, 0x26, 0xb2, 0xa6, 0x4b,
|
||||||
2, // [2:2] is the sub-list for method input_type
|
0x98, 0x89, 0x5e, 0x28, 0xcb, 0x26, 0x0e, 0xf9, 0x61, 0xa0, 0x3d, 0x3f, 0x77, 0x82, 0x4d, 0x13,
|
||||||
2, // [2:2] is the sub-list for extension type_name
|
0x92, 0xde, 0x14, 0x7e, 0xa0, 0x6b, 0x88, 0xb9, 0xd6, 0x65, 0x2f, 0x5a, 0x23, 0x51, 0xb1, 0x2b,
|
||||||
2, // [2:2] is the sub-list for extension extendee
|
0xb7, 0x01, 0x5c, 0xeb, 0x0f, 0x4f, 0x86, 0x72, 0x34, 0x6c, 0xe6, 0xcb, 0xd1, 0xd0, 0x47, 0x00,
|
||||||
0, // [0:2] is the sub-list for field type_name
|
0x23, 0xcc, 0xf0, 0x54, 0xca, 0x9a, 0xcd, 0x1d, 0x8f, 0x46, 0xf2, 0x52, 0xd3, 0x27, 0x80, 0xaa,
|
||||||
}
|
0x15, 0xdc, 0x8a, 0xba, 0xe4, 0x96, 0x2d, 0x12, 0x92, 0xc6, 0xdb, 0x55, 0xe6, 0xad, 0xb2, 0x60,
|
||||||
|
0x95, 0xbd, 0x07, 0xab, 0x22, 0x1a, 0xd3, 0x7b, 0xbb, 0x79, 0x85, 0xe5, 0x85, 0xd9, 0x81, 0xdb,
|
||||||
func init() { file_anon_metrics_proto_init() }
|
0xea, 0x9b, 0xee, 0x60, 0x31, 0x7e, 0x17, 0x23, 0xc9, 0x34, 0x8d, 0xb7, 0x0f, 0xff, 0x45, 0x17,
|
||||||
func file_anon_metrics_proto_init() {
|
0x0b, 0x45, 0x48, 0x1e, 0x6e, 0x3f, 0xe3, 0x2c, 0x7f, 0x0e, 0xb9, 0xe3, 0xdc, 0xdd, 0x76, 0x7f,
|
||||||
if File_anon_metrics_proto != nil {
|
0x01, 0x00, 0x00, 0xff, 0xff, 0xc7, 0x86, 0xa1, 0x32, 0x7e, 0x01, 0x00, 0x00,
|
||||||
return
|
|
||||||
}
|
|
||||||
if !protoimpl.UnsafeEnabled {
|
|
||||||
file_anon_metrics_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
||||||
switch v := v.(*AnonymousMetric); i {
|
|
||||||
case 0:
|
|
||||||
return &v.state
|
|
||||||
case 1:
|
|
||||||
return &v.sizeCache
|
|
||||||
case 2:
|
|
||||||
return &v.unknownFields
|
|
||||||
default:
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
}
|
|
||||||
file_anon_metrics_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
||||||
switch v := v.(*AnonymousMetricBatch); i {
|
|
||||||
case 0:
|
|
||||||
return &v.state
|
|
||||||
case 1:
|
|
||||||
return &v.sizeCache
|
|
||||||
case 2:
|
|
||||||
return &v.unknownFields
|
|
||||||
default:
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
type x struct{}
|
|
||||||
out := protoimpl.TypeBuilder{
|
|
||||||
File: protoimpl.DescBuilder{
|
|
||||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
||||||
RawDescriptor: file_anon_metrics_proto_rawDesc,
|
|
||||||
NumEnums: 0,
|
|
||||||
NumMessages: 2,
|
|
||||||
NumExtensions: 0,
|
|
||||||
NumServices: 0,
|
|
||||||
},
|
|
||||||
GoTypes: file_anon_metrics_proto_goTypes,
|
|
||||||
DependencyIndexes: file_anon_metrics_proto_depIdxs,
|
|
||||||
MessageInfos: file_anon_metrics_proto_msgTypes,
|
|
||||||
}.Build()
|
|
||||||
File_anon_metrics_proto = out.File
|
|
||||||
file_anon_metrics_proto_rawDesc = nil
|
|
||||||
file_anon_metrics_proto_goTypes = nil
|
|
||||||
file_anon_metrics_proto_depIdxs = nil
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,56 +1,54 @@
|
||||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||||
// versions:
|
|
||||||
// protoc-gen-go v1.29.1
|
|
||||||
// protoc v3.20.3
|
|
||||||
// source: application_metadata_message.proto
|
// source: application_metadata_message.proto
|
||||||
|
|
||||||
package protobuf
|
package protobuf
|
||||||
|
|
||||||
import (
|
import (
|
||||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
fmt "fmt"
|
||||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
proto "github.com/golang/protobuf/proto"
|
||||||
reflect "reflect"
|
math "math"
|
||||||
sync "sync"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
// Reference imports to suppress errors if they are not otherwise used.
|
||||||
// Verify that this generated code is sufficiently up-to-date.
|
var _ = proto.Marshal
|
||||||
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
var _ = fmt.Errorf
|
||||||
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
var _ = math.Inf
|
||||||
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
||||||
)
|
// This is a compile-time assertion to ensure that this generated file
|
||||||
|
// is compatible with the proto package it is being compiled against.
|
||||||
|
// A compilation error at this line likely means your copy of the
|
||||||
|
// proto package needs to be updated.
|
||||||
|
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
|
||||||
|
|
||||||
type ApplicationMetadataMessage_Type int32
|
type ApplicationMetadataMessage_Type int32
|
||||||
|
|
||||||
const (
|
const (
|
||||||
ApplicationMetadataMessage_UNKNOWN ApplicationMetadataMessage_Type = 0
|
ApplicationMetadataMessage_UNKNOWN ApplicationMetadataMessage_Type = 0
|
||||||
ApplicationMetadataMessage_CHAT_MESSAGE ApplicationMetadataMessage_Type = 1
|
ApplicationMetadataMessage_CHAT_MESSAGE ApplicationMetadataMessage_Type = 1
|
||||||
ApplicationMetadataMessage_CONTACT_UPDATE ApplicationMetadataMessage_Type = 2
|
ApplicationMetadataMessage_CONTACT_UPDATE ApplicationMetadataMessage_Type = 2
|
||||||
ApplicationMetadataMessage_MEMBERSHIP_UPDATE_MESSAGE ApplicationMetadataMessage_Type = 3
|
ApplicationMetadataMessage_MEMBERSHIP_UPDATE_MESSAGE ApplicationMetadataMessage_Type = 3
|
||||||
ApplicationMetadataMessage_SYNC_PAIR_INSTALLATION ApplicationMetadataMessage_Type = 4
|
ApplicationMetadataMessage_SYNC_PAIR_INSTALLATION ApplicationMetadataMessage_Type = 4
|
||||||
// Deprecated: Marked as deprecated in application_metadata_message.proto.
|
ApplicationMetadataMessage_DEPRECATED_SYNC_INSTALLATION ApplicationMetadataMessage_Type = 5 // Deprecated: Do not use.
|
||||||
ApplicationMetadataMessage_DEPRECATED_SYNC_INSTALLATION ApplicationMetadataMessage_Type = 5
|
ApplicationMetadataMessage_REQUEST_ADDRESS_FOR_TRANSACTION ApplicationMetadataMessage_Type = 6
|
||||||
ApplicationMetadataMessage_REQUEST_ADDRESS_FOR_TRANSACTION ApplicationMetadataMessage_Type = 6
|
ApplicationMetadataMessage_ACCEPT_REQUEST_ADDRESS_FOR_TRANSACTION ApplicationMetadataMessage_Type = 7
|
||||||
ApplicationMetadataMessage_ACCEPT_REQUEST_ADDRESS_FOR_TRANSACTION ApplicationMetadataMessage_Type = 7
|
ApplicationMetadataMessage_DECLINE_REQUEST_ADDRESS_FOR_TRANSACTION ApplicationMetadataMessage_Type = 8
|
||||||
ApplicationMetadataMessage_DECLINE_REQUEST_ADDRESS_FOR_TRANSACTION ApplicationMetadataMessage_Type = 8
|
ApplicationMetadataMessage_REQUEST_TRANSACTION ApplicationMetadataMessage_Type = 9
|
||||||
ApplicationMetadataMessage_REQUEST_TRANSACTION ApplicationMetadataMessage_Type = 9
|
ApplicationMetadataMessage_SEND_TRANSACTION ApplicationMetadataMessage_Type = 10
|
||||||
ApplicationMetadataMessage_SEND_TRANSACTION ApplicationMetadataMessage_Type = 10
|
ApplicationMetadataMessage_DECLINE_REQUEST_TRANSACTION ApplicationMetadataMessage_Type = 11
|
||||||
ApplicationMetadataMessage_DECLINE_REQUEST_TRANSACTION ApplicationMetadataMessage_Type = 11
|
ApplicationMetadataMessage_SYNC_INSTALLATION_CONTACT_V2 ApplicationMetadataMessage_Type = 12
|
||||||
ApplicationMetadataMessage_SYNC_INSTALLATION_CONTACT_V2 ApplicationMetadataMessage_Type = 12
|
ApplicationMetadataMessage_SYNC_INSTALLATION_ACCOUNT ApplicationMetadataMessage_Type = 13
|
||||||
ApplicationMetadataMessage_SYNC_INSTALLATION_ACCOUNT ApplicationMetadataMessage_Type = 13
|
ApplicationMetadataMessage_CONTACT_CODE_ADVERTISEMENT ApplicationMetadataMessage_Type = 15
|
||||||
ApplicationMetadataMessage_CONTACT_CODE_ADVERTISEMENT ApplicationMetadataMessage_Type = 15
|
ApplicationMetadataMessage_PUSH_NOTIFICATION_REGISTRATION ApplicationMetadataMessage_Type = 16
|
||||||
ApplicationMetadataMessage_PUSH_NOTIFICATION_REGISTRATION ApplicationMetadataMessage_Type = 16
|
ApplicationMetadataMessage_PUSH_NOTIFICATION_REGISTRATION_RESPONSE ApplicationMetadataMessage_Type = 17
|
||||||
ApplicationMetadataMessage_PUSH_NOTIFICATION_REGISTRATION_RESPONSE ApplicationMetadataMessage_Type = 17
|
ApplicationMetadataMessage_PUSH_NOTIFICATION_QUERY ApplicationMetadataMessage_Type = 18
|
||||||
ApplicationMetadataMessage_PUSH_NOTIFICATION_QUERY ApplicationMetadataMessage_Type = 18
|
ApplicationMetadataMessage_PUSH_NOTIFICATION_QUERY_RESPONSE ApplicationMetadataMessage_Type = 19
|
||||||
ApplicationMetadataMessage_PUSH_NOTIFICATION_QUERY_RESPONSE ApplicationMetadataMessage_Type = 19
|
ApplicationMetadataMessage_PUSH_NOTIFICATION_REQUEST ApplicationMetadataMessage_Type = 20
|
||||||
ApplicationMetadataMessage_PUSH_NOTIFICATION_REQUEST ApplicationMetadataMessage_Type = 20
|
ApplicationMetadataMessage_PUSH_NOTIFICATION_RESPONSE ApplicationMetadataMessage_Type = 21
|
||||||
ApplicationMetadataMessage_PUSH_NOTIFICATION_RESPONSE ApplicationMetadataMessage_Type = 21
|
ApplicationMetadataMessage_EMOJI_REACTION ApplicationMetadataMessage_Type = 22
|
||||||
ApplicationMetadataMessage_EMOJI_REACTION ApplicationMetadataMessage_Type = 22
|
ApplicationMetadataMessage_GROUP_CHAT_INVITATION ApplicationMetadataMessage_Type = 23
|
||||||
ApplicationMetadataMessage_GROUP_CHAT_INVITATION ApplicationMetadataMessage_Type = 23
|
ApplicationMetadataMessage_CHAT_IDENTITY ApplicationMetadataMessage_Type = 24
|
||||||
ApplicationMetadataMessage_CHAT_IDENTITY ApplicationMetadataMessage_Type = 24
|
ApplicationMetadataMessage_COMMUNITY_DESCRIPTION ApplicationMetadataMessage_Type = 25
|
||||||
ApplicationMetadataMessage_COMMUNITY_DESCRIPTION ApplicationMetadataMessage_Type = 25
|
ApplicationMetadataMessage_COMMUNITY_INVITATION ApplicationMetadataMessage_Type = 26 // Deprecated: Do not use.
|
||||||
// Deprecated: Marked as deprecated in application_metadata_message.proto.
|
|
||||||
ApplicationMetadataMessage_COMMUNITY_INVITATION ApplicationMetadataMessage_Type = 26
|
|
||||||
ApplicationMetadataMessage_COMMUNITY_REQUEST_TO_JOIN ApplicationMetadataMessage_Type = 27
|
ApplicationMetadataMessage_COMMUNITY_REQUEST_TO_JOIN ApplicationMetadataMessage_Type = 27
|
||||||
ApplicationMetadataMessage_PIN_MESSAGE ApplicationMetadataMessage_Type = 28
|
ApplicationMetadataMessage_PIN_MESSAGE ApplicationMetadataMessage_Type = 28
|
||||||
ApplicationMetadataMessage_EDIT_MESSAGE ApplicationMetadataMessage_Type = 29
|
ApplicationMetadataMessage_EDIT_MESSAGE ApplicationMetadataMessage_Type = 29
|
||||||
|
@ -102,484 +100,308 @@ const (
|
||||||
ApplicationMetadataMessage_SYNC_ACTIVITY_CENTER_COMMUNITY_REQUEST_DECISION ApplicationMetadataMessage_Type = 77
|
ApplicationMetadataMessage_SYNC_ACTIVITY_CENTER_COMMUNITY_REQUEST_DECISION ApplicationMetadataMessage_Type = 77
|
||||||
)
|
)
|
||||||
|
|
||||||
// Enum value maps for ApplicationMetadataMessage_Type.
|
var ApplicationMetadataMessage_Type_name = map[int32]string{
|
||||||
var (
|
0: "UNKNOWN",
|
||||||
ApplicationMetadataMessage_Type_name = map[int32]string{
|
1: "CHAT_MESSAGE",
|
||||||
0: "UNKNOWN",
|
2: "CONTACT_UPDATE",
|
||||||
1: "CHAT_MESSAGE",
|
3: "MEMBERSHIP_UPDATE_MESSAGE",
|
||||||
2: "CONTACT_UPDATE",
|
4: "SYNC_PAIR_INSTALLATION",
|
||||||
3: "MEMBERSHIP_UPDATE_MESSAGE",
|
5: "DEPRECATED_SYNC_INSTALLATION",
|
||||||
4: "SYNC_PAIR_INSTALLATION",
|
6: "REQUEST_ADDRESS_FOR_TRANSACTION",
|
||||||
5: "DEPRECATED_SYNC_INSTALLATION",
|
7: "ACCEPT_REQUEST_ADDRESS_FOR_TRANSACTION",
|
||||||
6: "REQUEST_ADDRESS_FOR_TRANSACTION",
|
8: "DECLINE_REQUEST_ADDRESS_FOR_TRANSACTION",
|
||||||
7: "ACCEPT_REQUEST_ADDRESS_FOR_TRANSACTION",
|
9: "REQUEST_TRANSACTION",
|
||||||
8: "DECLINE_REQUEST_ADDRESS_FOR_TRANSACTION",
|
10: "SEND_TRANSACTION",
|
||||||
9: "REQUEST_TRANSACTION",
|
11: "DECLINE_REQUEST_TRANSACTION",
|
||||||
10: "SEND_TRANSACTION",
|
12: "SYNC_INSTALLATION_CONTACT_V2",
|
||||||
11: "DECLINE_REQUEST_TRANSACTION",
|
13: "SYNC_INSTALLATION_ACCOUNT",
|
||||||
12: "SYNC_INSTALLATION_CONTACT_V2",
|
15: "CONTACT_CODE_ADVERTISEMENT",
|
||||||
13: "SYNC_INSTALLATION_ACCOUNT",
|
16: "PUSH_NOTIFICATION_REGISTRATION",
|
||||||
15: "CONTACT_CODE_ADVERTISEMENT",
|
17: "PUSH_NOTIFICATION_REGISTRATION_RESPONSE",
|
||||||
16: "PUSH_NOTIFICATION_REGISTRATION",
|
18: "PUSH_NOTIFICATION_QUERY",
|
||||||
17: "PUSH_NOTIFICATION_REGISTRATION_RESPONSE",
|
19: "PUSH_NOTIFICATION_QUERY_RESPONSE",
|
||||||
18: "PUSH_NOTIFICATION_QUERY",
|
20: "PUSH_NOTIFICATION_REQUEST",
|
||||||
19: "PUSH_NOTIFICATION_QUERY_RESPONSE",
|
21: "PUSH_NOTIFICATION_RESPONSE",
|
||||||
20: "PUSH_NOTIFICATION_REQUEST",
|
22: "EMOJI_REACTION",
|
||||||
21: "PUSH_NOTIFICATION_RESPONSE",
|
23: "GROUP_CHAT_INVITATION",
|
||||||
22: "EMOJI_REACTION",
|
24: "CHAT_IDENTITY",
|
||||||
23: "GROUP_CHAT_INVITATION",
|
25: "COMMUNITY_DESCRIPTION",
|
||||||
24: "CHAT_IDENTITY",
|
26: "COMMUNITY_INVITATION",
|
||||||
25: "COMMUNITY_DESCRIPTION",
|
27: "COMMUNITY_REQUEST_TO_JOIN",
|
||||||
26: "COMMUNITY_INVITATION",
|
28: "PIN_MESSAGE",
|
||||||
27: "COMMUNITY_REQUEST_TO_JOIN",
|
29: "EDIT_MESSAGE",
|
||||||
28: "PIN_MESSAGE",
|
30: "STATUS_UPDATE",
|
||||||
29: "EDIT_MESSAGE",
|
31: "DELETE_MESSAGE",
|
||||||
30: "STATUS_UPDATE",
|
32: "SYNC_INSTALLATION_COMMUNITY",
|
||||||
31: "DELETE_MESSAGE",
|
33: "ANONYMOUS_METRIC_BATCH",
|
||||||
32: "SYNC_INSTALLATION_COMMUNITY",
|
34: "SYNC_CHAT_REMOVED",
|
||||||
33: "ANONYMOUS_METRIC_BATCH",
|
35: "SYNC_CHAT_MESSAGES_READ",
|
||||||
34: "SYNC_CHAT_REMOVED",
|
36: "BACKUP",
|
||||||
35: "SYNC_CHAT_MESSAGES_READ",
|
37: "SYNC_ACTIVITY_CENTER_READ",
|
||||||
36: "BACKUP",
|
38: "SYNC_ACTIVITY_CENTER_ACCEPTED",
|
||||||
37: "SYNC_ACTIVITY_CENTER_READ",
|
39: "SYNC_ACTIVITY_CENTER_DISMISSED",
|
||||||
38: "SYNC_ACTIVITY_CENTER_ACCEPTED",
|
40: "SYNC_BOOKMARK",
|
||||||
39: "SYNC_ACTIVITY_CENTER_DISMISSED",
|
41: "SYNC_CLEAR_HISTORY",
|
||||||
40: "SYNC_BOOKMARK",
|
42: "SYNC_SETTING",
|
||||||
41: "SYNC_CLEAR_HISTORY",
|
43: "COMMUNITY_MESSAGE_ARCHIVE_MAGNETLINK",
|
||||||
42: "SYNC_SETTING",
|
44: "SYNC_PROFILE_PICTURES",
|
||||||
43: "COMMUNITY_MESSAGE_ARCHIVE_MAGNETLINK",
|
45: "SYNC_ACCOUNT",
|
||||||
44: "SYNC_PROFILE_PICTURES",
|
46: "ACCEPT_CONTACT_REQUEST",
|
||||||
45: "SYNC_ACCOUNT",
|
47: "RETRACT_CONTACT_REQUEST",
|
||||||
46: "ACCEPT_CONTACT_REQUEST",
|
48: "COMMUNITY_REQUEST_TO_JOIN_RESPONSE",
|
||||||
47: "RETRACT_CONTACT_REQUEST",
|
49: "SYNC_COMMUNITY_SETTINGS",
|
||||||
48: "COMMUNITY_REQUEST_TO_JOIN_RESPONSE",
|
50: "REQUEST_CONTACT_VERIFICATION",
|
||||||
49: "SYNC_COMMUNITY_SETTINGS",
|
51: "ACCEPT_CONTACT_VERIFICATION",
|
||||||
50: "REQUEST_CONTACT_VERIFICATION",
|
52: "DECLINE_CONTACT_VERIFICATION",
|
||||||
51: "ACCEPT_CONTACT_VERIFICATION",
|
53: "SYNC_TRUSTED_USER",
|
||||||
52: "DECLINE_CONTACT_VERIFICATION",
|
54: "SYNC_VERIFICATION_REQUEST",
|
||||||
53: "SYNC_TRUSTED_USER",
|
56: "SYNC_CONTACT_REQUEST_DECISION",
|
||||||
54: "SYNC_VERIFICATION_REQUEST",
|
57: "COMMUNITY_REQUEST_TO_LEAVE",
|
||||||
56: "SYNC_CONTACT_REQUEST_DECISION",
|
58: "SYNC_DELETE_FOR_ME_MESSAGE",
|
||||||
57: "COMMUNITY_REQUEST_TO_LEAVE",
|
59: "SYNC_SAVED_ADDRESS",
|
||||||
58: "SYNC_DELETE_FOR_ME_MESSAGE",
|
60: "COMMUNITY_CANCEL_REQUEST_TO_JOIN",
|
||||||
59: "SYNC_SAVED_ADDRESS",
|
61: "CANCEL_CONTACT_VERIFICATION",
|
||||||
60: "COMMUNITY_CANCEL_REQUEST_TO_JOIN",
|
62: "SYNC_KEYPAIR",
|
||||||
61: "CANCEL_CONTACT_VERIFICATION",
|
63: "SYNC_SOCIAL_LINKS",
|
||||||
62: "SYNC_KEYPAIR",
|
64: "SYNC_ENS_USERNAME_DETAIL",
|
||||||
63: "SYNC_SOCIAL_LINKS",
|
66: "SYNC_ACTIVITY_CENTER_NOTIFICATION_STATE",
|
||||||
64: "SYNC_ENS_USERNAME_DETAIL",
|
67: "COMMUNITY_EVENTS_MESSAGE",
|
||||||
66: "SYNC_ACTIVITY_CENTER_NOTIFICATION_STATE",
|
68: "COMMUNITY_EDIT_SHARED_ADDRESSES",
|
||||||
67: "COMMUNITY_EVENTS_MESSAGE",
|
69: "SYNC_ACCOUNT_CUSTOMIZATION_COLOR",
|
||||||
68: "COMMUNITY_EDIT_SHARED_ADDRESSES",
|
70: "SYNC_ACCOUNTS_POSITIONS",
|
||||||
69: "SYNC_ACCOUNT_CUSTOMIZATION_COLOR",
|
71: "COMMUNITY_EVENTS_MESSAGE_REJECTED",
|
||||||
70: "SYNC_ACCOUNTS_POSITIONS",
|
72: "COMMUNITY_PRIVILEGED_USER_SYNC_MESSAGE",
|
||||||
71: "COMMUNITY_EVENTS_MESSAGE_REJECTED",
|
73: "COMMUNITY_SHARD_KEY",
|
||||||
72: "COMMUNITY_PRIVILEGED_USER_SYNC_MESSAGE",
|
74: "SYNC_CHAT",
|
||||||
73: "COMMUNITY_SHARD_KEY",
|
75: "SYNC_ACTIVITY_CENTER_DELETED",
|
||||||
74: "SYNC_CHAT",
|
76: "SYNC_ACTIVITY_CENTER_UNREAD",
|
||||||
75: "SYNC_ACTIVITY_CENTER_DELETED",
|
77: "SYNC_ACTIVITY_CENTER_COMMUNITY_REQUEST_DECISION",
|
||||||
76: "SYNC_ACTIVITY_CENTER_UNREAD",
|
}
|
||||||
77: "SYNC_ACTIVITY_CENTER_COMMUNITY_REQUEST_DECISION",
|
|
||||||
}
|
|
||||||
ApplicationMetadataMessage_Type_value = map[string]int32{
|
|
||||||
"UNKNOWN": 0,
|
|
||||||
"CHAT_MESSAGE": 1,
|
|
||||||
"CONTACT_UPDATE": 2,
|
|
||||||
"MEMBERSHIP_UPDATE_MESSAGE": 3,
|
|
||||||
"SYNC_PAIR_INSTALLATION": 4,
|
|
||||||
"DEPRECATED_SYNC_INSTALLATION": 5,
|
|
||||||
"REQUEST_ADDRESS_FOR_TRANSACTION": 6,
|
|
||||||
"ACCEPT_REQUEST_ADDRESS_FOR_TRANSACTION": 7,
|
|
||||||
"DECLINE_REQUEST_ADDRESS_FOR_TRANSACTION": 8,
|
|
||||||
"REQUEST_TRANSACTION": 9,
|
|
||||||
"SEND_TRANSACTION": 10,
|
|
||||||
"DECLINE_REQUEST_TRANSACTION": 11,
|
|
||||||
"SYNC_INSTALLATION_CONTACT_V2": 12,
|
|
||||||
"SYNC_INSTALLATION_ACCOUNT": 13,
|
|
||||||
"CONTACT_CODE_ADVERTISEMENT": 15,
|
|
||||||
"PUSH_NOTIFICATION_REGISTRATION": 16,
|
|
||||||
"PUSH_NOTIFICATION_REGISTRATION_RESPONSE": 17,
|
|
||||||
"PUSH_NOTIFICATION_QUERY": 18,
|
|
||||||
"PUSH_NOTIFICATION_QUERY_RESPONSE": 19,
|
|
||||||
"PUSH_NOTIFICATION_REQUEST": 20,
|
|
||||||
"PUSH_NOTIFICATION_RESPONSE": 21,
|
|
||||||
"EMOJI_REACTION": 22,
|
|
||||||
"GROUP_CHAT_INVITATION": 23,
|
|
||||||
"CHAT_IDENTITY": 24,
|
|
||||||
"COMMUNITY_DESCRIPTION": 25,
|
|
||||||
"COMMUNITY_INVITATION": 26,
|
|
||||||
"COMMUNITY_REQUEST_TO_JOIN": 27,
|
|
||||||
"PIN_MESSAGE": 28,
|
|
||||||
"EDIT_MESSAGE": 29,
|
|
||||||
"STATUS_UPDATE": 30,
|
|
||||||
"DELETE_MESSAGE": 31,
|
|
||||||
"SYNC_INSTALLATION_COMMUNITY": 32,
|
|
||||||
"ANONYMOUS_METRIC_BATCH": 33,
|
|
||||||
"SYNC_CHAT_REMOVED": 34,
|
|
||||||
"SYNC_CHAT_MESSAGES_READ": 35,
|
|
||||||
"BACKUP": 36,
|
|
||||||
"SYNC_ACTIVITY_CENTER_READ": 37,
|
|
||||||
"SYNC_ACTIVITY_CENTER_ACCEPTED": 38,
|
|
||||||
"SYNC_ACTIVITY_CENTER_DISMISSED": 39,
|
|
||||||
"SYNC_BOOKMARK": 40,
|
|
||||||
"SYNC_CLEAR_HISTORY": 41,
|
|
||||||
"SYNC_SETTING": 42,
|
|
||||||
"COMMUNITY_MESSAGE_ARCHIVE_MAGNETLINK": 43,
|
|
||||||
"SYNC_PROFILE_PICTURES": 44,
|
|
||||||
"SYNC_ACCOUNT": 45,
|
|
||||||
"ACCEPT_CONTACT_REQUEST": 46,
|
|
||||||
"RETRACT_CONTACT_REQUEST": 47,
|
|
||||||
"COMMUNITY_REQUEST_TO_JOIN_RESPONSE": 48,
|
|
||||||
"SYNC_COMMUNITY_SETTINGS": 49,
|
|
||||||
"REQUEST_CONTACT_VERIFICATION": 50,
|
|
||||||
"ACCEPT_CONTACT_VERIFICATION": 51,
|
|
||||||
"DECLINE_CONTACT_VERIFICATION": 52,
|
|
||||||
"SYNC_TRUSTED_USER": 53,
|
|
||||||
"SYNC_VERIFICATION_REQUEST": 54,
|
|
||||||
"SYNC_CONTACT_REQUEST_DECISION": 56,
|
|
||||||
"COMMUNITY_REQUEST_TO_LEAVE": 57,
|
|
||||||
"SYNC_DELETE_FOR_ME_MESSAGE": 58,
|
|
||||||
"SYNC_SAVED_ADDRESS": 59,
|
|
||||||
"COMMUNITY_CANCEL_REQUEST_TO_JOIN": 60,
|
|
||||||
"CANCEL_CONTACT_VERIFICATION": 61,
|
|
||||||
"SYNC_KEYPAIR": 62,
|
|
||||||
"SYNC_SOCIAL_LINKS": 63,
|
|
||||||
"SYNC_ENS_USERNAME_DETAIL": 64,
|
|
||||||
"SYNC_ACTIVITY_CENTER_NOTIFICATION_STATE": 66,
|
|
||||||
"COMMUNITY_EVENTS_MESSAGE": 67,
|
|
||||||
"COMMUNITY_EDIT_SHARED_ADDRESSES": 68,
|
|
||||||
"SYNC_ACCOUNT_CUSTOMIZATION_COLOR": 69,
|
|
||||||
"SYNC_ACCOUNTS_POSITIONS": 70,
|
|
||||||
"COMMUNITY_EVENTS_MESSAGE_REJECTED": 71,
|
|
||||||
"COMMUNITY_PRIVILEGED_USER_SYNC_MESSAGE": 72,
|
|
||||||
"COMMUNITY_SHARD_KEY": 73,
|
|
||||||
"SYNC_CHAT": 74,
|
|
||||||
"SYNC_ACTIVITY_CENTER_DELETED": 75,
|
|
||||||
"SYNC_ACTIVITY_CENTER_UNREAD": 76,
|
|
||||||
"SYNC_ACTIVITY_CENTER_COMMUNITY_REQUEST_DECISION": 77,
|
|
||||||
}
|
|
||||||
)
|
|
||||||
|
|
||||||
func (x ApplicationMetadataMessage_Type) Enum() *ApplicationMetadataMessage_Type {
|
var ApplicationMetadataMessage_Type_value = map[string]int32{
|
||||||
p := new(ApplicationMetadataMessage_Type)
|
"UNKNOWN": 0,
|
||||||
*p = x
|
"CHAT_MESSAGE": 1,
|
||||||
return p
|
"CONTACT_UPDATE": 2,
|
||||||
|
"MEMBERSHIP_UPDATE_MESSAGE": 3,
|
||||||
|
"SYNC_PAIR_INSTALLATION": 4,
|
||||||
|
"DEPRECATED_SYNC_INSTALLATION": 5,
|
||||||
|
"REQUEST_ADDRESS_FOR_TRANSACTION": 6,
|
||||||
|
"ACCEPT_REQUEST_ADDRESS_FOR_TRANSACTION": 7,
|
||||||
|
"DECLINE_REQUEST_ADDRESS_FOR_TRANSACTION": 8,
|
||||||
|
"REQUEST_TRANSACTION": 9,
|
||||||
|
"SEND_TRANSACTION": 10,
|
||||||
|
"DECLINE_REQUEST_TRANSACTION": 11,
|
||||||
|
"SYNC_INSTALLATION_CONTACT_V2": 12,
|
||||||
|
"SYNC_INSTALLATION_ACCOUNT": 13,
|
||||||
|
"CONTACT_CODE_ADVERTISEMENT": 15,
|
||||||
|
"PUSH_NOTIFICATION_REGISTRATION": 16,
|
||||||
|
"PUSH_NOTIFICATION_REGISTRATION_RESPONSE": 17,
|
||||||
|
"PUSH_NOTIFICATION_QUERY": 18,
|
||||||
|
"PUSH_NOTIFICATION_QUERY_RESPONSE": 19,
|
||||||
|
"PUSH_NOTIFICATION_REQUEST": 20,
|
||||||
|
"PUSH_NOTIFICATION_RESPONSE": 21,
|
||||||
|
"EMOJI_REACTION": 22,
|
||||||
|
"GROUP_CHAT_INVITATION": 23,
|
||||||
|
"CHAT_IDENTITY": 24,
|
||||||
|
"COMMUNITY_DESCRIPTION": 25,
|
||||||
|
"COMMUNITY_INVITATION": 26,
|
||||||
|
"COMMUNITY_REQUEST_TO_JOIN": 27,
|
||||||
|
"PIN_MESSAGE": 28,
|
||||||
|
"EDIT_MESSAGE": 29,
|
||||||
|
"STATUS_UPDATE": 30,
|
||||||
|
"DELETE_MESSAGE": 31,
|
||||||
|
"SYNC_INSTALLATION_COMMUNITY": 32,
|
||||||
|
"ANONYMOUS_METRIC_BATCH": 33,
|
||||||
|
"SYNC_CHAT_REMOVED": 34,
|
||||||
|
"SYNC_CHAT_MESSAGES_READ": 35,
|
||||||
|
"BACKUP": 36,
|
||||||
|
"SYNC_ACTIVITY_CENTER_READ": 37,
|
||||||
|
"SYNC_ACTIVITY_CENTER_ACCEPTED": 38,
|
||||||
|
"SYNC_ACTIVITY_CENTER_DISMISSED": 39,
|
||||||
|
"SYNC_BOOKMARK": 40,
|
||||||
|
"SYNC_CLEAR_HISTORY": 41,
|
||||||
|
"SYNC_SETTING": 42,
|
||||||
|
"COMMUNITY_MESSAGE_ARCHIVE_MAGNETLINK": 43,
|
||||||
|
"SYNC_PROFILE_PICTURES": 44,
|
||||||
|
"SYNC_ACCOUNT": 45,
|
||||||
|
"ACCEPT_CONTACT_REQUEST": 46,
|
||||||
|
"RETRACT_CONTACT_REQUEST": 47,
|
||||||
|
"COMMUNITY_REQUEST_TO_JOIN_RESPONSE": 48,
|
||||||
|
"SYNC_COMMUNITY_SETTINGS": 49,
|
||||||
|
"REQUEST_CONTACT_VERIFICATION": 50,
|
||||||
|
"ACCEPT_CONTACT_VERIFICATION": 51,
|
||||||
|
"DECLINE_CONTACT_VERIFICATION": 52,
|
||||||
|
"SYNC_TRUSTED_USER": 53,
|
||||||
|
"SYNC_VERIFICATION_REQUEST": 54,
|
||||||
|
"SYNC_CONTACT_REQUEST_DECISION": 56,
|
||||||
|
"COMMUNITY_REQUEST_TO_LEAVE": 57,
|
||||||
|
"SYNC_DELETE_FOR_ME_MESSAGE": 58,
|
||||||
|
"SYNC_SAVED_ADDRESS": 59,
|
||||||
|
"COMMUNITY_CANCEL_REQUEST_TO_JOIN": 60,
|
||||||
|
"CANCEL_CONTACT_VERIFICATION": 61,
|
||||||
|
"SYNC_KEYPAIR": 62,
|
||||||
|
"SYNC_SOCIAL_LINKS": 63,
|
||||||
|
"SYNC_ENS_USERNAME_DETAIL": 64,
|
||||||
|
"SYNC_ACTIVITY_CENTER_NOTIFICATION_STATE": 66,
|
||||||
|
"COMMUNITY_EVENTS_MESSAGE": 67,
|
||||||
|
"COMMUNITY_EDIT_SHARED_ADDRESSES": 68,
|
||||||
|
"SYNC_ACCOUNT_CUSTOMIZATION_COLOR": 69,
|
||||||
|
"SYNC_ACCOUNTS_POSITIONS": 70,
|
||||||
|
"COMMUNITY_EVENTS_MESSAGE_REJECTED": 71,
|
||||||
|
"COMMUNITY_PRIVILEGED_USER_SYNC_MESSAGE": 72,
|
||||||
|
"COMMUNITY_SHARD_KEY": 73,
|
||||||
|
"SYNC_CHAT": 74,
|
||||||
|
"SYNC_ACTIVITY_CENTER_DELETED": 75,
|
||||||
|
"SYNC_ACTIVITY_CENTER_UNREAD": 76,
|
||||||
|
"SYNC_ACTIVITY_CENTER_COMMUNITY_REQUEST_DECISION": 77,
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x ApplicationMetadataMessage_Type) String() string {
|
func (x ApplicationMetadataMessage_Type) String() string {
|
||||||
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
return proto.EnumName(ApplicationMetadataMessage_Type_name, int32(x))
|
||||||
}
|
}
|
||||||
|
|
||||||
func (ApplicationMetadataMessage_Type) Descriptor() protoreflect.EnumDescriptor {
|
|
||||||
return file_application_metadata_message_proto_enumTypes[0].Descriptor()
|
|
||||||
}
|
|
||||||
|
|
||||||
func (ApplicationMetadataMessage_Type) Type() protoreflect.EnumType {
|
|
||||||
return &file_application_metadata_message_proto_enumTypes[0]
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x ApplicationMetadataMessage_Type) Number() protoreflect.EnumNumber {
|
|
||||||
return protoreflect.EnumNumber(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
// Deprecated: Use ApplicationMetadataMessage_Type.Descriptor instead.
|
|
||||||
func (ApplicationMetadataMessage_Type) EnumDescriptor() ([]byte, []int) {
|
func (ApplicationMetadataMessage_Type) EnumDescriptor() ([]byte, []int) {
|
||||||
return file_application_metadata_message_proto_rawDescGZIP(), []int{0, 0}
|
return fileDescriptor_ad09a6406fcf24c7, []int{0, 0}
|
||||||
}
|
}
|
||||||
|
|
||||||
type ApplicationMetadataMessage struct {
|
type ApplicationMetadataMessage struct {
|
||||||
state protoimpl.MessageState
|
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
// Signature of the payload field
|
// Signature of the payload field
|
||||||
Signature []byte `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"`
|
Signature []byte `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"`
|
||||||
// This is the encoded protobuf of the application level message, i.e ChatMessage
|
// This is the encoded protobuf of the application level message, i.e ChatMessage
|
||||||
Payload []byte `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
|
Payload []byte `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
|
||||||
// The type of protobuf message sent
|
// The type of protobuf message sent
|
||||||
Type ApplicationMetadataMessage_Type `protobuf:"varint,3,opt,name=type,proto3,enum=protobuf.ApplicationMetadataMessage_Type" json:"type,omitempty"`
|
Type ApplicationMetadataMessage_Type `protobuf:"varint,3,opt,name=type,proto3,enum=protobuf.ApplicationMetadataMessage_Type" json:"type,omitempty"`
|
||||||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
|
XXX_unrecognized []byte `json:"-"`
|
||||||
|
XXX_sizecache int32 `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ApplicationMetadataMessage) Reset() {
|
func (m *ApplicationMetadataMessage) Reset() { *m = ApplicationMetadataMessage{} }
|
||||||
*x = ApplicationMetadataMessage{}
|
func (m *ApplicationMetadataMessage) String() string { return proto.CompactTextString(m) }
|
||||||
if protoimpl.UnsafeEnabled {
|
func (*ApplicationMetadataMessage) ProtoMessage() {}
|
||||||
mi := &file_application_metadata_message_proto_msgTypes[0]
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *ApplicationMetadataMessage) String() string {
|
|
||||||
return protoimpl.X.MessageStringOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (*ApplicationMetadataMessage) ProtoMessage() {}
|
|
||||||
|
|
||||||
func (x *ApplicationMetadataMessage) ProtoReflect() protoreflect.Message {
|
|
||||||
mi := &file_application_metadata_message_proto_msgTypes[0]
|
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
if ms.LoadMessageInfo() == nil {
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
return ms
|
|
||||||
}
|
|
||||||
return mi.MessageOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
// Deprecated: Use ApplicationMetadataMessage.ProtoReflect.Descriptor instead.
|
|
||||||
func (*ApplicationMetadataMessage) Descriptor() ([]byte, []int) {
|
func (*ApplicationMetadataMessage) Descriptor() ([]byte, []int) {
|
||||||
return file_application_metadata_message_proto_rawDescGZIP(), []int{0}
|
return fileDescriptor_ad09a6406fcf24c7, []int{0}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ApplicationMetadataMessage) GetSignature() []byte {
|
func (m *ApplicationMetadataMessage) XXX_Unmarshal(b []byte) error {
|
||||||
if x != nil {
|
return xxx_messageInfo_ApplicationMetadataMessage.Unmarshal(m, b)
|
||||||
return x.Signature
|
}
|
||||||
|
func (m *ApplicationMetadataMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||||
|
return xxx_messageInfo_ApplicationMetadataMessage.Marshal(b, m, deterministic)
|
||||||
|
}
|
||||||
|
func (m *ApplicationMetadataMessage) XXX_Merge(src proto.Message) {
|
||||||
|
xxx_messageInfo_ApplicationMetadataMessage.Merge(m, src)
|
||||||
|
}
|
||||||
|
func (m *ApplicationMetadataMessage) XXX_Size() int {
|
||||||
|
return xxx_messageInfo_ApplicationMetadataMessage.Size(m)
|
||||||
|
}
|
||||||
|
func (m *ApplicationMetadataMessage) XXX_DiscardUnknown() {
|
||||||
|
xxx_messageInfo_ApplicationMetadataMessage.DiscardUnknown(m)
|
||||||
|
}
|
||||||
|
|
||||||
|
var xxx_messageInfo_ApplicationMetadataMessage proto.InternalMessageInfo
|
||||||
|
|
||||||
|
func (m *ApplicationMetadataMessage) GetSignature() []byte {
|
||||||
|
if m != nil {
|
||||||
|
return m.Signature
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ApplicationMetadataMessage) GetPayload() []byte {
|
func (m *ApplicationMetadataMessage) GetPayload() []byte {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.Payload
|
return m.Payload
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ApplicationMetadataMessage) GetType() ApplicationMetadataMessage_Type {
|
func (m *ApplicationMetadataMessage) GetType() ApplicationMetadataMessage_Type {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.Type
|
return m.Type
|
||||||
}
|
}
|
||||||
return ApplicationMetadataMessage_UNKNOWN
|
return ApplicationMetadataMessage_UNKNOWN
|
||||||
}
|
}
|
||||||
|
|
||||||
var File_application_metadata_message_proto protoreflect.FileDescriptor
|
func init() {
|
||||||
|
proto.RegisterEnum("protobuf.ApplicationMetadataMessage_Type", ApplicationMetadataMessage_Type_name, ApplicationMetadataMessage_Type_value)
|
||||||
var file_application_metadata_message_proto_rawDesc = []byte{
|
proto.RegisterType((*ApplicationMetadataMessage)(nil), "protobuf.ApplicationMetadataMessage")
|
||||||
0x0a, 0x22, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x65,
|
|
||||||
0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70,
|
|
||||||
0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x22, 0xa4,
|
|
||||||
0x13, 0x0a, 0x1a, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65,
|
|
||||||
0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x1c, 0x0a,
|
|
||||||
0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c,
|
|
||||||
0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x70,
|
|
||||||
0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x70, 0x61,
|
|
||||||
0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x3d, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20,
|
|
||||||
0x01, 0x28, 0x0e, 0x32, 0x29, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41,
|
|
||||||
0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61,
|
|
||||||
0x74, 0x61, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04,
|
|
||||||
0x74, 0x79, 0x70, 0x65, 0x22, 0x8e, 0x12, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a,
|
|
||||||
0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x43, 0x48,
|
|
||||||
0x41, 0x54, 0x5f, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, 0x10, 0x01, 0x12, 0x12, 0x0a, 0x0e,
|
|
||||||
0x43, 0x4f, 0x4e, 0x54, 0x41, 0x43, 0x54, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x10, 0x02,
|
|
||||||
0x12, 0x1d, 0x0a, 0x19, 0x4d, 0x45, 0x4d, 0x42, 0x45, 0x52, 0x53, 0x48, 0x49, 0x50, 0x5f, 0x55,
|
|
||||||
0x50, 0x44, 0x41, 0x54, 0x45, 0x5f, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, 0x10, 0x03, 0x12,
|
|
||||||
0x1a, 0x0a, 0x16, 0x53, 0x59, 0x4e, 0x43, 0x5f, 0x50, 0x41, 0x49, 0x52, 0x5f, 0x49, 0x4e, 0x53,
|
|
||||||
0x54, 0x41, 0x4c, 0x4c, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x04, 0x12, 0x24, 0x0a, 0x1c, 0x44,
|
|
||||||
0x45, 0x50, 0x52, 0x45, 0x43, 0x41, 0x54, 0x45, 0x44, 0x5f, 0x53, 0x59, 0x4e, 0x43, 0x5f, 0x49,
|
|
||||||
0x4e, 0x53, 0x54, 0x41, 0x4c, 0x4c, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x05, 0x1a, 0x02, 0x08,
|
|
||||||
0x01, 0x12, 0x23, 0x0a, 0x1f, 0x52, 0x45, 0x51, 0x55, 0x45, 0x53, 0x54, 0x5f, 0x41, 0x44, 0x44,
|
|
||||||
0x52, 0x45, 0x53, 0x53, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x41, 0x43,
|
|
||||||
0x54, 0x49, 0x4f, 0x4e, 0x10, 0x06, 0x12, 0x2a, 0x0a, 0x26, 0x41, 0x43, 0x43, 0x45, 0x50, 0x54,
|
|
||||||
0x5f, 0x52, 0x45, 0x51, 0x55, 0x45, 0x53, 0x54, 0x5f, 0x41, 0x44, 0x44, 0x52, 0x45, 0x53, 0x53,
|
|
||||||
0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e,
|
|
||||||
0x10, 0x07, 0x12, 0x2b, 0x0a, 0x27, 0x44, 0x45, 0x43, 0x4c, 0x49, 0x4e, 0x45, 0x5f, 0x52, 0x45,
|
|
||||||
0x51, 0x55, 0x45, 0x53, 0x54, 0x5f, 0x41, 0x44, 0x44, 0x52, 0x45, 0x53, 0x53, 0x5f, 0x46, 0x4f,
|
|
||||||
0x52, 0x5f, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x08, 0x12,
|
|
||||||
0x17, 0x0a, 0x13, 0x52, 0x45, 0x51, 0x55, 0x45, 0x53, 0x54, 0x5f, 0x54, 0x52, 0x41, 0x4e, 0x53,
|
|
||||||
0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x09, 0x12, 0x14, 0x0a, 0x10, 0x53, 0x45, 0x4e, 0x44,
|
|
||||||
0x5f, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x0a, 0x12, 0x1f,
|
|
||||||
0x0a, 0x1b, 0x44, 0x45, 0x43, 0x4c, 0x49, 0x4e, 0x45, 0x5f, 0x52, 0x45, 0x51, 0x55, 0x45, 0x53,
|
|
||||||
0x54, 0x5f, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x0b, 0x12,
|
|
||||||
0x20, 0x0a, 0x1c, 0x53, 0x59, 0x4e, 0x43, 0x5f, 0x49, 0x4e, 0x53, 0x54, 0x41, 0x4c, 0x4c, 0x41,
|
|
||||||
0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x41, 0x43, 0x54, 0x5f, 0x56, 0x32, 0x10,
|
|
||||||
0x0c, 0x12, 0x1d, 0x0a, 0x19, 0x53, 0x59, 0x4e, 0x43, 0x5f, 0x49, 0x4e, 0x53, 0x54, 0x41, 0x4c,
|
|
||||||
0x4c, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x41, 0x43, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x10, 0x0d,
|
|
||||||
0x12, 0x1e, 0x0a, 0x1a, 0x43, 0x4f, 0x4e, 0x54, 0x41, 0x43, 0x54, 0x5f, 0x43, 0x4f, 0x44, 0x45,
|
|
||||||
0x5f, 0x41, 0x44, 0x56, 0x45, 0x52, 0x54, 0x49, 0x53, 0x45, 0x4d, 0x45, 0x4e, 0x54, 0x10, 0x0f,
|
|
||||||
0x12, 0x22, 0x0a, 0x1e, 0x50, 0x55, 0x53, 0x48, 0x5f, 0x4e, 0x4f, 0x54, 0x49, 0x46, 0x49, 0x43,
|
|
||||||
0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x52, 0x41, 0x54, 0x49,
|
|
||||||
0x4f, 0x4e, 0x10, 0x10, 0x12, 0x2b, 0x0a, 0x27, 0x50, 0x55, 0x53, 0x48, 0x5f, 0x4e, 0x4f, 0x54,
|
|
||||||
0x49, 0x46, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54,
|
|
||||||
0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x52, 0x45, 0x53, 0x50, 0x4f, 0x4e, 0x53, 0x45, 0x10,
|
|
||||||
0x11, 0x12, 0x1b, 0x0a, 0x17, 0x50, 0x55, 0x53, 0x48, 0x5f, 0x4e, 0x4f, 0x54, 0x49, 0x46, 0x49,
|
|
||||||
0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x51, 0x55, 0x45, 0x52, 0x59, 0x10, 0x12, 0x12, 0x24,
|
|
||||||
0x0a, 0x20, 0x50, 0x55, 0x53, 0x48, 0x5f, 0x4e, 0x4f, 0x54, 0x49, 0x46, 0x49, 0x43, 0x41, 0x54,
|
|
||||||
0x49, 0x4f, 0x4e, 0x5f, 0x51, 0x55, 0x45, 0x52, 0x59, 0x5f, 0x52, 0x45, 0x53, 0x50, 0x4f, 0x4e,
|
|
||||||
0x53, 0x45, 0x10, 0x13, 0x12, 0x1d, 0x0a, 0x19, 0x50, 0x55, 0x53, 0x48, 0x5f, 0x4e, 0x4f, 0x54,
|
|
||||||
0x49, 0x46, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x52, 0x45, 0x51, 0x55, 0x45, 0x53,
|
|
||||||
0x54, 0x10, 0x14, 0x12, 0x1e, 0x0a, 0x1a, 0x50, 0x55, 0x53, 0x48, 0x5f, 0x4e, 0x4f, 0x54, 0x49,
|
|
||||||
0x46, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x52, 0x45, 0x53, 0x50, 0x4f, 0x4e, 0x53,
|
|
||||||
0x45, 0x10, 0x15, 0x12, 0x12, 0x0a, 0x0e, 0x45, 0x4d, 0x4f, 0x4a, 0x49, 0x5f, 0x52, 0x45, 0x41,
|
|
||||||
0x43, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x16, 0x12, 0x19, 0x0a, 0x15, 0x47, 0x52, 0x4f, 0x55, 0x50,
|
|
||||||
0x5f, 0x43, 0x48, 0x41, 0x54, 0x5f, 0x49, 0x4e, 0x56, 0x49, 0x54, 0x41, 0x54, 0x49, 0x4f, 0x4e,
|
|
||||||
0x10, 0x17, 0x12, 0x11, 0x0a, 0x0d, 0x43, 0x48, 0x41, 0x54, 0x5f, 0x49, 0x44, 0x45, 0x4e, 0x54,
|
|
||||||
0x49, 0x54, 0x59, 0x10, 0x18, 0x12, 0x19, 0x0a, 0x15, 0x43, 0x4f, 0x4d, 0x4d, 0x55, 0x4e, 0x49,
|
|
||||||
0x54, 0x59, 0x5f, 0x44, 0x45, 0x53, 0x43, 0x52, 0x49, 0x50, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x19,
|
|
||||||
0x12, 0x1c, 0x0a, 0x14, 0x43, 0x4f, 0x4d, 0x4d, 0x55, 0x4e, 0x49, 0x54, 0x59, 0x5f, 0x49, 0x4e,
|
|
||||||
0x56, 0x49, 0x54, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x1a, 0x1a, 0x02, 0x08, 0x01, 0x12, 0x1d,
|
|
||||||
0x0a, 0x19, 0x43, 0x4f, 0x4d, 0x4d, 0x55, 0x4e, 0x49, 0x54, 0x59, 0x5f, 0x52, 0x45, 0x51, 0x55,
|
|
||||||
0x45, 0x53, 0x54, 0x5f, 0x54, 0x4f, 0x5f, 0x4a, 0x4f, 0x49, 0x4e, 0x10, 0x1b, 0x12, 0x0f, 0x0a,
|
|
||||||
0x0b, 0x50, 0x49, 0x4e, 0x5f, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, 0x10, 0x1c, 0x12, 0x10,
|
|
||||||
0x0a, 0x0c, 0x45, 0x44, 0x49, 0x54, 0x5f, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, 0x10, 0x1d,
|
|
||||||
0x12, 0x11, 0x0a, 0x0d, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54,
|
|
||||||
0x45, 0x10, 0x1e, 0x12, 0x12, 0x0a, 0x0e, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x5f, 0x4d, 0x45,
|
|
||||||
0x53, 0x53, 0x41, 0x47, 0x45, 0x10, 0x1f, 0x12, 0x1f, 0x0a, 0x1b, 0x53, 0x59, 0x4e, 0x43, 0x5f,
|
|
||||||
0x49, 0x4e, 0x53, 0x54, 0x41, 0x4c, 0x4c, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x43, 0x4f, 0x4d,
|
|
||||||
0x4d, 0x55, 0x4e, 0x49, 0x54, 0x59, 0x10, 0x20, 0x12, 0x1a, 0x0a, 0x16, 0x41, 0x4e, 0x4f, 0x4e,
|
|
||||||
0x59, 0x4d, 0x4f, 0x55, 0x53, 0x5f, 0x4d, 0x45, 0x54, 0x52, 0x49, 0x43, 0x5f, 0x42, 0x41, 0x54,
|
|
||||||
0x43, 0x48, 0x10, 0x21, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x59, 0x4e, 0x43, 0x5f, 0x43, 0x48, 0x41,
|
|
||||||
0x54, 0x5f, 0x52, 0x45, 0x4d, 0x4f, 0x56, 0x45, 0x44, 0x10, 0x22, 0x12, 0x1b, 0x0a, 0x17, 0x53,
|
|
||||||
0x59, 0x4e, 0x43, 0x5f, 0x43, 0x48, 0x41, 0x54, 0x5f, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45,
|
|
||||||
0x53, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x10, 0x23, 0x12, 0x0a, 0x0a, 0x06, 0x42, 0x41, 0x43, 0x4b,
|
|
||||||
0x55, 0x50, 0x10, 0x24, 0x12, 0x1d, 0x0a, 0x19, 0x53, 0x59, 0x4e, 0x43, 0x5f, 0x41, 0x43, 0x54,
|
|
||||||
0x49, 0x56, 0x49, 0x54, 0x59, 0x5f, 0x43, 0x45, 0x4e, 0x54, 0x45, 0x52, 0x5f, 0x52, 0x45, 0x41,
|
|
||||||
0x44, 0x10, 0x25, 0x12, 0x21, 0x0a, 0x1d, 0x53, 0x59, 0x4e, 0x43, 0x5f, 0x41, 0x43, 0x54, 0x49,
|
|
||||||
0x56, 0x49, 0x54, 0x59, 0x5f, 0x43, 0x45, 0x4e, 0x54, 0x45, 0x52, 0x5f, 0x41, 0x43, 0x43, 0x45,
|
|
||||||
0x50, 0x54, 0x45, 0x44, 0x10, 0x26, 0x12, 0x22, 0x0a, 0x1e, 0x53, 0x59, 0x4e, 0x43, 0x5f, 0x41,
|
|
||||||
0x43, 0x54, 0x49, 0x56, 0x49, 0x54, 0x59, 0x5f, 0x43, 0x45, 0x4e, 0x54, 0x45, 0x52, 0x5f, 0x44,
|
|
||||||
0x49, 0x53, 0x4d, 0x49, 0x53, 0x53, 0x45, 0x44, 0x10, 0x27, 0x12, 0x11, 0x0a, 0x0d, 0x53, 0x59,
|
|
||||||
0x4e, 0x43, 0x5f, 0x42, 0x4f, 0x4f, 0x4b, 0x4d, 0x41, 0x52, 0x4b, 0x10, 0x28, 0x12, 0x16, 0x0a,
|
|
||||||
0x12, 0x53, 0x59, 0x4e, 0x43, 0x5f, 0x43, 0x4c, 0x45, 0x41, 0x52, 0x5f, 0x48, 0x49, 0x53, 0x54,
|
|
||||||
0x4f, 0x52, 0x59, 0x10, 0x29, 0x12, 0x10, 0x0a, 0x0c, 0x53, 0x59, 0x4e, 0x43, 0x5f, 0x53, 0x45,
|
|
||||||
0x54, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x2a, 0x12, 0x28, 0x0a, 0x24, 0x43, 0x4f, 0x4d, 0x4d, 0x55,
|
|
||||||
0x4e, 0x49, 0x54, 0x59, 0x5f, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, 0x5f, 0x41, 0x52, 0x43,
|
|
||||||
0x48, 0x49, 0x56, 0x45, 0x5f, 0x4d, 0x41, 0x47, 0x4e, 0x45, 0x54, 0x4c, 0x49, 0x4e, 0x4b, 0x10,
|
|
||||||
0x2b, 0x12, 0x19, 0x0a, 0x15, 0x53, 0x59, 0x4e, 0x43, 0x5f, 0x50, 0x52, 0x4f, 0x46, 0x49, 0x4c,
|
|
||||||
0x45, 0x5f, 0x50, 0x49, 0x43, 0x54, 0x55, 0x52, 0x45, 0x53, 0x10, 0x2c, 0x12, 0x10, 0x0a, 0x0c,
|
|
||||||
0x53, 0x59, 0x4e, 0x43, 0x5f, 0x41, 0x43, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x10, 0x2d, 0x12, 0x1a,
|
|
||||||
0x0a, 0x16, 0x41, 0x43, 0x43, 0x45, 0x50, 0x54, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x41, 0x43, 0x54,
|
|
||||||
0x5f, 0x52, 0x45, 0x51, 0x55, 0x45, 0x53, 0x54, 0x10, 0x2e, 0x12, 0x1b, 0x0a, 0x17, 0x52, 0x45,
|
|
||||||
0x54, 0x52, 0x41, 0x43, 0x54, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x41, 0x43, 0x54, 0x5f, 0x52, 0x45,
|
|
||||||
0x51, 0x55, 0x45, 0x53, 0x54, 0x10, 0x2f, 0x12, 0x26, 0x0a, 0x22, 0x43, 0x4f, 0x4d, 0x4d, 0x55,
|
|
||||||
0x4e, 0x49, 0x54, 0x59, 0x5f, 0x52, 0x45, 0x51, 0x55, 0x45, 0x53, 0x54, 0x5f, 0x54, 0x4f, 0x5f,
|
|
||||||
0x4a, 0x4f, 0x49, 0x4e, 0x5f, 0x52, 0x45, 0x53, 0x50, 0x4f, 0x4e, 0x53, 0x45, 0x10, 0x30, 0x12,
|
|
||||||
0x1b, 0x0a, 0x17, 0x53, 0x59, 0x4e, 0x43, 0x5f, 0x43, 0x4f, 0x4d, 0x4d, 0x55, 0x4e, 0x49, 0x54,
|
|
||||||
0x59, 0x5f, 0x53, 0x45, 0x54, 0x54, 0x49, 0x4e, 0x47, 0x53, 0x10, 0x31, 0x12, 0x20, 0x0a, 0x1c,
|
|
||||||
0x52, 0x45, 0x51, 0x55, 0x45, 0x53, 0x54, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x41, 0x43, 0x54, 0x5f,
|
|
||||||
0x56, 0x45, 0x52, 0x49, 0x46, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x32, 0x12, 0x1f,
|
|
||||||
0x0a, 0x1b, 0x41, 0x43, 0x43, 0x45, 0x50, 0x54, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x41, 0x43, 0x54,
|
|
||||||
0x5f, 0x56, 0x45, 0x52, 0x49, 0x46, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x33, 0x12,
|
|
||||||
0x20, 0x0a, 0x1c, 0x44, 0x45, 0x43, 0x4c, 0x49, 0x4e, 0x45, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x41,
|
|
||||||
0x43, 0x54, 0x5f, 0x56, 0x45, 0x52, 0x49, 0x46, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10,
|
|
||||||
0x34, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x59, 0x4e, 0x43, 0x5f, 0x54, 0x52, 0x55, 0x53, 0x54, 0x45,
|
|
||||||
0x44, 0x5f, 0x55, 0x53, 0x45, 0x52, 0x10, 0x35, 0x12, 0x1d, 0x0a, 0x19, 0x53, 0x59, 0x4e, 0x43,
|
|
||||||
0x5f, 0x56, 0x45, 0x52, 0x49, 0x46, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x52, 0x45,
|
|
||||||
0x51, 0x55, 0x45, 0x53, 0x54, 0x10, 0x36, 0x12, 0x21, 0x0a, 0x1d, 0x53, 0x59, 0x4e, 0x43, 0x5f,
|
|
||||||
0x43, 0x4f, 0x4e, 0x54, 0x41, 0x43, 0x54, 0x5f, 0x52, 0x45, 0x51, 0x55, 0x45, 0x53, 0x54, 0x5f,
|
|
||||||
0x44, 0x45, 0x43, 0x49, 0x53, 0x49, 0x4f, 0x4e, 0x10, 0x38, 0x12, 0x1e, 0x0a, 0x1a, 0x43, 0x4f,
|
|
||||||
0x4d, 0x4d, 0x55, 0x4e, 0x49, 0x54, 0x59, 0x5f, 0x52, 0x45, 0x51, 0x55, 0x45, 0x53, 0x54, 0x5f,
|
|
||||||
0x54, 0x4f, 0x5f, 0x4c, 0x45, 0x41, 0x56, 0x45, 0x10, 0x39, 0x12, 0x1e, 0x0a, 0x1a, 0x53, 0x59,
|
|
||||||
0x4e, 0x43, 0x5f, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x4d, 0x45,
|
|
||||||
0x5f, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, 0x10, 0x3a, 0x12, 0x16, 0x0a, 0x12, 0x53, 0x59,
|
|
||||||
0x4e, 0x43, 0x5f, 0x53, 0x41, 0x56, 0x45, 0x44, 0x5f, 0x41, 0x44, 0x44, 0x52, 0x45, 0x53, 0x53,
|
|
||||||
0x10, 0x3b, 0x12, 0x24, 0x0a, 0x20, 0x43, 0x4f, 0x4d, 0x4d, 0x55, 0x4e, 0x49, 0x54, 0x59, 0x5f,
|
|
||||||
0x43, 0x41, 0x4e, 0x43, 0x45, 0x4c, 0x5f, 0x52, 0x45, 0x51, 0x55, 0x45, 0x53, 0x54, 0x5f, 0x54,
|
|
||||||
0x4f, 0x5f, 0x4a, 0x4f, 0x49, 0x4e, 0x10, 0x3c, 0x12, 0x1f, 0x0a, 0x1b, 0x43, 0x41, 0x4e, 0x43,
|
|
||||||
0x45, 0x4c, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x41, 0x43, 0x54, 0x5f, 0x56, 0x45, 0x52, 0x49, 0x46,
|
|
||||||
0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x3d, 0x12, 0x10, 0x0a, 0x0c, 0x53, 0x59, 0x4e,
|
|
||||||
0x43, 0x5f, 0x4b, 0x45, 0x59, 0x50, 0x41, 0x49, 0x52, 0x10, 0x3e, 0x12, 0x15, 0x0a, 0x11, 0x53,
|
|
||||||
0x59, 0x4e, 0x43, 0x5f, 0x53, 0x4f, 0x43, 0x49, 0x41, 0x4c, 0x5f, 0x4c, 0x49, 0x4e, 0x4b, 0x53,
|
|
||||||
0x10, 0x3f, 0x12, 0x1c, 0x0a, 0x18, 0x53, 0x59, 0x4e, 0x43, 0x5f, 0x45, 0x4e, 0x53, 0x5f, 0x55,
|
|
||||||
0x53, 0x45, 0x52, 0x4e, 0x41, 0x4d, 0x45, 0x5f, 0x44, 0x45, 0x54, 0x41, 0x49, 0x4c, 0x10, 0x40,
|
|
||||||
0x12, 0x2b, 0x0a, 0x27, 0x53, 0x59, 0x4e, 0x43, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x56, 0x49, 0x54,
|
|
||||||
0x59, 0x5f, 0x43, 0x45, 0x4e, 0x54, 0x45, 0x52, 0x5f, 0x4e, 0x4f, 0x54, 0x49, 0x46, 0x49, 0x43,
|
|
||||||
0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x10, 0x42, 0x12, 0x1c, 0x0a,
|
|
||||||
0x18, 0x43, 0x4f, 0x4d, 0x4d, 0x55, 0x4e, 0x49, 0x54, 0x59, 0x5f, 0x45, 0x56, 0x45, 0x4e, 0x54,
|
|
||||||
0x53, 0x5f, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, 0x10, 0x43, 0x12, 0x23, 0x0a, 0x1f, 0x43,
|
|
||||||
0x4f, 0x4d, 0x4d, 0x55, 0x4e, 0x49, 0x54, 0x59, 0x5f, 0x45, 0x44, 0x49, 0x54, 0x5f, 0x53, 0x48,
|
|
||||||
0x41, 0x52, 0x45, 0x44, 0x5f, 0x41, 0x44, 0x44, 0x52, 0x45, 0x53, 0x53, 0x45, 0x53, 0x10, 0x44,
|
|
||||||
0x12, 0x24, 0x0a, 0x20, 0x53, 0x59, 0x4e, 0x43, 0x5f, 0x41, 0x43, 0x43, 0x4f, 0x55, 0x4e, 0x54,
|
|
||||||
0x5f, 0x43, 0x55, 0x53, 0x54, 0x4f, 0x4d, 0x49, 0x5a, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x43,
|
|
||||||
0x4f, 0x4c, 0x4f, 0x52, 0x10, 0x45, 0x12, 0x1b, 0x0a, 0x17, 0x53, 0x59, 0x4e, 0x43, 0x5f, 0x41,
|
|
||||||
0x43, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x53, 0x5f, 0x50, 0x4f, 0x53, 0x49, 0x54, 0x49, 0x4f, 0x4e,
|
|
||||||
0x53, 0x10, 0x46, 0x12, 0x25, 0x0a, 0x21, 0x43, 0x4f, 0x4d, 0x4d, 0x55, 0x4e, 0x49, 0x54, 0x59,
|
|
||||||
0x5f, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x53, 0x5f, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, 0x5f,
|
|
||||||
0x52, 0x45, 0x4a, 0x45, 0x43, 0x54, 0x45, 0x44, 0x10, 0x47, 0x12, 0x2a, 0x0a, 0x26, 0x43, 0x4f,
|
|
||||||
0x4d, 0x4d, 0x55, 0x4e, 0x49, 0x54, 0x59, 0x5f, 0x50, 0x52, 0x49, 0x56, 0x49, 0x4c, 0x45, 0x47,
|
|
||||||
0x45, 0x44, 0x5f, 0x55, 0x53, 0x45, 0x52, 0x5f, 0x53, 0x59, 0x4e, 0x43, 0x5f, 0x4d, 0x45, 0x53,
|
|
||||||
0x53, 0x41, 0x47, 0x45, 0x10, 0x48, 0x12, 0x17, 0x0a, 0x13, 0x43, 0x4f, 0x4d, 0x4d, 0x55, 0x4e,
|
|
||||||
0x49, 0x54, 0x59, 0x5f, 0x53, 0x48, 0x41, 0x52, 0x44, 0x5f, 0x4b, 0x45, 0x59, 0x10, 0x49, 0x12,
|
|
||||||
0x0d, 0x0a, 0x09, 0x53, 0x59, 0x4e, 0x43, 0x5f, 0x43, 0x48, 0x41, 0x54, 0x10, 0x4a, 0x12, 0x20,
|
|
||||||
0x0a, 0x1c, 0x53, 0x59, 0x4e, 0x43, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x56, 0x49, 0x54, 0x59, 0x5f,
|
|
||||||
0x43, 0x45, 0x4e, 0x54, 0x45, 0x52, 0x5f, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x44, 0x10, 0x4b,
|
|
||||||
0x12, 0x1f, 0x0a, 0x1b, 0x53, 0x59, 0x4e, 0x43, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x56, 0x49, 0x54,
|
|
||||||
0x59, 0x5f, 0x43, 0x45, 0x4e, 0x54, 0x45, 0x52, 0x5f, 0x55, 0x4e, 0x52, 0x45, 0x41, 0x44, 0x10,
|
|
||||||
0x4c, 0x12, 0x33, 0x0a, 0x2f, 0x53, 0x59, 0x4e, 0x43, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x56, 0x49,
|
|
||||||
0x54, 0x59, 0x5f, 0x43, 0x45, 0x4e, 0x54, 0x45, 0x52, 0x5f, 0x43, 0x4f, 0x4d, 0x4d, 0x55, 0x4e,
|
|
||||||
0x49, 0x54, 0x59, 0x5f, 0x52, 0x45, 0x51, 0x55, 0x45, 0x53, 0x54, 0x5f, 0x44, 0x45, 0x43, 0x49,
|
|
||||||
0x53, 0x49, 0x4f, 0x4e, 0x10, 0x4d, 0x22, 0x04, 0x08, 0x0e, 0x10, 0x0e, 0x22, 0x04, 0x08, 0x41,
|
|
||||||
0x10, 0x41, 0x2a, 0x1d, 0x53, 0x59, 0x4e, 0x43, 0x5f, 0x49, 0x4e, 0x53, 0x54, 0x41, 0x4c, 0x4c,
|
|
||||||
0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x43, 0x5f, 0x43, 0x48, 0x41,
|
|
||||||
0x54, 0x2a, 0x22, 0x53, 0x59, 0x4e, 0x43, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x56, 0x49, 0x54, 0x59,
|
|
||||||
0x5f, 0x43, 0x45, 0x4e, 0x54, 0x45, 0x52, 0x5f, 0x4e, 0x4f, 0x54, 0x49, 0x46, 0x49, 0x43, 0x41,
|
|
||||||
0x54, 0x49, 0x4f, 0x4e, 0x53, 0x42, 0x0d, 0x5a, 0x0b, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74,
|
|
||||||
0x6f, 0x62, 0x75, 0x66, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
var (
|
func init() {
|
||||||
file_application_metadata_message_proto_rawDescOnce sync.Once
|
proto.RegisterFile("application_metadata_message.proto", fileDescriptor_ad09a6406fcf24c7)
|
||||||
file_application_metadata_message_proto_rawDescData = file_application_metadata_message_proto_rawDesc
|
|
||||||
)
|
|
||||||
|
|
||||||
func file_application_metadata_message_proto_rawDescGZIP() []byte {
|
|
||||||
file_application_metadata_message_proto_rawDescOnce.Do(func() {
|
|
||||||
file_application_metadata_message_proto_rawDescData = protoimpl.X.CompressGZIP(file_application_metadata_message_proto_rawDescData)
|
|
||||||
})
|
|
||||||
return file_application_metadata_message_proto_rawDescData
|
|
||||||
}
|
}
|
||||||
|
|
||||||
var file_application_metadata_message_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
var fileDescriptor_ad09a6406fcf24c7 = []byte{
|
||||||
var file_application_metadata_message_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
|
// 1121 bytes of a gzipped FileDescriptorProto
|
||||||
var file_application_metadata_message_proto_goTypes = []interface{}{
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x56, 0x6d, 0x53, 0x1b, 0x37,
|
||||||
(ApplicationMetadataMessage_Type)(0), // 0: protobuf.ApplicationMetadataMessage.Type
|
0x17, 0x7d, 0x48, 0x78, 0x12, 0x22, 0x02, 0x51, 0xc4, 0x9b, 0x01, 0xf3, 0xe6, 0x10, 0x42, 0x48,
|
||||||
(*ApplicationMetadataMessage)(nil), // 1: protobuf.ApplicationMetadataMessage
|
0x6b, 0x5a, 0x68, 0x3b, 0x6d, 0xd3, 0xb4, 0x95, 0xa5, 0x8b, 0x2d, 0xbc, 0x2b, 0x6d, 0x24, 0xad,
|
||||||
}
|
0x3b, 0xce, 0x17, 0x8d, 0xd3, 0xb8, 0x19, 0x66, 0x92, 0xe0, 0x09, 0xce, 0x07, 0xfe, 0x44, 0x7f,
|
||||||
var file_application_metadata_message_proto_depIdxs = []int32{
|
0x45, 0x7f, 0x68, 0x47, 0xfb, 0x6a, 0xb0, 0x29, 0x9f, 0x60, 0x75, 0x8f, 0xae, 0x74, 0xcf, 0x3d,
|
||||||
0, // 0: protobuf.ApplicationMetadataMessage.type:type_name -> protobuf.ApplicationMetadataMessage.Type
|
0xf7, 0xc8, 0xa8, 0xd6, 0x1b, 0x0c, 0x3e, 0x9c, 0xfd, 0xd9, 0x1b, 0x9e, 0x9d, 0x7f, 0x72, 0x1f,
|
||||||
1, // [1:1] is the sub-list for method output_type
|
0xfb, 0xc3, 0xde, 0xbb, 0xde, 0xb0, 0xe7, 0x3e, 0xf6, 0x2f, 0x2e, 0x7a, 0xef, 0xfb, 0xf5, 0xc1,
|
||||||
1, // [1:1] is the sub-list for method input_type
|
0xe7, 0xf3, 0xe1, 0x39, 0x99, 0x49, 0xfe, 0xbc, 0xfd, 0xf2, 0x57, 0xed, 0x9f, 0x05, 0xb4, 0x46,
|
||||||
1, // [1:1] is the sub-list for extension type_name
|
0xcb, 0x0d, 0x61, 0x86, 0x0f, 0x53, 0x38, 0xa9, 0xa2, 0x07, 0x17, 0x67, 0xef, 0x3f, 0xf5, 0x86,
|
||||||
1, // [1:1] is the sub-list for extension extendee
|
0x5f, 0x3e, 0xf7, 0x2b, 0x53, 0xdb, 0x53, 0xfb, 0x0f, 0x75, 0xb9, 0x40, 0x2a, 0xe8, 0xfe, 0xa0,
|
||||||
0, // [0:1] is the sub-list for field type_name
|
0x77, 0xf9, 0xe1, 0xbc, 0xf7, 0xae, 0x72, 0x27, 0x89, 0xe5, 0x9f, 0xe4, 0x15, 0x9a, 0x1e, 0x5e,
|
||||||
}
|
0x0e, 0xfa, 0x95, 0xbb, 0xdb, 0x53, 0xfb, 0xf3, 0x47, 0xcf, 0xeb, 0xf9, 0x79, 0xf5, 0x9b, 0xcf,
|
||||||
|
0xaa, 0xdb, 0xcb, 0x41, 0x5f, 0x27, 0xdb, 0x6a, 0x7f, 0x13, 0x34, 0xed, 0x3f, 0xc9, 0x2c, 0xba,
|
||||||
func init() { file_application_metadata_message_proto_init() }
|
0x1f, 0xcb, 0xb6, 0x54, 0x7f, 0x48, 0xfc, 0x3f, 0x82, 0xd1, 0x43, 0xd6, 0xa2, 0xd6, 0x85, 0x60,
|
||||||
func file_application_metadata_message_proto_init() {
|
0x0c, 0x6d, 0x02, 0x9e, 0x22, 0x04, 0xcd, 0x33, 0x25, 0x2d, 0x65, 0xd6, 0xc5, 0x11, 0xa7, 0x16,
|
||||||
if File_application_metadata_message_proto != nil {
|
0xf0, 0x1d, 0xb2, 0x81, 0x56, 0x43, 0x08, 0x1b, 0xa0, 0x4d, 0x4b, 0x44, 0xd9, 0x72, 0xb1, 0xe5,
|
||||||
return
|
0x2e, 0x59, 0x43, 0xcb, 0xa6, 0x2b, 0x99, 0x8b, 0xa8, 0xd0, 0x4e, 0x48, 0x63, 0x69, 0x10, 0x50,
|
||||||
}
|
0x2b, 0x94, 0xc4, 0xd3, 0x64, 0x17, 0x55, 0x39, 0x44, 0x1a, 0x18, 0xb5, 0xc0, 0x5d, 0x02, 0xbb,
|
||||||
if !protoimpl.UnsafeEnabled {
|
0x82, 0xf8, 0xff, 0xda, 0x9d, 0x99, 0x29, 0xf2, 0x04, 0x6d, 0x69, 0x78, 0x1d, 0x83, 0xb1, 0x8e,
|
||||||
file_application_metadata_message_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
0x72, 0xae, 0xc1, 0x18, 0x77, 0xa2, 0xb4, 0xb3, 0x9a, 0x4a, 0x43, 0x59, 0x02, 0xbc, 0x47, 0x0e,
|
||||||
switch v := v.(*ApplicationMetadataMessage); i {
|
0xd0, 0x1e, 0x65, 0x0c, 0x22, 0xeb, 0x6e, 0xc3, 0xde, 0x27, 0x2f, 0xd0, 0x33, 0x0e, 0x2c, 0x10,
|
||||||
case 0:
|
0x12, 0x6e, 0x05, 0xcf, 0x90, 0x15, 0xb4, 0x90, 0x83, 0x46, 0x03, 0x0f, 0xc8, 0x22, 0xc2, 0x06,
|
||||||
return &v.state
|
0x24, 0xbf, 0xb2, 0x8a, 0xc8, 0x16, 0x5a, 0xbf, 0x9e, 0x7b, 0x14, 0x30, 0x4b, 0xb6, 0x51, 0x75,
|
||||||
case 1:
|
0xac, 0x50, 0x97, 0x93, 0xda, 0x39, 0xc2, 0x0f, 0x3d, 0xa1, 0xe3, 0x08, 0xca, 0x98, 0x8a, 0xa5,
|
||||||
return &v.sizeCache
|
0xc5, 0x73, 0x64, 0x13, 0xad, 0xe5, 0x70, 0xa6, 0x38, 0x38, 0xca, 0x3b, 0xa0, 0xad, 0x30, 0x10,
|
||||||
case 2:
|
0x82, 0xb4, 0xf8, 0x11, 0xa9, 0xa1, 0xcd, 0x28, 0x36, 0x2d, 0x27, 0x95, 0x15, 0x27, 0x82, 0xa5,
|
||||||
return &v.unknownFields
|
0xdb, 0x35, 0x34, 0x85, 0xb1, 0x3a, 0xa5, 0x15, 0x7b, 0x06, 0xfe, 0x1b, 0xe3, 0x34, 0x98, 0x48,
|
||||||
default:
|
0x49, 0x03, 0xf8, 0x31, 0x59, 0x47, 0x2b, 0xe3, 0xe0, 0xd7, 0x31, 0xe8, 0x2e, 0x26, 0x64, 0x17,
|
||||||
return nil
|
0x6d, 0xdf, 0x10, 0x2c, 0x53, 0x2c, 0xf8, 0x92, 0x26, 0x9d, 0x97, 0xf0, 0x83, 0x17, 0x7d, 0x49,
|
||||||
}
|
0x93, 0xc2, 0xd9, 0xf6, 0x25, 0x2f, 0x3b, 0x08, 0xd5, 0xa9, 0x70, 0x1a, 0x32, 0x1e, 0x97, 0xc9,
|
||||||
}
|
0x2a, 0x5a, 0x6a, 0x6a, 0x15, 0x47, 0x2e, 0x91, 0xa8, 0x90, 0x1d, 0x61, 0xd3, 0xea, 0x56, 0xc8,
|
||||||
}
|
0x63, 0x34, 0x97, 0x2e, 0x72, 0x90, 0x56, 0xd8, 0x2e, 0xae, 0x78, 0x34, 0x53, 0x61, 0x18, 0x4b,
|
||||||
type x struct{}
|
0x61, 0xbb, 0x8e, 0x83, 0x61, 0x5a, 0x44, 0x09, 0x7a, 0x95, 0x54, 0xd1, 0x62, 0x19, 0x1a, 0xc9,
|
||||||
out := protoimpl.TypeBuilder{
|
0xb3, 0x96, 0x88, 0x6f, 0x03, 0xad, 0x96, 0xd1, 0xa2, 0xa3, 0xca, 0x9d, 0x2a, 0x21, 0xf1, 0x3a,
|
||||||
File: protoimpl.DescBuilder{
|
0x79, 0x84, 0x66, 0x23, 0x21, 0x0b, 0xb9, 0x57, 0xfd, 0xcc, 0x00, 0x17, 0xe5, 0xcc, 0x6c, 0xf8,
|
||||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
0xdb, 0x18, 0x4b, 0x6d, 0x6c, 0xf2, 0x91, 0xd9, 0xf4, 0xf5, 0x70, 0x08, 0x60, 0x64, 0x4e, 0xb6,
|
||||||
RawDescriptor: file_application_metadata_message_proto_rawDesc,
|
0xbc, 0x70, 0x26, 0xe9, 0x22, 0x3b, 0x1a, 0x6f, 0xfb, 0x41, 0xa2, 0x52, 0xc9, 0x6e, 0xa8, 0x62,
|
||||||
NumEnums: 1,
|
0xe3, 0x42, 0xb0, 0x5a, 0x30, 0xd7, 0xa0, 0x96, 0xb5, 0xf0, 0x0e, 0x59, 0x42, 0x8f, 0x93, 0xcd,
|
||||||
NumMessages: 1,
|
0x49, 0xd9, 0x1a, 0x42, 0xd5, 0x01, 0x8e, 0x6b, 0xbe, 0x73, 0xe5, 0x72, 0x76, 0x94, 0xf1, 0x24,
|
||||||
NumExtensions: 0,
|
0x72, 0xfc, 0x84, 0x20, 0x74, 0xaf, 0x41, 0x59, 0x3b, 0x8e, 0xf0, 0x6e, 0x21, 0x39, 0xcf, 0x6e,
|
||||||
NumServices: 0,
|
0xc7, 0x57, 0xca, 0x40, 0x5a, 0xd0, 0x29, 0xf4, 0x29, 0xd9, 0x41, 0x1b, 0x13, 0xc3, 0xe9, 0xc4,
|
||||||
},
|
0x01, 0xc7, 0x7b, 0x5e, 0x75, 0x13, 0x21, 0x5c, 0x98, 0x50, 0x18, 0x03, 0x1c, 0x3f, 0x4b, 0x98,
|
||||||
GoTypes: file_application_metadata_message_proto_goTypes,
|
0xf0, 0x98, 0x86, 0x52, 0xed, 0x90, 0xea, 0x36, 0xde, 0x27, 0xcb, 0x88, 0xa4, 0x37, 0x0c, 0x80,
|
||||||
DependencyIndexes: file_application_metadata_message_proto_depIdxs,
|
0x6a, 0xd7, 0x12, 0xc6, 0x2a, 0xdd, 0xc5, 0xcf, 0x3d, 0x8d, 0xc9, 0xba, 0x01, 0x6b, 0x85, 0x6c,
|
||||||
EnumInfos: file_application_metadata_message_proto_enumTypes,
|
0xe2, 0x03, 0xb2, 0x8f, 0x76, 0xcb, 0x46, 0x64, 0xb5, 0x38, 0xaa, 0x59, 0x4b, 0x74, 0xc0, 0x85,
|
||||||
MessageInfos: file_application_metadata_message_proto_msgTypes,
|
0xb4, 0x29, 0xc1, 0x06, 0x42, 0xb6, 0xf1, 0x0b, 0xdf, 0xeb, 0xd4, 0x71, 0xb4, 0x3a, 0x11, 0x01,
|
||||||
}.Build()
|
0xb8, 0x48, 0x30, 0x1b, 0x6b, 0x30, 0xf8, 0xab, 0x22, 0x6d, 0x3e, 0x4d, 0x5f, 0x27, 0xac, 0xa6,
|
||||||
File_application_metadata_message_proto = out.File
|
0xbe, 0x91, 0x0f, 0x55, 0x2e, 0xcb, 0xba, 0xa7, 0x4f, 0x83, 0xd5, 0xe9, 0xa4, 0x5d, 0x0d, 0x1e,
|
||||||
file_application_metadata_message_proto_rawDesc = nil
|
0x92, 0x3d, 0x54, 0xbb, 0x51, 0x18, 0xa5, 0x76, 0xbf, 0x29, 0x7b, 0x50, 0x80, 0xb3, 0x9a, 0x0c,
|
||||||
file_application_metadata_message_proto_goTypes = nil
|
0xfe, 0xd6, 0x9b, 0x41, 0xbe, 0xb5, 0xb0, 0x00, 0xd0, 0xc5, 0x0c, 0xe0, 0x23, 0x2f, 0x8b, 0x6b,
|
||||||
file_application_metadata_message_proto_depIdxs = nil
|
0xf7, 0xbb, 0x02, 0x38, 0xf6, 0x29, 0x72, 0xc3, 0x99, 0x88, 0xf8, 0xae, 0x10, 0x87, 0xd5, 0xb1,
|
||||||
|
0xf1, 0x3e, 0x1b, 0x1b, 0xd0, 0xf8, 0xfb, 0xa2, 0xe7, 0xa3, 0xe8, 0xa2, 0xbe, 0x1f, 0x8a, 0x9e,
|
||||||
|
0x5f, 0xab, 0xdc, 0x71, 0x60, 0xc2, 0xf8, 0xc4, 0x3f, 0xa6, 0x4e, 0x34, 0x81, 0x82, 0x00, 0x68,
|
||||||
|
0x07, 0xf0, 0x4f, 0x3e, 0x9e, 0xa4, 0xc8, 0xb4, 0xee, 0xbd, 0x35, 0x2c, 0x25, 0xff, 0x73, 0xd1,
|
||||||
|
0x7c, 0x43, 0x3b, 0xc0, 0x73, 0x0b, 0xc6, 0x2f, 0xbd, 0xa7, 0x94, 0x79, 0x19, 0x95, 0x0c, 0x82,
|
||||||
|
0xb1, 0xd1, 0xfb, 0xc5, 0x33, 0x93, 0xc5, 0x26, 0xd6, 0xfd, 0xaa, 0x68, 0x76, 0x1b, 0xba, 0xfe,
|
||||||
|
0xf1, 0xc1, 0xbf, 0x16, 0x4c, 0x18, 0xc5, 0x04, 0x0d, 0x9c, 0xd7, 0x8b, 0xc1, 0xbf, 0x91, 0x2a,
|
||||||
|
0xaa, 0x24, 0xcb, 0x20, 0x4d, 0x42, 0x8e, 0xa4, 0x21, 0x38, 0x0e, 0x96, 0x8a, 0x00, 0xff, 0xee,
|
||||||
|
0xbd, 0x72, 0xa2, 0xb2, 0xaf, 0x98, 0x95, 0x9f, 0x70, 0xc0, 0x0d, 0x9f, 0xaa, 0xbc, 0x3a, 0x74,
|
||||||
|
0x40, 0x5a, 0x53, 0x14, 0xcc, 0xfc, 0x4b, 0x36, 0x12, 0xf5, 0x36, 0x61, 0x5a, 0x54, 0x97, 0xb5,
|
||||||
|
0x83, 0xc1, 0xdc, 0x57, 0x3f, 0xaa, 0x51, 0xc7, 0x62, 0x63, 0x55, 0x28, 0xde, 0xe4, 0x8e, 0x10,
|
||||||
|
0x28, 0x8d, 0xa1, 0x90, 0x55, 0x86, 0x32, 0x2e, 0x52, 0x46, 0x78, 0x84, 0xc1, 0x27, 0xe4, 0x29,
|
||||||
|
0xda, 0xb9, 0xe9, 0x16, 0x4e, 0xc3, 0x29, 0x30, 0x3f, 0xb3, 0x4d, 0xff, 0x66, 0x96, 0xb0, 0x48,
|
||||||
|
0x8b, 0x8e, 0x08, 0xa0, 0x99, 0x09, 0x24, 0x7d, 0x8d, 0xf3, 0xab, 0xb7, 0xfc, 0x33, 0x38, 0xa2,
|
||||||
|
0xe0, 0x16, 0xd5, 0xdc, 0xf3, 0x8a, 0x05, 0x99, 0x43, 0x0f, 0x0a, 0x8f, 0xc1, 0xa7, 0xc5, 0xf3,
|
||||||
|
0x36, 0xe6, 0x03, 0x89, 0x06, 0x38, 0x6e, 0x17, 0x46, 0x77, 0x1d, 0x11, 0xcb, 0xc4, 0x6d, 0x02,
|
||||||
|
0x72, 0x8c, 0x0e, 0x27, 0x02, 0xc6, 0xb5, 0x56, 0x68, 0x31, 0xac, 0x4d, 0xcf, 0xcc, 0xe3, 0xf9,
|
||||||
|
0xda, 0xf4, 0x0c, 0xc5, 0xf4, 0x60, 0x63, 0xdc, 0x48, 0xa3, 0xb8, 0x11, 0x88, 0xf4, 0x92, 0x07,
|
||||||
|
0xb5, 0x5b, 0xdb, 0x69, 0x1a, 0x73, 0x6f, 0x66, 0xeb, 0x87, 0x2f, 0xf3, 0x5f, 0x51, 0x6f, 0xef,
|
||||||
|
0x25, 0xff, 0x1d, 0xff, 0x1b, 0x00, 0x00, 0xff, 0xff, 0xb3, 0x78, 0x58, 0x18, 0xec, 0x09, 0x00,
|
||||||
|
0x00,
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,24 +1,24 @@
|
||||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||||
// versions:
|
|
||||||
// protoc-gen-go v1.29.1
|
|
||||||
// protoc v3.20.3
|
|
||||||
// source: chat_identity.proto
|
// source: chat_identity.proto
|
||||||
|
|
||||||
package protobuf
|
package protobuf
|
||||||
|
|
||||||
import (
|
import (
|
||||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
fmt "fmt"
|
||||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
proto "github.com/golang/protobuf/proto"
|
||||||
reflect "reflect"
|
math "math"
|
||||||
sync "sync"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
// Reference imports to suppress errors if they are not otherwise used.
|
||||||
// Verify that this generated code is sufficiently up-to-date.
|
var _ = proto.Marshal
|
||||||
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
var _ = fmt.Errorf
|
||||||
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
var _ = math.Inf
|
||||||
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
||||||
)
|
// This is a compile-time assertion to ensure that this generated file
|
||||||
|
// is compatible with the proto package it is being compiled against.
|
||||||
|
// A compilation error at this line likely means your copy of the
|
||||||
|
// proto package needs to be updated.
|
||||||
|
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
|
||||||
|
|
||||||
// SourceType are the predefined types of image source allowed
|
// SourceType are the predefined types of image source allowed
|
||||||
type IdentityImage_SourceType int32
|
type IdentityImage_SourceType int32
|
||||||
|
@ -34,53 +34,28 @@ const (
|
||||||
IdentityImage_ENS_AVATAR IdentityImage_SourceType = 2
|
IdentityImage_ENS_AVATAR IdentityImage_SourceType = 2
|
||||||
)
|
)
|
||||||
|
|
||||||
// Enum value maps for IdentityImage_SourceType.
|
var IdentityImage_SourceType_name = map[int32]string{
|
||||||
var (
|
0: "UNKNOWN_SOURCE_TYPE",
|
||||||
IdentityImage_SourceType_name = map[int32]string{
|
1: "RAW_PAYLOAD",
|
||||||
0: "UNKNOWN_SOURCE_TYPE",
|
2: "ENS_AVATAR",
|
||||||
1: "RAW_PAYLOAD",
|
}
|
||||||
2: "ENS_AVATAR",
|
|
||||||
}
|
|
||||||
IdentityImage_SourceType_value = map[string]int32{
|
|
||||||
"UNKNOWN_SOURCE_TYPE": 0,
|
|
||||||
"RAW_PAYLOAD": 1,
|
|
||||||
"ENS_AVATAR": 2,
|
|
||||||
}
|
|
||||||
)
|
|
||||||
|
|
||||||
func (x IdentityImage_SourceType) Enum() *IdentityImage_SourceType {
|
var IdentityImage_SourceType_value = map[string]int32{
|
||||||
p := new(IdentityImage_SourceType)
|
"UNKNOWN_SOURCE_TYPE": 0,
|
||||||
*p = x
|
"RAW_PAYLOAD": 1,
|
||||||
return p
|
"ENS_AVATAR": 2,
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x IdentityImage_SourceType) String() string {
|
func (x IdentityImage_SourceType) String() string {
|
||||||
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
return proto.EnumName(IdentityImage_SourceType_name, int32(x))
|
||||||
}
|
}
|
||||||
|
|
||||||
func (IdentityImage_SourceType) Descriptor() protoreflect.EnumDescriptor {
|
|
||||||
return file_chat_identity_proto_enumTypes[0].Descriptor()
|
|
||||||
}
|
|
||||||
|
|
||||||
func (IdentityImage_SourceType) Type() protoreflect.EnumType {
|
|
||||||
return &file_chat_identity_proto_enumTypes[0]
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x IdentityImage_SourceType) Number() protoreflect.EnumNumber {
|
|
||||||
return protoreflect.EnumNumber(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
// Deprecated: Use IdentityImage_SourceType.Descriptor instead.
|
|
||||||
func (IdentityImage_SourceType) EnumDescriptor() ([]byte, []int) {
|
func (IdentityImage_SourceType) EnumDescriptor() ([]byte, []int) {
|
||||||
return file_chat_identity_proto_rawDescGZIP(), []int{1, 0}
|
return fileDescriptor_7a652489000a5879, []int{1, 0}
|
||||||
}
|
}
|
||||||
|
|
||||||
// ChatIdentity represents the user defined identity associated with their public chat key
|
// ChatIdentity represents the user defined identity associated with their public chat key
|
||||||
type ChatIdentity struct {
|
type ChatIdentity struct {
|
||||||
state protoimpl.MessageState
|
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
// Lamport timestamp of the message
|
// Lamport timestamp of the message
|
||||||
Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"`
|
Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"`
|
||||||
// ens_name is the valid ENS name associated with the chat key
|
// ens_name is the valid ENS name associated with the chat key
|
||||||
|
@ -97,110 +72,102 @@ type ChatIdentity struct {
|
||||||
// first known message timestamp in seconds (valid only for community chats for now)
|
// first known message timestamp in seconds (valid only for community chats for now)
|
||||||
// 0 - unknown
|
// 0 - unknown
|
||||||
// 1 - no messages
|
// 1 - no messages
|
||||||
FirstMessageTimestamp uint32 `protobuf:"varint,9,opt,name=first_message_timestamp,json=firstMessageTimestamp,proto3" json:"first_message_timestamp,omitempty"`
|
FirstMessageTimestamp uint32 `protobuf:"varint,9,opt,name=first_message_timestamp,json=firstMessageTimestamp,proto3" json:"first_message_timestamp,omitempty"`
|
||||||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
|
XXX_unrecognized []byte `json:"-"`
|
||||||
|
XXX_sizecache int32 `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ChatIdentity) Reset() {
|
func (m *ChatIdentity) Reset() { *m = ChatIdentity{} }
|
||||||
*x = ChatIdentity{}
|
func (m *ChatIdentity) String() string { return proto.CompactTextString(m) }
|
||||||
if protoimpl.UnsafeEnabled {
|
func (*ChatIdentity) ProtoMessage() {}
|
||||||
mi := &file_chat_identity_proto_msgTypes[0]
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *ChatIdentity) String() string {
|
|
||||||
return protoimpl.X.MessageStringOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (*ChatIdentity) ProtoMessage() {}
|
|
||||||
|
|
||||||
func (x *ChatIdentity) ProtoReflect() protoreflect.Message {
|
|
||||||
mi := &file_chat_identity_proto_msgTypes[0]
|
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
if ms.LoadMessageInfo() == nil {
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
return ms
|
|
||||||
}
|
|
||||||
return mi.MessageOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
// Deprecated: Use ChatIdentity.ProtoReflect.Descriptor instead.
|
|
||||||
func (*ChatIdentity) Descriptor() ([]byte, []int) {
|
func (*ChatIdentity) Descriptor() ([]byte, []int) {
|
||||||
return file_chat_identity_proto_rawDescGZIP(), []int{0}
|
return fileDescriptor_7a652489000a5879, []int{0}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ChatIdentity) GetClock() uint64 {
|
func (m *ChatIdentity) XXX_Unmarshal(b []byte) error {
|
||||||
if x != nil {
|
return xxx_messageInfo_ChatIdentity.Unmarshal(m, b)
|
||||||
return x.Clock
|
}
|
||||||
|
func (m *ChatIdentity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||||
|
return xxx_messageInfo_ChatIdentity.Marshal(b, m, deterministic)
|
||||||
|
}
|
||||||
|
func (m *ChatIdentity) XXX_Merge(src proto.Message) {
|
||||||
|
xxx_messageInfo_ChatIdentity.Merge(m, src)
|
||||||
|
}
|
||||||
|
func (m *ChatIdentity) XXX_Size() int {
|
||||||
|
return xxx_messageInfo_ChatIdentity.Size(m)
|
||||||
|
}
|
||||||
|
func (m *ChatIdentity) XXX_DiscardUnknown() {
|
||||||
|
xxx_messageInfo_ChatIdentity.DiscardUnknown(m)
|
||||||
|
}
|
||||||
|
|
||||||
|
var xxx_messageInfo_ChatIdentity proto.InternalMessageInfo
|
||||||
|
|
||||||
|
func (m *ChatIdentity) GetClock() uint64 {
|
||||||
|
if m != nil {
|
||||||
|
return m.Clock
|
||||||
}
|
}
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ChatIdentity) GetEnsName() string {
|
func (m *ChatIdentity) GetEnsName() string {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.EnsName
|
return m.EnsName
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ChatIdentity) GetImages() map[string]*IdentityImage {
|
func (m *ChatIdentity) GetImages() map[string]*IdentityImage {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.Images
|
return m.Images
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ChatIdentity) GetDisplayName() string {
|
func (m *ChatIdentity) GetDisplayName() string {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.DisplayName
|
return m.DisplayName
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ChatIdentity) GetDescription() string {
|
func (m *ChatIdentity) GetDescription() string {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.Description
|
return m.Description
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ChatIdentity) GetColor() string {
|
func (m *ChatIdentity) GetColor() string {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.Color
|
return m.Color
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ChatIdentity) GetEmoji() string {
|
func (m *ChatIdentity) GetEmoji() string {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.Emoji
|
return m.Emoji
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ChatIdentity) GetSocialLinks() []*SocialLink {
|
func (m *ChatIdentity) GetSocialLinks() []*SocialLink {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.SocialLinks
|
return m.SocialLinks
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ChatIdentity) GetFirstMessageTimestamp() uint32 {
|
func (m *ChatIdentity) GetFirstMessageTimestamp() uint32 {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.FirstMessageTimestamp
|
return m.FirstMessageTimestamp
|
||||||
}
|
}
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
// ProfileImage represents data associated with a user's profile image
|
// ProfileImage represents data associated with a user's profile image
|
||||||
type IdentityImage struct {
|
type IdentityImage struct {
|
||||||
state protoimpl.MessageState
|
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
// payload is a context based payload for the profile image data,
|
// payload is a context based payload for the profile image data,
|
||||||
// context is determined by the `source_type`
|
// context is determined by the `source_type`
|
||||||
Payload []byte `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
|
Payload []byte `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
|
||||||
|
@ -211,287 +178,165 @@ type IdentityImage struct {
|
||||||
// encryption_keys is a list of encrypted keys that can be used to decrypted an encrypted payload
|
// encryption_keys is a list of encrypted keys that can be used to decrypted an encrypted payload
|
||||||
EncryptionKeys [][]byte `protobuf:"bytes,4,rep,name=encryption_keys,json=encryptionKeys,proto3" json:"encryption_keys,omitempty"`
|
EncryptionKeys [][]byte `protobuf:"bytes,4,rep,name=encryption_keys,json=encryptionKeys,proto3" json:"encryption_keys,omitempty"`
|
||||||
// encrypted signals the encryption state of the payload, default is false.
|
// encrypted signals the encryption state of the payload, default is false.
|
||||||
Encrypted bool `protobuf:"varint,5,opt,name=encrypted,proto3" json:"encrypted,omitempty"`
|
Encrypted bool `protobuf:"varint,5,opt,name=encrypted,proto3" json:"encrypted,omitempty"`
|
||||||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
|
XXX_unrecognized []byte `json:"-"`
|
||||||
|
XXX_sizecache int32 `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *IdentityImage) Reset() {
|
func (m *IdentityImage) Reset() { *m = IdentityImage{} }
|
||||||
*x = IdentityImage{}
|
func (m *IdentityImage) String() string { return proto.CompactTextString(m) }
|
||||||
if protoimpl.UnsafeEnabled {
|
func (*IdentityImage) ProtoMessage() {}
|
||||||
mi := &file_chat_identity_proto_msgTypes[1]
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *IdentityImage) String() string {
|
|
||||||
return protoimpl.X.MessageStringOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (*IdentityImage) ProtoMessage() {}
|
|
||||||
|
|
||||||
func (x *IdentityImage) ProtoReflect() protoreflect.Message {
|
|
||||||
mi := &file_chat_identity_proto_msgTypes[1]
|
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
if ms.LoadMessageInfo() == nil {
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
return ms
|
|
||||||
}
|
|
||||||
return mi.MessageOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
// Deprecated: Use IdentityImage.ProtoReflect.Descriptor instead.
|
|
||||||
func (*IdentityImage) Descriptor() ([]byte, []int) {
|
func (*IdentityImage) Descriptor() ([]byte, []int) {
|
||||||
return file_chat_identity_proto_rawDescGZIP(), []int{1}
|
return fileDescriptor_7a652489000a5879, []int{1}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *IdentityImage) GetPayload() []byte {
|
func (m *IdentityImage) XXX_Unmarshal(b []byte) error {
|
||||||
if x != nil {
|
return xxx_messageInfo_IdentityImage.Unmarshal(m, b)
|
||||||
return x.Payload
|
}
|
||||||
|
func (m *IdentityImage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||||
|
return xxx_messageInfo_IdentityImage.Marshal(b, m, deterministic)
|
||||||
|
}
|
||||||
|
func (m *IdentityImage) XXX_Merge(src proto.Message) {
|
||||||
|
xxx_messageInfo_IdentityImage.Merge(m, src)
|
||||||
|
}
|
||||||
|
func (m *IdentityImage) XXX_Size() int {
|
||||||
|
return xxx_messageInfo_IdentityImage.Size(m)
|
||||||
|
}
|
||||||
|
func (m *IdentityImage) XXX_DiscardUnknown() {
|
||||||
|
xxx_messageInfo_IdentityImage.DiscardUnknown(m)
|
||||||
|
}
|
||||||
|
|
||||||
|
var xxx_messageInfo_IdentityImage proto.InternalMessageInfo
|
||||||
|
|
||||||
|
func (m *IdentityImage) GetPayload() []byte {
|
||||||
|
if m != nil {
|
||||||
|
return m.Payload
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *IdentityImage) GetSourceType() IdentityImage_SourceType {
|
func (m *IdentityImage) GetSourceType() IdentityImage_SourceType {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.SourceType
|
return m.SourceType
|
||||||
}
|
}
|
||||||
return IdentityImage_UNKNOWN_SOURCE_TYPE
|
return IdentityImage_UNKNOWN_SOURCE_TYPE
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *IdentityImage) GetImageType() ImageType {
|
func (m *IdentityImage) GetImageType() ImageType {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.ImageType
|
return m.ImageType
|
||||||
}
|
}
|
||||||
return ImageType_UNKNOWN_IMAGE_TYPE
|
return ImageType_UNKNOWN_IMAGE_TYPE
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *IdentityImage) GetEncryptionKeys() [][]byte {
|
func (m *IdentityImage) GetEncryptionKeys() [][]byte {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.EncryptionKeys
|
return m.EncryptionKeys
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *IdentityImage) GetEncrypted() bool {
|
func (m *IdentityImage) GetEncrypted() bool {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.Encrypted
|
return m.Encrypted
|
||||||
}
|
}
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
// SocialLinks represents social link assosiated with given chat identity (personal/community)
|
// SocialLinks represents social link assosiated with given chat identity (personal/community)
|
||||||
type SocialLink struct {
|
type SocialLink struct {
|
||||||
state protoimpl.MessageState
|
Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
|
||||||
sizeCache protoimpl.SizeCache
|
Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
|
XXX_unrecognized []byte `json:"-"`
|
||||||
Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
|
XXX_sizecache int32 `json:"-"`
|
||||||
Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *SocialLink) Reset() {
|
func (m *SocialLink) Reset() { *m = SocialLink{} }
|
||||||
*x = SocialLink{}
|
func (m *SocialLink) String() string { return proto.CompactTextString(m) }
|
||||||
if protoimpl.UnsafeEnabled {
|
func (*SocialLink) ProtoMessage() {}
|
||||||
mi := &file_chat_identity_proto_msgTypes[2]
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *SocialLink) String() string {
|
|
||||||
return protoimpl.X.MessageStringOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (*SocialLink) ProtoMessage() {}
|
|
||||||
|
|
||||||
func (x *SocialLink) ProtoReflect() protoreflect.Message {
|
|
||||||
mi := &file_chat_identity_proto_msgTypes[2]
|
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
if ms.LoadMessageInfo() == nil {
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
return ms
|
|
||||||
}
|
|
||||||
return mi.MessageOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
// Deprecated: Use SocialLink.ProtoReflect.Descriptor instead.
|
|
||||||
func (*SocialLink) Descriptor() ([]byte, []int) {
|
func (*SocialLink) Descriptor() ([]byte, []int) {
|
||||||
return file_chat_identity_proto_rawDescGZIP(), []int{2}
|
return fileDescriptor_7a652489000a5879, []int{2}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *SocialLink) GetText() string {
|
func (m *SocialLink) XXX_Unmarshal(b []byte) error {
|
||||||
if x != nil {
|
return xxx_messageInfo_SocialLink.Unmarshal(m, b)
|
||||||
return x.Text
|
}
|
||||||
|
func (m *SocialLink) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||||
|
return xxx_messageInfo_SocialLink.Marshal(b, m, deterministic)
|
||||||
|
}
|
||||||
|
func (m *SocialLink) XXX_Merge(src proto.Message) {
|
||||||
|
xxx_messageInfo_SocialLink.Merge(m, src)
|
||||||
|
}
|
||||||
|
func (m *SocialLink) XXX_Size() int {
|
||||||
|
return xxx_messageInfo_SocialLink.Size(m)
|
||||||
|
}
|
||||||
|
func (m *SocialLink) XXX_DiscardUnknown() {
|
||||||
|
xxx_messageInfo_SocialLink.DiscardUnknown(m)
|
||||||
|
}
|
||||||
|
|
||||||
|
var xxx_messageInfo_SocialLink proto.InternalMessageInfo
|
||||||
|
|
||||||
|
func (m *SocialLink) GetText() string {
|
||||||
|
if m != nil {
|
||||||
|
return m.Text
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *SocialLink) GetUrl() string {
|
func (m *SocialLink) GetUrl() string {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.Url
|
return m.Url
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
var File_chat_identity_proto protoreflect.FileDescriptor
|
func init() {
|
||||||
|
proto.RegisterEnum("protobuf.IdentityImage_SourceType", IdentityImage_SourceType_name, IdentityImage_SourceType_value)
|
||||||
var file_chat_identity_proto_rawDesc = []byte{
|
proto.RegisterType((*ChatIdentity)(nil), "protobuf.ChatIdentity")
|
||||||
0x0a, 0x13, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e,
|
proto.RegisterMapType((map[string]*IdentityImage)(nil), "protobuf.ChatIdentity.ImagesEntry")
|
||||||
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x1a,
|
proto.RegisterType((*IdentityImage)(nil), "protobuf.IdentityImage")
|
||||||
0x0b, 0x65, 0x6e, 0x75, 0x6d, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb1, 0x03, 0x0a,
|
proto.RegisterType((*SocialLink)(nil), "protobuf.SocialLink")
|
||||||
0x0c, 0x43, 0x68, 0x61, 0x74, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x14, 0x0a,
|
|
||||||
0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, 0x6c,
|
|
||||||
0x6f, 0x63, 0x6b, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x73, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18,
|
|
||||||
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x65, 0x6e, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x3a,
|
|
||||||
0x0a, 0x06, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22,
|
|
||||||
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x49, 0x64,
|
|
||||||
0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x73, 0x45, 0x6e, 0x74,
|
|
||||||
0x72, 0x79, 0x52, 0x06, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69,
|
|
||||||
0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09,
|
|
||||||
0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a,
|
|
||||||
0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01,
|
|
||||||
0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12,
|
|
||||||
0x14, 0x0a, 0x05, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
|
|
||||||
0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x6f, 0x6a, 0x69, 0x18, 0x07,
|
|
||||||
0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, 0x6f, 0x6a, 0x69, 0x12, 0x37, 0x0a, 0x0c, 0x73,
|
|
||||||
0x6f, 0x63, 0x69, 0x61, 0x6c, 0x5f, 0x6c, 0x69, 0x6e, 0x6b, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28,
|
|
||||||
0x0b, 0x32, 0x14, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x6f, 0x63,
|
|
||||||
0x69, 0x61, 0x6c, 0x4c, 0x69, 0x6e, 0x6b, 0x52, 0x0b, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x6c, 0x4c,
|
|
||||||
0x69, 0x6e, 0x6b, 0x73, 0x12, 0x36, 0x0a, 0x17, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x6d, 0x65,
|
|
||||||
0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18,
|
|
||||||
0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x15, 0x66, 0x69, 0x72, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73,
|
|
||||||
0x61, 0x67, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x1a, 0x52, 0x0a, 0x0b,
|
|
||||||
0x49, 0x6d, 0x61, 0x67, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b,
|
|
||||||
0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2d, 0x0a,
|
|
||||||
0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x70,
|
|
||||||
0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79,
|
|
||||||
0x49, 0x6d, 0x61, 0x67, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01,
|
|
||||||
0x22, 0xb1, 0x02, 0x0a, 0x0d, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x6d, 0x61,
|
|
||||||
0x67, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x01, 0x20,
|
|
||||||
0x01, 0x28, 0x0c, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x43, 0x0a, 0x0b,
|
|
||||||
0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
|
|
||||||
0x0e, 0x32, 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x64, 0x65,
|
|
||||||
0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x2e, 0x53, 0x6f, 0x75, 0x72, 0x63,
|
|
||||||
0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70,
|
|
||||||
0x65, 0x12, 0x32, 0x0a, 0x0a, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18,
|
|
||||||
0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x13, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
|
|
||||||
0x2e, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x69, 0x6d, 0x61, 0x67,
|
|
||||||
0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74,
|
|
||||||
0x69, 0x6f, 0x6e, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x0e,
|
|
||||||
0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x1c,
|
|
||||||
0x0a, 0x09, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28,
|
|
||||||
0x08, 0x52, 0x09, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x22, 0x46, 0x0a, 0x0a,
|
|
||||||
0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x17, 0x0a, 0x13, 0x55, 0x4e,
|
|
||||||
0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x5f, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x54, 0x59, 0x50,
|
|
||||||
0x45, 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b, 0x52, 0x41, 0x57, 0x5f, 0x50, 0x41, 0x59, 0x4c, 0x4f,
|
|
||||||
0x41, 0x44, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x45, 0x4e, 0x53, 0x5f, 0x41, 0x56, 0x41, 0x54,
|
|
||||||
0x41, 0x52, 0x10, 0x02, 0x22, 0x32, 0x0a, 0x0a, 0x53, 0x6f, 0x63, 0x69, 0x61, 0x6c, 0x4c, 0x69,
|
|
||||||
0x6e, 0x6b, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x65, 0x78, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
|
|
||||||
0x52, 0x04, 0x74, 0x65, 0x78, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20,
|
|
||||||
0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x42, 0x0d, 0x5a, 0x0b, 0x2e, 0x2f, 0x3b, 0x70,
|
|
||||||
0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
var (
|
func init() {
|
||||||
file_chat_identity_proto_rawDescOnce sync.Once
|
proto.RegisterFile("chat_identity.proto", fileDescriptor_7a652489000a5879)
|
||||||
file_chat_identity_proto_rawDescData = file_chat_identity_proto_rawDesc
|
|
||||||
)
|
|
||||||
|
|
||||||
func file_chat_identity_proto_rawDescGZIP() []byte {
|
|
||||||
file_chat_identity_proto_rawDescOnce.Do(func() {
|
|
||||||
file_chat_identity_proto_rawDescData = protoimpl.X.CompressGZIP(file_chat_identity_proto_rawDescData)
|
|
||||||
})
|
|
||||||
return file_chat_identity_proto_rawDescData
|
|
||||||
}
|
}
|
||||||
|
|
||||||
var file_chat_identity_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
var fileDescriptor_7a652489000a5879 = []byte{
|
||||||
var file_chat_identity_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
|
// 520 bytes of a gzipped FileDescriptorProto
|
||||||
var file_chat_identity_proto_goTypes = []interface{}{
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x52, 0x4f, 0x6f, 0xda, 0x4e,
|
||||||
(IdentityImage_SourceType)(0), // 0: protobuf.IdentityImage.SourceType
|
0x10, 0xfd, 0x19, 0x13, 0xfe, 0x8c, 0x81, 0xa0, 0x25, 0x3f, 0xe1, 0x46, 0x3d, 0xb8, 0x5c, 0xca,
|
||||||
(*ChatIdentity)(nil), // 1: protobuf.ChatIdentity
|
0xa5, 0xae, 0x44, 0xa5, 0xb6, 0x4a, 0x4f, 0x2e, 0xa5, 0x52, 0x94, 0x14, 0xa2, 0x85, 0x34, 0x4a,
|
||||||
(*IdentityImage)(nil), // 2: protobuf.IdentityImage
|
0x2f, 0xab, 0x8d, 0xd9, 0x24, 0x5b, 0xfc, 0x4f, 0xde, 0xa5, 0xaa, 0x3f, 0x56, 0xbe, 0x61, 0xe5,
|
||||||
(*SocialLink)(nil), // 3: protobuf.SocialLink
|
0xb1, 0x1d, 0x93, 0x93, 0xdf, 0xbc, 0x37, 0xfb, 0x76, 0x76, 0x9e, 0x61, 0xe4, 0x3f, 0x72, 0xcd,
|
||||||
nil, // 4: protobuf.ChatIdentity.ImagesEntry
|
0xe4, 0x56, 0x44, 0x5a, 0xea, 0xcc, 0x4d, 0xd2, 0x58, 0xc7, 0xa4, 0x83, 0x9f, 0xbb, 0xfd, 0xfd,
|
||||||
(ImageType)(0), // 5: protobuf.ImageType
|
0xa9, 0x25, 0xa2, 0x7d, 0xa8, 0x0a, 0x7a, 0xf2, 0x64, 0x42, 0x6f, 0xfe, 0xc8, 0xf5, 0x79, 0xd9,
|
||||||
}
|
0x4d, 0x4e, 0xe0, 0xc8, 0x0f, 0x62, 0x7f, 0x67, 0x1b, 0x8e, 0x31, 0x6d, 0xd2, 0xa2, 0x20, 0xaf,
|
||||||
var file_chat_identity_proto_depIdxs = []int32{
|
0xa0, 0x23, 0x22, 0xc5, 0x22, 0x1e, 0x0a, 0xbb, 0xe1, 0x18, 0xd3, 0x2e, 0x6d, 0x8b, 0x48, 0x2d,
|
||||||
4, // 0: protobuf.ChatIdentity.images:type_name -> protobuf.ChatIdentity.ImagesEntry
|
0x79, 0x28, 0xc8, 0x19, 0xb4, 0x64, 0xc8, 0x1f, 0x84, 0xb2, 0x4d, 0xc7, 0x9c, 0x5a, 0xb3, 0x89,
|
||||||
3, // 1: protobuf.ChatIdentity.social_links:type_name -> protobuf.SocialLink
|
0x5b, 0xdd, 0xe4, 0x1e, 0x1a, 0xbb, 0xe7, 0xd8, 0xb4, 0x88, 0x74, 0x9a, 0xd1, 0xf2, 0x04, 0x79,
|
||||||
0, // 2: protobuf.IdentityImage.source_type:type_name -> protobuf.IdentityImage.SourceType
|
0x03, 0xbd, 0xad, 0x54, 0x49, 0xc0, 0xb3, 0xc2, 0xba, 0x89, 0xd6, 0x56, 0xc9, 0xa1, 0xbd, 0x03,
|
||||||
5, // 3: protobuf.IdentityImage.image_type:type_name -> protobuf.ImageType
|
0xd6, 0x56, 0x28, 0x3f, 0x95, 0x89, 0x96, 0x71, 0x64, 0x1f, 0x95, 0x1d, 0x35, 0x85, 0x13, 0xc7,
|
||||||
2, // 4: protobuf.ChatIdentity.ImagesEntry.value:type_name -> protobuf.IdentityImage
|
0x41, 0x9c, 0xda, 0x2d, 0xd4, 0x8a, 0x22, 0x67, 0x45, 0x18, 0xff, 0x96, 0x76, 0xbb, 0x60, 0xb1,
|
||||||
5, // [5:5] is the sub-list for method output_type
|
0x20, 0x9f, 0xa0, 0xa7, 0x62, 0x5f, 0xf2, 0x80, 0x05, 0x32, 0xda, 0x29, 0xbb, 0x83, 0x23, 0x9f,
|
||||||
5, // [5:5] is the sub-list for method input_type
|
0xd4, 0x23, 0xaf, 0x51, 0xbd, 0x94, 0xd1, 0x8e, 0x5a, 0xea, 0x19, 0x2b, 0xf2, 0x11, 0xc6, 0xf7,
|
||||||
5, // [5:5] is the sub-list for extension type_name
|
0x32, 0x55, 0x9a, 0x85, 0x42, 0x29, 0xfe, 0x20, 0x98, 0x96, 0xa1, 0x50, 0x9a, 0x87, 0x89, 0xdd,
|
||||||
5, // [5:5] is the sub-list for extension extendee
|
0x75, 0x8c, 0x69, 0x9f, 0xfe, 0x8f, 0xf2, 0x8f, 0x42, 0xdd, 0x54, 0xe2, 0x29, 0x05, 0xeb, 0xe0,
|
||||||
0, // [0:5] is the sub-list for field type_name
|
0xe1, 0x64, 0x08, 0xe6, 0x4e, 0x64, 0xb8, 0xdb, 0x2e, 0xcd, 0x21, 0x79, 0x07, 0x47, 0x7f, 0x78,
|
||||||
}
|
0xb0, 0x2f, 0xd6, 0x6a, 0xcd, 0xc6, 0xf5, 0x28, 0xd5, 0xe6, 0xf0, 0x3c, 0x2d, 0xba, 0xce, 0x1a,
|
||||||
|
0x9f, 0x8d, 0xc9, 0x53, 0x03, 0xfa, 0x2f, 0x44, 0x62, 0x43, 0x3b, 0xe1, 0x59, 0x10, 0xf3, 0x2d,
|
||||||
func init() { file_chat_identity_proto_init() }
|
0x5a, 0xf7, 0x68, 0x55, 0x92, 0x39, 0x58, 0x2a, 0xde, 0xa7, 0xbe, 0x60, 0x3a, 0x4b, 0x8a, 0x4b,
|
||||||
func file_chat_identity_proto_init() {
|
0x06, 0x87, 0x11, 0xbd, 0xf0, 0x71, 0xd7, 0xd8, 0xba, 0xc9, 0x12, 0x41, 0x41, 0x3d, 0x63, 0x32,
|
||||||
if File_chat_identity_proto != nil {
|
0x03, 0xc0, 0xc0, 0x0a, 0x0f, 0x13, 0x3d, 0x46, 0x07, 0x1e, 0xb9, 0x86, 0x87, 0xba, 0xb2, 0x82,
|
||||||
return
|
0xe4, 0x2d, 0x1c, 0x8b, 0xc8, 0x4f, 0x33, 0xcc, 0x88, 0xed, 0x44, 0xa6, 0xec, 0xa6, 0x63, 0x4e,
|
||||||
}
|
0x7b, 0x74, 0x50, 0xd3, 0x17, 0x22, 0x53, 0xe4, 0x35, 0x74, 0x4b, 0x46, 0x6c, 0x31, 0xde, 0x0e,
|
||||||
file_enums_proto_init()
|
0xad, 0x89, 0xc9, 0x77, 0x80, 0x7a, 0x28, 0x32, 0x86, 0xd1, 0xf5, 0xf2, 0x62, 0xb9, 0xba, 0x59,
|
||||||
if !protoimpl.UnsafeEnabled {
|
0xb2, 0xf5, 0xea, 0x9a, 0xce, 0x17, 0x6c, 0x73, 0x7b, 0xb5, 0x18, 0xfe, 0x47, 0x8e, 0xc1, 0xa2,
|
||||||
file_chat_identity_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
0xde, 0x0d, 0xbb, 0xf2, 0x6e, 0x2f, 0x57, 0xde, 0xb7, 0xa1, 0x41, 0x06, 0x00, 0x8b, 0xe5, 0x9a,
|
||||||
switch v := v.(*ChatIdentity); i {
|
0x79, 0x3f, 0xbd, 0x8d, 0x47, 0x87, 0x8d, 0xc9, 0x2c, 0xf7, 0xa9, 0xe2, 0x24, 0x04, 0x9a, 0x5a,
|
||||||
case 0:
|
0xfc, 0xd5, 0x65, 0x0e, 0x88, 0xf3, 0x68, 0xf6, 0x69, 0x50, 0xfe, 0xdd, 0x39, 0xfc, 0xda, 0xff,
|
||||||
return &v.state
|
0x65, 0xb9, 0xef, 0xbf, 0x54, 0xcf, 0xbc, 0x6b, 0x21, 0xfa, 0xf0, 0x2f, 0x00, 0x00, 0xff, 0xff,
|
||||||
case 1:
|
0x4e, 0xae, 0x6d, 0x0e, 0x5f, 0x03, 0x00, 0x00,
|
||||||
return &v.sizeCache
|
|
||||||
case 2:
|
|
||||||
return &v.unknownFields
|
|
||||||
default:
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
}
|
|
||||||
file_chat_identity_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
||||||
switch v := v.(*IdentityImage); i {
|
|
||||||
case 0:
|
|
||||||
return &v.state
|
|
||||||
case 1:
|
|
||||||
return &v.sizeCache
|
|
||||||
case 2:
|
|
||||||
return &v.unknownFields
|
|
||||||
default:
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
}
|
|
||||||
file_chat_identity_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
||||||
switch v := v.(*SocialLink); i {
|
|
||||||
case 0:
|
|
||||||
return &v.state
|
|
||||||
case 1:
|
|
||||||
return &v.sizeCache
|
|
||||||
case 2:
|
|
||||||
return &v.unknownFields
|
|
||||||
default:
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
type x struct{}
|
|
||||||
out := protoimpl.TypeBuilder{
|
|
||||||
File: protoimpl.DescBuilder{
|
|
||||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
||||||
RawDescriptor: file_chat_identity_proto_rawDesc,
|
|
||||||
NumEnums: 1,
|
|
||||||
NumMessages: 4,
|
|
||||||
NumExtensions: 0,
|
|
||||||
NumServices: 0,
|
|
||||||
},
|
|
||||||
GoTypes: file_chat_identity_proto_goTypes,
|
|
||||||
DependencyIndexes: file_chat_identity_proto_depIdxs,
|
|
||||||
EnumInfos: file_chat_identity_proto_enumTypes,
|
|
||||||
MessageInfos: file_chat_identity_proto_msgTypes,
|
|
||||||
}.Build()
|
|
||||||
File_chat_identity_proto = out.File
|
|
||||||
file_chat_identity_proto_rawDesc = nil
|
|
||||||
file_chat_identity_proto_goTypes = nil
|
|
||||||
file_chat_identity_proto_depIdxs = nil
|
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,630 +1,435 @@
|
||||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||||
// versions:
|
|
||||||
// protoc-gen-go v1.29.1
|
|
||||||
// protoc v3.20.3
|
|
||||||
// source: command.proto
|
// source: command.proto
|
||||||
|
|
||||||
package protobuf
|
package protobuf
|
||||||
|
|
||||||
import (
|
import (
|
||||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
fmt "fmt"
|
||||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
proto "github.com/golang/protobuf/proto"
|
||||||
reflect "reflect"
|
math "math"
|
||||||
sync "sync"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
// Reference imports to suppress errors if they are not otherwise used.
|
||||||
// Verify that this generated code is sufficiently up-to-date.
|
var _ = proto.Marshal
|
||||||
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
var _ = fmt.Errorf
|
||||||
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
var _ = math.Inf
|
||||||
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
||||||
)
|
// This is a compile-time assertion to ensure that this generated file
|
||||||
|
// is compatible with the proto package it is being compiled against.
|
||||||
|
// A compilation error at this line likely means your copy of the
|
||||||
|
// proto package needs to be updated.
|
||||||
|
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
|
||||||
|
|
||||||
type RequestAddressForTransaction struct {
|
type RequestAddressForTransaction struct {
|
||||||
state protoimpl.MessageState
|
Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"`
|
||||||
sizeCache protoimpl.SizeCache
|
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
Contract string `protobuf:"bytes,3,opt,name=contract,proto3" json:"contract,omitempty"`
|
||||||
|
ChatId string `protobuf:"bytes,4,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"`
|
||||||
Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
|
XXX_unrecognized []byte `json:"-"`
|
||||||
Contract string `protobuf:"bytes,3,opt,name=contract,proto3" json:"contract,omitempty"`
|
XXX_sizecache int32 `json:"-"`
|
||||||
ChatId string `protobuf:"bytes,4,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *RequestAddressForTransaction) Reset() {
|
func (m *RequestAddressForTransaction) Reset() { *m = RequestAddressForTransaction{} }
|
||||||
*x = RequestAddressForTransaction{}
|
func (m *RequestAddressForTransaction) String() string { return proto.CompactTextString(m) }
|
||||||
if protoimpl.UnsafeEnabled {
|
func (*RequestAddressForTransaction) ProtoMessage() {}
|
||||||
mi := &file_command_proto_msgTypes[0]
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *RequestAddressForTransaction) String() string {
|
|
||||||
return protoimpl.X.MessageStringOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (*RequestAddressForTransaction) ProtoMessage() {}
|
|
||||||
|
|
||||||
func (x *RequestAddressForTransaction) ProtoReflect() protoreflect.Message {
|
|
||||||
mi := &file_command_proto_msgTypes[0]
|
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
if ms.LoadMessageInfo() == nil {
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
return ms
|
|
||||||
}
|
|
||||||
return mi.MessageOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
// Deprecated: Use RequestAddressForTransaction.ProtoReflect.Descriptor instead.
|
|
||||||
func (*RequestAddressForTransaction) Descriptor() ([]byte, []int) {
|
func (*RequestAddressForTransaction) Descriptor() ([]byte, []int) {
|
||||||
return file_command_proto_rawDescGZIP(), []int{0}
|
return fileDescriptor_213c0bb044472049, []int{0}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *RequestAddressForTransaction) GetClock() uint64 {
|
func (m *RequestAddressForTransaction) XXX_Unmarshal(b []byte) error {
|
||||||
if x != nil {
|
return xxx_messageInfo_RequestAddressForTransaction.Unmarshal(m, b)
|
||||||
return x.Clock
|
}
|
||||||
|
func (m *RequestAddressForTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||||
|
return xxx_messageInfo_RequestAddressForTransaction.Marshal(b, m, deterministic)
|
||||||
|
}
|
||||||
|
func (m *RequestAddressForTransaction) XXX_Merge(src proto.Message) {
|
||||||
|
xxx_messageInfo_RequestAddressForTransaction.Merge(m, src)
|
||||||
|
}
|
||||||
|
func (m *RequestAddressForTransaction) XXX_Size() int {
|
||||||
|
return xxx_messageInfo_RequestAddressForTransaction.Size(m)
|
||||||
|
}
|
||||||
|
func (m *RequestAddressForTransaction) XXX_DiscardUnknown() {
|
||||||
|
xxx_messageInfo_RequestAddressForTransaction.DiscardUnknown(m)
|
||||||
|
}
|
||||||
|
|
||||||
|
var xxx_messageInfo_RequestAddressForTransaction proto.InternalMessageInfo
|
||||||
|
|
||||||
|
func (m *RequestAddressForTransaction) GetClock() uint64 {
|
||||||
|
if m != nil {
|
||||||
|
return m.Clock
|
||||||
}
|
}
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *RequestAddressForTransaction) GetValue() string {
|
func (m *RequestAddressForTransaction) GetValue() string {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.Value
|
return m.Value
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *RequestAddressForTransaction) GetContract() string {
|
func (m *RequestAddressForTransaction) GetContract() string {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.Contract
|
return m.Contract
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *RequestAddressForTransaction) GetChatId() string {
|
func (m *RequestAddressForTransaction) GetChatId() string {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.ChatId
|
return m.ChatId
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
type AcceptRequestAddressForTransaction struct {
|
type AcceptRequestAddressForTransaction struct {
|
||||||
state protoimpl.MessageState
|
Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"`
|
||||||
sizeCache protoimpl.SizeCache
|
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"`
|
||||||
|
ChatId string `protobuf:"bytes,4,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"`
|
||||||
Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
|
XXX_unrecognized []byte `json:"-"`
|
||||||
Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"`
|
XXX_sizecache int32 `json:"-"`
|
||||||
ChatId string `protobuf:"bytes,4,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *AcceptRequestAddressForTransaction) Reset() {
|
func (m *AcceptRequestAddressForTransaction) Reset() { *m = AcceptRequestAddressForTransaction{} }
|
||||||
*x = AcceptRequestAddressForTransaction{}
|
func (m *AcceptRequestAddressForTransaction) String() string { return proto.CompactTextString(m) }
|
||||||
if protoimpl.UnsafeEnabled {
|
func (*AcceptRequestAddressForTransaction) ProtoMessage() {}
|
||||||
mi := &file_command_proto_msgTypes[1]
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *AcceptRequestAddressForTransaction) String() string {
|
|
||||||
return protoimpl.X.MessageStringOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (*AcceptRequestAddressForTransaction) ProtoMessage() {}
|
|
||||||
|
|
||||||
func (x *AcceptRequestAddressForTransaction) ProtoReflect() protoreflect.Message {
|
|
||||||
mi := &file_command_proto_msgTypes[1]
|
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
if ms.LoadMessageInfo() == nil {
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
return ms
|
|
||||||
}
|
|
||||||
return mi.MessageOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
// Deprecated: Use AcceptRequestAddressForTransaction.ProtoReflect.Descriptor instead.
|
|
||||||
func (*AcceptRequestAddressForTransaction) Descriptor() ([]byte, []int) {
|
func (*AcceptRequestAddressForTransaction) Descriptor() ([]byte, []int) {
|
||||||
return file_command_proto_rawDescGZIP(), []int{1}
|
return fileDescriptor_213c0bb044472049, []int{1}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *AcceptRequestAddressForTransaction) GetClock() uint64 {
|
func (m *AcceptRequestAddressForTransaction) XXX_Unmarshal(b []byte) error {
|
||||||
if x != nil {
|
return xxx_messageInfo_AcceptRequestAddressForTransaction.Unmarshal(m, b)
|
||||||
return x.Clock
|
}
|
||||||
|
func (m *AcceptRequestAddressForTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||||
|
return xxx_messageInfo_AcceptRequestAddressForTransaction.Marshal(b, m, deterministic)
|
||||||
|
}
|
||||||
|
func (m *AcceptRequestAddressForTransaction) XXX_Merge(src proto.Message) {
|
||||||
|
xxx_messageInfo_AcceptRequestAddressForTransaction.Merge(m, src)
|
||||||
|
}
|
||||||
|
func (m *AcceptRequestAddressForTransaction) XXX_Size() int {
|
||||||
|
return xxx_messageInfo_AcceptRequestAddressForTransaction.Size(m)
|
||||||
|
}
|
||||||
|
func (m *AcceptRequestAddressForTransaction) XXX_DiscardUnknown() {
|
||||||
|
xxx_messageInfo_AcceptRequestAddressForTransaction.DiscardUnknown(m)
|
||||||
|
}
|
||||||
|
|
||||||
|
var xxx_messageInfo_AcceptRequestAddressForTransaction proto.InternalMessageInfo
|
||||||
|
|
||||||
|
func (m *AcceptRequestAddressForTransaction) GetClock() uint64 {
|
||||||
|
if m != nil {
|
||||||
|
return m.Clock
|
||||||
}
|
}
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *AcceptRequestAddressForTransaction) GetId() string {
|
func (m *AcceptRequestAddressForTransaction) GetId() string {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.Id
|
return m.Id
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *AcceptRequestAddressForTransaction) GetAddress() string {
|
func (m *AcceptRequestAddressForTransaction) GetAddress() string {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.Address
|
return m.Address
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *AcceptRequestAddressForTransaction) GetChatId() string {
|
func (m *AcceptRequestAddressForTransaction) GetChatId() string {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.ChatId
|
return m.ChatId
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
type DeclineRequestAddressForTransaction struct {
|
type DeclineRequestAddressForTransaction struct {
|
||||||
state protoimpl.MessageState
|
Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"`
|
||||||
sizeCache protoimpl.SizeCache
|
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
ChatId string `protobuf:"bytes,3,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"`
|
||||||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"`
|
XXX_unrecognized []byte `json:"-"`
|
||||||
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
|
XXX_sizecache int32 `json:"-"`
|
||||||
ChatId string `protobuf:"bytes,3,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *DeclineRequestAddressForTransaction) Reset() {
|
func (m *DeclineRequestAddressForTransaction) Reset() { *m = DeclineRequestAddressForTransaction{} }
|
||||||
*x = DeclineRequestAddressForTransaction{}
|
func (m *DeclineRequestAddressForTransaction) String() string { return proto.CompactTextString(m) }
|
||||||
if protoimpl.UnsafeEnabled {
|
func (*DeclineRequestAddressForTransaction) ProtoMessage() {}
|
||||||
mi := &file_command_proto_msgTypes[2]
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *DeclineRequestAddressForTransaction) String() string {
|
|
||||||
return protoimpl.X.MessageStringOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (*DeclineRequestAddressForTransaction) ProtoMessage() {}
|
|
||||||
|
|
||||||
func (x *DeclineRequestAddressForTransaction) ProtoReflect() protoreflect.Message {
|
|
||||||
mi := &file_command_proto_msgTypes[2]
|
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
if ms.LoadMessageInfo() == nil {
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
return ms
|
|
||||||
}
|
|
||||||
return mi.MessageOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
// Deprecated: Use DeclineRequestAddressForTransaction.ProtoReflect.Descriptor instead.
|
|
||||||
func (*DeclineRequestAddressForTransaction) Descriptor() ([]byte, []int) {
|
func (*DeclineRequestAddressForTransaction) Descriptor() ([]byte, []int) {
|
||||||
return file_command_proto_rawDescGZIP(), []int{2}
|
return fileDescriptor_213c0bb044472049, []int{2}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *DeclineRequestAddressForTransaction) GetClock() uint64 {
|
func (m *DeclineRequestAddressForTransaction) XXX_Unmarshal(b []byte) error {
|
||||||
if x != nil {
|
return xxx_messageInfo_DeclineRequestAddressForTransaction.Unmarshal(m, b)
|
||||||
return x.Clock
|
}
|
||||||
|
func (m *DeclineRequestAddressForTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||||
|
return xxx_messageInfo_DeclineRequestAddressForTransaction.Marshal(b, m, deterministic)
|
||||||
|
}
|
||||||
|
func (m *DeclineRequestAddressForTransaction) XXX_Merge(src proto.Message) {
|
||||||
|
xxx_messageInfo_DeclineRequestAddressForTransaction.Merge(m, src)
|
||||||
|
}
|
||||||
|
func (m *DeclineRequestAddressForTransaction) XXX_Size() int {
|
||||||
|
return xxx_messageInfo_DeclineRequestAddressForTransaction.Size(m)
|
||||||
|
}
|
||||||
|
func (m *DeclineRequestAddressForTransaction) XXX_DiscardUnknown() {
|
||||||
|
xxx_messageInfo_DeclineRequestAddressForTransaction.DiscardUnknown(m)
|
||||||
|
}
|
||||||
|
|
||||||
|
var xxx_messageInfo_DeclineRequestAddressForTransaction proto.InternalMessageInfo
|
||||||
|
|
||||||
|
func (m *DeclineRequestAddressForTransaction) GetClock() uint64 {
|
||||||
|
if m != nil {
|
||||||
|
return m.Clock
|
||||||
}
|
}
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *DeclineRequestAddressForTransaction) GetId() string {
|
func (m *DeclineRequestAddressForTransaction) GetId() string {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.Id
|
return m.Id
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *DeclineRequestAddressForTransaction) GetChatId() string {
|
func (m *DeclineRequestAddressForTransaction) GetChatId() string {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.ChatId
|
return m.ChatId
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
type DeclineRequestTransaction struct {
|
type DeclineRequestTransaction struct {
|
||||||
state protoimpl.MessageState
|
Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"`
|
||||||
sizeCache protoimpl.SizeCache
|
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
ChatId string `protobuf:"bytes,3,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"`
|
||||||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"`
|
XXX_unrecognized []byte `json:"-"`
|
||||||
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
|
XXX_sizecache int32 `json:"-"`
|
||||||
ChatId string `protobuf:"bytes,3,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *DeclineRequestTransaction) Reset() {
|
func (m *DeclineRequestTransaction) Reset() { *m = DeclineRequestTransaction{} }
|
||||||
*x = DeclineRequestTransaction{}
|
func (m *DeclineRequestTransaction) String() string { return proto.CompactTextString(m) }
|
||||||
if protoimpl.UnsafeEnabled {
|
func (*DeclineRequestTransaction) ProtoMessage() {}
|
||||||
mi := &file_command_proto_msgTypes[3]
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *DeclineRequestTransaction) String() string {
|
|
||||||
return protoimpl.X.MessageStringOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (*DeclineRequestTransaction) ProtoMessage() {}
|
|
||||||
|
|
||||||
func (x *DeclineRequestTransaction) ProtoReflect() protoreflect.Message {
|
|
||||||
mi := &file_command_proto_msgTypes[3]
|
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
if ms.LoadMessageInfo() == nil {
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
return ms
|
|
||||||
}
|
|
||||||
return mi.MessageOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
// Deprecated: Use DeclineRequestTransaction.ProtoReflect.Descriptor instead.
|
|
||||||
func (*DeclineRequestTransaction) Descriptor() ([]byte, []int) {
|
func (*DeclineRequestTransaction) Descriptor() ([]byte, []int) {
|
||||||
return file_command_proto_rawDescGZIP(), []int{3}
|
return fileDescriptor_213c0bb044472049, []int{3}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *DeclineRequestTransaction) GetClock() uint64 {
|
func (m *DeclineRequestTransaction) XXX_Unmarshal(b []byte) error {
|
||||||
if x != nil {
|
return xxx_messageInfo_DeclineRequestTransaction.Unmarshal(m, b)
|
||||||
return x.Clock
|
}
|
||||||
|
func (m *DeclineRequestTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||||
|
return xxx_messageInfo_DeclineRequestTransaction.Marshal(b, m, deterministic)
|
||||||
|
}
|
||||||
|
func (m *DeclineRequestTransaction) XXX_Merge(src proto.Message) {
|
||||||
|
xxx_messageInfo_DeclineRequestTransaction.Merge(m, src)
|
||||||
|
}
|
||||||
|
func (m *DeclineRequestTransaction) XXX_Size() int {
|
||||||
|
return xxx_messageInfo_DeclineRequestTransaction.Size(m)
|
||||||
|
}
|
||||||
|
func (m *DeclineRequestTransaction) XXX_DiscardUnknown() {
|
||||||
|
xxx_messageInfo_DeclineRequestTransaction.DiscardUnknown(m)
|
||||||
|
}
|
||||||
|
|
||||||
|
var xxx_messageInfo_DeclineRequestTransaction proto.InternalMessageInfo
|
||||||
|
|
||||||
|
func (m *DeclineRequestTransaction) GetClock() uint64 {
|
||||||
|
if m != nil {
|
||||||
|
return m.Clock
|
||||||
}
|
}
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *DeclineRequestTransaction) GetId() string {
|
func (m *DeclineRequestTransaction) GetId() string {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.Id
|
return m.Id
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *DeclineRequestTransaction) GetChatId() string {
|
func (m *DeclineRequestTransaction) GetChatId() string {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.ChatId
|
return m.ChatId
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
type RequestTransaction struct {
|
type RequestTransaction struct {
|
||||||
state protoimpl.MessageState
|
Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"`
|
||||||
sizeCache protoimpl.SizeCache
|
Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
|
||||||
|
Contract string `protobuf:"bytes,4,opt,name=contract,proto3" json:"contract,omitempty"`
|
||||||
Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"`
|
ChatId string `protobuf:"bytes,5,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"`
|
||||||
Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
|
XXX_unrecognized []byte `json:"-"`
|
||||||
Contract string `protobuf:"bytes,4,opt,name=contract,proto3" json:"contract,omitempty"`
|
XXX_sizecache int32 `json:"-"`
|
||||||
ChatId string `protobuf:"bytes,5,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *RequestTransaction) Reset() {
|
func (m *RequestTransaction) Reset() { *m = RequestTransaction{} }
|
||||||
*x = RequestTransaction{}
|
func (m *RequestTransaction) String() string { return proto.CompactTextString(m) }
|
||||||
if protoimpl.UnsafeEnabled {
|
func (*RequestTransaction) ProtoMessage() {}
|
||||||
mi := &file_command_proto_msgTypes[4]
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *RequestTransaction) String() string {
|
|
||||||
return protoimpl.X.MessageStringOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (*RequestTransaction) ProtoMessage() {}
|
|
||||||
|
|
||||||
func (x *RequestTransaction) ProtoReflect() protoreflect.Message {
|
|
||||||
mi := &file_command_proto_msgTypes[4]
|
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
if ms.LoadMessageInfo() == nil {
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
return ms
|
|
||||||
}
|
|
||||||
return mi.MessageOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
// Deprecated: Use RequestTransaction.ProtoReflect.Descriptor instead.
|
|
||||||
func (*RequestTransaction) Descriptor() ([]byte, []int) {
|
func (*RequestTransaction) Descriptor() ([]byte, []int) {
|
||||||
return file_command_proto_rawDescGZIP(), []int{4}
|
return fileDescriptor_213c0bb044472049, []int{4}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *RequestTransaction) GetClock() uint64 {
|
func (m *RequestTransaction) XXX_Unmarshal(b []byte) error {
|
||||||
if x != nil {
|
return xxx_messageInfo_RequestTransaction.Unmarshal(m, b)
|
||||||
return x.Clock
|
}
|
||||||
|
func (m *RequestTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||||
|
return xxx_messageInfo_RequestTransaction.Marshal(b, m, deterministic)
|
||||||
|
}
|
||||||
|
func (m *RequestTransaction) XXX_Merge(src proto.Message) {
|
||||||
|
xxx_messageInfo_RequestTransaction.Merge(m, src)
|
||||||
|
}
|
||||||
|
func (m *RequestTransaction) XXX_Size() int {
|
||||||
|
return xxx_messageInfo_RequestTransaction.Size(m)
|
||||||
|
}
|
||||||
|
func (m *RequestTransaction) XXX_DiscardUnknown() {
|
||||||
|
xxx_messageInfo_RequestTransaction.DiscardUnknown(m)
|
||||||
|
}
|
||||||
|
|
||||||
|
var xxx_messageInfo_RequestTransaction proto.InternalMessageInfo
|
||||||
|
|
||||||
|
func (m *RequestTransaction) GetClock() uint64 {
|
||||||
|
if m != nil {
|
||||||
|
return m.Clock
|
||||||
}
|
}
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *RequestTransaction) GetAddress() string {
|
func (m *RequestTransaction) GetAddress() string {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.Address
|
return m.Address
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *RequestTransaction) GetValue() string {
|
func (m *RequestTransaction) GetValue() string {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.Value
|
return m.Value
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *RequestTransaction) GetContract() string {
|
func (m *RequestTransaction) GetContract() string {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.Contract
|
return m.Contract
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *RequestTransaction) GetChatId() string {
|
func (m *RequestTransaction) GetChatId() string {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.ChatId
|
return m.ChatId
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
type SendTransaction struct {
|
type SendTransaction struct {
|
||||||
state protoimpl.MessageState
|
Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"`
|
||||||
sizeCache protoimpl.SizeCache
|
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
TransactionHash string `protobuf:"bytes,3,opt,name=transaction_hash,json=transactionHash,proto3" json:"transaction_hash,omitempty"`
|
||||||
|
Signature []byte `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"`
|
||||||
Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"`
|
ChatId string `protobuf:"bytes,5,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"`
|
||||||
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
TransactionHash string `protobuf:"bytes,3,opt,name=transaction_hash,json=transactionHash,proto3" json:"transaction_hash,omitempty"`
|
XXX_unrecognized []byte `json:"-"`
|
||||||
Signature []byte `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"`
|
XXX_sizecache int32 `json:"-"`
|
||||||
ChatId string `protobuf:"bytes,5,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *SendTransaction) Reset() {
|
func (m *SendTransaction) Reset() { *m = SendTransaction{} }
|
||||||
*x = SendTransaction{}
|
func (m *SendTransaction) String() string { return proto.CompactTextString(m) }
|
||||||
if protoimpl.UnsafeEnabled {
|
func (*SendTransaction) ProtoMessage() {}
|
||||||
mi := &file_command_proto_msgTypes[5]
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *SendTransaction) String() string {
|
|
||||||
return protoimpl.X.MessageStringOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (*SendTransaction) ProtoMessage() {}
|
|
||||||
|
|
||||||
func (x *SendTransaction) ProtoReflect() protoreflect.Message {
|
|
||||||
mi := &file_command_proto_msgTypes[5]
|
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
if ms.LoadMessageInfo() == nil {
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
return ms
|
|
||||||
}
|
|
||||||
return mi.MessageOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
// Deprecated: Use SendTransaction.ProtoReflect.Descriptor instead.
|
|
||||||
func (*SendTransaction) Descriptor() ([]byte, []int) {
|
func (*SendTransaction) Descriptor() ([]byte, []int) {
|
||||||
return file_command_proto_rawDescGZIP(), []int{5}
|
return fileDescriptor_213c0bb044472049, []int{5}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *SendTransaction) GetClock() uint64 {
|
func (m *SendTransaction) XXX_Unmarshal(b []byte) error {
|
||||||
if x != nil {
|
return xxx_messageInfo_SendTransaction.Unmarshal(m, b)
|
||||||
return x.Clock
|
}
|
||||||
|
func (m *SendTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||||
|
return xxx_messageInfo_SendTransaction.Marshal(b, m, deterministic)
|
||||||
|
}
|
||||||
|
func (m *SendTransaction) XXX_Merge(src proto.Message) {
|
||||||
|
xxx_messageInfo_SendTransaction.Merge(m, src)
|
||||||
|
}
|
||||||
|
func (m *SendTransaction) XXX_Size() int {
|
||||||
|
return xxx_messageInfo_SendTransaction.Size(m)
|
||||||
|
}
|
||||||
|
func (m *SendTransaction) XXX_DiscardUnknown() {
|
||||||
|
xxx_messageInfo_SendTransaction.DiscardUnknown(m)
|
||||||
|
}
|
||||||
|
|
||||||
|
var xxx_messageInfo_SendTransaction proto.InternalMessageInfo
|
||||||
|
|
||||||
|
func (m *SendTransaction) GetClock() uint64 {
|
||||||
|
if m != nil {
|
||||||
|
return m.Clock
|
||||||
}
|
}
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *SendTransaction) GetId() string {
|
func (m *SendTransaction) GetId() string {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.Id
|
return m.Id
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *SendTransaction) GetTransactionHash() string {
|
func (m *SendTransaction) GetTransactionHash() string {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.TransactionHash
|
return m.TransactionHash
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *SendTransaction) GetSignature() []byte {
|
func (m *SendTransaction) GetSignature() []byte {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.Signature
|
return m.Signature
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *SendTransaction) GetChatId() string {
|
func (m *SendTransaction) GetChatId() string {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.ChatId
|
return m.ChatId
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
var File_command_proto protoreflect.FileDescriptor
|
func init() {
|
||||||
|
proto.RegisterType((*RequestAddressForTransaction)(nil), "protobuf.RequestAddressForTransaction")
|
||||||
var file_command_proto_rawDesc = []byte{
|
proto.RegisterType((*AcceptRequestAddressForTransaction)(nil), "protobuf.AcceptRequestAddressForTransaction")
|
||||||
0x0a, 0x0d, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
|
proto.RegisterType((*DeclineRequestAddressForTransaction)(nil), "protobuf.DeclineRequestAddressForTransaction")
|
||||||
0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x22, 0x7f, 0x0a, 0x1c, 0x52, 0x65, 0x71,
|
proto.RegisterType((*DeclineRequestTransaction)(nil), "protobuf.DeclineRequestTransaction")
|
||||||
0x75, 0x65, 0x73, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x46, 0x6f, 0x72, 0x54, 0x72,
|
proto.RegisterType((*RequestTransaction)(nil), "protobuf.RequestTransaction")
|
||||||
0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x6f,
|
proto.RegisterType((*SendTransaction)(nil), "protobuf.SendTransaction")
|
||||||
0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x12,
|
|
||||||
0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
|
|
||||||
0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63,
|
|
||||||
0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63,
|
|
||||||
0x74, 0x12, 0x17, 0x0a, 0x07, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01,
|
|
||||||
0x28, 0x09, 0x52, 0x06, 0x63, 0x68, 0x61, 0x74, 0x49, 0x64, 0x22, 0x7d, 0x0a, 0x22, 0x41, 0x63,
|
|
||||||
0x63, 0x65, 0x70, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65,
|
|
||||||
0x73, 0x73, 0x46, 0x6f, 0x72, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e,
|
|
||||||
0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52,
|
|
||||||
0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01,
|
|
||||||
0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73,
|
|
||||||
0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73,
|
|
||||||
0x12, 0x17, 0x0a, 0x07, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28,
|
|
||||||
0x09, 0x52, 0x06, 0x63, 0x68, 0x61, 0x74, 0x49, 0x64, 0x22, 0x64, 0x0a, 0x23, 0x44, 0x65, 0x63,
|
|
||||||
0x6c, 0x69, 0x6e, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65,
|
|
||||||
0x73, 0x73, 0x46, 0x6f, 0x72, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e,
|
|
||||||
0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52,
|
|
||||||
0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01,
|
|
||||||
0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x69,
|
|
||||||
0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x63, 0x68, 0x61, 0x74, 0x49, 0x64, 0x22,
|
|
||||||
0x5a, 0x0a, 0x19, 0x44, 0x65, 0x63, 0x6c, 0x69, 0x6e, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
||||||
0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05,
|
|
||||||
0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, 0x6c, 0x6f,
|
|
||||||
0x63, 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02,
|
|
||||||
0x69, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20,
|
|
||||||
0x01, 0x28, 0x09, 0x52, 0x06, 0x63, 0x68, 0x61, 0x74, 0x49, 0x64, 0x22, 0x8f, 0x01, 0x0a, 0x12,
|
|
||||||
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69,
|
|
||||||
0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
||||||
0x04, 0x52, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72,
|
|
||||||
0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65,
|
|
||||||
0x73, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
|
|
||||||
0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x6f, 0x6e, 0x74,
|
|
||||||
0x72, 0x61, 0x63, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x74,
|
|
||||||
0x72, 0x61, 0x63, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x69, 0x64, 0x18,
|
|
||||||
0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x63, 0x68, 0x61, 0x74, 0x49, 0x64, 0x22, 0x99, 0x01,
|
|
||||||
0x0a, 0x0f, 0x53, 0x65, 0x6e, 0x64, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f,
|
|
||||||
0x6e, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04,
|
|
||||||
0x52, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20,
|
|
||||||
0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x29, 0x0a, 0x10, 0x74, 0x72, 0x61, 0x6e, 0x73,
|
|
||||||
0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28,
|
|
||||||
0x09, 0x52, 0x0f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x61,
|
|
||||||
0x73, 0x68, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18,
|
|
||||||
0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65,
|
|
||||||
0x12, 0x17, 0x0a, 0x07, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28,
|
|
||||||
0x09, 0x52, 0x06, 0x63, 0x68, 0x61, 0x74, 0x49, 0x64, 0x42, 0x0d, 0x5a, 0x0b, 0x2e, 0x2f, 0x3b,
|
|
||||||
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
var (
|
func init() {
|
||||||
file_command_proto_rawDescOnce sync.Once
|
proto.RegisterFile("command.proto", fileDescriptor_213c0bb044472049)
|
||||||
file_command_proto_rawDescData = file_command_proto_rawDesc
|
|
||||||
)
|
|
||||||
|
|
||||||
func file_command_proto_rawDescGZIP() []byte {
|
|
||||||
file_command_proto_rawDescOnce.Do(func() {
|
|
||||||
file_command_proto_rawDescData = protoimpl.X.CompressGZIP(file_command_proto_rawDescData)
|
|
||||||
})
|
|
||||||
return file_command_proto_rawDescData
|
|
||||||
}
|
}
|
||||||
|
|
||||||
var file_command_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
|
var fileDescriptor_213c0bb044472049 = []byte{
|
||||||
var file_command_proto_goTypes = []interface{}{
|
// 301 bytes of a gzipped FileDescriptorProto
|
||||||
(*RequestAddressForTransaction)(nil), // 0: protobuf.RequestAddressForTransaction
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x92, 0x3d, 0x4f, 0xf3, 0x30,
|
||||||
(*AcceptRequestAddressForTransaction)(nil), // 1: protobuf.AcceptRequestAddressForTransaction
|
0x10, 0xc7, 0x95, 0x97, 0xbe, 0xdd, 0xf3, 0x94, 0x22, 0x0b, 0x89, 0x80, 0x3a, 0x54, 0x61, 0x29,
|
||||||
(*DeclineRequestAddressForTransaction)(nil), // 2: protobuf.DeclineRequestAddressForTransaction
|
0x4b, 0x19, 0x18, 0x99, 0x8a, 0x10, 0x82, 0x35, 0x30, 0x75, 0xa9, 0xdc, 0xb3, 0x21, 0x16, 0xa9,
|
||||||
(*DeclineRequestTransaction)(nil), // 3: protobuf.DeclineRequestTransaction
|
0x5d, 0x6c, 0x87, 0x0d, 0xf1, 0x11, 0x98, 0xf9, 0xb6, 0xa8, 0x4e, 0xda, 0x26, 0x43, 0x24, 0x40,
|
||||||
(*RequestTransaction)(nil), // 4: protobuf.RequestTransaction
|
0x9d, 0xec, 0xff, 0x9d, 0xee, 0xfe, 0x3f, 0xdf, 0x19, 0xfa, 0xa8, 0x96, 0x4b, 0x2a, 0xd9, 0x64,
|
||||||
(*SendTransaction)(nil), // 5: protobuf.SendTransaction
|
0xa5, 0x95, 0x55, 0xa4, 0xeb, 0x8e, 0x45, 0xfe, 0x14, 0x7f, 0xc0, 0x30, 0xe1, 0xaf, 0x39, 0x37,
|
||||||
}
|
0x76, 0xca, 0x98, 0xe6, 0xc6, 0xdc, 0x2a, 0xfd, 0xa8, 0xa9, 0x34, 0x14, 0xad, 0x50, 0x92, 0x1c,
|
||||||
var file_command_proto_depIdxs = []int32{
|
0x41, 0x0b, 0x33, 0x85, 0x2f, 0x91, 0x37, 0xf2, 0xc6, 0x61, 0x52, 0x88, 0x75, 0xf4, 0x8d, 0x66,
|
||||||
0, // [0:0] is the sub-list for method output_type
|
0x39, 0x8f, 0xfc, 0x91, 0x37, 0xee, 0x25, 0x85, 0x20, 0xa7, 0xd0, 0x45, 0x25, 0xad, 0xa6, 0x68,
|
||||||
0, // [0:0] is the sub-list for method input_type
|
0xa3, 0xc0, 0x25, 0xb6, 0x9a, 0x1c, 0x43, 0x07, 0x53, 0x6a, 0xe7, 0x82, 0x45, 0xa1, 0x4b, 0xb5,
|
||||||
0, // [0:0] is the sub-list for extension type_name
|
0xd7, 0xf2, 0x9e, 0xc5, 0xef, 0x10, 0x4f, 0x11, 0xf9, 0xca, 0xfe, 0x01, 0xe3, 0x00, 0x7c, 0xc1,
|
||||||
0, // [0:0] is the sub-list for extension extendee
|
0x4a, 0x06, 0x5f, 0x30, 0x12, 0x41, 0x87, 0x16, 0xe5, 0xa5, 0xff, 0x46, 0x36, 0xdb, 0x33, 0x38,
|
||||||
0, // [0:0] is the sub-list for field type_name
|
0xbb, 0xe1, 0x98, 0x09, 0xc9, 0xf7, 0xe0, 0x5f, 0x71, 0x09, 0x6a, 0x2e, 0x33, 0x38, 0xa9, 0xbb,
|
||||||
}
|
0xec, 0xb1, 0xf7, 0xa7, 0x07, 0xe4, 0xc7, 0x5d, 0x2b, 0x13, 0xf2, 0xeb, 0x13, 0xda, 0xae, 0x34,
|
||||||
|
0x68, 0x5a, 0x69, 0xd8, 0xbc, 0xd2, 0x56, 0x8d, 0xe8, 0xcb, 0x83, 0xc1, 0x03, 0x97, 0xec, 0xf7,
|
||||||
func init() { file_command_proto_init() }
|
0x8f, 0x3c, 0x87, 0x43, 0xbb, 0x2b, 0x9a, 0xa7, 0xd4, 0xa4, 0x25, 0xcf, 0xa0, 0x12, 0xbf, 0xa3,
|
||||||
func file_command_proto_init() {
|
0x26, 0x25, 0x43, 0xe8, 0x19, 0xf1, 0x2c, 0xa9, 0xcd, 0x35, 0x77, 0x68, 0xff, 0x93, 0x5d, 0xa0,
|
||||||
if File_command_proto != nil {
|
0x91, 0xed, 0xba, 0x3f, 0xfb, 0x37, 0xb9, 0xb8, 0xda, 0x7c, 0xff, 0x45, 0xdb, 0xdd, 0x2e, 0xbf,
|
||||||
return
|
0x03, 0x00, 0x00, 0xff, 0xff, 0x88, 0x09, 0x02, 0x5a, 0x20, 0x03, 0x00, 0x00,
|
||||||
}
|
|
||||||
if !protoimpl.UnsafeEnabled {
|
|
||||||
file_command_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
||||||
switch v := v.(*RequestAddressForTransaction); i {
|
|
||||||
case 0:
|
|
||||||
return &v.state
|
|
||||||
case 1:
|
|
||||||
return &v.sizeCache
|
|
||||||
case 2:
|
|
||||||
return &v.unknownFields
|
|
||||||
default:
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
}
|
|
||||||
file_command_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
||||||
switch v := v.(*AcceptRequestAddressForTransaction); i {
|
|
||||||
case 0:
|
|
||||||
return &v.state
|
|
||||||
case 1:
|
|
||||||
return &v.sizeCache
|
|
||||||
case 2:
|
|
||||||
return &v.unknownFields
|
|
||||||
default:
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
}
|
|
||||||
file_command_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
||||||
switch v := v.(*DeclineRequestAddressForTransaction); i {
|
|
||||||
case 0:
|
|
||||||
return &v.state
|
|
||||||
case 1:
|
|
||||||
return &v.sizeCache
|
|
||||||
case 2:
|
|
||||||
return &v.unknownFields
|
|
||||||
default:
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
}
|
|
||||||
file_command_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
||||||
switch v := v.(*DeclineRequestTransaction); i {
|
|
||||||
case 0:
|
|
||||||
return &v.state
|
|
||||||
case 1:
|
|
||||||
return &v.sizeCache
|
|
||||||
case 2:
|
|
||||||
return &v.unknownFields
|
|
||||||
default:
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
}
|
|
||||||
file_command_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
||||||
switch v := v.(*RequestTransaction); i {
|
|
||||||
case 0:
|
|
||||||
return &v.state
|
|
||||||
case 1:
|
|
||||||
return &v.sizeCache
|
|
||||||
case 2:
|
|
||||||
return &v.unknownFields
|
|
||||||
default:
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
}
|
|
||||||
file_command_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
||||||
switch v := v.(*SendTransaction); i {
|
|
||||||
case 0:
|
|
||||||
return &v.state
|
|
||||||
case 1:
|
|
||||||
return &v.sizeCache
|
|
||||||
case 2:
|
|
||||||
return &v.unknownFields
|
|
||||||
default:
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
type x struct{}
|
|
||||||
out := protoimpl.TypeBuilder{
|
|
||||||
File: protoimpl.DescBuilder{
|
|
||||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
||||||
RawDescriptor: file_command_proto_rawDesc,
|
|
||||||
NumEnums: 0,
|
|
||||||
NumMessages: 6,
|
|
||||||
NumExtensions: 0,
|
|
||||||
NumServices: 0,
|
|
||||||
},
|
|
||||||
GoTypes: file_command_proto_goTypes,
|
|
||||||
DependencyIndexes: file_command_proto_depIdxs,
|
|
||||||
MessageInfos: file_command_proto_msgTypes,
|
|
||||||
}.Build()
|
|
||||||
File_command_proto = out.File
|
|
||||||
file_command_proto_rawDesc = nil
|
|
||||||
file_command_proto_goTypes = nil
|
|
||||||
file_command_proto_depIdxs = nil
|
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,24 +1,24 @@
|
||||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||||
// versions:
|
|
||||||
// protoc-gen-go v1.29.1
|
|
||||||
// protoc v3.20.3
|
|
||||||
// source: community_privileged_user_sync_message.proto
|
// source: community_privileged_user_sync_message.proto
|
||||||
|
|
||||||
package protobuf
|
package protobuf
|
||||||
|
|
||||||
import (
|
import (
|
||||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
fmt "fmt"
|
||||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
proto "github.com/golang/protobuf/proto"
|
||||||
reflect "reflect"
|
math "math"
|
||||||
sync "sync"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
// Reference imports to suppress errors if they are not otherwise used.
|
||||||
// Verify that this generated code is sufficiently up-to-date.
|
var _ = proto.Marshal
|
||||||
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
var _ = fmt.Errorf
|
||||||
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
var _ = math.Inf
|
||||||
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
||||||
)
|
// This is a compile-time assertion to ensure that this generated file
|
||||||
|
// is compatible with the proto package it is being compiled against.
|
||||||
|
// A compilation error at this line likely means your copy of the
|
||||||
|
// proto package needs to be updated.
|
||||||
|
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
|
||||||
|
|
||||||
type CommunityPrivilegedUserSyncMessage_EventType int32
|
type CommunityPrivilegedUserSyncMessage_EventType int32
|
||||||
|
|
||||||
|
@ -29,250 +29,135 @@ const (
|
||||||
CommunityPrivilegedUserSyncMessage_CONTROL_NODE_ALL_SYNC_REQUESTS_TO_JOIN CommunityPrivilegedUserSyncMessage_EventType = 3
|
CommunityPrivilegedUserSyncMessage_CONTROL_NODE_ALL_SYNC_REQUESTS_TO_JOIN CommunityPrivilegedUserSyncMessage_EventType = 3
|
||||||
)
|
)
|
||||||
|
|
||||||
// Enum value maps for CommunityPrivilegedUserSyncMessage_EventType.
|
var CommunityPrivilegedUserSyncMessage_EventType_name = map[int32]string{
|
||||||
var (
|
0: "UNKNOWN",
|
||||||
CommunityPrivilegedUserSyncMessage_EventType_name = map[int32]string{
|
1: "CONTROL_NODE_ACCEPT_REQUEST_TO_JOIN",
|
||||||
0: "UNKNOWN",
|
2: "CONTROL_NODE_REJECT_REQUEST_TO_JOIN",
|
||||||
1: "CONTROL_NODE_ACCEPT_REQUEST_TO_JOIN",
|
3: "CONTROL_NODE_ALL_SYNC_REQUESTS_TO_JOIN",
|
||||||
2: "CONTROL_NODE_REJECT_REQUEST_TO_JOIN",
|
}
|
||||||
3: "CONTROL_NODE_ALL_SYNC_REQUESTS_TO_JOIN",
|
|
||||||
}
|
|
||||||
CommunityPrivilegedUserSyncMessage_EventType_value = map[string]int32{
|
|
||||||
"UNKNOWN": 0,
|
|
||||||
"CONTROL_NODE_ACCEPT_REQUEST_TO_JOIN": 1,
|
|
||||||
"CONTROL_NODE_REJECT_REQUEST_TO_JOIN": 2,
|
|
||||||
"CONTROL_NODE_ALL_SYNC_REQUESTS_TO_JOIN": 3,
|
|
||||||
}
|
|
||||||
)
|
|
||||||
|
|
||||||
func (x CommunityPrivilegedUserSyncMessage_EventType) Enum() *CommunityPrivilegedUserSyncMessage_EventType {
|
var CommunityPrivilegedUserSyncMessage_EventType_value = map[string]int32{
|
||||||
p := new(CommunityPrivilegedUserSyncMessage_EventType)
|
"UNKNOWN": 0,
|
||||||
*p = x
|
"CONTROL_NODE_ACCEPT_REQUEST_TO_JOIN": 1,
|
||||||
return p
|
"CONTROL_NODE_REJECT_REQUEST_TO_JOIN": 2,
|
||||||
|
"CONTROL_NODE_ALL_SYNC_REQUESTS_TO_JOIN": 3,
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x CommunityPrivilegedUserSyncMessage_EventType) String() string {
|
func (x CommunityPrivilegedUserSyncMessage_EventType) String() string {
|
||||||
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
return proto.EnumName(CommunityPrivilegedUserSyncMessage_EventType_name, int32(x))
|
||||||
}
|
}
|
||||||
|
|
||||||
func (CommunityPrivilegedUserSyncMessage_EventType) Descriptor() protoreflect.EnumDescriptor {
|
|
||||||
return file_community_privileged_user_sync_message_proto_enumTypes[0].Descriptor()
|
|
||||||
}
|
|
||||||
|
|
||||||
func (CommunityPrivilegedUserSyncMessage_EventType) Type() protoreflect.EnumType {
|
|
||||||
return &file_community_privileged_user_sync_message_proto_enumTypes[0]
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x CommunityPrivilegedUserSyncMessage_EventType) Number() protoreflect.EnumNumber {
|
|
||||||
return protoreflect.EnumNumber(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
// Deprecated: Use CommunityPrivilegedUserSyncMessage_EventType.Descriptor instead.
|
|
||||||
func (CommunityPrivilegedUserSyncMessage_EventType) EnumDescriptor() ([]byte, []int) {
|
func (CommunityPrivilegedUserSyncMessage_EventType) EnumDescriptor() ([]byte, []int) {
|
||||||
return file_community_privileged_user_sync_message_proto_rawDescGZIP(), []int{0, 0}
|
return fileDescriptor_158595055b4cfee2, []int{0, 0}
|
||||||
}
|
}
|
||||||
|
|
||||||
type CommunityPrivilegedUserSyncMessage struct {
|
type CommunityPrivilegedUserSyncMessage struct {
|
||||||
state protoimpl.MessageState
|
Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"`
|
||||||
sizeCache protoimpl.SizeCache
|
Type CommunityPrivilegedUserSyncMessage_EventType `protobuf:"varint,2,opt,name=type,proto3,enum=protobuf.CommunityPrivilegedUserSyncMessage_EventType" json:"type,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
CommunityId []byte `protobuf:"bytes,3,opt,name=community_id,json=communityId,proto3" json:"community_id,omitempty"`
|
||||||
|
RequestToJoin map[string]*CommunityRequestToJoin `protobuf:"bytes,4,rep,name=request_to_join,json=requestToJoin,proto3" json:"request_to_join,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
||||||
Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"`
|
SyncRequestsToJoin []*SyncCommunityRequestsToJoin `protobuf:"bytes,5,rep,name=sync_requests_to_join,json=syncRequestsToJoin,proto3" json:"sync_requests_to_join,omitempty"`
|
||||||
Type CommunityPrivilegedUserSyncMessage_EventType `protobuf:"varint,2,opt,name=type,proto3,enum=protobuf.CommunityPrivilegedUserSyncMessage_EventType" json:"type,omitempty"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
CommunityId []byte `protobuf:"bytes,3,opt,name=community_id,json=communityId,proto3" json:"community_id,omitempty"`
|
XXX_unrecognized []byte `json:"-"`
|
||||||
RequestToJoin map[string]*CommunityRequestToJoin `protobuf:"bytes,4,rep,name=request_to_join,json=requestToJoin,proto3" json:"request_to_join,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
XXX_sizecache int32 `json:"-"`
|
||||||
SyncRequestsToJoin []*SyncCommunityRequestsToJoin `protobuf:"bytes,5,rep,name=sync_requests_to_join,json=syncRequestsToJoin,proto3" json:"sync_requests_to_join,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *CommunityPrivilegedUserSyncMessage) Reset() {
|
func (m *CommunityPrivilegedUserSyncMessage) Reset() { *m = CommunityPrivilegedUserSyncMessage{} }
|
||||||
*x = CommunityPrivilegedUserSyncMessage{}
|
func (m *CommunityPrivilegedUserSyncMessage) String() string { return proto.CompactTextString(m) }
|
||||||
if protoimpl.UnsafeEnabled {
|
func (*CommunityPrivilegedUserSyncMessage) ProtoMessage() {}
|
||||||
mi := &file_community_privileged_user_sync_message_proto_msgTypes[0]
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *CommunityPrivilegedUserSyncMessage) String() string {
|
|
||||||
return protoimpl.X.MessageStringOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (*CommunityPrivilegedUserSyncMessage) ProtoMessage() {}
|
|
||||||
|
|
||||||
func (x *CommunityPrivilegedUserSyncMessage) ProtoReflect() protoreflect.Message {
|
|
||||||
mi := &file_community_privileged_user_sync_message_proto_msgTypes[0]
|
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
if ms.LoadMessageInfo() == nil {
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
return ms
|
|
||||||
}
|
|
||||||
return mi.MessageOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
// Deprecated: Use CommunityPrivilegedUserSyncMessage.ProtoReflect.Descriptor instead.
|
|
||||||
func (*CommunityPrivilegedUserSyncMessage) Descriptor() ([]byte, []int) {
|
func (*CommunityPrivilegedUserSyncMessage) Descriptor() ([]byte, []int) {
|
||||||
return file_community_privileged_user_sync_message_proto_rawDescGZIP(), []int{0}
|
return fileDescriptor_158595055b4cfee2, []int{0}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *CommunityPrivilegedUserSyncMessage) GetClock() uint64 {
|
func (m *CommunityPrivilegedUserSyncMessage) XXX_Unmarshal(b []byte) error {
|
||||||
if x != nil {
|
return xxx_messageInfo_CommunityPrivilegedUserSyncMessage.Unmarshal(m, b)
|
||||||
return x.Clock
|
}
|
||||||
|
func (m *CommunityPrivilegedUserSyncMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||||
|
return xxx_messageInfo_CommunityPrivilegedUserSyncMessage.Marshal(b, m, deterministic)
|
||||||
|
}
|
||||||
|
func (m *CommunityPrivilegedUserSyncMessage) XXX_Merge(src proto.Message) {
|
||||||
|
xxx_messageInfo_CommunityPrivilegedUserSyncMessage.Merge(m, src)
|
||||||
|
}
|
||||||
|
func (m *CommunityPrivilegedUserSyncMessage) XXX_Size() int {
|
||||||
|
return xxx_messageInfo_CommunityPrivilegedUserSyncMessage.Size(m)
|
||||||
|
}
|
||||||
|
func (m *CommunityPrivilegedUserSyncMessage) XXX_DiscardUnknown() {
|
||||||
|
xxx_messageInfo_CommunityPrivilegedUserSyncMessage.DiscardUnknown(m)
|
||||||
|
}
|
||||||
|
|
||||||
|
var xxx_messageInfo_CommunityPrivilegedUserSyncMessage proto.InternalMessageInfo
|
||||||
|
|
||||||
|
func (m *CommunityPrivilegedUserSyncMessage) GetClock() uint64 {
|
||||||
|
if m != nil {
|
||||||
|
return m.Clock
|
||||||
}
|
}
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *CommunityPrivilegedUserSyncMessage) GetType() CommunityPrivilegedUserSyncMessage_EventType {
|
func (m *CommunityPrivilegedUserSyncMessage) GetType() CommunityPrivilegedUserSyncMessage_EventType {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.Type
|
return m.Type
|
||||||
}
|
}
|
||||||
return CommunityPrivilegedUserSyncMessage_UNKNOWN
|
return CommunityPrivilegedUserSyncMessage_UNKNOWN
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *CommunityPrivilegedUserSyncMessage) GetCommunityId() []byte {
|
func (m *CommunityPrivilegedUserSyncMessage) GetCommunityId() []byte {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.CommunityId
|
return m.CommunityId
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *CommunityPrivilegedUserSyncMessage) GetRequestToJoin() map[string]*CommunityRequestToJoin {
|
func (m *CommunityPrivilegedUserSyncMessage) GetRequestToJoin() map[string]*CommunityRequestToJoin {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.RequestToJoin
|
return m.RequestToJoin
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *CommunityPrivilegedUserSyncMessage) GetSyncRequestsToJoin() []*SyncCommunityRequestsToJoin {
|
func (m *CommunityPrivilegedUserSyncMessage) GetSyncRequestsToJoin() []*SyncCommunityRequestsToJoin {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.SyncRequestsToJoin
|
return m.SyncRequestsToJoin
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
var File_community_privileged_user_sync_message_proto protoreflect.FileDescriptor
|
func init() {
|
||||||
|
proto.RegisterEnum("protobuf.CommunityPrivilegedUserSyncMessage_EventType", CommunityPrivilegedUserSyncMessage_EventType_name, CommunityPrivilegedUserSyncMessage_EventType_value)
|
||||||
var file_community_privileged_user_sync_message_proto_rawDesc = []byte{
|
proto.RegisterType((*CommunityPrivilegedUserSyncMessage)(nil), "protobuf.CommunityPrivilegedUserSyncMessage")
|
||||||
0x0a, 0x2c, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x5f, 0x70, 0x72, 0x69, 0x76,
|
proto.RegisterMapType((map[string]*CommunityRequestToJoin)(nil), "protobuf.CommunityPrivilegedUserSyncMessage.RequestToJoinEntry")
|
||||||
0x69, 0x6c, 0x65, 0x67, 0x65, 0x64, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x79, 0x6e, 0x63,
|
|
||||||
0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08,
|
|
||||||
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x1a, 0x11, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e,
|
|
||||||
0x69, 0x74, 0x69, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0d, 0x70, 0x61, 0x69,
|
|
||||||
0x72, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe9, 0x04, 0x0a, 0x22, 0x43,
|
|
||||||
0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67,
|
|
||||||
0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x53, 0x79, 0x6e, 0x63, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
|
|
||||||
0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04,
|
|
||||||
0x52, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x4a, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18,
|
|
||||||
0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x36, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
|
|
||||||
0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c,
|
|
||||||
0x65, 0x67, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x53, 0x79, 0x6e, 0x63, 0x4d, 0x65, 0x73, 0x73,
|
|
||||||
0x61, 0x67, 0x65, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74,
|
|
||||||
0x79, 0x70, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79,
|
|
||||||
0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x63, 0x6f, 0x6d, 0x6d, 0x75,
|
|
||||||
0x6e, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x67, 0x0a, 0x0f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
||||||
0x74, 0x5f, 0x74, 0x6f, 0x5f, 0x6a, 0x6f, 0x69, 0x6e, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32,
|
|
||||||
0x3f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x75,
|
|
||||||
0x6e, 0x69, 0x74, 0x79, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x64, 0x55, 0x73,
|
|
||||||
0x65, 0x72, 0x53, 0x79, 0x6e, 0x63, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x52, 0x65,
|
|
||||||
0x71, 0x75, 0x65, 0x73, 0x74, 0x54, 0x6f, 0x4a, 0x6f, 0x69, 0x6e, 0x45, 0x6e, 0x74, 0x72, 0x79,
|
|
||||||
0x52, 0x0d, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x54, 0x6f, 0x4a, 0x6f, 0x69, 0x6e, 0x12,
|
|
||||||
0x58, 0x0a, 0x15, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73,
|
|
||||||
0x5f, 0x74, 0x6f, 0x5f, 0x6a, 0x6f, 0x69, 0x6e, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25,
|
|
||||||
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x79, 0x6e, 0x63, 0x43, 0x6f,
|
|
||||||
0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x54,
|
|
||||||
0x6f, 0x4a, 0x6f, 0x69, 0x6e, 0x52, 0x12, 0x73, 0x79, 0x6e, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
||||||
0x73, 0x74, 0x73, 0x54, 0x6f, 0x4a, 0x6f, 0x69, 0x6e, 0x1a, 0x62, 0x0a, 0x12, 0x52, 0x65, 0x71,
|
|
||||||
0x75, 0x65, 0x73, 0x74, 0x54, 0x6f, 0x4a, 0x6f, 0x69, 0x6e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12,
|
|
||||||
0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65,
|
|
||||||
0x79, 0x12, 0x36, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
|
|
||||||
0x32, 0x20, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x43, 0x6f, 0x6d, 0x6d,
|
|
||||||
0x75, 0x6e, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x54, 0x6f, 0x4a, 0x6f,
|
|
||||||
0x69, 0x6e, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x96, 0x01,
|
|
||||||
0x0a, 0x09, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55,
|
|
||||||
0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x27, 0x0a, 0x23, 0x43, 0x4f, 0x4e, 0x54,
|
|
||||||
0x52, 0x4f, 0x4c, 0x5f, 0x4e, 0x4f, 0x44, 0x45, 0x5f, 0x41, 0x43, 0x43, 0x45, 0x50, 0x54, 0x5f,
|
|
||||||
0x52, 0x45, 0x51, 0x55, 0x45, 0x53, 0x54, 0x5f, 0x54, 0x4f, 0x5f, 0x4a, 0x4f, 0x49, 0x4e, 0x10,
|
|
||||||
0x01, 0x12, 0x27, 0x0a, 0x23, 0x43, 0x4f, 0x4e, 0x54, 0x52, 0x4f, 0x4c, 0x5f, 0x4e, 0x4f, 0x44,
|
|
||||||
0x45, 0x5f, 0x52, 0x45, 0x4a, 0x45, 0x43, 0x54, 0x5f, 0x52, 0x45, 0x51, 0x55, 0x45, 0x53, 0x54,
|
|
||||||
0x5f, 0x54, 0x4f, 0x5f, 0x4a, 0x4f, 0x49, 0x4e, 0x10, 0x02, 0x12, 0x2a, 0x0a, 0x26, 0x43, 0x4f,
|
|
||||||
0x4e, 0x54, 0x52, 0x4f, 0x4c, 0x5f, 0x4e, 0x4f, 0x44, 0x45, 0x5f, 0x41, 0x4c, 0x4c, 0x5f, 0x53,
|
|
||||||
0x59, 0x4e, 0x43, 0x5f, 0x52, 0x45, 0x51, 0x55, 0x45, 0x53, 0x54, 0x53, 0x5f, 0x54, 0x4f, 0x5f,
|
|
||||||
0x4a, 0x4f, 0x49, 0x4e, 0x10, 0x03, 0x42, 0x0d, 0x5a, 0x0b, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f,
|
|
||||||
0x74, 0x6f, 0x62, 0x75, 0x66, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
var (
|
func init() {
|
||||||
file_community_privileged_user_sync_message_proto_rawDescOnce sync.Once
|
proto.RegisterFile("community_privileged_user_sync_message.proto", fileDescriptor_158595055b4cfee2)
|
||||||
file_community_privileged_user_sync_message_proto_rawDescData = file_community_privileged_user_sync_message_proto_rawDesc
|
|
||||||
)
|
|
||||||
|
|
||||||
func file_community_privileged_user_sync_message_proto_rawDescGZIP() []byte {
|
|
||||||
file_community_privileged_user_sync_message_proto_rawDescOnce.Do(func() {
|
|
||||||
file_community_privileged_user_sync_message_proto_rawDescData = protoimpl.X.CompressGZIP(file_community_privileged_user_sync_message_proto_rawDescData)
|
|
||||||
})
|
|
||||||
return file_community_privileged_user_sync_message_proto_rawDescData
|
|
||||||
}
|
}
|
||||||
|
|
||||||
var file_community_privileged_user_sync_message_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
var fileDescriptor_158595055b4cfee2 = []byte{
|
||||||
var file_community_privileged_user_sync_message_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
|
// 407 bytes of a gzipped FileDescriptorProto
|
||||||
var file_community_privileged_user_sync_message_proto_goTypes = []interface{}{
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x90, 0x5f, 0xab, 0xd3, 0x30,
|
||||||
(CommunityPrivilegedUserSyncMessage_EventType)(0), // 0: protobuf.CommunityPrivilegedUserSyncMessage.EventType
|
0x18, 0xc6, 0xed, 0xda, 0xa9, 0x27, 0x3d, 0xd3, 0x19, 0x14, 0xca, 0xae, 0xea, 0x44, 0x2d, 0x22,
|
||||||
(*CommunityPrivilegedUserSyncMessage)(nil), // 1: protobuf.CommunityPrivilegedUserSyncMessage
|
0x15, 0x26, 0x1c, 0x44, 0x2f, 0x44, 0x6b, 0x2e, 0x4e, 0x9d, 0xed, 0x31, 0xed, 0xf0, 0xcf, 0x4d,
|
||||||
nil, // 2: protobuf.CommunityPrivilegedUserSyncMessage.RequestToJoinEntry
|
0xd8, 0xba, 0x58, 0xe2, 0xb6, 0xa4, 0x26, 0xed, 0xa0, 0x5f, 0xc4, 0xef, 0xe8, 0xb7, 0x90, 0x35,
|
||||||
(*SyncCommunityRequestsToJoin)(nil), // 3: protobuf.SyncCommunityRequestsToJoin
|
0x6b, 0xe7, 0x98, 0x20, 0x5e, 0xf5, 0x7d, 0x9f, 0x3e, 0xf9, 0x3d, 0xbc, 0x0f, 0x78, 0x9a, 0x89,
|
||||||
(*CommunityRequestToJoin)(nil), // 4: protobuf.CommunityRequestToJoin
|
0xcd, 0xa6, 0xe2, 0xac, 0xac, 0x49, 0x21, 0xd9, 0x96, 0xad, 0x69, 0x4e, 0x97, 0xa4, 0x52, 0x54,
|
||||||
}
|
0x12, 0x55, 0xf3, 0x8c, 0x6c, 0xa8, 0x52, 0xf3, 0x9c, 0xfa, 0x85, 0x14, 0xa5, 0x80, 0x37, 0x9b,
|
||||||
var file_community_privileged_user_sync_message_proto_depIdxs = []int32{
|
0xcf, 0xa2, 0xfa, 0x36, 0xba, 0xd3, 0xbe, 0x63, 0x54, 0xe9, 0x9f, 0xa3, 0x41, 0x31, 0x67, 0x92,
|
||||||
0, // 0: protobuf.CommunityPrivilegedUserSyncMessage.type:type_name -> protobuf.CommunityPrivilegedUserSyncMessage.EventType
|
0xf1, 0x5c, 0xaf, 0xe3, 0x5f, 0x16, 0x18, 0x07, 0x2d, 0xfc, 0xaa, 0x63, 0xcf, 0x14, 0x95, 0x49,
|
||||||
2, // 1: protobuf.CommunityPrivilegedUserSyncMessage.request_to_join:type_name -> protobuf.CommunityPrivilegedUserSyncMessage.RequestToJoinEntry
|
0xcd, 0xb3, 0x0f, 0x1a, 0x0c, 0xef, 0x82, 0x7e, 0xb6, 0x16, 0xd9, 0xca, 0x31, 0x5c, 0xc3, 0xb3,
|
||||||
3, // 2: protobuf.CommunityPrivilegedUserSyncMessage.sync_requests_to_join:type_name -> protobuf.SyncCommunityRequestsToJoin
|
0xb0, 0x5e, 0x60, 0x08, 0xac, 0xb2, 0x2e, 0xa8, 0xd3, 0x73, 0x0d, 0xef, 0xd6, 0xe4, 0xc2, 0x6f,
|
||||||
4, // 3: protobuf.CommunityPrivilegedUserSyncMessage.RequestToJoinEntry.value:type_name -> protobuf.CommunityRequestToJoin
|
0x73, 0xfd, 0x7f, 0x13, 0x7d, 0xb4, 0xa5, 0xbc, 0x4c, 0xeb, 0x82, 0xe2, 0x86, 0x01, 0xef, 0x83,
|
||||||
4, // [4:4] is the sub-list for method output_type
|
0xf3, 0xc3, 0x91, 0x6c, 0xe9, 0x98, 0xae, 0xe1, 0x9d, 0x63, 0xbb, 0xd3, 0x2e, 0x97, 0x30, 0x07,
|
||||||
4, // [4:4] is the sub-list for method input_type
|
0xb7, 0x25, 0xfd, 0x51, 0x51, 0x55, 0x92, 0x52, 0x90, 0xef, 0x82, 0x71, 0xc7, 0x72, 0x4d, 0xcf,
|
||||||
4, // [4:4] is the sub-list for extension type_name
|
0x9e, 0xbc, 0xfe, 0xaf, 0x64, 0xac, 0x19, 0xa9, 0x08, 0x05, 0xe3, 0x88, 0x97, 0xb2, 0xc6, 0x03,
|
||||||
4, // [4:4] is the sub-list for extension extendee
|
0xf9, 0xa7, 0x06, 0x3f, 0x83, 0x7b, 0x4d, 0xad, 0x7b, 0x55, 0x75, 0x71, 0xfd, 0x26, 0xee, 0xe1,
|
||||||
0, // [0:4] is the sub-list for field type_name
|
0x21, 0x6e, 0xc7, 0xed, 0x22, 0xf7, 0x60, 0xa5, 0x29, 0x18, 0xee, 0x18, 0xc7, 0xda, 0x68, 0x01,
|
||||||
}
|
0xe0, 0x69, 0x3c, 0x1c, 0x02, 0x73, 0x45, 0xeb, 0xa6, 0xdb, 0x33, 0xbc, 0x1b, 0xe1, 0x05, 0xe8,
|
||||||
|
0x6f, 0xe7, 0xeb, 0x4a, 0x57, 0x6b, 0x4f, 0xdc, 0xbf, 0x1c, 0x78, 0xc4, 0xc1, 0xda, 0xfe, 0xb2,
|
||||||
func init() { file_community_privileged_user_sync_message_proto_init() }
|
0xf7, 0xc2, 0x18, 0xff, 0x34, 0xc0, 0x59, 0xd7, 0x2e, 0xb4, 0xc1, 0x8d, 0x59, 0xf4, 0x3e, 0x8a,
|
||||||
func file_community_privileged_user_sync_message_proto_init() {
|
0x3f, 0x45, 0xc3, 0x6b, 0xf0, 0x31, 0x78, 0x10, 0xc4, 0x51, 0x8a, 0xe3, 0x29, 0x89, 0xe2, 0x77,
|
||||||
if File_community_privileged_user_sync_message_proto != nil {
|
0x88, 0xbc, 0x09, 0x02, 0x74, 0x95, 0x12, 0x8c, 0x3e, 0xce, 0x50, 0x92, 0x92, 0x34, 0x26, 0x61,
|
||||||
return
|
0x7c, 0x19, 0x0d, 0x8d, 0x13, 0x23, 0x46, 0x21, 0x0a, 0x4e, 0x8d, 0x3d, 0xf8, 0x04, 0x3c, 0x3a,
|
||||||
}
|
0x26, 0x4e, 0xa7, 0x24, 0xf9, 0x12, 0x05, 0xad, 0x35, 0xe9, 0xbc, 0xe6, 0xdb, 0xc1, 0x57, 0xdb,
|
||||||
file_communities_proto_init()
|
0x7f, 0xf6, 0xaa, 0xbd, 0x64, 0x71, 0xbd, 0x99, 0x9e, 0xff, 0x0e, 0x00, 0x00, 0xff, 0xff, 0x83,
|
||||||
file_pairing_proto_init()
|
0x24, 0x18, 0xbe, 0xdd, 0x02, 0x00, 0x00,
|
||||||
if !protoimpl.UnsafeEnabled {
|
|
||||||
file_community_privileged_user_sync_message_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
||||||
switch v := v.(*CommunityPrivilegedUserSyncMessage); i {
|
|
||||||
case 0:
|
|
||||||
return &v.state
|
|
||||||
case 1:
|
|
||||||
return &v.sizeCache
|
|
||||||
case 2:
|
|
||||||
return &v.unknownFields
|
|
||||||
default:
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
type x struct{}
|
|
||||||
out := protoimpl.TypeBuilder{
|
|
||||||
File: protoimpl.DescBuilder{
|
|
||||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
||||||
RawDescriptor: file_community_privileged_user_sync_message_proto_rawDesc,
|
|
||||||
NumEnums: 1,
|
|
||||||
NumMessages: 2,
|
|
||||||
NumExtensions: 0,
|
|
||||||
NumServices: 0,
|
|
||||||
},
|
|
||||||
GoTypes: file_community_privileged_user_sync_message_proto_goTypes,
|
|
||||||
DependencyIndexes: file_community_privileged_user_sync_message_proto_depIdxs,
|
|
||||||
EnumInfos: file_community_privileged_user_sync_message_proto_enumTypes,
|
|
||||||
MessageInfos: file_community_privileged_user_sync_message_proto_msgTypes,
|
|
||||||
}.Build()
|
|
||||||
File_community_privileged_user_sync_message_proto = out.File
|
|
||||||
file_community_privileged_user_sync_message_proto_rawDesc = nil
|
|
||||||
file_community_privileged_user_sync_message_proto_goTypes = nil
|
|
||||||
file_community_privileged_user_sync_message_proto_depIdxs = nil
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,177 +1,107 @@
|
||||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||||
// versions:
|
|
||||||
// protoc-gen-go v1.29.1
|
|
||||||
// protoc v3.20.3
|
|
||||||
// source: community_shard_key.proto
|
// source: community_shard_key.proto
|
||||||
|
|
||||||
package protobuf
|
package protobuf
|
||||||
|
|
||||||
import (
|
import (
|
||||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
fmt "fmt"
|
||||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
proto "github.com/golang/protobuf/proto"
|
||||||
reflect "reflect"
|
math "math"
|
||||||
sync "sync"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
// Reference imports to suppress errors if they are not otherwise used.
|
||||||
// Verify that this generated code is sufficiently up-to-date.
|
var _ = proto.Marshal
|
||||||
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
var _ = fmt.Errorf
|
||||||
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
var _ = math.Inf
|
||||||
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
||||||
)
|
// This is a compile-time assertion to ensure that this generated file
|
||||||
|
// is compatible with the proto package it is being compiled against.
|
||||||
|
// A compilation error at this line likely means your copy of the
|
||||||
|
// proto package needs to be updated.
|
||||||
|
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
|
||||||
|
|
||||||
type CommunityShardKey struct {
|
type CommunityShardKey struct {
|
||||||
state protoimpl.MessageState
|
CommunityId []byte `protobuf:"bytes,1,opt,name=community_id,json=communityId,proto3" json:"community_id,omitempty"`
|
||||||
sizeCache protoimpl.SizeCache
|
PrivateKey []byte `protobuf:"bytes,2,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
Clock uint64 `protobuf:"varint,3,opt,name=clock,proto3" json:"clock,omitempty"`
|
||||||
|
Shard *Shard `protobuf:"bytes,4,opt,name=shard,proto3" json:"shard,omitempty"`
|
||||||
CommunityId []byte `protobuf:"bytes,1,opt,name=community_id,json=communityId,proto3" json:"community_id,omitempty"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
PrivateKey []byte `protobuf:"bytes,2,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"`
|
XXX_unrecognized []byte `json:"-"`
|
||||||
Clock uint64 `protobuf:"varint,3,opt,name=clock,proto3" json:"clock,omitempty"`
|
XXX_sizecache int32 `json:"-"`
|
||||||
Shard *Shard `protobuf:"bytes,4,opt,name=shard,proto3" json:"shard,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *CommunityShardKey) Reset() {
|
func (m *CommunityShardKey) Reset() { *m = CommunityShardKey{} }
|
||||||
*x = CommunityShardKey{}
|
func (m *CommunityShardKey) String() string { return proto.CompactTextString(m) }
|
||||||
if protoimpl.UnsafeEnabled {
|
func (*CommunityShardKey) ProtoMessage() {}
|
||||||
mi := &file_community_shard_key_proto_msgTypes[0]
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *CommunityShardKey) String() string {
|
|
||||||
return protoimpl.X.MessageStringOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (*CommunityShardKey) ProtoMessage() {}
|
|
||||||
|
|
||||||
func (x *CommunityShardKey) ProtoReflect() protoreflect.Message {
|
|
||||||
mi := &file_community_shard_key_proto_msgTypes[0]
|
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
if ms.LoadMessageInfo() == nil {
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
return ms
|
|
||||||
}
|
|
||||||
return mi.MessageOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
// Deprecated: Use CommunityShardKey.ProtoReflect.Descriptor instead.
|
|
||||||
func (*CommunityShardKey) Descriptor() ([]byte, []int) {
|
func (*CommunityShardKey) Descriptor() ([]byte, []int) {
|
||||||
return file_community_shard_key_proto_rawDescGZIP(), []int{0}
|
return fileDescriptor_03da8310cde9b7b2, []int{0}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *CommunityShardKey) GetCommunityId() []byte {
|
func (m *CommunityShardKey) XXX_Unmarshal(b []byte) error {
|
||||||
if x != nil {
|
return xxx_messageInfo_CommunityShardKey.Unmarshal(m, b)
|
||||||
return x.CommunityId
|
}
|
||||||
|
func (m *CommunityShardKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||||
|
return xxx_messageInfo_CommunityShardKey.Marshal(b, m, deterministic)
|
||||||
|
}
|
||||||
|
func (m *CommunityShardKey) XXX_Merge(src proto.Message) {
|
||||||
|
xxx_messageInfo_CommunityShardKey.Merge(m, src)
|
||||||
|
}
|
||||||
|
func (m *CommunityShardKey) XXX_Size() int {
|
||||||
|
return xxx_messageInfo_CommunityShardKey.Size(m)
|
||||||
|
}
|
||||||
|
func (m *CommunityShardKey) XXX_DiscardUnknown() {
|
||||||
|
xxx_messageInfo_CommunityShardKey.DiscardUnknown(m)
|
||||||
|
}
|
||||||
|
|
||||||
|
var xxx_messageInfo_CommunityShardKey proto.InternalMessageInfo
|
||||||
|
|
||||||
|
func (m *CommunityShardKey) GetCommunityId() []byte {
|
||||||
|
if m != nil {
|
||||||
|
return m.CommunityId
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *CommunityShardKey) GetPrivateKey() []byte {
|
func (m *CommunityShardKey) GetPrivateKey() []byte {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.PrivateKey
|
return m.PrivateKey
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *CommunityShardKey) GetClock() uint64 {
|
func (m *CommunityShardKey) GetClock() uint64 {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.Clock
|
return m.Clock
|
||||||
}
|
}
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *CommunityShardKey) GetShard() *Shard {
|
func (m *CommunityShardKey) GetShard() *Shard {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.Shard
|
return m.Shard
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
var File_community_shard_key_proto protoreflect.FileDescriptor
|
func init() {
|
||||||
|
proto.RegisterType((*CommunityShardKey)(nil), "protobuf.CommunityShardKey")
|
||||||
var file_community_shard_key_proto_rawDesc = []byte{
|
|
||||||
0x0a, 0x19, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x5f, 0x73, 0x68, 0x61, 0x72,
|
|
||||||
0x64, 0x5f, 0x6b, 0x65, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x72, 0x6f,
|
|
||||||
0x74, 0x6f, 0x62, 0x75, 0x66, 0x1a, 0x0b, 0x73, 0x68, 0x61, 0x72, 0x64, 0x2e, 0x70, 0x72, 0x6f,
|
|
||||||
0x74, 0x6f, 0x22, 0x94, 0x01, 0x0a, 0x11, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79,
|
|
||||||
0x53, 0x68, 0x61, 0x72, 0x64, 0x4b, 0x65, 0x79, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, 0x6d, 0x6d,
|
|
||||||
0x75, 0x6e, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b,
|
|
||||||
0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x70,
|
|
||||||
0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c,
|
|
||||||
0x52, 0x0a, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05,
|
|
||||||
0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, 0x6c, 0x6f,
|
|
||||||
0x63, 0x6b, 0x12, 0x25, 0x0a, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28,
|
|
||||||
0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x68, 0x61,
|
|
||||||
0x72, 0x64, 0x52, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x42, 0x0d, 0x5a, 0x0b, 0x2e, 0x2f, 0x3b,
|
|
||||||
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
var (
|
func init() {
|
||||||
file_community_shard_key_proto_rawDescOnce sync.Once
|
proto.RegisterFile("community_shard_key.proto", fileDescriptor_03da8310cde9b7b2)
|
||||||
file_community_shard_key_proto_rawDescData = file_community_shard_key_proto_rawDesc
|
|
||||||
)
|
|
||||||
|
|
||||||
func file_community_shard_key_proto_rawDescGZIP() []byte {
|
|
||||||
file_community_shard_key_proto_rawDescOnce.Do(func() {
|
|
||||||
file_community_shard_key_proto_rawDescData = protoimpl.X.CompressGZIP(file_community_shard_key_proto_rawDescData)
|
|
||||||
})
|
|
||||||
return file_community_shard_key_proto_rawDescData
|
|
||||||
}
|
}
|
||||||
|
|
||||||
var file_community_shard_key_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
|
var fileDescriptor_03da8310cde9b7b2 = []byte{
|
||||||
var file_community_shard_key_proto_goTypes = []interface{}{
|
// 173 bytes of a gzipped FileDescriptorProto
|
||||||
(*CommunityShardKey)(nil), // 0: protobuf.CommunityShardKey
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4c, 0xce, 0xcf, 0xcd,
|
||||||
(*Shard)(nil), // 1: protobuf.Shard
|
0x2d, 0xcd, 0xcb, 0x2c, 0xa9, 0x8c, 0x2f, 0xce, 0x48, 0x2c, 0x4a, 0x89, 0xcf, 0x4e, 0xad, 0xd4,
|
||||||
}
|
0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x00, 0x53, 0x49, 0xa5, 0x69, 0x52, 0xdc, 0x60, 0x29,
|
||||||
var file_community_shard_key_proto_depIdxs = []int32{
|
0x88, 0xb0, 0xd2, 0x14, 0x46, 0x2e, 0x41, 0x67, 0x98, 0xa6, 0x60, 0x90, 0x84, 0x77, 0x6a, 0xa5,
|
||||||
1, // 0: protobuf.CommunityShardKey.shard:type_name -> protobuf.Shard
|
0x90, 0x22, 0x17, 0x0f, 0xc2, 0xa4, 0xcc, 0x14, 0x09, 0x46, 0x05, 0x46, 0x0d, 0x9e, 0x20, 0x6e,
|
||||||
1, // [1:1] is the sub-list for method output_type
|
0xb8, 0x98, 0x67, 0x8a, 0x90, 0x3c, 0x17, 0x77, 0x41, 0x51, 0x66, 0x59, 0x62, 0x49, 0x2a, 0xc8,
|
||||||
1, // [1:1] is the sub-list for method input_type
|
0x12, 0x09, 0x26, 0xb0, 0x0a, 0x2e, 0xa8, 0x10, 0xc8, 0x0c, 0x11, 0x2e, 0xd6, 0xe4, 0x9c, 0xfc,
|
||||||
1, // [1:1] is the sub-list for extension type_name
|
0xe4, 0x6c, 0x09, 0x66, 0x05, 0x46, 0x0d, 0x96, 0x20, 0x08, 0x47, 0x48, 0x95, 0x8b, 0x15, 0x6c,
|
||||||
1, // [1:1] is the sub-list for extension extendee
|
0xbd, 0x04, 0x8b, 0x02, 0xa3, 0x06, 0xb7, 0x11, 0xbf, 0x1e, 0xcc, 0x59, 0x7a, 0x60, 0xcb, 0x83,
|
||||||
0, // [0:1] is the sub-list for field type_name
|
0x20, 0xb2, 0x4e, 0xbc, 0x51, 0xdc, 0x7a, 0xfa, 0xd6, 0x30, 0xb9, 0x24, 0x36, 0x30, 0xcb, 0x18,
|
||||||
}
|
0x10, 0x00, 0x00, 0xff, 0xff, 0x7e, 0xda, 0x17, 0x6d, 0xe0, 0x00, 0x00, 0x00,
|
||||||
|
|
||||||
func init() { file_community_shard_key_proto_init() }
|
|
||||||
func file_community_shard_key_proto_init() {
|
|
||||||
if File_community_shard_key_proto != nil {
|
|
||||||
return
|
|
||||||
}
|
|
||||||
file_shard_proto_init()
|
|
||||||
if !protoimpl.UnsafeEnabled {
|
|
||||||
file_community_shard_key_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
||||||
switch v := v.(*CommunityShardKey); i {
|
|
||||||
case 0:
|
|
||||||
return &v.state
|
|
||||||
case 1:
|
|
||||||
return &v.sizeCache
|
|
||||||
case 2:
|
|
||||||
return &v.unknownFields
|
|
||||||
default:
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
type x struct{}
|
|
||||||
out := protoimpl.TypeBuilder{
|
|
||||||
File: protoimpl.DescBuilder{
|
|
||||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
||||||
RawDescriptor: file_community_shard_key_proto_rawDesc,
|
|
||||||
NumEnums: 0,
|
|
||||||
NumMessages: 1,
|
|
||||||
NumExtensions: 0,
|
|
||||||
NumServices: 0,
|
|
||||||
},
|
|
||||||
GoTypes: file_community_shard_key_proto_goTypes,
|
|
||||||
DependencyIndexes: file_community_shard_key_proto_depIdxs,
|
|
||||||
MessageInfos: file_community_shard_key_proto_msgTypes,
|
|
||||||
}.Build()
|
|
||||||
File_community_shard_key_proto = out.File
|
|
||||||
file_community_shard_key_proto_rawDesc = nil
|
|
||||||
file_community_shard_key_proto_goTypes = nil
|
|
||||||
file_community_shard_key_proto_depIdxs = nil
|
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,101 +1,89 @@
|
||||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||||
// versions:
|
|
||||||
// protoc-gen-go v1.29.1
|
|
||||||
// protoc v3.20.3
|
|
||||||
// source: contact.proto
|
// source: contact.proto
|
||||||
|
|
||||||
package protobuf
|
package protobuf
|
||||||
|
|
||||||
import (
|
import (
|
||||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
fmt "fmt"
|
||||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
proto "github.com/golang/protobuf/proto"
|
||||||
reflect "reflect"
|
math "math"
|
||||||
sync "sync"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
// Reference imports to suppress errors if they are not otherwise used.
|
||||||
// Verify that this generated code is sufficiently up-to-date.
|
var _ = proto.Marshal
|
||||||
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
var _ = fmt.Errorf
|
||||||
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
var _ = math.Inf
|
||||||
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
||||||
)
|
// This is a compile-time assertion to ensure that this generated file
|
||||||
|
// is compatible with the proto package it is being compiled against.
|
||||||
|
// A compilation error at this line likely means your copy of the
|
||||||
|
// proto package needs to be updated.
|
||||||
|
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
|
||||||
|
|
||||||
type ContactRequestPropagatedState struct {
|
type ContactRequestPropagatedState struct {
|
||||||
state protoimpl.MessageState
|
LocalClock uint64 `protobuf:"varint,1,opt,name=local_clock,json=localClock,proto3" json:"local_clock,omitempty"`
|
||||||
sizeCache protoimpl.SizeCache
|
LocalState uint64 `protobuf:"varint,2,opt,name=local_state,json=localState,proto3" json:"local_state,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
RemoteClock uint64 `protobuf:"varint,3,opt,name=remote_clock,json=remoteClock,proto3" json:"remote_clock,omitempty"`
|
||||||
|
RemoteState uint64 `protobuf:"varint,4,opt,name=remote_state,json=remoteState,proto3" json:"remote_state,omitempty"`
|
||||||
LocalClock uint64 `protobuf:"varint,1,opt,name=local_clock,json=localClock,proto3" json:"local_clock,omitempty"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
LocalState uint64 `protobuf:"varint,2,opt,name=local_state,json=localState,proto3" json:"local_state,omitempty"`
|
XXX_unrecognized []byte `json:"-"`
|
||||||
RemoteClock uint64 `protobuf:"varint,3,opt,name=remote_clock,json=remoteClock,proto3" json:"remote_clock,omitempty"`
|
XXX_sizecache int32 `json:"-"`
|
||||||
RemoteState uint64 `protobuf:"varint,4,opt,name=remote_state,json=remoteState,proto3" json:"remote_state,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ContactRequestPropagatedState) Reset() {
|
func (m *ContactRequestPropagatedState) Reset() { *m = ContactRequestPropagatedState{} }
|
||||||
*x = ContactRequestPropagatedState{}
|
func (m *ContactRequestPropagatedState) String() string { return proto.CompactTextString(m) }
|
||||||
if protoimpl.UnsafeEnabled {
|
func (*ContactRequestPropagatedState) ProtoMessage() {}
|
||||||
mi := &file_contact_proto_msgTypes[0]
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *ContactRequestPropagatedState) String() string {
|
|
||||||
return protoimpl.X.MessageStringOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (*ContactRequestPropagatedState) ProtoMessage() {}
|
|
||||||
|
|
||||||
func (x *ContactRequestPropagatedState) ProtoReflect() protoreflect.Message {
|
|
||||||
mi := &file_contact_proto_msgTypes[0]
|
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
if ms.LoadMessageInfo() == nil {
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
return ms
|
|
||||||
}
|
|
||||||
return mi.MessageOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
// Deprecated: Use ContactRequestPropagatedState.ProtoReflect.Descriptor instead.
|
|
||||||
func (*ContactRequestPropagatedState) Descriptor() ([]byte, []int) {
|
func (*ContactRequestPropagatedState) Descriptor() ([]byte, []int) {
|
||||||
return file_contact_proto_rawDescGZIP(), []int{0}
|
return fileDescriptor_a5036fff2565fb15, []int{0}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ContactRequestPropagatedState) GetLocalClock() uint64 {
|
func (m *ContactRequestPropagatedState) XXX_Unmarshal(b []byte) error {
|
||||||
if x != nil {
|
return xxx_messageInfo_ContactRequestPropagatedState.Unmarshal(m, b)
|
||||||
return x.LocalClock
|
}
|
||||||
|
func (m *ContactRequestPropagatedState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||||
|
return xxx_messageInfo_ContactRequestPropagatedState.Marshal(b, m, deterministic)
|
||||||
|
}
|
||||||
|
func (m *ContactRequestPropagatedState) XXX_Merge(src proto.Message) {
|
||||||
|
xxx_messageInfo_ContactRequestPropagatedState.Merge(m, src)
|
||||||
|
}
|
||||||
|
func (m *ContactRequestPropagatedState) XXX_Size() int {
|
||||||
|
return xxx_messageInfo_ContactRequestPropagatedState.Size(m)
|
||||||
|
}
|
||||||
|
func (m *ContactRequestPropagatedState) XXX_DiscardUnknown() {
|
||||||
|
xxx_messageInfo_ContactRequestPropagatedState.DiscardUnknown(m)
|
||||||
|
}
|
||||||
|
|
||||||
|
var xxx_messageInfo_ContactRequestPropagatedState proto.InternalMessageInfo
|
||||||
|
|
||||||
|
func (m *ContactRequestPropagatedState) GetLocalClock() uint64 {
|
||||||
|
if m != nil {
|
||||||
|
return m.LocalClock
|
||||||
}
|
}
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ContactRequestPropagatedState) GetLocalState() uint64 {
|
func (m *ContactRequestPropagatedState) GetLocalState() uint64 {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.LocalState
|
return m.LocalState
|
||||||
}
|
}
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ContactRequestPropagatedState) GetRemoteClock() uint64 {
|
func (m *ContactRequestPropagatedState) GetRemoteClock() uint64 {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.RemoteClock
|
return m.RemoteClock
|
||||||
}
|
}
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ContactRequestPropagatedState) GetRemoteState() uint64 {
|
func (m *ContactRequestPropagatedState) GetRemoteState() uint64 {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.RemoteState
|
return m.RemoteState
|
||||||
}
|
}
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
type ContactUpdate struct {
|
type ContactUpdate struct {
|
||||||
state protoimpl.MessageState
|
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"`
|
Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"`
|
||||||
EnsName string `protobuf:"bytes,2,opt,name=ens_name,json=ensName,proto3" json:"ens_name,omitempty"`
|
EnsName string `protobuf:"bytes,2,opt,name=ens_name,json=ensName,proto3" json:"ens_name,omitempty"`
|
||||||
ProfileImage string `protobuf:"bytes,3,opt,name=profile_image,json=profileImage,proto3" json:"profile_image,omitempty"`
|
ProfileImage string `protobuf:"bytes,3,opt,name=profile_image,json=profileImage,proto3" json:"profile_image,omitempty"`
|
||||||
|
@ -103,346 +91,212 @@ type ContactUpdate struct {
|
||||||
ContactRequestClock uint64 `protobuf:"varint,5,opt,name=contact_request_clock,json=contactRequestClock,proto3" json:"contact_request_clock,omitempty"`
|
ContactRequestClock uint64 `protobuf:"varint,5,opt,name=contact_request_clock,json=contactRequestClock,proto3" json:"contact_request_clock,omitempty"`
|
||||||
ContactRequestPropagatedState *ContactRequestPropagatedState `protobuf:"bytes,6,opt,name=contact_request_propagated_state,json=contactRequestPropagatedState,proto3" json:"contact_request_propagated_state,omitempty"`
|
ContactRequestPropagatedState *ContactRequestPropagatedState `protobuf:"bytes,6,opt,name=contact_request_propagated_state,json=contactRequestPropagatedState,proto3" json:"contact_request_propagated_state,omitempty"`
|
||||||
PublicKey string `protobuf:"bytes,7,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
|
PublicKey string `protobuf:"bytes,7,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
|
||||||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
|
XXX_unrecognized []byte `json:"-"`
|
||||||
|
XXX_sizecache int32 `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ContactUpdate) Reset() {
|
func (m *ContactUpdate) Reset() { *m = ContactUpdate{} }
|
||||||
*x = ContactUpdate{}
|
func (m *ContactUpdate) String() string { return proto.CompactTextString(m) }
|
||||||
if protoimpl.UnsafeEnabled {
|
func (*ContactUpdate) ProtoMessage() {}
|
||||||
mi := &file_contact_proto_msgTypes[1]
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *ContactUpdate) String() string {
|
|
||||||
return protoimpl.X.MessageStringOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (*ContactUpdate) ProtoMessage() {}
|
|
||||||
|
|
||||||
func (x *ContactUpdate) ProtoReflect() protoreflect.Message {
|
|
||||||
mi := &file_contact_proto_msgTypes[1]
|
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
if ms.LoadMessageInfo() == nil {
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
return ms
|
|
||||||
}
|
|
||||||
return mi.MessageOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
// Deprecated: Use ContactUpdate.ProtoReflect.Descriptor instead.
|
|
||||||
func (*ContactUpdate) Descriptor() ([]byte, []int) {
|
func (*ContactUpdate) Descriptor() ([]byte, []int) {
|
||||||
return file_contact_proto_rawDescGZIP(), []int{1}
|
return fileDescriptor_a5036fff2565fb15, []int{1}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ContactUpdate) GetClock() uint64 {
|
func (m *ContactUpdate) XXX_Unmarshal(b []byte) error {
|
||||||
if x != nil {
|
return xxx_messageInfo_ContactUpdate.Unmarshal(m, b)
|
||||||
return x.Clock
|
}
|
||||||
|
func (m *ContactUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||||
|
return xxx_messageInfo_ContactUpdate.Marshal(b, m, deterministic)
|
||||||
|
}
|
||||||
|
func (m *ContactUpdate) XXX_Merge(src proto.Message) {
|
||||||
|
xxx_messageInfo_ContactUpdate.Merge(m, src)
|
||||||
|
}
|
||||||
|
func (m *ContactUpdate) XXX_Size() int {
|
||||||
|
return xxx_messageInfo_ContactUpdate.Size(m)
|
||||||
|
}
|
||||||
|
func (m *ContactUpdate) XXX_DiscardUnknown() {
|
||||||
|
xxx_messageInfo_ContactUpdate.DiscardUnknown(m)
|
||||||
|
}
|
||||||
|
|
||||||
|
var xxx_messageInfo_ContactUpdate proto.InternalMessageInfo
|
||||||
|
|
||||||
|
func (m *ContactUpdate) GetClock() uint64 {
|
||||||
|
if m != nil {
|
||||||
|
return m.Clock
|
||||||
}
|
}
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ContactUpdate) GetEnsName() string {
|
func (m *ContactUpdate) GetEnsName() string {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.EnsName
|
return m.EnsName
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ContactUpdate) GetProfileImage() string {
|
func (m *ContactUpdate) GetProfileImage() string {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.ProfileImage
|
return m.ProfileImage
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ContactUpdate) GetDisplayName() string {
|
func (m *ContactUpdate) GetDisplayName() string {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.DisplayName
|
return m.DisplayName
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ContactUpdate) GetContactRequestClock() uint64 {
|
func (m *ContactUpdate) GetContactRequestClock() uint64 {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.ContactRequestClock
|
return m.ContactRequestClock
|
||||||
}
|
}
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ContactUpdate) GetContactRequestPropagatedState() *ContactRequestPropagatedState {
|
func (m *ContactUpdate) GetContactRequestPropagatedState() *ContactRequestPropagatedState {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.ContactRequestPropagatedState
|
return m.ContactRequestPropagatedState
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ContactUpdate) GetPublicKey() string {
|
func (m *ContactUpdate) GetPublicKey() string {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.PublicKey
|
return m.PublicKey
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
type AcceptContactRequest struct {
|
type AcceptContactRequest struct {
|
||||||
state protoimpl.MessageState
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
||||||
sizeCache protoimpl.SizeCache
|
Clock uint64 `protobuf:"varint,2,opt,name=clock,proto3" json:"clock,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
|
XXX_unrecognized []byte `json:"-"`
|
||||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
XXX_sizecache int32 `json:"-"`
|
||||||
Clock uint64 `protobuf:"varint,2,opt,name=clock,proto3" json:"clock,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *AcceptContactRequest) Reset() {
|
func (m *AcceptContactRequest) Reset() { *m = AcceptContactRequest{} }
|
||||||
*x = AcceptContactRequest{}
|
func (m *AcceptContactRequest) String() string { return proto.CompactTextString(m) }
|
||||||
if protoimpl.UnsafeEnabled {
|
func (*AcceptContactRequest) ProtoMessage() {}
|
||||||
mi := &file_contact_proto_msgTypes[2]
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *AcceptContactRequest) String() string {
|
|
||||||
return protoimpl.X.MessageStringOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (*AcceptContactRequest) ProtoMessage() {}
|
|
||||||
|
|
||||||
func (x *AcceptContactRequest) ProtoReflect() protoreflect.Message {
|
|
||||||
mi := &file_contact_proto_msgTypes[2]
|
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
if ms.LoadMessageInfo() == nil {
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
return ms
|
|
||||||
}
|
|
||||||
return mi.MessageOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
// Deprecated: Use AcceptContactRequest.ProtoReflect.Descriptor instead.
|
|
||||||
func (*AcceptContactRequest) Descriptor() ([]byte, []int) {
|
func (*AcceptContactRequest) Descriptor() ([]byte, []int) {
|
||||||
return file_contact_proto_rawDescGZIP(), []int{2}
|
return fileDescriptor_a5036fff2565fb15, []int{2}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *AcceptContactRequest) GetId() string {
|
func (m *AcceptContactRequest) XXX_Unmarshal(b []byte) error {
|
||||||
if x != nil {
|
return xxx_messageInfo_AcceptContactRequest.Unmarshal(m, b)
|
||||||
return x.Id
|
}
|
||||||
|
func (m *AcceptContactRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||||
|
return xxx_messageInfo_AcceptContactRequest.Marshal(b, m, deterministic)
|
||||||
|
}
|
||||||
|
func (m *AcceptContactRequest) XXX_Merge(src proto.Message) {
|
||||||
|
xxx_messageInfo_AcceptContactRequest.Merge(m, src)
|
||||||
|
}
|
||||||
|
func (m *AcceptContactRequest) XXX_Size() int {
|
||||||
|
return xxx_messageInfo_AcceptContactRequest.Size(m)
|
||||||
|
}
|
||||||
|
func (m *AcceptContactRequest) XXX_DiscardUnknown() {
|
||||||
|
xxx_messageInfo_AcceptContactRequest.DiscardUnknown(m)
|
||||||
|
}
|
||||||
|
|
||||||
|
var xxx_messageInfo_AcceptContactRequest proto.InternalMessageInfo
|
||||||
|
|
||||||
|
func (m *AcceptContactRequest) GetId() string {
|
||||||
|
if m != nil {
|
||||||
|
return m.Id
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *AcceptContactRequest) GetClock() uint64 {
|
func (m *AcceptContactRequest) GetClock() uint64 {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.Clock
|
return m.Clock
|
||||||
}
|
}
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
type RetractContactRequest struct {
|
type RetractContactRequest struct {
|
||||||
state protoimpl.MessageState
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
||||||
sizeCache protoimpl.SizeCache
|
Clock uint64 `protobuf:"varint,2,opt,name=clock,proto3" json:"clock,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
|
XXX_unrecognized []byte `json:"-"`
|
||||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
XXX_sizecache int32 `json:"-"`
|
||||||
Clock uint64 `protobuf:"varint,2,opt,name=clock,proto3" json:"clock,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *RetractContactRequest) Reset() {
|
func (m *RetractContactRequest) Reset() { *m = RetractContactRequest{} }
|
||||||
*x = RetractContactRequest{}
|
func (m *RetractContactRequest) String() string { return proto.CompactTextString(m) }
|
||||||
if protoimpl.UnsafeEnabled {
|
func (*RetractContactRequest) ProtoMessage() {}
|
||||||
mi := &file_contact_proto_msgTypes[3]
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *RetractContactRequest) String() string {
|
|
||||||
return protoimpl.X.MessageStringOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (*RetractContactRequest) ProtoMessage() {}
|
|
||||||
|
|
||||||
func (x *RetractContactRequest) ProtoReflect() protoreflect.Message {
|
|
||||||
mi := &file_contact_proto_msgTypes[3]
|
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
if ms.LoadMessageInfo() == nil {
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
return ms
|
|
||||||
}
|
|
||||||
return mi.MessageOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
// Deprecated: Use RetractContactRequest.ProtoReflect.Descriptor instead.
|
|
||||||
func (*RetractContactRequest) Descriptor() ([]byte, []int) {
|
func (*RetractContactRequest) Descriptor() ([]byte, []int) {
|
||||||
return file_contact_proto_rawDescGZIP(), []int{3}
|
return fileDescriptor_a5036fff2565fb15, []int{3}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *RetractContactRequest) GetId() string {
|
func (m *RetractContactRequest) XXX_Unmarshal(b []byte) error {
|
||||||
if x != nil {
|
return xxx_messageInfo_RetractContactRequest.Unmarshal(m, b)
|
||||||
return x.Id
|
}
|
||||||
|
func (m *RetractContactRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||||
|
return xxx_messageInfo_RetractContactRequest.Marshal(b, m, deterministic)
|
||||||
|
}
|
||||||
|
func (m *RetractContactRequest) XXX_Merge(src proto.Message) {
|
||||||
|
xxx_messageInfo_RetractContactRequest.Merge(m, src)
|
||||||
|
}
|
||||||
|
func (m *RetractContactRequest) XXX_Size() int {
|
||||||
|
return xxx_messageInfo_RetractContactRequest.Size(m)
|
||||||
|
}
|
||||||
|
func (m *RetractContactRequest) XXX_DiscardUnknown() {
|
||||||
|
xxx_messageInfo_RetractContactRequest.DiscardUnknown(m)
|
||||||
|
}
|
||||||
|
|
||||||
|
var xxx_messageInfo_RetractContactRequest proto.InternalMessageInfo
|
||||||
|
|
||||||
|
func (m *RetractContactRequest) GetId() string {
|
||||||
|
if m != nil {
|
||||||
|
return m.Id
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *RetractContactRequest) GetClock() uint64 {
|
func (m *RetractContactRequest) GetClock() uint64 {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.Clock
|
return m.Clock
|
||||||
}
|
}
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
var File_contact_proto protoreflect.FileDescriptor
|
func init() {
|
||||||
|
proto.RegisterType((*ContactRequestPropagatedState)(nil), "protobuf.ContactRequestPropagatedState")
|
||||||
var file_contact_proto_rawDesc = []byte{
|
proto.RegisterType((*ContactUpdate)(nil), "protobuf.ContactUpdate")
|
||||||
0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
|
proto.RegisterType((*AcceptContactRequest)(nil), "protobuf.AcceptContactRequest")
|
||||||
0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x22, 0xa7, 0x01, 0x0a, 0x1d, 0x43, 0x6f,
|
proto.RegisterType((*RetractContactRequest)(nil), "protobuf.RetractContactRequest")
|
||||||
0x6e, 0x74, 0x61, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x70,
|
|
||||||
0x61, 0x67, 0x61, 0x74, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x6c,
|
|
||||||
0x6f, 0x63, 0x61, 0x6c, 0x5f, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04,
|
|
||||||
0x52, 0x0a, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x43, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x1f, 0x0a, 0x0b,
|
|
||||||
0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
|
|
||||||
0x04, 0x52, 0x0a, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x21, 0x0a,
|
|
||||||
0x0c, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x03, 0x20,
|
|
||||||
0x01, 0x28, 0x04, 0x52, 0x0b, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6c, 0x6f, 0x63, 0x6b,
|
|
||||||
0x12, 0x21, 0x0a, 0x0c, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65,
|
|
||||||
0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x53, 0x74,
|
|
||||||
0x61, 0x74, 0x65, 0x22, 0xcd, 0x02, 0x0a, 0x0d, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x55,
|
|
||||||
0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01,
|
|
||||||
0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x19, 0x0a, 0x08, 0x65,
|
|
||||||
0x6e, 0x73, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x65,
|
|
||||||
0x6e, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c,
|
|
||||||
0x65, 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x70,
|
|
||||||
0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x64,
|
|
||||||
0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28,
|
|
||||||
0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x32,
|
|
||||||
0x0a, 0x15, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
||||||
0x74, 0x5f, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x13, 0x63,
|
|
||||||
0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x43, 0x6c, 0x6f,
|
|
||||||
0x63, 0x6b, 0x12, 0x70, 0x0a, 0x20, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x5f, 0x72, 0x65,
|
|
||||||
0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x70, 0x61, 0x67, 0x61, 0x74, 0x65, 0x64,
|
|
||||||
0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x70,
|
|
||||||
0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x52,
|
|
||||||
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x61, 0x67, 0x61, 0x74, 0x65, 0x64,
|
|
||||||
0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x1d, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x52, 0x65,
|
|
||||||
0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x61, 0x67, 0x61, 0x74, 0x65, 0x64, 0x53,
|
|
||||||
0x74, 0x61, 0x74, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b,
|
|
||||||
0x65, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63,
|
|
||||||
0x4b, 0x65, 0x79, 0x22, 0x3c, 0x0a, 0x14, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x43, 0x6f, 0x6e,
|
|
||||||
0x74, 0x61, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69,
|
|
||||||
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x63,
|
|
||||||
0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, 0x6c, 0x6f, 0x63,
|
|
||||||
0x6b, 0x22, 0x3d, 0x0a, 0x15, 0x52, 0x65, 0x74, 0x72, 0x61, 0x63, 0x74, 0x43, 0x6f, 0x6e, 0x74,
|
|
||||||
0x61, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64,
|
|
||||||
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c,
|
|
||||||
0x6f, 0x63, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b,
|
|
||||||
0x42, 0x0d, 0x5a, 0x0b, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x62,
|
|
||||||
0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
var (
|
func init() {
|
||||||
file_contact_proto_rawDescOnce sync.Once
|
proto.RegisterFile("contact.proto", fileDescriptor_a5036fff2565fb15)
|
||||||
file_contact_proto_rawDescData = file_contact_proto_rawDesc
|
|
||||||
)
|
|
||||||
|
|
||||||
func file_contact_proto_rawDescGZIP() []byte {
|
|
||||||
file_contact_proto_rawDescOnce.Do(func() {
|
|
||||||
file_contact_proto_rawDescData = protoimpl.X.CompressGZIP(file_contact_proto_rawDescData)
|
|
||||||
})
|
|
||||||
return file_contact_proto_rawDescData
|
|
||||||
}
|
}
|
||||||
|
|
||||||
var file_contact_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
|
var fileDescriptor_a5036fff2565fb15 = []byte{
|
||||||
var file_contact_proto_goTypes = []interface{}{
|
// 348 bytes of a gzipped FileDescriptorProto
|
||||||
(*ContactRequestPropagatedState)(nil), // 0: protobuf.ContactRequestPropagatedState
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x51, 0x3f, 0x4f, 0xfb, 0x30,
|
||||||
(*ContactUpdate)(nil), // 1: protobuf.ContactUpdate
|
0x14, 0x54, 0xf2, 0xeb, 0xbf, 0xbc, 0x34, 0xbf, 0x21, 0xb4, 0x52, 0x19, 0x2a, 0x4a, 0x18, 0xe8,
|
||||||
(*AcceptContactRequest)(nil), // 2: protobuf.AcceptContactRequest
|
0x14, 0xa4, 0x32, 0x02, 0x03, 0x74, 0x42, 0x48, 0x08, 0x19, 0xb1, 0xb0, 0x44, 0xae, 0xf3, 0x5a,
|
||||||
(*RetractContactRequest)(nil), // 3: protobuf.RetractContactRequest
|
0x45, 0x4d, 0x62, 0xe3, 0xb8, 0x43, 0x3f, 0x11, 0x9f, 0x86, 0xef, 0x84, 0x62, 0xbb, 0x34, 0x65,
|
||||||
}
|
0xe8, 0xc0, 0x94, 0xf8, 0x7c, 0xef, 0x7c, 0x77, 0x0f, 0x02, 0xc6, 0x4b, 0x45, 0x99, 0x8a, 0x85,
|
||||||
var file_contact_proto_depIdxs = []int32{
|
0xe4, 0x8a, 0x87, 0x3d, 0xfd, 0x59, 0x6c, 0x96, 0xd1, 0xa7, 0x03, 0xe3, 0xb9, 0xb9, 0x23, 0xf8,
|
||||||
0, // 0: protobuf.ContactUpdate.contact_request_propagated_state:type_name -> protobuf.ContactRequestPropagatedState
|
0xb1, 0xc1, 0x4a, 0xbd, 0x48, 0x2e, 0xe8, 0x8a, 0x2a, 0x4c, 0x5f, 0x15, 0x55, 0x18, 0x9e, 0x81,
|
||||||
1, // [1:1] is the sub-list for method output_type
|
0x9f, 0x73, 0x46, 0xf3, 0x84, 0xe5, 0x9c, 0xad, 0x47, 0xce, 0xc4, 0x99, 0xb6, 0x08, 0x68, 0x68,
|
||||||
1, // [1:1] is the sub-list for method input_type
|
0x5e, 0x23, 0x7b, 0x42, 0x55, 0xf3, 0x47, 0x6e, 0x83, 0x60, 0x14, 0xce, 0xa1, 0x2f, 0xb1, 0xe0,
|
||||||
1, // [1:1] is the sub-list for extension type_name
|
0x0a, 0xad, 0xc4, 0x3f, 0xcd, 0xf0, 0x0d, 0x66, 0x34, 0xf6, 0x14, 0x23, 0xd2, 0x6a, 0x52, 0xb4,
|
||||||
1, // [1:1] is the sub-list for extension extendee
|
0x4a, 0xf4, 0xe5, 0x42, 0x60, 0x9d, 0xbe, 0x89, 0xb4, 0xd6, 0x1d, 0x40, 0xbb, 0xe9, 0xc9, 0x1c,
|
||||||
0, // [0:1] is the sub-list for field type_name
|
0xc2, 0x53, 0xe8, 0x61, 0x59, 0x25, 0x25, 0x2d, 0x8c, 0x17, 0x8f, 0x74, 0xb1, 0xac, 0x9e, 0x69,
|
||||||
}
|
0x81, 0xe1, 0x05, 0x04, 0x42, 0xf2, 0x65, 0x96, 0x63, 0x92, 0x15, 0x74, 0x85, 0xda, 0x89, 0x47,
|
||||||
|
0xfa, 0x16, 0x7c, 0xac, 0xb1, 0xda, 0x4a, 0x9a, 0x55, 0x22, 0xa7, 0x5b, 0xa3, 0xd1, 0xd2, 0x1c,
|
||||||
func init() { file_contact_proto_init() }
|
0xdf, 0x62, 0x5a, 0x67, 0x06, 0x43, 0xdb, 0x67, 0x22, 0x4d, 0x69, 0x36, 0x59, 0x5b, 0x1b, 0x39,
|
||||||
func file_contact_proto_init() {
|
0x61, 0x07, 0x85, 0x9a, 0x84, 0x02, 0x26, 0xbf, 0x67, 0xc4, 0x4f, 0xd3, 0x36, 0x75, 0x67, 0xe2,
|
||||||
if File_contact_proto != nil {
|
0x4c, 0xfd, 0xd9, 0x65, 0xbc, 0xdb, 0x4e, 0x7c, 0x74, 0x33, 0x64, 0xcc, 0x8e, 0x2e, 0x6e, 0x0c,
|
||||||
return
|
0x20, 0x36, 0x8b, 0x3c, 0x63, 0xc9, 0x1a, 0xb7, 0xa3, 0xae, 0x8e, 0xe1, 0x19, 0xe4, 0x09, 0xb7,
|
||||||
}
|
0xd1, 0x2d, 0x0c, 0xee, 0x19, 0x43, 0xa1, 0x0e, 0x1f, 0x09, 0xff, 0x83, 0x9b, 0xa5, 0xba, 0x52,
|
||||||
if !protoimpl.UnsafeEnabled {
|
0x8f, 0xb8, 0x59, 0xba, 0x6f, 0xd9, 0x6d, 0xb4, 0x1c, 0xdd, 0xc1, 0x90, 0xa0, 0x92, 0x94, 0xfd,
|
||||||
file_contact_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
0x69, 0xfc, 0x21, 0x78, 0xf7, 0xe3, 0xab, 0x9b, 0x5d, 0xce, 0x45, 0x47, 0xff, 0x5d, 0x7f, 0x07,
|
||||||
switch v := v.(*ContactRequestPropagatedState); i {
|
0x00, 0x00, 0xff, 0xff, 0xec, 0x6f, 0x01, 0xce, 0xa7, 0x02, 0x00, 0x00,
|
||||||
case 0:
|
|
||||||
return &v.state
|
|
||||||
case 1:
|
|
||||||
return &v.sizeCache
|
|
||||||
case 2:
|
|
||||||
return &v.unknownFields
|
|
||||||
default:
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
}
|
|
||||||
file_contact_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
||||||
switch v := v.(*ContactUpdate); i {
|
|
||||||
case 0:
|
|
||||||
return &v.state
|
|
||||||
case 1:
|
|
||||||
return &v.sizeCache
|
|
||||||
case 2:
|
|
||||||
return &v.unknownFields
|
|
||||||
default:
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
}
|
|
||||||
file_contact_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
||||||
switch v := v.(*AcceptContactRequest); i {
|
|
||||||
case 0:
|
|
||||||
return &v.state
|
|
||||||
case 1:
|
|
||||||
return &v.sizeCache
|
|
||||||
case 2:
|
|
||||||
return &v.unknownFields
|
|
||||||
default:
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
}
|
|
||||||
file_contact_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
||||||
switch v := v.(*RetractContactRequest); i {
|
|
||||||
case 0:
|
|
||||||
return &v.state
|
|
||||||
case 1:
|
|
||||||
return &v.sizeCache
|
|
||||||
case 2:
|
|
||||||
return &v.unknownFields
|
|
||||||
default:
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
type x struct{}
|
|
||||||
out := protoimpl.TypeBuilder{
|
|
||||||
File: protoimpl.DescBuilder{
|
|
||||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
||||||
RawDescriptor: file_contact_proto_rawDesc,
|
|
||||||
NumEnums: 0,
|
|
||||||
NumMessages: 4,
|
|
||||||
NumExtensions: 0,
|
|
||||||
NumServices: 0,
|
|
||||||
},
|
|
||||||
GoTypes: file_contact_proto_goTypes,
|
|
||||||
DependencyIndexes: file_contact_proto_depIdxs,
|
|
||||||
MessageInfos: file_contact_proto_msgTypes,
|
|
||||||
}.Build()
|
|
||||||
File_contact_proto = out.File
|
|
||||||
file_contact_proto_rawDesc = nil
|
|
||||||
file_contact_proto_goTypes = nil
|
|
||||||
file_contact_proto_depIdxs = nil
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,380 +1,245 @@
|
||||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||||
// versions:
|
|
||||||
// protoc-gen-go v1.29.1
|
|
||||||
// protoc v3.20.3
|
|
||||||
// source: contact_verification.proto
|
// source: contact_verification.proto
|
||||||
|
|
||||||
package protobuf
|
package protobuf
|
||||||
|
|
||||||
import (
|
import (
|
||||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
fmt "fmt"
|
||||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
proto "github.com/golang/protobuf/proto"
|
||||||
reflect "reflect"
|
math "math"
|
||||||
sync "sync"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
// Reference imports to suppress errors if they are not otherwise used.
|
||||||
// Verify that this generated code is sufficiently up-to-date.
|
var _ = proto.Marshal
|
||||||
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
var _ = fmt.Errorf
|
||||||
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
var _ = math.Inf
|
||||||
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
||||||
)
|
// This is a compile-time assertion to ensure that this generated file
|
||||||
|
// is compatible with the proto package it is being compiled against.
|
||||||
|
// A compilation error at this line likely means your copy of the
|
||||||
|
// proto package needs to be updated.
|
||||||
|
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
|
||||||
|
|
||||||
type RequestContactVerification struct {
|
type RequestContactVerification struct {
|
||||||
state protoimpl.MessageState
|
Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"`
|
||||||
sizeCache protoimpl.SizeCache
|
Challenge string `protobuf:"bytes,3,opt,name=challenge,proto3" json:"challenge,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
|
XXX_unrecognized []byte `json:"-"`
|
||||||
Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"`
|
XXX_sizecache int32 `json:"-"`
|
||||||
Challenge string `protobuf:"bytes,3,opt,name=challenge,proto3" json:"challenge,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *RequestContactVerification) Reset() {
|
func (m *RequestContactVerification) Reset() { *m = RequestContactVerification{} }
|
||||||
*x = RequestContactVerification{}
|
func (m *RequestContactVerification) String() string { return proto.CompactTextString(m) }
|
||||||
if protoimpl.UnsafeEnabled {
|
func (*RequestContactVerification) ProtoMessage() {}
|
||||||
mi := &file_contact_verification_proto_msgTypes[0]
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *RequestContactVerification) String() string {
|
|
||||||
return protoimpl.X.MessageStringOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (*RequestContactVerification) ProtoMessage() {}
|
|
||||||
|
|
||||||
func (x *RequestContactVerification) ProtoReflect() protoreflect.Message {
|
|
||||||
mi := &file_contact_verification_proto_msgTypes[0]
|
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
if ms.LoadMessageInfo() == nil {
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
return ms
|
|
||||||
}
|
|
||||||
return mi.MessageOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
// Deprecated: Use RequestContactVerification.ProtoReflect.Descriptor instead.
|
|
||||||
func (*RequestContactVerification) Descriptor() ([]byte, []int) {
|
func (*RequestContactVerification) Descriptor() ([]byte, []int) {
|
||||||
return file_contact_verification_proto_rawDescGZIP(), []int{0}
|
return fileDescriptor_d6997df64de39454, []int{0}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *RequestContactVerification) GetClock() uint64 {
|
func (m *RequestContactVerification) XXX_Unmarshal(b []byte) error {
|
||||||
if x != nil {
|
return xxx_messageInfo_RequestContactVerification.Unmarshal(m, b)
|
||||||
return x.Clock
|
}
|
||||||
|
func (m *RequestContactVerification) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||||
|
return xxx_messageInfo_RequestContactVerification.Marshal(b, m, deterministic)
|
||||||
|
}
|
||||||
|
func (m *RequestContactVerification) XXX_Merge(src proto.Message) {
|
||||||
|
xxx_messageInfo_RequestContactVerification.Merge(m, src)
|
||||||
|
}
|
||||||
|
func (m *RequestContactVerification) XXX_Size() int {
|
||||||
|
return xxx_messageInfo_RequestContactVerification.Size(m)
|
||||||
|
}
|
||||||
|
func (m *RequestContactVerification) XXX_DiscardUnknown() {
|
||||||
|
xxx_messageInfo_RequestContactVerification.DiscardUnknown(m)
|
||||||
|
}
|
||||||
|
|
||||||
|
var xxx_messageInfo_RequestContactVerification proto.InternalMessageInfo
|
||||||
|
|
||||||
|
func (m *RequestContactVerification) GetClock() uint64 {
|
||||||
|
if m != nil {
|
||||||
|
return m.Clock
|
||||||
}
|
}
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *RequestContactVerification) GetChallenge() string {
|
func (m *RequestContactVerification) GetChallenge() string {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.Challenge
|
return m.Challenge
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
type AcceptContactVerification struct {
|
type AcceptContactVerification struct {
|
||||||
state protoimpl.MessageState
|
Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"`
|
||||||
sizeCache protoimpl.SizeCache
|
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
Response string `protobuf:"bytes,3,opt,name=response,proto3" json:"response,omitempty"`
|
||||||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"`
|
XXX_unrecognized []byte `json:"-"`
|
||||||
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
|
XXX_sizecache int32 `json:"-"`
|
||||||
Response string `protobuf:"bytes,3,opt,name=response,proto3" json:"response,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *AcceptContactVerification) Reset() {
|
func (m *AcceptContactVerification) Reset() { *m = AcceptContactVerification{} }
|
||||||
*x = AcceptContactVerification{}
|
func (m *AcceptContactVerification) String() string { return proto.CompactTextString(m) }
|
||||||
if protoimpl.UnsafeEnabled {
|
func (*AcceptContactVerification) ProtoMessage() {}
|
||||||
mi := &file_contact_verification_proto_msgTypes[1]
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *AcceptContactVerification) String() string {
|
|
||||||
return protoimpl.X.MessageStringOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (*AcceptContactVerification) ProtoMessage() {}
|
|
||||||
|
|
||||||
func (x *AcceptContactVerification) ProtoReflect() protoreflect.Message {
|
|
||||||
mi := &file_contact_verification_proto_msgTypes[1]
|
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
if ms.LoadMessageInfo() == nil {
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
return ms
|
|
||||||
}
|
|
||||||
return mi.MessageOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
// Deprecated: Use AcceptContactVerification.ProtoReflect.Descriptor instead.
|
|
||||||
func (*AcceptContactVerification) Descriptor() ([]byte, []int) {
|
func (*AcceptContactVerification) Descriptor() ([]byte, []int) {
|
||||||
return file_contact_verification_proto_rawDescGZIP(), []int{1}
|
return fileDescriptor_d6997df64de39454, []int{1}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *AcceptContactVerification) GetClock() uint64 {
|
func (m *AcceptContactVerification) XXX_Unmarshal(b []byte) error {
|
||||||
if x != nil {
|
return xxx_messageInfo_AcceptContactVerification.Unmarshal(m, b)
|
||||||
return x.Clock
|
}
|
||||||
|
func (m *AcceptContactVerification) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||||
|
return xxx_messageInfo_AcceptContactVerification.Marshal(b, m, deterministic)
|
||||||
|
}
|
||||||
|
func (m *AcceptContactVerification) XXX_Merge(src proto.Message) {
|
||||||
|
xxx_messageInfo_AcceptContactVerification.Merge(m, src)
|
||||||
|
}
|
||||||
|
func (m *AcceptContactVerification) XXX_Size() int {
|
||||||
|
return xxx_messageInfo_AcceptContactVerification.Size(m)
|
||||||
|
}
|
||||||
|
func (m *AcceptContactVerification) XXX_DiscardUnknown() {
|
||||||
|
xxx_messageInfo_AcceptContactVerification.DiscardUnknown(m)
|
||||||
|
}
|
||||||
|
|
||||||
|
var xxx_messageInfo_AcceptContactVerification proto.InternalMessageInfo
|
||||||
|
|
||||||
|
func (m *AcceptContactVerification) GetClock() uint64 {
|
||||||
|
if m != nil {
|
||||||
|
return m.Clock
|
||||||
}
|
}
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *AcceptContactVerification) GetId() string {
|
func (m *AcceptContactVerification) GetId() string {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.Id
|
return m.Id
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *AcceptContactVerification) GetResponse() string {
|
func (m *AcceptContactVerification) GetResponse() string {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.Response
|
return m.Response
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
type DeclineContactVerification struct {
|
type DeclineContactVerification struct {
|
||||||
state protoimpl.MessageState
|
Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"`
|
||||||
sizeCache protoimpl.SizeCache
|
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
|
XXX_unrecognized []byte `json:"-"`
|
||||||
Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"`
|
XXX_sizecache int32 `json:"-"`
|
||||||
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *DeclineContactVerification) Reset() {
|
func (m *DeclineContactVerification) Reset() { *m = DeclineContactVerification{} }
|
||||||
*x = DeclineContactVerification{}
|
func (m *DeclineContactVerification) String() string { return proto.CompactTextString(m) }
|
||||||
if protoimpl.UnsafeEnabled {
|
func (*DeclineContactVerification) ProtoMessage() {}
|
||||||
mi := &file_contact_verification_proto_msgTypes[2]
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *DeclineContactVerification) String() string {
|
|
||||||
return protoimpl.X.MessageStringOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (*DeclineContactVerification) ProtoMessage() {}
|
|
||||||
|
|
||||||
func (x *DeclineContactVerification) ProtoReflect() protoreflect.Message {
|
|
||||||
mi := &file_contact_verification_proto_msgTypes[2]
|
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
if ms.LoadMessageInfo() == nil {
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
return ms
|
|
||||||
}
|
|
||||||
return mi.MessageOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
// Deprecated: Use DeclineContactVerification.ProtoReflect.Descriptor instead.
|
|
||||||
func (*DeclineContactVerification) Descriptor() ([]byte, []int) {
|
func (*DeclineContactVerification) Descriptor() ([]byte, []int) {
|
||||||
return file_contact_verification_proto_rawDescGZIP(), []int{2}
|
return fileDescriptor_d6997df64de39454, []int{2}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *DeclineContactVerification) GetClock() uint64 {
|
func (m *DeclineContactVerification) XXX_Unmarshal(b []byte) error {
|
||||||
if x != nil {
|
return xxx_messageInfo_DeclineContactVerification.Unmarshal(m, b)
|
||||||
return x.Clock
|
}
|
||||||
|
func (m *DeclineContactVerification) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||||
|
return xxx_messageInfo_DeclineContactVerification.Marshal(b, m, deterministic)
|
||||||
|
}
|
||||||
|
func (m *DeclineContactVerification) XXX_Merge(src proto.Message) {
|
||||||
|
xxx_messageInfo_DeclineContactVerification.Merge(m, src)
|
||||||
|
}
|
||||||
|
func (m *DeclineContactVerification) XXX_Size() int {
|
||||||
|
return xxx_messageInfo_DeclineContactVerification.Size(m)
|
||||||
|
}
|
||||||
|
func (m *DeclineContactVerification) XXX_DiscardUnknown() {
|
||||||
|
xxx_messageInfo_DeclineContactVerification.DiscardUnknown(m)
|
||||||
|
}
|
||||||
|
|
||||||
|
var xxx_messageInfo_DeclineContactVerification proto.InternalMessageInfo
|
||||||
|
|
||||||
|
func (m *DeclineContactVerification) GetClock() uint64 {
|
||||||
|
if m != nil {
|
||||||
|
return m.Clock
|
||||||
}
|
}
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *DeclineContactVerification) GetId() string {
|
func (m *DeclineContactVerification) GetId() string {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.Id
|
return m.Id
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
type CancelContactVerification struct {
|
type CancelContactVerification struct {
|
||||||
state protoimpl.MessageState
|
Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"`
|
||||||
sizeCache protoimpl.SizeCache
|
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
|
XXX_unrecognized []byte `json:"-"`
|
||||||
Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"`
|
XXX_sizecache int32 `json:"-"`
|
||||||
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *CancelContactVerification) Reset() {
|
func (m *CancelContactVerification) Reset() { *m = CancelContactVerification{} }
|
||||||
*x = CancelContactVerification{}
|
func (m *CancelContactVerification) String() string { return proto.CompactTextString(m) }
|
||||||
if protoimpl.UnsafeEnabled {
|
func (*CancelContactVerification) ProtoMessage() {}
|
||||||
mi := &file_contact_verification_proto_msgTypes[3]
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *CancelContactVerification) String() string {
|
|
||||||
return protoimpl.X.MessageStringOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (*CancelContactVerification) ProtoMessage() {}
|
|
||||||
|
|
||||||
func (x *CancelContactVerification) ProtoReflect() protoreflect.Message {
|
|
||||||
mi := &file_contact_verification_proto_msgTypes[3]
|
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
if ms.LoadMessageInfo() == nil {
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
return ms
|
|
||||||
}
|
|
||||||
return mi.MessageOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
// Deprecated: Use CancelContactVerification.ProtoReflect.Descriptor instead.
|
|
||||||
func (*CancelContactVerification) Descriptor() ([]byte, []int) {
|
func (*CancelContactVerification) Descriptor() ([]byte, []int) {
|
||||||
return file_contact_verification_proto_rawDescGZIP(), []int{3}
|
return fileDescriptor_d6997df64de39454, []int{3}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *CancelContactVerification) GetClock() uint64 {
|
func (m *CancelContactVerification) XXX_Unmarshal(b []byte) error {
|
||||||
if x != nil {
|
return xxx_messageInfo_CancelContactVerification.Unmarshal(m, b)
|
||||||
return x.Clock
|
}
|
||||||
|
func (m *CancelContactVerification) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||||
|
return xxx_messageInfo_CancelContactVerification.Marshal(b, m, deterministic)
|
||||||
|
}
|
||||||
|
func (m *CancelContactVerification) XXX_Merge(src proto.Message) {
|
||||||
|
xxx_messageInfo_CancelContactVerification.Merge(m, src)
|
||||||
|
}
|
||||||
|
func (m *CancelContactVerification) XXX_Size() int {
|
||||||
|
return xxx_messageInfo_CancelContactVerification.Size(m)
|
||||||
|
}
|
||||||
|
func (m *CancelContactVerification) XXX_DiscardUnknown() {
|
||||||
|
xxx_messageInfo_CancelContactVerification.DiscardUnknown(m)
|
||||||
|
}
|
||||||
|
|
||||||
|
var xxx_messageInfo_CancelContactVerification proto.InternalMessageInfo
|
||||||
|
|
||||||
|
func (m *CancelContactVerification) GetClock() uint64 {
|
||||||
|
if m != nil {
|
||||||
|
return m.Clock
|
||||||
}
|
}
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *CancelContactVerification) GetId() string {
|
func (m *CancelContactVerification) GetId() string {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.Id
|
return m.Id
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
var File_contact_verification_proto protoreflect.FileDescriptor
|
func init() {
|
||||||
|
proto.RegisterType((*RequestContactVerification)(nil), "protobuf.RequestContactVerification")
|
||||||
var file_contact_verification_proto_rawDesc = []byte{
|
proto.RegisterType((*AcceptContactVerification)(nil), "protobuf.AcceptContactVerification")
|
||||||
0x0a, 0x1a, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x5f, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69,
|
proto.RegisterType((*DeclineContactVerification)(nil), "protobuf.DeclineContactVerification")
|
||||||
0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x72,
|
proto.RegisterType((*CancelContactVerification)(nil), "protobuf.CancelContactVerification")
|
||||||
0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x22, 0x50, 0x0a, 0x1a, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
||||||
0x74, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61,
|
|
||||||
0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20,
|
|
||||||
0x01, 0x28, 0x04, 0x52, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x68,
|
|
||||||
0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63,
|
|
||||||
0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x22, 0x5d, 0x0a, 0x19, 0x41, 0x63, 0x63, 0x65,
|
|
||||||
0x70, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63,
|
|
||||||
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01,
|
|
||||||
0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x69,
|
|
||||||
0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x72,
|
|
||||||
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72,
|
|
||||||
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x42, 0x0a, 0x1a, 0x44, 0x65, 0x63, 0x6c, 0x69,
|
|
||||||
0x6e, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63,
|
|
||||||
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01,
|
|
||||||
0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x69,
|
|
||||||
0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x41, 0x0a, 0x19, 0x43,
|
|
||||||
0x61, 0x6e, 0x63, 0x65, 0x6c, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x56, 0x65, 0x72, 0x69,
|
|
||||||
0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x6f, 0x63,
|
|
||||||
0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x0e,
|
|
||||||
0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x42, 0x0d,
|
|
||||||
0x5a, 0x0b, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x62, 0x06, 0x70,
|
|
||||||
0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
var (
|
func init() {
|
||||||
file_contact_verification_proto_rawDescOnce sync.Once
|
proto.RegisterFile("contact_verification.proto", fileDescriptor_d6997df64de39454)
|
||||||
file_contact_verification_proto_rawDescData = file_contact_verification_proto_rawDesc
|
|
||||||
)
|
|
||||||
|
|
||||||
func file_contact_verification_proto_rawDescGZIP() []byte {
|
|
||||||
file_contact_verification_proto_rawDescOnce.Do(func() {
|
|
||||||
file_contact_verification_proto_rawDescData = protoimpl.X.CompressGZIP(file_contact_verification_proto_rawDescData)
|
|
||||||
})
|
|
||||||
return file_contact_verification_proto_rawDescData
|
|
||||||
}
|
}
|
||||||
|
|
||||||
var file_contact_verification_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
|
var fileDescriptor_d6997df64de39454 = []byte{
|
||||||
var file_contact_verification_proto_goTypes = []interface{}{
|
// 194 bytes of a gzipped FileDescriptorProto
|
||||||
(*RequestContactVerification)(nil), // 0: protobuf.RequestContactVerification
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4a, 0xce, 0xcf, 0x2b,
|
||||||
(*AcceptContactVerification)(nil), // 1: protobuf.AcceptContactVerification
|
0x49, 0x4c, 0x2e, 0x89, 0x2f, 0x4b, 0x2d, 0xca, 0x4c, 0xcb, 0x4c, 0x4e, 0x2c, 0xc9, 0xcc, 0xcf,
|
||||||
(*DeclineContactVerification)(nil), // 2: protobuf.DeclineContactVerification
|
0xd3, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x00, 0x53, 0x49, 0xa5, 0x69, 0x4a, 0x01, 0x5c,
|
||||||
(*CancelContactVerification)(nil), // 3: protobuf.CancelContactVerification
|
0x52, 0x41, 0xa9, 0x85, 0xa5, 0xa9, 0xc5, 0x25, 0xce, 0x10, 0xe5, 0x61, 0x48, 0xaa, 0x85, 0x44,
|
||||||
}
|
0xb8, 0x58, 0x93, 0x73, 0xf2, 0x93, 0xb3, 0x25, 0x18, 0x15, 0x18, 0x35, 0x58, 0x82, 0x20, 0x1c,
|
||||||
var file_contact_verification_proto_depIdxs = []int32{
|
0x21, 0x19, 0x2e, 0xce, 0xe4, 0x8c, 0xc4, 0x9c, 0x9c, 0xd4, 0xbc, 0xf4, 0x54, 0x09, 0x66, 0x05,
|
||||||
0, // [0:0] is the sub-list for method output_type
|
0x46, 0x0d, 0xce, 0x20, 0x84, 0x80, 0x52, 0x2c, 0x97, 0xa4, 0x63, 0x72, 0x72, 0x6a, 0x01, 0x09,
|
||||||
0, // [0:0] is the sub-list for method input_type
|
0x06, 0xf2, 0x71, 0x31, 0x65, 0xa6, 0x48, 0x30, 0x81, 0x4d, 0x62, 0xca, 0x4c, 0x11, 0x92, 0xe2,
|
||||||
0, // [0:0] is the sub-list for extension type_name
|
0xe2, 0x28, 0x4a, 0x2d, 0x2e, 0xc8, 0xcf, 0x2b, 0x86, 0x99, 0x0f, 0xe7, 0x2b, 0x39, 0x71, 0x49,
|
||||||
0, // [0:0] is the sub-list for extension extendee
|
0xb9, 0xa4, 0x26, 0xe7, 0x64, 0xe6, 0xa5, 0x92, 0x6d, 0xbe, 0x92, 0x23, 0x97, 0xa4, 0x73, 0x62,
|
||||||
0, // [0:0] is the sub-list for field type_name
|
0x5e, 0x72, 0x6a, 0x0e, 0xd9, 0x46, 0x38, 0xf1, 0x46, 0x71, 0xeb, 0xe9, 0x5b, 0xc3, 0x82, 0x31,
|
||||||
}
|
0x89, 0x0d, 0xcc, 0x32, 0x06, 0x04, 0x00, 0x00, 0xff, 0xff, 0xd4, 0x2b, 0x89, 0x8f, 0x75, 0x01,
|
||||||
|
0x00, 0x00,
|
||||||
func init() { file_contact_verification_proto_init() }
|
|
||||||
func file_contact_verification_proto_init() {
|
|
||||||
if File_contact_verification_proto != nil {
|
|
||||||
return
|
|
||||||
}
|
|
||||||
if !protoimpl.UnsafeEnabled {
|
|
||||||
file_contact_verification_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
||||||
switch v := v.(*RequestContactVerification); i {
|
|
||||||
case 0:
|
|
||||||
return &v.state
|
|
||||||
case 1:
|
|
||||||
return &v.sizeCache
|
|
||||||
case 2:
|
|
||||||
return &v.unknownFields
|
|
||||||
default:
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
}
|
|
||||||
file_contact_verification_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
||||||
switch v := v.(*AcceptContactVerification); i {
|
|
||||||
case 0:
|
|
||||||
return &v.state
|
|
||||||
case 1:
|
|
||||||
return &v.sizeCache
|
|
||||||
case 2:
|
|
||||||
return &v.unknownFields
|
|
||||||
default:
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
}
|
|
||||||
file_contact_verification_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
||||||
switch v := v.(*DeclineContactVerification); i {
|
|
||||||
case 0:
|
|
||||||
return &v.state
|
|
||||||
case 1:
|
|
||||||
return &v.sizeCache
|
|
||||||
case 2:
|
|
||||||
return &v.unknownFields
|
|
||||||
default:
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
}
|
|
||||||
file_contact_verification_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
||||||
switch v := v.(*CancelContactVerification); i {
|
|
||||||
case 0:
|
|
||||||
return &v.state
|
|
||||||
case 1:
|
|
||||||
return &v.sizeCache
|
|
||||||
case 2:
|
|
||||||
return &v.unknownFields
|
|
||||||
default:
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
type x struct{}
|
|
||||||
out := protoimpl.TypeBuilder{
|
|
||||||
File: protoimpl.DescBuilder{
|
|
||||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
||||||
RawDescriptor: file_contact_verification_proto_rawDesc,
|
|
||||||
NumEnums: 0,
|
|
||||||
NumMessages: 4,
|
|
||||||
NumExtensions: 0,
|
|
||||||
NumServices: 0,
|
|
||||||
},
|
|
||||||
GoTypes: file_contact_verification_proto_goTypes,
|
|
||||||
DependencyIndexes: file_contact_verification_proto_depIdxs,
|
|
||||||
MessageInfos: file_contact_verification_proto_msgTypes,
|
|
||||||
}.Build()
|
|
||||||
File_contact_verification_proto = out.File
|
|
||||||
file_contact_verification_proto_rawDesc = nil
|
|
||||||
file_contact_verification_proto_goTypes = nil
|
|
||||||
file_contact_verification_proto_depIdxs = nil
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,24 +1,24 @@
|
||||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||||
// versions:
|
|
||||||
// protoc-gen-go v1.29.1
|
|
||||||
// protoc v3.20.3
|
|
||||||
// source: emoji_reaction.proto
|
// source: emoji_reaction.proto
|
||||||
|
|
||||||
package protobuf
|
package protobuf
|
||||||
|
|
||||||
import (
|
import (
|
||||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
fmt "fmt"
|
||||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
proto "github.com/golang/protobuf/proto"
|
||||||
reflect "reflect"
|
math "math"
|
||||||
sync "sync"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
// Reference imports to suppress errors if they are not otherwise used.
|
||||||
// Verify that this generated code is sufficiently up-to-date.
|
var _ = proto.Marshal
|
||||||
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
var _ = fmt.Errorf
|
||||||
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
var _ = math.Inf
|
||||||
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
||||||
)
|
// This is a compile-time assertion to ensure that this generated file
|
||||||
|
// is compatible with the proto package it is being compiled against.
|
||||||
|
// A compilation error at this line likely means your copy of the
|
||||||
|
// proto package needs to be updated.
|
||||||
|
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
|
||||||
|
|
||||||
type EmojiReaction_Type int32
|
type EmojiReaction_Type int32
|
||||||
|
|
||||||
|
@ -32,60 +32,35 @@ const (
|
||||||
EmojiReaction_ANGRY EmojiReaction_Type = 6
|
EmojiReaction_ANGRY EmojiReaction_Type = 6
|
||||||
)
|
)
|
||||||
|
|
||||||
// Enum value maps for EmojiReaction_Type.
|
var EmojiReaction_Type_name = map[int32]string{
|
||||||
var (
|
0: "UNKNOWN_EMOJI_REACTION_TYPE",
|
||||||
EmojiReaction_Type_name = map[int32]string{
|
1: "LOVE",
|
||||||
0: "UNKNOWN_EMOJI_REACTION_TYPE",
|
2: "THUMBS_UP",
|
||||||
1: "LOVE",
|
3: "THUMBS_DOWN",
|
||||||
2: "THUMBS_UP",
|
4: "LAUGH",
|
||||||
3: "THUMBS_DOWN",
|
5: "SAD",
|
||||||
4: "LAUGH",
|
6: "ANGRY",
|
||||||
5: "SAD",
|
}
|
||||||
6: "ANGRY",
|
|
||||||
}
|
|
||||||
EmojiReaction_Type_value = map[string]int32{
|
|
||||||
"UNKNOWN_EMOJI_REACTION_TYPE": 0,
|
|
||||||
"LOVE": 1,
|
|
||||||
"THUMBS_UP": 2,
|
|
||||||
"THUMBS_DOWN": 3,
|
|
||||||
"LAUGH": 4,
|
|
||||||
"SAD": 5,
|
|
||||||
"ANGRY": 6,
|
|
||||||
}
|
|
||||||
)
|
|
||||||
|
|
||||||
func (x EmojiReaction_Type) Enum() *EmojiReaction_Type {
|
var EmojiReaction_Type_value = map[string]int32{
|
||||||
p := new(EmojiReaction_Type)
|
"UNKNOWN_EMOJI_REACTION_TYPE": 0,
|
||||||
*p = x
|
"LOVE": 1,
|
||||||
return p
|
"THUMBS_UP": 2,
|
||||||
|
"THUMBS_DOWN": 3,
|
||||||
|
"LAUGH": 4,
|
||||||
|
"SAD": 5,
|
||||||
|
"ANGRY": 6,
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x EmojiReaction_Type) String() string {
|
func (x EmojiReaction_Type) String() string {
|
||||||
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
return proto.EnumName(EmojiReaction_Type_name, int32(x))
|
||||||
}
|
}
|
||||||
|
|
||||||
func (EmojiReaction_Type) Descriptor() protoreflect.EnumDescriptor {
|
|
||||||
return file_emoji_reaction_proto_enumTypes[0].Descriptor()
|
|
||||||
}
|
|
||||||
|
|
||||||
func (EmojiReaction_Type) Type() protoreflect.EnumType {
|
|
||||||
return &file_emoji_reaction_proto_enumTypes[0]
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x EmojiReaction_Type) Number() protoreflect.EnumNumber {
|
|
||||||
return protoreflect.EnumNumber(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
// Deprecated: Use EmojiReaction_Type.Descriptor instead.
|
|
||||||
func (EmojiReaction_Type) EnumDescriptor() ([]byte, []int) {
|
func (EmojiReaction_Type) EnumDescriptor() ([]byte, []int) {
|
||||||
return file_emoji_reaction_proto_rawDescGZIP(), []int{0, 0}
|
return fileDescriptor_0a088c907bbc7ed6, []int{0, 0}
|
||||||
}
|
}
|
||||||
|
|
||||||
type EmojiReaction struct {
|
type EmojiReaction struct {
|
||||||
state protoimpl.MessageState
|
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
// clock Lamport timestamp of the chat message
|
// clock Lamport timestamp of the chat message
|
||||||
Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"`
|
Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"`
|
||||||
// chat_id the ID of the chat the message belongs to, for query efficiency the chat_id is stored in the db even though the
|
// chat_id the ID of the chat the message belongs to, for query efficiency the chat_id is stored in the db even though the
|
||||||
|
@ -100,189 +75,116 @@ type EmojiReaction struct {
|
||||||
// whether this is a rectraction of a previously sent emoji
|
// whether this is a rectraction of a previously sent emoji
|
||||||
Retracted bool `protobuf:"varint,6,opt,name=retracted,proto3" json:"retracted,omitempty"`
|
Retracted bool `protobuf:"varint,6,opt,name=retracted,proto3" json:"retracted,omitempty"`
|
||||||
// Grant for organisation chat messages
|
// Grant for organisation chat messages
|
||||||
Grant []byte `protobuf:"bytes,7,opt,name=grant,proto3" json:"grant,omitempty"`
|
Grant []byte `protobuf:"bytes,7,opt,name=grant,proto3" json:"grant,omitempty"`
|
||||||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
|
XXX_unrecognized []byte `json:"-"`
|
||||||
|
XXX_sizecache int32 `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *EmojiReaction) Reset() {
|
func (m *EmojiReaction) Reset() { *m = EmojiReaction{} }
|
||||||
*x = EmojiReaction{}
|
func (m *EmojiReaction) String() string { return proto.CompactTextString(m) }
|
||||||
if protoimpl.UnsafeEnabled {
|
func (*EmojiReaction) ProtoMessage() {}
|
||||||
mi := &file_emoji_reaction_proto_msgTypes[0]
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *EmojiReaction) String() string {
|
|
||||||
return protoimpl.X.MessageStringOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (*EmojiReaction) ProtoMessage() {}
|
|
||||||
|
|
||||||
func (x *EmojiReaction) ProtoReflect() protoreflect.Message {
|
|
||||||
mi := &file_emoji_reaction_proto_msgTypes[0]
|
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
if ms.LoadMessageInfo() == nil {
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
return ms
|
|
||||||
}
|
|
||||||
return mi.MessageOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
// Deprecated: Use EmojiReaction.ProtoReflect.Descriptor instead.
|
|
||||||
func (*EmojiReaction) Descriptor() ([]byte, []int) {
|
func (*EmojiReaction) Descriptor() ([]byte, []int) {
|
||||||
return file_emoji_reaction_proto_rawDescGZIP(), []int{0}
|
return fileDescriptor_0a088c907bbc7ed6, []int{0}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *EmojiReaction) GetClock() uint64 {
|
func (m *EmojiReaction) XXX_Unmarshal(b []byte) error {
|
||||||
if x != nil {
|
return xxx_messageInfo_EmojiReaction.Unmarshal(m, b)
|
||||||
return x.Clock
|
}
|
||||||
|
func (m *EmojiReaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||||
|
return xxx_messageInfo_EmojiReaction.Marshal(b, m, deterministic)
|
||||||
|
}
|
||||||
|
func (m *EmojiReaction) XXX_Merge(src proto.Message) {
|
||||||
|
xxx_messageInfo_EmojiReaction.Merge(m, src)
|
||||||
|
}
|
||||||
|
func (m *EmojiReaction) XXX_Size() int {
|
||||||
|
return xxx_messageInfo_EmojiReaction.Size(m)
|
||||||
|
}
|
||||||
|
func (m *EmojiReaction) XXX_DiscardUnknown() {
|
||||||
|
xxx_messageInfo_EmojiReaction.DiscardUnknown(m)
|
||||||
|
}
|
||||||
|
|
||||||
|
var xxx_messageInfo_EmojiReaction proto.InternalMessageInfo
|
||||||
|
|
||||||
|
func (m *EmojiReaction) GetClock() uint64 {
|
||||||
|
if m != nil {
|
||||||
|
return m.Clock
|
||||||
}
|
}
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *EmojiReaction) GetChatId() string {
|
func (m *EmojiReaction) GetChatId() string {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.ChatId
|
return m.ChatId
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *EmojiReaction) GetMessageId() string {
|
func (m *EmojiReaction) GetMessageId() string {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.MessageId
|
return m.MessageId
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *EmojiReaction) GetMessageType() MessageType {
|
func (m *EmojiReaction) GetMessageType() MessageType {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.MessageType
|
return m.MessageType
|
||||||
}
|
}
|
||||||
return MessageType_UNKNOWN_MESSAGE_TYPE
|
return MessageType_UNKNOWN_MESSAGE_TYPE
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *EmojiReaction) GetType() EmojiReaction_Type {
|
func (m *EmojiReaction) GetType() EmojiReaction_Type {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.Type
|
return m.Type
|
||||||
}
|
}
|
||||||
return EmojiReaction_UNKNOWN_EMOJI_REACTION_TYPE
|
return EmojiReaction_UNKNOWN_EMOJI_REACTION_TYPE
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *EmojiReaction) GetRetracted() bool {
|
func (m *EmojiReaction) GetRetracted() bool {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.Retracted
|
return m.Retracted
|
||||||
}
|
}
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *EmojiReaction) GetGrant() []byte {
|
func (m *EmojiReaction) GetGrant() []byte {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.Grant
|
return m.Grant
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
var File_emoji_reaction_proto protoreflect.FileDescriptor
|
func init() {
|
||||||
|
proto.RegisterEnum("protobuf.EmojiReaction_Type", EmojiReaction_Type_name, EmojiReaction_Type_value)
|
||||||
var file_emoji_reaction_proto_rawDesc = []byte{
|
proto.RegisterType((*EmojiReaction)(nil), "protobuf.EmojiReaction")
|
||||||
0x0a, 0x14, 0x65, 0x6d, 0x6f, 0x6a, 0x69, 0x5f, 0x72, 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e,
|
|
||||||
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
|
|
||||||
0x1a, 0x0b, 0x65, 0x6e, 0x75, 0x6d, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xef, 0x02,
|
|
||||||
0x0a, 0x0d, 0x45, 0x6d, 0x6f, 0x6a, 0x69, 0x52, 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12,
|
|
||||||
0x14, 0x0a, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05,
|
|
||||||
0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x17, 0x0a, 0x07, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x69, 0x64,
|
|
||||||
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x63, 0x68, 0x61, 0x74, 0x49, 0x64, 0x12, 0x1d,
|
|
||||||
0x0a, 0x0a, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01,
|
|
||||||
0x28, 0x09, 0x52, 0x09, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x49, 0x64, 0x12, 0x38, 0x0a,
|
|
||||||
0x0c, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20,
|
|
||||||
0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d,
|
|
||||||
0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x6d, 0x65, 0x73, 0x73,
|
|
||||||
0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x30, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18,
|
|
||||||
0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
|
|
||||||
0x2e, 0x45, 0x6d, 0x6f, 0x6a, 0x69, 0x52, 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x54,
|
|
||||||
0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x74,
|
|
||||||
0x72, 0x61, 0x63, 0x74, 0x65, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x72, 0x65,
|
|
||||||
0x74, 0x72, 0x61, 0x63, 0x74, 0x65, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x67, 0x72, 0x61, 0x6e, 0x74,
|
|
||||||
0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x22, 0x70, 0x0a,
|
|
||||||
0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x1b, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e,
|
|
||||||
0x5f, 0x45, 0x4d, 0x4f, 0x4a, 0x49, 0x5f, 0x52, 0x45, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f,
|
|
||||||
0x54, 0x59, 0x50, 0x45, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x4c, 0x4f, 0x56, 0x45, 0x10, 0x01,
|
|
||||||
0x12, 0x0d, 0x0a, 0x09, 0x54, 0x48, 0x55, 0x4d, 0x42, 0x53, 0x5f, 0x55, 0x50, 0x10, 0x02, 0x12,
|
|
||||||
0x0f, 0x0a, 0x0b, 0x54, 0x48, 0x55, 0x4d, 0x42, 0x53, 0x5f, 0x44, 0x4f, 0x57, 0x4e, 0x10, 0x03,
|
|
||||||
0x12, 0x09, 0x0a, 0x05, 0x4c, 0x41, 0x55, 0x47, 0x48, 0x10, 0x04, 0x12, 0x07, 0x0a, 0x03, 0x53,
|
|
||||||
0x41, 0x44, 0x10, 0x05, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x4e, 0x47, 0x52, 0x59, 0x10, 0x06, 0x42,
|
|
||||||
0x0d, 0x5a, 0x0b, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x62, 0x06,
|
|
||||||
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
var (
|
func init() {
|
||||||
file_emoji_reaction_proto_rawDescOnce sync.Once
|
proto.RegisterFile("emoji_reaction.proto", fileDescriptor_0a088c907bbc7ed6)
|
||||||
file_emoji_reaction_proto_rawDescData = file_emoji_reaction_proto_rawDesc
|
|
||||||
)
|
|
||||||
|
|
||||||
func file_emoji_reaction_proto_rawDescGZIP() []byte {
|
|
||||||
file_emoji_reaction_proto_rawDescOnce.Do(func() {
|
|
||||||
file_emoji_reaction_proto_rawDescData = protoimpl.X.CompressGZIP(file_emoji_reaction_proto_rawDescData)
|
|
||||||
})
|
|
||||||
return file_emoji_reaction_proto_rawDescData
|
|
||||||
}
|
}
|
||||||
|
|
||||||
var file_emoji_reaction_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
var fileDescriptor_0a088c907bbc7ed6 = []byte{
|
||||||
var file_emoji_reaction_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
|
// 330 bytes of a gzipped FileDescriptorProto
|
||||||
var file_emoji_reaction_proto_goTypes = []interface{}{
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x8f, 0xcd, 0x6e, 0xaa, 0x40,
|
||||||
(EmojiReaction_Type)(0), // 0: protobuf.EmojiReaction.Type
|
0x14, 0xc7, 0x2f, 0x0a, 0x28, 0x07, 0xbd, 0x77, 0x32, 0xf1, 0xa6, 0xa4, 0xb5, 0x29, 0x71, 0xc5,
|
||||||
(*EmojiReaction)(nil), // 1: protobuf.EmojiReaction
|
0x8a, 0x36, 0xed, 0xa6, 0x49, 0x57, 0x58, 0x89, 0xd2, 0x2a, 0x98, 0x11, 0x6a, 0xec, 0x86, 0x20,
|
||||||
(MessageType)(0), // 2: protobuf.MessageType
|
0x4c, 0xad, 0x6d, 0x11, 0x82, 0xe3, 0xc2, 0xa7, 0xee, 0x2b, 0x34, 0x0c, 0x1a, 0xd3, 0xd5, 0xcc,
|
||||||
}
|
0xef, 0xff, 0x91, 0x73, 0x0e, 0x74, 0x68, 0x9a, 0x7d, 0xac, 0xc3, 0x82, 0x46, 0x31, 0x5b, 0x67,
|
||||||
var file_emoji_reaction_proto_depIdxs = []int32{
|
0x1b, 0x33, 0x2f, 0x32, 0x96, 0xe1, 0x26, 0x7f, 0x96, 0xbb, 0xb7, 0x73, 0x95, 0x6e, 0x76, 0xe9,
|
||||||
2, // 0: protobuf.EmojiReaction.message_type:type_name -> protobuf.MessageType
|
0xb6, 0x92, 0x7b, 0xdf, 0x35, 0x68, 0xdb, 0x65, 0x9e, 0x1c, 0xe2, 0xb8, 0x03, 0x52, 0xfc, 0x95,
|
||||||
0, // 1: protobuf.EmojiReaction.type:type_name -> protobuf.EmojiReaction.Type
|
0xc5, 0x9f, 0x9a, 0xa0, 0x0b, 0x86, 0x48, 0x2a, 0xc0, 0x67, 0xd0, 0x88, 0xdf, 0x23, 0x16, 0xae,
|
||||||
2, // [2:2] is the sub-list for method output_type
|
0x13, 0xad, 0xa6, 0x0b, 0x86, 0x42, 0xe4, 0x12, 0x9d, 0x04, 0x5f, 0x02, 0xa4, 0x74, 0xbb, 0x8d,
|
||||||
2, // [2:2] is the sub-list for method input_type
|
0x56, 0xb4, 0xf4, 0xea, 0xdc, 0x53, 0x0e, 0x8a, 0x93, 0xe0, 0x7b, 0x68, 0x1d, 0x6d, 0xb6, 0xcf,
|
||||||
2, // [2:2] is the sub-list for extension type_name
|
0xa9, 0x26, 0xea, 0x82, 0xf1, 0xf7, 0xf6, 0xbf, 0x79, 0xdc, 0xc6, 0x9c, 0x54, 0xae, 0xbf, 0xcf,
|
||||||
2, // [2:2] is the sub-list for extension extendee
|
0x29, 0x51, 0xd3, 0x13, 0xe0, 0x1b, 0x10, 0x79, 0x43, 0xe2, 0x8d, 0xee, 0xa9, 0xf1, 0x6b, 0x5d,
|
||||||
0, // [0:2] is the sub-list for field type_name
|
0x93, 0x17, 0x79, 0x12, 0x77, 0x41, 0x29, 0x28, 0x2b, 0xa2, 0x98, 0xd1, 0x44, 0x93, 0x75, 0xc1,
|
||||||
}
|
0x68, 0x92, 0x93, 0x50, 0xde, 0xb5, 0x2a, 0xa2, 0x0d, 0xd3, 0x1a, 0xba, 0x60, 0xb4, 0x48, 0x05,
|
||||||
|
0xbd, 0x1c, 0x44, 0x3e, 0xed, 0x0a, 0x2e, 0x02, 0xf7, 0xd9, 0xf5, 0xe6, 0x6e, 0x68, 0x4f, 0xbc,
|
||||||
func init() { file_emoji_reaction_proto_init() }
|
0x27, 0x27, 0x24, 0xb6, 0xf5, 0xe8, 0x3b, 0x9e, 0x1b, 0xfa, 0x8b, 0xa9, 0x8d, 0xfe, 0xe0, 0x26,
|
||||||
func file_emoji_reaction_proto_init() {
|
0x88, 0x63, 0xef, 0xc5, 0x46, 0x02, 0x6e, 0x83, 0xe2, 0x8f, 0x82, 0x49, 0x7f, 0x16, 0x06, 0x53,
|
||||||
if File_emoji_reaction_proto != nil {
|
0x54, 0xc3, 0xff, 0x40, 0x3d, 0xe0, 0xc0, 0x9b, 0xbb, 0xa8, 0x8e, 0x15, 0x90, 0xc6, 0x56, 0x30,
|
||||||
return
|
0x1c, 0x21, 0x11, 0x37, 0xa0, 0x3e, 0xb3, 0x06, 0x48, 0x2a, 0x35, 0xcb, 0x1d, 0x92, 0x05, 0x92,
|
||||||
}
|
0xfb, 0xed, 0x57, 0xd5, 0xbc, 0x7e, 0x38, 0x5e, 0xb3, 0x94, 0xf9, 0xef, 0xee, 0x27, 0x00, 0x00,
|
||||||
file_enums_proto_init()
|
0xff, 0xff, 0x7e, 0x57, 0x12, 0xd9, 0xb6, 0x01, 0x00, 0x00,
|
||||||
if !protoimpl.UnsafeEnabled {
|
|
||||||
file_emoji_reaction_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
||||||
switch v := v.(*EmojiReaction); i {
|
|
||||||
case 0:
|
|
||||||
return &v.state
|
|
||||||
case 1:
|
|
||||||
return &v.sizeCache
|
|
||||||
case 2:
|
|
||||||
return &v.unknownFields
|
|
||||||
default:
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
type x struct{}
|
|
||||||
out := protoimpl.TypeBuilder{
|
|
||||||
File: protoimpl.DescBuilder{
|
|
||||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
||||||
RawDescriptor: file_emoji_reaction_proto_rawDesc,
|
|
||||||
NumEnums: 1,
|
|
||||||
NumMessages: 1,
|
|
||||||
NumExtensions: 0,
|
|
||||||
NumServices: 0,
|
|
||||||
},
|
|
||||||
GoTypes: file_emoji_reaction_proto_goTypes,
|
|
||||||
DependencyIndexes: file_emoji_reaction_proto_depIdxs,
|
|
||||||
EnumInfos: file_emoji_reaction_proto_enumTypes,
|
|
||||||
MessageInfos: file_emoji_reaction_proto_msgTypes,
|
|
||||||
}.Build()
|
|
||||||
File_emoji_reaction_proto = out.File
|
|
||||||
file_emoji_reaction_proto_rawDesc = nil
|
|
||||||
file_emoji_reaction_proto_goTypes = nil
|
|
||||||
file_emoji_reaction_proto_depIdxs = nil
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,24 +1,24 @@
|
||||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||||
// versions:
|
|
||||||
// protoc-gen-go v1.29.1
|
|
||||||
// protoc v3.20.3
|
|
||||||
// source: enums.proto
|
// source: enums.proto
|
||||||
|
|
||||||
package protobuf
|
package protobuf
|
||||||
|
|
||||||
import (
|
import (
|
||||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
fmt "fmt"
|
||||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
proto "github.com/golang/protobuf/proto"
|
||||||
reflect "reflect"
|
math "math"
|
||||||
sync "sync"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
// Reference imports to suppress errors if they are not otherwise used.
|
||||||
// Verify that this generated code is sufficiently up-to-date.
|
var _ = proto.Marshal
|
||||||
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
var _ = fmt.Errorf
|
||||||
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
var _ = math.Inf
|
||||||
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
||||||
)
|
// This is a compile-time assertion to ensure that this generated file
|
||||||
|
// is compatible with the proto package it is being compiled against.
|
||||||
|
// A compilation error at this line likely means your copy of the
|
||||||
|
// proto package needs to be updated.
|
||||||
|
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
|
||||||
|
|
||||||
type MessageType int32
|
type MessageType int32
|
||||||
|
|
||||||
|
@ -34,53 +34,32 @@ const (
|
||||||
MessageType_SYSTEM_MESSAGE_GAP MessageType = 6
|
MessageType_SYSTEM_MESSAGE_GAP MessageType = 6
|
||||||
)
|
)
|
||||||
|
|
||||||
// Enum value maps for MessageType.
|
var MessageType_name = map[int32]string{
|
||||||
var (
|
0: "UNKNOWN_MESSAGE_TYPE",
|
||||||
MessageType_name = map[int32]string{
|
1: "ONE_TO_ONE",
|
||||||
0: "UNKNOWN_MESSAGE_TYPE",
|
2: "PUBLIC_GROUP",
|
||||||
1: "ONE_TO_ONE",
|
3: "PRIVATE_GROUP",
|
||||||
2: "PUBLIC_GROUP",
|
4: "SYSTEM_MESSAGE_PRIVATE_GROUP",
|
||||||
3: "PRIVATE_GROUP",
|
5: "COMMUNITY_CHAT",
|
||||||
4: "SYSTEM_MESSAGE_PRIVATE_GROUP",
|
6: "SYSTEM_MESSAGE_GAP",
|
||||||
5: "COMMUNITY_CHAT",
|
}
|
||||||
6: "SYSTEM_MESSAGE_GAP",
|
|
||||||
}
|
|
||||||
MessageType_value = map[string]int32{
|
|
||||||
"UNKNOWN_MESSAGE_TYPE": 0,
|
|
||||||
"ONE_TO_ONE": 1,
|
|
||||||
"PUBLIC_GROUP": 2,
|
|
||||||
"PRIVATE_GROUP": 3,
|
|
||||||
"SYSTEM_MESSAGE_PRIVATE_GROUP": 4,
|
|
||||||
"COMMUNITY_CHAT": 5,
|
|
||||||
"SYSTEM_MESSAGE_GAP": 6,
|
|
||||||
}
|
|
||||||
)
|
|
||||||
|
|
||||||
func (x MessageType) Enum() *MessageType {
|
var MessageType_value = map[string]int32{
|
||||||
p := new(MessageType)
|
"UNKNOWN_MESSAGE_TYPE": 0,
|
||||||
*p = x
|
"ONE_TO_ONE": 1,
|
||||||
return p
|
"PUBLIC_GROUP": 2,
|
||||||
|
"PRIVATE_GROUP": 3,
|
||||||
|
"SYSTEM_MESSAGE_PRIVATE_GROUP": 4,
|
||||||
|
"COMMUNITY_CHAT": 5,
|
||||||
|
"SYSTEM_MESSAGE_GAP": 6,
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x MessageType) String() string {
|
func (x MessageType) String() string {
|
||||||
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
return proto.EnumName(MessageType_name, int32(x))
|
||||||
}
|
}
|
||||||
|
|
||||||
func (MessageType) Descriptor() protoreflect.EnumDescriptor {
|
|
||||||
return file_enums_proto_enumTypes[0].Descriptor()
|
|
||||||
}
|
|
||||||
|
|
||||||
func (MessageType) Type() protoreflect.EnumType {
|
|
||||||
return &file_enums_proto_enumTypes[0]
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x MessageType) Number() protoreflect.EnumNumber {
|
|
||||||
return protoreflect.EnumNumber(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
// Deprecated: Use MessageType.Descriptor instead.
|
|
||||||
func (MessageType) EnumDescriptor() ([]byte, []int) {
|
func (MessageType) EnumDescriptor() ([]byte, []int) {
|
||||||
return file_enums_proto_rawDescGZIP(), []int{0}
|
return fileDescriptor_888b6bd9597961ff, []int{0}
|
||||||
}
|
}
|
||||||
|
|
||||||
type ImageType int32
|
type ImageType int32
|
||||||
|
@ -94,49 +73,28 @@ const (
|
||||||
ImageType_GIF ImageType = 4
|
ImageType_GIF ImageType = 4
|
||||||
)
|
)
|
||||||
|
|
||||||
// Enum value maps for ImageType.
|
var ImageType_name = map[int32]string{
|
||||||
var (
|
0: "UNKNOWN_IMAGE_TYPE",
|
||||||
ImageType_name = map[int32]string{
|
1: "PNG",
|
||||||
0: "UNKNOWN_IMAGE_TYPE",
|
2: "JPEG",
|
||||||
1: "PNG",
|
3: "WEBP",
|
||||||
2: "JPEG",
|
4: "GIF",
|
||||||
3: "WEBP",
|
}
|
||||||
4: "GIF",
|
|
||||||
}
|
|
||||||
ImageType_value = map[string]int32{
|
|
||||||
"UNKNOWN_IMAGE_TYPE": 0,
|
|
||||||
"PNG": 1,
|
|
||||||
"JPEG": 2,
|
|
||||||
"WEBP": 3,
|
|
||||||
"GIF": 4,
|
|
||||||
}
|
|
||||||
)
|
|
||||||
|
|
||||||
func (x ImageType) Enum() *ImageType {
|
var ImageType_value = map[string]int32{
|
||||||
p := new(ImageType)
|
"UNKNOWN_IMAGE_TYPE": 0,
|
||||||
*p = x
|
"PNG": 1,
|
||||||
return p
|
"JPEG": 2,
|
||||||
|
"WEBP": 3,
|
||||||
|
"GIF": 4,
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x ImageType) String() string {
|
func (x ImageType) String() string {
|
||||||
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
return proto.EnumName(ImageType_name, int32(x))
|
||||||
}
|
}
|
||||||
|
|
||||||
func (ImageType) Descriptor() protoreflect.EnumDescriptor {
|
|
||||||
return file_enums_proto_enumTypes[1].Descriptor()
|
|
||||||
}
|
|
||||||
|
|
||||||
func (ImageType) Type() protoreflect.EnumType {
|
|
||||||
return &file_enums_proto_enumTypes[1]
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x ImageType) Number() protoreflect.EnumNumber {
|
|
||||||
return protoreflect.EnumNumber(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
// Deprecated: Use ImageType.Descriptor instead.
|
|
||||||
func (ImageType) EnumDescriptor() ([]byte, []int) {
|
func (ImageType) EnumDescriptor() ([]byte, []int) {
|
||||||
return file_enums_proto_rawDescGZIP(), []int{1}
|
return fileDescriptor_888b6bd9597961ff, []int{1}
|
||||||
}
|
}
|
||||||
|
|
||||||
type CommunityTokenType int32
|
type CommunityTokenType int32
|
||||||
|
@ -148,125 +106,56 @@ const (
|
||||||
CommunityTokenType_ENS CommunityTokenType = 3
|
CommunityTokenType_ENS CommunityTokenType = 3
|
||||||
)
|
)
|
||||||
|
|
||||||
// Enum value maps for CommunityTokenType.
|
var CommunityTokenType_name = map[int32]string{
|
||||||
var (
|
0: "UNKNOWN_TOKEN_TYPE",
|
||||||
CommunityTokenType_name = map[int32]string{
|
1: "ERC20",
|
||||||
0: "UNKNOWN_TOKEN_TYPE",
|
2: "ERC721",
|
||||||
1: "ERC20",
|
3: "ENS",
|
||||||
2: "ERC721",
|
}
|
||||||
3: "ENS",
|
|
||||||
}
|
|
||||||
CommunityTokenType_value = map[string]int32{
|
|
||||||
"UNKNOWN_TOKEN_TYPE": 0,
|
|
||||||
"ERC20": 1,
|
|
||||||
"ERC721": 2,
|
|
||||||
"ENS": 3,
|
|
||||||
}
|
|
||||||
)
|
|
||||||
|
|
||||||
func (x CommunityTokenType) Enum() *CommunityTokenType {
|
var CommunityTokenType_value = map[string]int32{
|
||||||
p := new(CommunityTokenType)
|
"UNKNOWN_TOKEN_TYPE": 0,
|
||||||
*p = x
|
"ERC20": 1,
|
||||||
return p
|
"ERC721": 2,
|
||||||
|
"ENS": 3,
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x CommunityTokenType) String() string {
|
func (x CommunityTokenType) String() string {
|
||||||
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
return proto.EnumName(CommunityTokenType_name, int32(x))
|
||||||
}
|
}
|
||||||
|
|
||||||
func (CommunityTokenType) Descriptor() protoreflect.EnumDescriptor {
|
|
||||||
return file_enums_proto_enumTypes[2].Descriptor()
|
|
||||||
}
|
|
||||||
|
|
||||||
func (CommunityTokenType) Type() protoreflect.EnumType {
|
|
||||||
return &file_enums_proto_enumTypes[2]
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x CommunityTokenType) Number() protoreflect.EnumNumber {
|
|
||||||
return protoreflect.EnumNumber(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
// Deprecated: Use CommunityTokenType.Descriptor instead.
|
|
||||||
func (CommunityTokenType) EnumDescriptor() ([]byte, []int) {
|
func (CommunityTokenType) EnumDescriptor() ([]byte, []int) {
|
||||||
return file_enums_proto_rawDescGZIP(), []int{2}
|
return fileDescriptor_888b6bd9597961ff, []int{2}
|
||||||
}
|
}
|
||||||
|
|
||||||
var File_enums_proto protoreflect.FileDescriptor
|
func init() {
|
||||||
|
proto.RegisterEnum("protobuf.MessageType", MessageType_name, MessageType_value)
|
||||||
var file_enums_proto_rawDesc = []byte{
|
proto.RegisterEnum("protobuf.ImageType", ImageType_name, ImageType_value)
|
||||||
0x0a, 0x0b, 0x65, 0x6e, 0x75, 0x6d, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70,
|
proto.RegisterEnum("protobuf.CommunityTokenType", CommunityTokenType_name, CommunityTokenType_value)
|
||||||
0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2a, 0xaa, 0x01, 0x0a, 0x0b, 0x4d, 0x65, 0x73, 0x73,
|
|
||||||
0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x14, 0x55, 0x4e, 0x4b, 0x4e, 0x4f,
|
|
||||||
0x57, 0x4e, 0x5f, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x10,
|
|
||||||
0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x4f, 0x4e, 0x45, 0x5f, 0x54, 0x4f, 0x5f, 0x4f, 0x4e, 0x45, 0x10,
|
|
||||||
0x01, 0x12, 0x10, 0x0a, 0x0c, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x43, 0x5f, 0x47, 0x52, 0x4f, 0x55,
|
|
||||||
0x50, 0x10, 0x02, 0x12, 0x11, 0x0a, 0x0d, 0x50, 0x52, 0x49, 0x56, 0x41, 0x54, 0x45, 0x5f, 0x47,
|
|
||||||
0x52, 0x4f, 0x55, 0x50, 0x10, 0x03, 0x12, 0x20, 0x0a, 0x1c, 0x53, 0x59, 0x53, 0x54, 0x45, 0x4d,
|
|
||||||
0x5f, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, 0x5f, 0x50, 0x52, 0x49, 0x56, 0x41, 0x54, 0x45,
|
|
||||||
0x5f, 0x47, 0x52, 0x4f, 0x55, 0x50, 0x10, 0x04, 0x12, 0x12, 0x0a, 0x0e, 0x43, 0x4f, 0x4d, 0x4d,
|
|
||||||
0x55, 0x4e, 0x49, 0x54, 0x59, 0x5f, 0x43, 0x48, 0x41, 0x54, 0x10, 0x05, 0x12, 0x16, 0x0a, 0x12,
|
|
||||||
0x53, 0x59, 0x53, 0x54, 0x45, 0x4d, 0x5f, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, 0x5f, 0x47,
|
|
||||||
0x41, 0x50, 0x10, 0x06, 0x2a, 0x49, 0x0a, 0x09, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70,
|
|
||||||
0x65, 0x12, 0x16, 0x0a, 0x12, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x5f, 0x49, 0x4d, 0x41,
|
|
||||||
0x47, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x50, 0x4e, 0x47,
|
|
||||||
0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x4a, 0x50, 0x45, 0x47, 0x10, 0x02, 0x12, 0x08, 0x0a, 0x04,
|
|
||||||
0x57, 0x45, 0x42, 0x50, 0x10, 0x03, 0x12, 0x07, 0x0a, 0x03, 0x47, 0x49, 0x46, 0x10, 0x04, 0x2a,
|
|
||||||
0x4c, 0x0a, 0x12, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x54, 0x6f, 0x6b, 0x65,
|
|
||||||
0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x12, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e,
|
|
||||||
0x5f, 0x54, 0x4f, 0x4b, 0x45, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x10, 0x00, 0x12, 0x09, 0x0a,
|
|
||||||
0x05, 0x45, 0x52, 0x43, 0x32, 0x30, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x45, 0x52, 0x43, 0x37,
|
|
||||||
0x32, 0x31, 0x10, 0x02, 0x12, 0x07, 0x0a, 0x03, 0x45, 0x4e, 0x53, 0x10, 0x03, 0x42, 0x0d, 0x5a,
|
|
||||||
0x0b, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x62, 0x06, 0x70, 0x72,
|
|
||||||
0x6f, 0x74, 0x6f, 0x33,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
var (
|
func init() {
|
||||||
file_enums_proto_rawDescOnce sync.Once
|
proto.RegisterFile("enums.proto", fileDescriptor_888b6bd9597961ff)
|
||||||
file_enums_proto_rawDescData = file_enums_proto_rawDesc
|
|
||||||
)
|
|
||||||
|
|
||||||
func file_enums_proto_rawDescGZIP() []byte {
|
|
||||||
file_enums_proto_rawDescOnce.Do(func() {
|
|
||||||
file_enums_proto_rawDescData = protoimpl.X.CompressGZIP(file_enums_proto_rawDescData)
|
|
||||||
})
|
|
||||||
return file_enums_proto_rawDescData
|
|
||||||
}
|
}
|
||||||
|
|
||||||
var file_enums_proto_enumTypes = make([]protoimpl.EnumInfo, 3)
|
var fileDescriptor_888b6bd9597961ff = []byte{
|
||||||
var file_enums_proto_goTypes = []interface{}{
|
// 286 bytes of a gzipped FileDescriptorProto
|
||||||
(MessageType)(0), // 0: protobuf.MessageType
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x5c, 0x90, 0x4d, 0x4f, 0xc2, 0x40,
|
||||||
(ImageType)(0), // 1: protobuf.ImageType
|
0x10, 0x86, 0x2d, 0xe5, 0x73, 0x10, 0x32, 0x4e, 0x0c, 0xf1, 0xe0, 0xc1, 0x33, 0x07, 0x54, 0x3c,
|
||||||
(CommunityTokenType)(0), // 2: protobuf.CommunityTokenType
|
0x78, 0xf0, 0x54, 0x9a, 0xb1, 0xae, 0xb0, 0x1f, 0x69, 0xb7, 0x12, 0xbc, 0x6c, 0x24, 0xa9, 0xc6,
|
||||||
}
|
0x98, 0x52, 0x22, 0x70, 0xe0, 0x2f, 0xf9, 0x2b, 0x0d, 0xc4, 0x1a, 0xe5, 0x34, 0x6f, 0x26, 0x33,
|
||||||
var file_enums_proto_depIdxs = []int32{
|
0x4f, 0x9e, 0xbc, 0xd0, 0xce, 0x16, 0x9b, 0x7c, 0x35, 0x58, 0x7e, 0x16, 0xeb, 0x82, 0x9a, 0xfb,
|
||||||
0, // [0:0] is the sub-list for method output_type
|
0x31, 0xdf, 0xbc, 0xf6, 0xbf, 0x3c, 0x68, 0xcb, 0x6c, 0xb5, 0x7a, 0x79, 0xcb, 0xec, 0x76, 0x99,
|
||||||
0, // [0:0] is the sub-list for method input_type
|
0xd1, 0x19, 0x9c, 0xa6, 0x6a, 0xac, 0xf4, 0x54, 0x39, 0xc9, 0x49, 0x12, 0x44, 0xec, 0xec, 0xcc,
|
||||||
0, // [0:0] is the sub-list for extension type_name
|
0x30, 0x1e, 0x51, 0x17, 0x40, 0x2b, 0x76, 0x56, 0x3b, 0xad, 0x18, 0x3d, 0x42, 0x38, 0x36, 0xe9,
|
||||||
0, // [0:0] is the sub-list for extension extendee
|
0x68, 0x22, 0x42, 0x17, 0xc5, 0x3a, 0x35, 0x58, 0xa1, 0x13, 0xe8, 0x98, 0x58, 0x3c, 0x05, 0x96,
|
||||||
0, // [0:0] is the sub-list for field type_name
|
0x7f, 0x56, 0x3e, 0x5d, 0xc0, 0x79, 0x32, 0x4b, 0x2c, 0xcb, 0x5f, 0xda, 0xff, 0x8b, 0x2a, 0x11,
|
||||||
}
|
0x74, 0x43, 0x2d, 0x65, 0xaa, 0x84, 0x9d, 0xb9, 0xf0, 0x21, 0xb0, 0x58, 0xa3, 0x1e, 0xd0, 0xc1,
|
||||||
|
0x57, 0x14, 0x18, 0xac, 0xf7, 0x05, 0xb4, 0x44, 0x5e, 0x9a, 0xf6, 0x80, 0x4a, 0x53, 0x21, 0xff,
|
||||||
func init() { file_enums_proto_init() }
|
0x78, 0x36, 0xc0, 0x37, 0x2a, 0x42, 0x8f, 0x9a, 0x50, 0x7d, 0x34, 0x1c, 0x61, 0x65, 0x97, 0xa6,
|
||||||
func file_enums_proto_init() {
|
0x3c, 0xda, 0xf9, 0x34, 0xc0, 0x8f, 0xc4, 0x3d, 0x56, 0xfb, 0x13, 0xa0, 0xb0, 0xc8, 0xf3, 0xcd,
|
||||||
if File_enums_proto != nil {
|
0xe2, 0x7d, 0xbd, 0xb5, 0xc5, 0x47, 0xb6, 0x38, 0x64, 0x5a, 0x3d, 0x66, 0x55, 0x32, 0x5b, 0x50,
|
||||||
return
|
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,
|
||||||
type x struct{}
|
0x77, 0x00, 0x00, 0x00, 0xff, 0xff, 0x58, 0xd8, 0x58, 0xde, 0x74, 0x01, 0x00, 0x00,
|
||||||
out := protoimpl.TypeBuilder{
|
|
||||||
File: protoimpl.DescBuilder{
|
|
||||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
||||||
RawDescriptor: file_enums_proto_rawDesc,
|
|
||||||
NumEnums: 3,
|
|
||||||
NumMessages: 0,
|
|
||||||
NumExtensions: 0,
|
|
||||||
NumServices: 0,
|
|
||||||
},
|
|
||||||
GoTypes: file_enums_proto_goTypes,
|
|
||||||
DependencyIndexes: file_enums_proto_depIdxs,
|
|
||||||
EnumInfos: file_enums_proto_enumTypes,
|
|
||||||
}.Build()
|
|
||||||
File_enums_proto = out.File
|
|
||||||
file_enums_proto_rawDesc = nil
|
|
||||||
file_enums_proto_goTypes = nil
|
|
||||||
file_enums_proto_depIdxs = nil
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,24 +1,24 @@
|
||||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||||
// versions:
|
|
||||||
// protoc-gen-go v1.29.1
|
|
||||||
// protoc v3.20.3
|
|
||||||
// source: group_chat_invitation.proto
|
// source: group_chat_invitation.proto
|
||||||
|
|
||||||
package protobuf
|
package protobuf
|
||||||
|
|
||||||
import (
|
import (
|
||||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
fmt "fmt"
|
||||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
proto "github.com/golang/protobuf/proto"
|
||||||
reflect "reflect"
|
math "math"
|
||||||
sync "sync"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
// Reference imports to suppress errors if they are not otherwise used.
|
||||||
// Verify that this generated code is sufficiently up-to-date.
|
var _ = proto.Marshal
|
||||||
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
var _ = fmt.Errorf
|
||||||
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
var _ = math.Inf
|
||||||
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
||||||
)
|
// This is a compile-time assertion to ensure that this generated file
|
||||||
|
// is compatible with the proto package it is being compiled against.
|
||||||
|
// A compilation error at this line likely means your copy of the
|
||||||
|
// proto package needs to be updated.
|
||||||
|
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
|
||||||
|
|
||||||
type GroupChatInvitation_State int32
|
type GroupChatInvitation_State int32
|
||||||
|
|
||||||
|
@ -29,54 +29,29 @@ const (
|
||||||
GroupChatInvitation_APPROVED GroupChatInvitation_State = 3
|
GroupChatInvitation_APPROVED GroupChatInvitation_State = 3
|
||||||
)
|
)
|
||||||
|
|
||||||
// Enum value maps for GroupChatInvitation_State.
|
var GroupChatInvitation_State_name = map[int32]string{
|
||||||
var (
|
0: "UNKNOWN",
|
||||||
GroupChatInvitation_State_name = map[int32]string{
|
1: "REQUEST",
|
||||||
0: "UNKNOWN",
|
2: "REJECTED",
|
||||||
1: "REQUEST",
|
3: "APPROVED",
|
||||||
2: "REJECTED",
|
}
|
||||||
3: "APPROVED",
|
|
||||||
}
|
|
||||||
GroupChatInvitation_State_value = map[string]int32{
|
|
||||||
"UNKNOWN": 0,
|
|
||||||
"REQUEST": 1,
|
|
||||||
"REJECTED": 2,
|
|
||||||
"APPROVED": 3,
|
|
||||||
}
|
|
||||||
)
|
|
||||||
|
|
||||||
func (x GroupChatInvitation_State) Enum() *GroupChatInvitation_State {
|
var GroupChatInvitation_State_value = map[string]int32{
|
||||||
p := new(GroupChatInvitation_State)
|
"UNKNOWN": 0,
|
||||||
*p = x
|
"REQUEST": 1,
|
||||||
return p
|
"REJECTED": 2,
|
||||||
|
"APPROVED": 3,
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x GroupChatInvitation_State) String() string {
|
func (x GroupChatInvitation_State) String() string {
|
||||||
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
return proto.EnumName(GroupChatInvitation_State_name, int32(x))
|
||||||
}
|
}
|
||||||
|
|
||||||
func (GroupChatInvitation_State) Descriptor() protoreflect.EnumDescriptor {
|
|
||||||
return file_group_chat_invitation_proto_enumTypes[0].Descriptor()
|
|
||||||
}
|
|
||||||
|
|
||||||
func (GroupChatInvitation_State) Type() protoreflect.EnumType {
|
|
||||||
return &file_group_chat_invitation_proto_enumTypes[0]
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x GroupChatInvitation_State) Number() protoreflect.EnumNumber {
|
|
||||||
return protoreflect.EnumNumber(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
// Deprecated: Use GroupChatInvitation_State.Descriptor instead.
|
|
||||||
func (GroupChatInvitation_State) EnumDescriptor() ([]byte, []int) {
|
func (GroupChatInvitation_State) EnumDescriptor() ([]byte, []int) {
|
||||||
return file_group_chat_invitation_proto_rawDescGZIP(), []int{0, 0}
|
return fileDescriptor_a6a73333de6a8ebe, []int{0, 0}
|
||||||
}
|
}
|
||||||
|
|
||||||
type GroupChatInvitation struct {
|
type GroupChatInvitation struct {
|
||||||
state protoimpl.MessageState
|
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
// clock Lamport timestamp of the chat message
|
// clock Lamport timestamp of the chat message
|
||||||
Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"`
|
Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"`
|
||||||
// chat_id the ID of the private group chat the message belongs to, for query efficiency the chat_id is stored in the db even though the
|
// chat_id the ID of the private group chat the message belongs to, for query efficiency the chat_id is stored in the db even though the
|
||||||
|
@ -84,157 +59,90 @@ type GroupChatInvitation struct {
|
||||||
ChatId string `protobuf:"bytes,2,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"`
|
ChatId string `protobuf:"bytes,2,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"`
|
||||||
IntroductionMessage string `protobuf:"bytes,3,opt,name=introduction_message,json=introductionMessage,proto3" json:"introduction_message,omitempty"`
|
IntroductionMessage string `protobuf:"bytes,3,opt,name=introduction_message,json=introductionMessage,proto3" json:"introduction_message,omitempty"`
|
||||||
// state of invitation
|
// state of invitation
|
||||||
State GroupChatInvitation_State `protobuf:"varint,4,opt,name=state,proto3,enum=protobuf.GroupChatInvitation_State" json:"state,omitempty"`
|
State GroupChatInvitation_State `protobuf:"varint,4,opt,name=state,proto3,enum=protobuf.GroupChatInvitation_State" json:"state,omitempty"`
|
||||||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
|
XXX_unrecognized []byte `json:"-"`
|
||||||
|
XXX_sizecache int32 `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GroupChatInvitation) Reset() {
|
func (m *GroupChatInvitation) Reset() { *m = GroupChatInvitation{} }
|
||||||
*x = GroupChatInvitation{}
|
func (m *GroupChatInvitation) String() string { return proto.CompactTextString(m) }
|
||||||
if protoimpl.UnsafeEnabled {
|
func (*GroupChatInvitation) ProtoMessage() {}
|
||||||
mi := &file_group_chat_invitation_proto_msgTypes[0]
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *GroupChatInvitation) String() string {
|
|
||||||
return protoimpl.X.MessageStringOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (*GroupChatInvitation) ProtoMessage() {}
|
|
||||||
|
|
||||||
func (x *GroupChatInvitation) ProtoReflect() protoreflect.Message {
|
|
||||||
mi := &file_group_chat_invitation_proto_msgTypes[0]
|
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
if ms.LoadMessageInfo() == nil {
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
return ms
|
|
||||||
}
|
|
||||||
return mi.MessageOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
// Deprecated: Use GroupChatInvitation.ProtoReflect.Descriptor instead.
|
|
||||||
func (*GroupChatInvitation) Descriptor() ([]byte, []int) {
|
func (*GroupChatInvitation) Descriptor() ([]byte, []int) {
|
||||||
return file_group_chat_invitation_proto_rawDescGZIP(), []int{0}
|
return fileDescriptor_a6a73333de6a8ebe, []int{0}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GroupChatInvitation) GetClock() uint64 {
|
func (m *GroupChatInvitation) XXX_Unmarshal(b []byte) error {
|
||||||
if x != nil {
|
return xxx_messageInfo_GroupChatInvitation.Unmarshal(m, b)
|
||||||
return x.Clock
|
}
|
||||||
|
func (m *GroupChatInvitation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||||
|
return xxx_messageInfo_GroupChatInvitation.Marshal(b, m, deterministic)
|
||||||
|
}
|
||||||
|
func (m *GroupChatInvitation) XXX_Merge(src proto.Message) {
|
||||||
|
xxx_messageInfo_GroupChatInvitation.Merge(m, src)
|
||||||
|
}
|
||||||
|
func (m *GroupChatInvitation) XXX_Size() int {
|
||||||
|
return xxx_messageInfo_GroupChatInvitation.Size(m)
|
||||||
|
}
|
||||||
|
func (m *GroupChatInvitation) XXX_DiscardUnknown() {
|
||||||
|
xxx_messageInfo_GroupChatInvitation.DiscardUnknown(m)
|
||||||
|
}
|
||||||
|
|
||||||
|
var xxx_messageInfo_GroupChatInvitation proto.InternalMessageInfo
|
||||||
|
|
||||||
|
func (m *GroupChatInvitation) GetClock() uint64 {
|
||||||
|
if m != nil {
|
||||||
|
return m.Clock
|
||||||
}
|
}
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GroupChatInvitation) GetChatId() string {
|
func (m *GroupChatInvitation) GetChatId() string {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.ChatId
|
return m.ChatId
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GroupChatInvitation) GetIntroductionMessage() string {
|
func (m *GroupChatInvitation) GetIntroductionMessage() string {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.IntroductionMessage
|
return m.IntroductionMessage
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GroupChatInvitation) GetState() GroupChatInvitation_State {
|
func (m *GroupChatInvitation) GetState() GroupChatInvitation_State {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.State
|
return m.State
|
||||||
}
|
}
|
||||||
return GroupChatInvitation_UNKNOWN
|
return GroupChatInvitation_UNKNOWN
|
||||||
}
|
}
|
||||||
|
|
||||||
var File_group_chat_invitation_proto protoreflect.FileDescriptor
|
func init() {
|
||||||
|
proto.RegisterEnum("protobuf.GroupChatInvitation_State", GroupChatInvitation_State_name, GroupChatInvitation_State_value)
|
||||||
var file_group_chat_invitation_proto_rawDesc = []byte{
|
proto.RegisterType((*GroupChatInvitation)(nil), "protobuf.GroupChatInvitation")
|
||||||
0x0a, 0x1b, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x69, 0x6e, 0x76,
|
|
||||||
0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70,
|
|
||||||
0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x22, 0xf1, 0x01, 0x0a, 0x13, 0x47, 0x72, 0x6f, 0x75,
|
|
||||||
0x70, 0x43, 0x68, 0x61, 0x74, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12,
|
|
||||||
0x14, 0x0a, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05,
|
|
||||||
0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x17, 0x0a, 0x07, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x69, 0x64,
|
|
||||||
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x63, 0x68, 0x61, 0x74, 0x49, 0x64, 0x12, 0x31,
|
|
||||||
0x0a, 0x14, 0x69, 0x6e, 0x74, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d,
|
|
||||||
0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x69, 0x6e,
|
|
||||||
0x74, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
|
|
||||||
0x65, 0x12, 0x39, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e,
|
|
||||||
0x32, 0x23, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x47, 0x72, 0x6f, 0x75,
|
|
||||||
0x70, 0x43, 0x68, 0x61, 0x74, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e,
|
|
||||||
0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x22, 0x3d, 0x0a, 0x05,
|
|
||||||
0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e,
|
|
||||||
0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x45, 0x51, 0x55, 0x45, 0x53, 0x54, 0x10, 0x01, 0x12,
|
|
||||||
0x0c, 0x0a, 0x08, 0x52, 0x45, 0x4a, 0x45, 0x43, 0x54, 0x45, 0x44, 0x10, 0x02, 0x12, 0x0c, 0x0a,
|
|
||||||
0x08, 0x41, 0x50, 0x50, 0x52, 0x4f, 0x56, 0x45, 0x44, 0x10, 0x03, 0x42, 0x0d, 0x5a, 0x0b, 0x2e,
|
|
||||||
0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
|
|
||||||
0x6f, 0x33,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
var (
|
func init() {
|
||||||
file_group_chat_invitation_proto_rawDescOnce sync.Once
|
proto.RegisterFile("group_chat_invitation.proto", fileDescriptor_a6a73333de6a8ebe)
|
||||||
file_group_chat_invitation_proto_rawDescData = file_group_chat_invitation_proto_rawDesc
|
|
||||||
)
|
|
||||||
|
|
||||||
func file_group_chat_invitation_proto_rawDescGZIP() []byte {
|
|
||||||
file_group_chat_invitation_proto_rawDescOnce.Do(func() {
|
|
||||||
file_group_chat_invitation_proto_rawDescData = protoimpl.X.CompressGZIP(file_group_chat_invitation_proto_rawDescData)
|
|
||||||
})
|
|
||||||
return file_group_chat_invitation_proto_rawDescData
|
|
||||||
}
|
}
|
||||||
|
|
||||||
var file_group_chat_invitation_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
var fileDescriptor_a6a73333de6a8ebe = []byte{
|
||||||
var file_group_chat_invitation_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
|
// 243 bytes of a gzipped FileDescriptorProto
|
||||||
var file_group_chat_invitation_proto_goTypes = []interface{}{
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4e, 0x2f, 0xca, 0x2f,
|
||||||
(GroupChatInvitation_State)(0), // 0: protobuf.GroupChatInvitation.State
|
0x2d, 0x88, 0x4f, 0xce, 0x48, 0x2c, 0x89, 0xcf, 0xcc, 0x2b, 0xcb, 0x2c, 0x49, 0x2c, 0xc9, 0xcc,
|
||||||
(*GroupChatInvitation)(nil), // 1: protobuf.GroupChatInvitation
|
0xcf, 0xd3, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x00, 0x53, 0x49, 0xa5, 0x69, 0x4a, 0x1f,
|
||||||
}
|
0x19, 0xb9, 0x84, 0xdd, 0x41, 0x2a, 0x9d, 0x33, 0x12, 0x4b, 0x3c, 0xe1, 0xea, 0x84, 0x44, 0xb8,
|
||||||
var file_group_chat_invitation_proto_depIdxs = []int32{
|
0x58, 0x93, 0x73, 0xf2, 0x93, 0xb3, 0x25, 0x18, 0x15, 0x18, 0x35, 0x58, 0x82, 0x20, 0x1c, 0x21,
|
||||||
0, // 0: protobuf.GroupChatInvitation.state:type_name -> protobuf.GroupChatInvitation.State
|
0x71, 0x2e, 0x76, 0x88, 0x81, 0x29, 0x12, 0x4c, 0x0a, 0x8c, 0x1a, 0x9c, 0x41, 0x6c, 0x20, 0xae,
|
||||||
1, // [1:1] is the sub-list for method output_type
|
0x67, 0x8a, 0x90, 0x21, 0x97, 0x48, 0x66, 0x5e, 0x49, 0x51, 0x7e, 0x4a, 0x69, 0x32, 0x48, 0x7b,
|
||||||
1, // [1:1] is the sub-list for method input_type
|
0x7c, 0x6e, 0x6a, 0x71, 0x71, 0x62, 0x7a, 0xaa, 0x04, 0x33, 0x58, 0x95, 0x30, 0xb2, 0x9c, 0x2f,
|
||||||
1, // [1:1] is the sub-list for extension type_name
|
0x44, 0x4a, 0xc8, 0x92, 0x8b, 0xb5, 0xb8, 0x24, 0xb1, 0x24, 0x55, 0x82, 0x45, 0x81, 0x51, 0x83,
|
||||||
1, // [1:1] is the sub-list for extension extendee
|
0xcf, 0x48, 0x59, 0x0f, 0xe6, 0x26, 0x3d, 0x2c, 0xee, 0xd1, 0x0b, 0x06, 0x29, 0x0d, 0x82, 0xe8,
|
||||||
0, // [0:1] is the sub-list for field type_name
|
0x50, 0xb2, 0xe5, 0x62, 0x05, 0xf3, 0x85, 0xb8, 0xb9, 0xd8, 0x43, 0xfd, 0xbc, 0xfd, 0xfc, 0xc3,
|
||||||
}
|
0xfd, 0x04, 0x18, 0x40, 0x9c, 0x20, 0xd7, 0xc0, 0x50, 0xd7, 0xe0, 0x10, 0x01, 0x46, 0x21, 0x1e,
|
||||||
|
0x2e, 0x8e, 0x20, 0x57, 0x2f, 0x57, 0xe7, 0x10, 0x57, 0x17, 0x01, 0x26, 0x10, 0xcf, 0x31, 0x20,
|
||||||
func init() { file_group_chat_invitation_proto_init() }
|
0x20, 0xc8, 0x3f, 0xcc, 0xd5, 0x45, 0x80, 0xd9, 0x89, 0x37, 0x8a, 0x5b, 0x4f, 0xdf, 0x1a, 0x66,
|
||||||
func file_group_chat_invitation_proto_init() {
|
0x5d, 0x12, 0x1b, 0x98, 0x65, 0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, 0x1b, 0x4c, 0x19, 0xcd, 0x32,
|
||||||
if File_group_chat_invitation_proto != nil {
|
0x01, 0x00, 0x00,
|
||||||
return
|
|
||||||
}
|
|
||||||
if !protoimpl.UnsafeEnabled {
|
|
||||||
file_group_chat_invitation_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
||||||
switch v := v.(*GroupChatInvitation); i {
|
|
||||||
case 0:
|
|
||||||
return &v.state
|
|
||||||
case 1:
|
|
||||||
return &v.sizeCache
|
|
||||||
case 2:
|
|
||||||
return &v.unknownFields
|
|
||||||
default:
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
type x struct{}
|
|
||||||
out := protoimpl.TypeBuilder{
|
|
||||||
File: protoimpl.DescBuilder{
|
|
||||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
||||||
RawDescriptor: file_group_chat_invitation_proto_rawDesc,
|
|
||||||
NumEnums: 1,
|
|
||||||
NumMessages: 1,
|
|
||||||
NumExtensions: 0,
|
|
||||||
NumServices: 0,
|
|
||||||
},
|
|
||||||
GoTypes: file_group_chat_invitation_proto_goTypes,
|
|
||||||
DependencyIndexes: file_group_chat_invitation_proto_depIdxs,
|
|
||||||
EnumInfos: file_group_chat_invitation_proto_enumTypes,
|
|
||||||
MessageInfos: file_group_chat_invitation_proto_msgTypes,
|
|
||||||
}.Build()
|
|
||||||
File_group_chat_invitation_proto = out.File
|
|
||||||
file_group_chat_invitation_proto_rawDesc = nil
|
|
||||||
file_group_chat_invitation_proto_goTypes = nil
|
|
||||||
file_group_chat_invitation_proto_depIdxs = nil
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,24 +1,24 @@
|
||||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||||
// versions:
|
|
||||||
// protoc-gen-go v1.29.1
|
|
||||||
// protoc v3.20.3
|
|
||||||
// source: membership_update_message.proto
|
// source: membership_update_message.proto
|
||||||
|
|
||||||
package protobuf
|
package protobuf
|
||||||
|
|
||||||
import (
|
import (
|
||||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
fmt "fmt"
|
||||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
proto "github.com/golang/protobuf/proto"
|
||||||
reflect "reflect"
|
math "math"
|
||||||
sync "sync"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
// Reference imports to suppress errors if they are not otherwise used.
|
||||||
// Verify that this generated code is sufficiently up-to-date.
|
var _ = proto.Marshal
|
||||||
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
var _ = fmt.Errorf
|
||||||
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
var _ = math.Inf
|
||||||
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
||||||
)
|
// This is a compile-time assertion to ensure that this generated file
|
||||||
|
// is compatible with the proto package it is being compiled against.
|
||||||
|
// A compilation error at this line likely means your copy of the
|
||||||
|
// proto package needs to be updated.
|
||||||
|
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
|
||||||
|
|
||||||
type MembershipUpdateEvent_EventType int32
|
type MembershipUpdateEvent_EventType int32
|
||||||
|
|
||||||
|
@ -35,66 +35,41 @@ const (
|
||||||
MembershipUpdateEvent_IMAGE_CHANGED MembershipUpdateEvent_EventType = 9
|
MembershipUpdateEvent_IMAGE_CHANGED MembershipUpdateEvent_EventType = 9
|
||||||
)
|
)
|
||||||
|
|
||||||
// Enum value maps for MembershipUpdateEvent_EventType.
|
var MembershipUpdateEvent_EventType_name = map[int32]string{
|
||||||
var (
|
0: "UNKNOWN",
|
||||||
MembershipUpdateEvent_EventType_name = map[int32]string{
|
1: "CHAT_CREATED",
|
||||||
0: "UNKNOWN",
|
2: "NAME_CHANGED",
|
||||||
1: "CHAT_CREATED",
|
3: "MEMBERS_ADDED",
|
||||||
2: "NAME_CHANGED",
|
4: "MEMBER_JOINED",
|
||||||
3: "MEMBERS_ADDED",
|
5: "MEMBER_REMOVED",
|
||||||
4: "MEMBER_JOINED",
|
6: "ADMINS_ADDED",
|
||||||
5: "MEMBER_REMOVED",
|
7: "ADMIN_REMOVED",
|
||||||
6: "ADMINS_ADDED",
|
8: "COLOR_CHANGED",
|
||||||
7: "ADMIN_REMOVED",
|
9: "IMAGE_CHANGED",
|
||||||
8: "COLOR_CHANGED",
|
}
|
||||||
9: "IMAGE_CHANGED",
|
|
||||||
}
|
|
||||||
MembershipUpdateEvent_EventType_value = map[string]int32{
|
|
||||||
"UNKNOWN": 0,
|
|
||||||
"CHAT_CREATED": 1,
|
|
||||||
"NAME_CHANGED": 2,
|
|
||||||
"MEMBERS_ADDED": 3,
|
|
||||||
"MEMBER_JOINED": 4,
|
|
||||||
"MEMBER_REMOVED": 5,
|
|
||||||
"ADMINS_ADDED": 6,
|
|
||||||
"ADMIN_REMOVED": 7,
|
|
||||||
"COLOR_CHANGED": 8,
|
|
||||||
"IMAGE_CHANGED": 9,
|
|
||||||
}
|
|
||||||
)
|
|
||||||
|
|
||||||
func (x MembershipUpdateEvent_EventType) Enum() *MembershipUpdateEvent_EventType {
|
var MembershipUpdateEvent_EventType_value = map[string]int32{
|
||||||
p := new(MembershipUpdateEvent_EventType)
|
"UNKNOWN": 0,
|
||||||
*p = x
|
"CHAT_CREATED": 1,
|
||||||
return p
|
"NAME_CHANGED": 2,
|
||||||
|
"MEMBERS_ADDED": 3,
|
||||||
|
"MEMBER_JOINED": 4,
|
||||||
|
"MEMBER_REMOVED": 5,
|
||||||
|
"ADMINS_ADDED": 6,
|
||||||
|
"ADMIN_REMOVED": 7,
|
||||||
|
"COLOR_CHANGED": 8,
|
||||||
|
"IMAGE_CHANGED": 9,
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x MembershipUpdateEvent_EventType) String() string {
|
func (x MembershipUpdateEvent_EventType) String() string {
|
||||||
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
return proto.EnumName(MembershipUpdateEvent_EventType_name, int32(x))
|
||||||
}
|
}
|
||||||
|
|
||||||
func (MembershipUpdateEvent_EventType) Descriptor() protoreflect.EnumDescriptor {
|
|
||||||
return file_membership_update_message_proto_enumTypes[0].Descriptor()
|
|
||||||
}
|
|
||||||
|
|
||||||
func (MembershipUpdateEvent_EventType) Type() protoreflect.EnumType {
|
|
||||||
return &file_membership_update_message_proto_enumTypes[0]
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x MembershipUpdateEvent_EventType) Number() protoreflect.EnumNumber {
|
|
||||||
return protoreflect.EnumNumber(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
// Deprecated: Use MembershipUpdateEvent_EventType.Descriptor instead.
|
|
||||||
func (MembershipUpdateEvent_EventType) EnumDescriptor() ([]byte, []int) {
|
func (MembershipUpdateEvent_EventType) EnumDescriptor() ([]byte, []int) {
|
||||||
return file_membership_update_message_proto_rawDescGZIP(), []int{0, 0}
|
return fileDescriptor_8d37dd0dc857a6be, []int{0, 0}
|
||||||
}
|
}
|
||||||
|
|
||||||
type MembershipUpdateEvent struct {
|
type MembershipUpdateEvent struct {
|
||||||
state protoimpl.MessageState
|
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
// Lamport timestamp of the event
|
// Lamport timestamp of the event
|
||||||
Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"`
|
Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"`
|
||||||
// List of public keys of objects of the action
|
// List of public keys of objects of the action
|
||||||
|
@ -106,79 +81,75 @@ type MembershipUpdateEvent struct {
|
||||||
// Color of the chat for the CHAT_CREATED/COLOR_CHANGED event types
|
// Color of the chat for the CHAT_CREATED/COLOR_CHANGED event types
|
||||||
Color string `protobuf:"bytes,5,opt,name=color,proto3" json:"color,omitempty"`
|
Color string `protobuf:"bytes,5,opt,name=color,proto3" json:"color,omitempty"`
|
||||||
// Chat image
|
// Chat image
|
||||||
Image []byte `protobuf:"bytes,6,opt,name=image,proto3" json:"image,omitempty"`
|
Image []byte `protobuf:"bytes,6,opt,name=image,proto3" json:"image,omitempty"`
|
||||||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
|
XXX_unrecognized []byte `json:"-"`
|
||||||
|
XXX_sizecache int32 `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *MembershipUpdateEvent) Reset() {
|
func (m *MembershipUpdateEvent) Reset() { *m = MembershipUpdateEvent{} }
|
||||||
*x = MembershipUpdateEvent{}
|
func (m *MembershipUpdateEvent) String() string { return proto.CompactTextString(m) }
|
||||||
if protoimpl.UnsafeEnabled {
|
func (*MembershipUpdateEvent) ProtoMessage() {}
|
||||||
mi := &file_membership_update_message_proto_msgTypes[0]
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *MembershipUpdateEvent) String() string {
|
|
||||||
return protoimpl.X.MessageStringOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (*MembershipUpdateEvent) ProtoMessage() {}
|
|
||||||
|
|
||||||
func (x *MembershipUpdateEvent) ProtoReflect() protoreflect.Message {
|
|
||||||
mi := &file_membership_update_message_proto_msgTypes[0]
|
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
if ms.LoadMessageInfo() == nil {
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
return ms
|
|
||||||
}
|
|
||||||
return mi.MessageOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
// Deprecated: Use MembershipUpdateEvent.ProtoReflect.Descriptor instead.
|
|
||||||
func (*MembershipUpdateEvent) Descriptor() ([]byte, []int) {
|
func (*MembershipUpdateEvent) Descriptor() ([]byte, []int) {
|
||||||
return file_membership_update_message_proto_rawDescGZIP(), []int{0}
|
return fileDescriptor_8d37dd0dc857a6be, []int{0}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *MembershipUpdateEvent) GetClock() uint64 {
|
func (m *MembershipUpdateEvent) XXX_Unmarshal(b []byte) error {
|
||||||
if x != nil {
|
return xxx_messageInfo_MembershipUpdateEvent.Unmarshal(m, b)
|
||||||
return x.Clock
|
}
|
||||||
|
func (m *MembershipUpdateEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||||
|
return xxx_messageInfo_MembershipUpdateEvent.Marshal(b, m, deterministic)
|
||||||
|
}
|
||||||
|
func (m *MembershipUpdateEvent) XXX_Merge(src proto.Message) {
|
||||||
|
xxx_messageInfo_MembershipUpdateEvent.Merge(m, src)
|
||||||
|
}
|
||||||
|
func (m *MembershipUpdateEvent) XXX_Size() int {
|
||||||
|
return xxx_messageInfo_MembershipUpdateEvent.Size(m)
|
||||||
|
}
|
||||||
|
func (m *MembershipUpdateEvent) XXX_DiscardUnknown() {
|
||||||
|
xxx_messageInfo_MembershipUpdateEvent.DiscardUnknown(m)
|
||||||
|
}
|
||||||
|
|
||||||
|
var xxx_messageInfo_MembershipUpdateEvent proto.InternalMessageInfo
|
||||||
|
|
||||||
|
func (m *MembershipUpdateEvent) GetClock() uint64 {
|
||||||
|
if m != nil {
|
||||||
|
return m.Clock
|
||||||
}
|
}
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *MembershipUpdateEvent) GetMembers() []string {
|
func (m *MembershipUpdateEvent) GetMembers() []string {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.Members
|
return m.Members
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *MembershipUpdateEvent) GetName() string {
|
func (m *MembershipUpdateEvent) GetName() string {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.Name
|
return m.Name
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *MembershipUpdateEvent) GetType() MembershipUpdateEvent_EventType {
|
func (m *MembershipUpdateEvent) GetType() MembershipUpdateEvent_EventType {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.Type
|
return m.Type
|
||||||
}
|
}
|
||||||
return MembershipUpdateEvent_UNKNOWN
|
return MembershipUpdateEvent_UNKNOWN
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *MembershipUpdateEvent) GetColor() string {
|
func (m *MembershipUpdateEvent) GetColor() string {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.Color
|
return m.Color
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *MembershipUpdateEvent) GetImage() []byte {
|
func (m *MembershipUpdateEvent) GetImage() []byte {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.Image
|
return m.Image
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
@ -187,10 +158,6 @@ func (x *MembershipUpdateEvent) GetImage() []byte {
|
||||||
// about group membership changes.
|
// about group membership changes.
|
||||||
// For more information, see https://github.com/status-im/specs/blob/master/status-group-chats-spec.md.
|
// For more information, see https://github.com/status-im/specs/blob/master/status-group-chats-spec.md.
|
||||||
type MembershipUpdateMessage struct {
|
type MembershipUpdateMessage struct {
|
||||||
state protoimpl.MessageState
|
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
// The chat id of the private group chat
|
// The chat id of the private group chat
|
||||||
ChatId string `protobuf:"bytes,1,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"`
|
ChatId string `protobuf:"bytes,1,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"`
|
||||||
// A list of events for this group chat, first x bytes are the signature, then is a
|
// A list of events for this group chat, first x bytes are the signature, then is a
|
||||||
|
@ -198,76 +165,51 @@ type MembershipUpdateMessage struct {
|
||||||
Events [][]byte `protobuf:"bytes,2,rep,name=events,proto3" json:"events,omitempty"`
|
Events [][]byte `protobuf:"bytes,2,rep,name=events,proto3" json:"events,omitempty"`
|
||||||
// An optional chat message
|
// An optional chat message
|
||||||
//
|
//
|
||||||
// Types that are assignable to ChatEntity:
|
// Types that are valid to be assigned to ChatEntity:
|
||||||
//
|
//
|
||||||
// *MembershipUpdateMessage_Message
|
// *MembershipUpdateMessage_Message
|
||||||
// *MembershipUpdateMessage_EmojiReaction
|
// *MembershipUpdateMessage_EmojiReaction
|
||||||
ChatEntity isMembershipUpdateMessage_ChatEntity `protobuf_oneof:"chat_entity"`
|
ChatEntity isMembershipUpdateMessage_ChatEntity `protobuf_oneof:"chat_entity"`
|
||||||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
|
XXX_unrecognized []byte `json:"-"`
|
||||||
|
XXX_sizecache int32 `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *MembershipUpdateMessage) Reset() {
|
func (m *MembershipUpdateMessage) Reset() { *m = MembershipUpdateMessage{} }
|
||||||
*x = MembershipUpdateMessage{}
|
func (m *MembershipUpdateMessage) String() string { return proto.CompactTextString(m) }
|
||||||
if protoimpl.UnsafeEnabled {
|
func (*MembershipUpdateMessage) ProtoMessage() {}
|
||||||
mi := &file_membership_update_message_proto_msgTypes[1]
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *MembershipUpdateMessage) String() string {
|
|
||||||
return protoimpl.X.MessageStringOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (*MembershipUpdateMessage) ProtoMessage() {}
|
|
||||||
|
|
||||||
func (x *MembershipUpdateMessage) ProtoReflect() protoreflect.Message {
|
|
||||||
mi := &file_membership_update_message_proto_msgTypes[1]
|
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
if ms.LoadMessageInfo() == nil {
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
return ms
|
|
||||||
}
|
|
||||||
return mi.MessageOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
// Deprecated: Use MembershipUpdateMessage.ProtoReflect.Descriptor instead.
|
|
||||||
func (*MembershipUpdateMessage) Descriptor() ([]byte, []int) {
|
func (*MembershipUpdateMessage) Descriptor() ([]byte, []int) {
|
||||||
return file_membership_update_message_proto_rawDescGZIP(), []int{1}
|
return fileDescriptor_8d37dd0dc857a6be, []int{1}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *MembershipUpdateMessage) GetChatId() string {
|
func (m *MembershipUpdateMessage) XXX_Unmarshal(b []byte) error {
|
||||||
if x != nil {
|
return xxx_messageInfo_MembershipUpdateMessage.Unmarshal(m, b)
|
||||||
return x.ChatId
|
}
|
||||||
|
func (m *MembershipUpdateMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||||
|
return xxx_messageInfo_MembershipUpdateMessage.Marshal(b, m, deterministic)
|
||||||
|
}
|
||||||
|
func (m *MembershipUpdateMessage) XXX_Merge(src proto.Message) {
|
||||||
|
xxx_messageInfo_MembershipUpdateMessage.Merge(m, src)
|
||||||
|
}
|
||||||
|
func (m *MembershipUpdateMessage) XXX_Size() int {
|
||||||
|
return xxx_messageInfo_MembershipUpdateMessage.Size(m)
|
||||||
|
}
|
||||||
|
func (m *MembershipUpdateMessage) XXX_DiscardUnknown() {
|
||||||
|
xxx_messageInfo_MembershipUpdateMessage.DiscardUnknown(m)
|
||||||
|
}
|
||||||
|
|
||||||
|
var xxx_messageInfo_MembershipUpdateMessage proto.InternalMessageInfo
|
||||||
|
|
||||||
|
func (m *MembershipUpdateMessage) GetChatId() string {
|
||||||
|
if m != nil {
|
||||||
|
return m.ChatId
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *MembershipUpdateMessage) GetEvents() [][]byte {
|
func (m *MembershipUpdateMessage) GetEvents() [][]byte {
|
||||||
if x != nil {
|
|
||||||
return x.Events
|
|
||||||
}
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
|
|
||||||
func (m *MembershipUpdateMessage) GetChatEntity() isMembershipUpdateMessage_ChatEntity {
|
|
||||||
if m != nil {
|
if m != nil {
|
||||||
return m.ChatEntity
|
return m.Events
|
||||||
}
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *MembershipUpdateMessage) GetMessage() *ChatMessage {
|
|
||||||
if x, ok := x.GetChatEntity().(*MembershipUpdateMessage_Message); ok {
|
|
||||||
return x.Message
|
|
||||||
}
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *MembershipUpdateMessage) GetEmojiReaction() *EmojiReaction {
|
|
||||||
if x, ok := x.GetChatEntity().(*MembershipUpdateMessage_EmojiReaction); ok {
|
|
||||||
return x.EmojiReaction
|
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
@ -288,142 +230,73 @@ func (*MembershipUpdateMessage_Message) isMembershipUpdateMessage_ChatEntity() {
|
||||||
|
|
||||||
func (*MembershipUpdateMessage_EmojiReaction) isMembershipUpdateMessage_ChatEntity() {}
|
func (*MembershipUpdateMessage_EmojiReaction) isMembershipUpdateMessage_ChatEntity() {}
|
||||||
|
|
||||||
var File_membership_update_message_proto protoreflect.FileDescriptor
|
func (m *MembershipUpdateMessage) GetChatEntity() isMembershipUpdateMessage_ChatEntity {
|
||||||
|
if m != nil {
|
||||||
var file_membership_update_message_proto_rawDesc = []byte{
|
return m.ChatEntity
|
||||||
0x0a, 0x1f, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x5f, 0x75, 0x70, 0x64,
|
|
||||||
0x61, 0x74, 0x65, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
|
|
||||||
0x6f, 0x12, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x1a, 0x12, 0x63, 0x68, 0x61,
|
|
||||||
0x74, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
|
|
||||||
0x14, 0x65, 0x6d, 0x6f, 0x6a, 0x69, 0x5f, 0x72, 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e,
|
|
||||||
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8a, 0x03, 0x0a, 0x15, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72,
|
|
||||||
0x73, 0x68, 0x69, 0x70, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12,
|
|
||||||
0x14, 0x0a, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05,
|
|
||||||
0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73,
|
|
||||||
0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x12,
|
|
||||||
0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e,
|
|
||||||
0x61, 0x6d, 0x65, 0x12, 0x3d, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28,
|
|
||||||
0x0e, 0x32, 0x29, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x6d,
|
|
||||||
0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x45, 0x76, 0x65,
|
|
||||||
0x6e, 0x74, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79,
|
|
||||||
0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28,
|
|
||||||
0x09, 0x52, 0x05, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6d, 0x61, 0x67,
|
|
||||||
0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x22, 0xc1,
|
|
||||||
0x01, 0x0a, 0x09, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07,
|
|
||||||
0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x43, 0x48, 0x41,
|
|
||||||
0x54, 0x5f, 0x43, 0x52, 0x45, 0x41, 0x54, 0x45, 0x44, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x4e,
|
|
||||||
0x41, 0x4d, 0x45, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x44, 0x10, 0x02, 0x12, 0x11, 0x0a,
|
|
||||||
0x0d, 0x4d, 0x45, 0x4d, 0x42, 0x45, 0x52, 0x53, 0x5f, 0x41, 0x44, 0x44, 0x45, 0x44, 0x10, 0x03,
|
|
||||||
0x12, 0x11, 0x0a, 0x0d, 0x4d, 0x45, 0x4d, 0x42, 0x45, 0x52, 0x5f, 0x4a, 0x4f, 0x49, 0x4e, 0x45,
|
|
||||||
0x44, 0x10, 0x04, 0x12, 0x12, 0x0a, 0x0e, 0x4d, 0x45, 0x4d, 0x42, 0x45, 0x52, 0x5f, 0x52, 0x45,
|
|
||||||
0x4d, 0x4f, 0x56, 0x45, 0x44, 0x10, 0x05, 0x12, 0x10, 0x0a, 0x0c, 0x41, 0x44, 0x4d, 0x49, 0x4e,
|
|
||||||
0x53, 0x5f, 0x41, 0x44, 0x44, 0x45, 0x44, 0x10, 0x06, 0x12, 0x11, 0x0a, 0x0d, 0x41, 0x44, 0x4d,
|
|
||||||
0x49, 0x4e, 0x5f, 0x52, 0x45, 0x4d, 0x4f, 0x56, 0x45, 0x44, 0x10, 0x07, 0x12, 0x11, 0x0a, 0x0d,
|
|
||||||
0x43, 0x4f, 0x4c, 0x4f, 0x52, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x44, 0x10, 0x08, 0x12,
|
|
||||||
0x11, 0x0a, 0x0d, 0x49, 0x4d, 0x41, 0x47, 0x45, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x44,
|
|
||||||
0x10, 0x09, 0x22, 0xce, 0x01, 0x0a, 0x17, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69,
|
|
||||||
0x70, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x17,
|
|
||||||
0x0a, 0x07, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
||||||
0x06, 0x63, 0x68, 0x61, 0x74, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74,
|
|
||||||
0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x12,
|
|
||||||
0x31, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b,
|
|
||||||
0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x43, 0x68, 0x61, 0x74,
|
|
||||||
0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x48, 0x00, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61,
|
|
||||||
0x67, 0x65, 0x12, 0x40, 0x0a, 0x0e, 0x65, 0x6d, 0x6f, 0x6a, 0x69, 0x5f, 0x72, 0x65, 0x61, 0x63,
|
|
||||||
0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x72, 0x6f,
|
|
||||||
0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x6f, 0x6a, 0x69, 0x52, 0x65, 0x61, 0x63, 0x74,
|
|
||||||
0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x0d, 0x65, 0x6d, 0x6f, 0x6a, 0x69, 0x52, 0x65, 0x61, 0x63,
|
|
||||||
0x74, 0x69, 0x6f, 0x6e, 0x42, 0x0d, 0x0a, 0x0b, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x65, 0x6e, 0x74,
|
|
||||||
0x69, 0x74, 0x79, 0x42, 0x0d, 0x5a, 0x0b, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
|
|
||||||
0x75, 0x66, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
||||||
}
|
|
||||||
|
|
||||||
var (
|
|
||||||
file_membership_update_message_proto_rawDescOnce sync.Once
|
|
||||||
file_membership_update_message_proto_rawDescData = file_membership_update_message_proto_rawDesc
|
|
||||||
)
|
|
||||||
|
|
||||||
func file_membership_update_message_proto_rawDescGZIP() []byte {
|
|
||||||
file_membership_update_message_proto_rawDescOnce.Do(func() {
|
|
||||||
file_membership_update_message_proto_rawDescData = protoimpl.X.CompressGZIP(file_membership_update_message_proto_rawDescData)
|
|
||||||
})
|
|
||||||
return file_membership_update_message_proto_rawDescData
|
|
||||||
}
|
|
||||||
|
|
||||||
var file_membership_update_message_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
|
||||||
var file_membership_update_message_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
|
|
||||||
var file_membership_update_message_proto_goTypes = []interface{}{
|
|
||||||
(MembershipUpdateEvent_EventType)(0), // 0: protobuf.MembershipUpdateEvent.EventType
|
|
||||||
(*MembershipUpdateEvent)(nil), // 1: protobuf.MembershipUpdateEvent
|
|
||||||
(*MembershipUpdateMessage)(nil), // 2: protobuf.MembershipUpdateMessage
|
|
||||||
(*ChatMessage)(nil), // 3: protobuf.ChatMessage
|
|
||||||
(*EmojiReaction)(nil), // 4: protobuf.EmojiReaction
|
|
||||||
}
|
|
||||||
var file_membership_update_message_proto_depIdxs = []int32{
|
|
||||||
0, // 0: protobuf.MembershipUpdateEvent.type:type_name -> protobuf.MembershipUpdateEvent.EventType
|
|
||||||
3, // 1: protobuf.MembershipUpdateMessage.message:type_name -> protobuf.ChatMessage
|
|
||||||
4, // 2: protobuf.MembershipUpdateMessage.emoji_reaction:type_name -> protobuf.EmojiReaction
|
|
||||||
3, // [3:3] is the sub-list for method output_type
|
|
||||||
3, // [3:3] is the sub-list for method input_type
|
|
||||||
3, // [3:3] is the sub-list for extension type_name
|
|
||||||
3, // [3:3] is the sub-list for extension extendee
|
|
||||||
0, // [0:3] is the sub-list for field type_name
|
|
||||||
}
|
|
||||||
|
|
||||||
func init() { file_membership_update_message_proto_init() }
|
|
||||||
func file_membership_update_message_proto_init() {
|
|
||||||
if File_membership_update_message_proto != nil {
|
|
||||||
return
|
|
||||||
}
|
}
|
||||||
file_chat_message_proto_init()
|
return nil
|
||||||
file_emoji_reaction_proto_init()
|
}
|
||||||
if !protoimpl.UnsafeEnabled {
|
|
||||||
file_membership_update_message_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
func (m *MembershipUpdateMessage) GetMessage() *ChatMessage {
|
||||||
switch v := v.(*MembershipUpdateEvent); i {
|
if x, ok := m.GetChatEntity().(*MembershipUpdateMessage_Message); ok {
|
||||||
case 0:
|
return x.Message
|
||||||
return &v.state
|
|
||||||
case 1:
|
|
||||||
return &v.sizeCache
|
|
||||||
case 2:
|
|
||||||
return &v.unknownFields
|
|
||||||
default:
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
}
|
|
||||||
file_membership_update_message_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
||||||
switch v := v.(*MembershipUpdateMessage); i {
|
|
||||||
case 0:
|
|
||||||
return &v.state
|
|
||||||
case 1:
|
|
||||||
return &v.sizeCache
|
|
||||||
case 2:
|
|
||||||
return &v.unknownFields
|
|
||||||
default:
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
file_membership_update_message_proto_msgTypes[1].OneofWrappers = []interface{}{
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (m *MembershipUpdateMessage) GetEmojiReaction() *EmojiReaction {
|
||||||
|
if x, ok := m.GetChatEntity().(*MembershipUpdateMessage_EmojiReaction); ok {
|
||||||
|
return x.EmojiReaction
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
// XXX_OneofWrappers is for the internal use of the proto package.
|
||||||
|
func (*MembershipUpdateMessage) XXX_OneofWrappers() []interface{} {
|
||||||
|
return []interface{}{
|
||||||
(*MembershipUpdateMessage_Message)(nil),
|
(*MembershipUpdateMessage_Message)(nil),
|
||||||
(*MembershipUpdateMessage_EmojiReaction)(nil),
|
(*MembershipUpdateMessage_EmojiReaction)(nil),
|
||||||
}
|
}
|
||||||
type x struct{}
|
}
|
||||||
out := protoimpl.TypeBuilder{
|
|
||||||
File: protoimpl.DescBuilder{
|
func init() {
|
||||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
proto.RegisterEnum("protobuf.MembershipUpdateEvent_EventType", MembershipUpdateEvent_EventType_name, MembershipUpdateEvent_EventType_value)
|
||||||
RawDescriptor: file_membership_update_message_proto_rawDesc,
|
proto.RegisterType((*MembershipUpdateEvent)(nil), "protobuf.MembershipUpdateEvent")
|
||||||
NumEnums: 1,
|
proto.RegisterType((*MembershipUpdateMessage)(nil), "protobuf.MembershipUpdateMessage")
|
||||||
NumMessages: 2,
|
}
|
||||||
NumExtensions: 0,
|
|
||||||
NumServices: 0,
|
func init() {
|
||||||
},
|
proto.RegisterFile("membership_update_message.proto", fileDescriptor_8d37dd0dc857a6be)
|
||||||
GoTypes: file_membership_update_message_proto_goTypes,
|
}
|
||||||
DependencyIndexes: file_membership_update_message_proto_depIdxs,
|
|
||||||
EnumInfos: file_membership_update_message_proto_enumTypes,
|
var fileDescriptor_8d37dd0dc857a6be = []byte{
|
||||||
MessageInfos: file_membership_update_message_proto_msgTypes,
|
// 443 bytes of a gzipped FileDescriptorProto
|
||||||
}.Build()
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x52, 0xd1, 0x8e, 0x93, 0x40,
|
||||||
File_membership_update_message_proto = out.File
|
0x14, 0x2d, 0x5b, 0x4a, 0x97, 0x4b, 0xdb, 0xe0, 0xcd, 0xae, 0x25, 0xfb, 0x22, 0xe9, 0x13, 0xbe,
|
||||||
file_membership_update_message_proto_rawDesc = nil
|
0x60, 0xac, 0x8f, 0xc6, 0x44, 0x0a, 0x93, 0x6d, 0x55, 0x20, 0x19, 0xbb, 0x9a, 0xf8, 0x42, 0x68,
|
||||||
file_membership_update_message_proto_goTypes = nil
|
0x3b, 0x6e, 0xd1, 0xa5, 0x90, 0x76, 0xd6, 0xa4, 0xbf, 0xe0, 0x5f, 0xf9, 0x03, 0x7e, 0x93, 0x99,
|
||||||
file_membership_update_message_proto_depIdxs = nil
|
0x01, 0x8a, 0x35, 0xbe, 0xc0, 0x9c, 0x73, 0xe7, 0x9c, 0x39, 0xcc, 0x01, 0x9e, 0xe5, 0x2c, 0x5f,
|
||||||
|
0xb1, 0xfd, 0x61, 0x9b, 0x95, 0xc9, 0x63, 0xb9, 0x49, 0x39, 0x4b, 0x72, 0x76, 0x38, 0xa4, 0xf7,
|
||||||
|
0xcc, 0x2d, 0xf7, 0x05, 0x2f, 0xf0, 0x52, 0xbe, 0x56, 0x8f, 0x5f, 0x6f, 0x70, 0xbd, 0x4d, 0xf9,
|
||||||
|
0xf9, 0xf4, 0xe6, 0x8a, 0xe5, 0xc5, 0xb7, 0x2c, 0xd9, 0xb3, 0x74, 0xcd, 0xb3, 0x62, 0x57, 0xb1,
|
||||||
|
0x93, 0x9f, 0x5d, 0xb8, 0x0e, 0x4f, 0xbe, 0x77, 0xd2, 0x96, 0xfc, 0x60, 0x3b, 0x8e, 0x57, 0xd0,
|
||||||
|
0x5b, 0x3f, 0x14, 0xeb, 0xef, 0x96, 0x62, 0x2b, 0x8e, 0x4a, 0x2b, 0x80, 0x16, 0xf4, 0xeb, 0x18,
|
||||||
|
0xd6, 0x85, 0xdd, 0x75, 0x74, 0xda, 0x40, 0x44, 0x50, 0x77, 0x69, 0xce, 0xac, 0xae, 0xad, 0x38,
|
||||||
|
0x3a, 0x95, 0x6b, 0x7c, 0x03, 0x2a, 0x3f, 0x96, 0xcc, 0x52, 0x6d, 0xc5, 0x19, 0x4d, 0x9f, 0xbb,
|
||||||
|
0x4d, 0x40, 0xf7, 0xbf, 0x47, 0xba, 0xf2, 0xb9, 0x3c, 0x96, 0x8c, 0x4a, 0x99, 0x8c, 0x50, 0x3c,
|
||||||
|
0x14, 0x7b, 0xab, 0x27, 0x3d, 0x2b, 0x20, 0xd8, 0x2c, 0x4f, 0xef, 0x99, 0xa5, 0xd9, 0x8a, 0x33,
|
||||||
|
0xa0, 0x15, 0x98, 0xfc, 0x52, 0x40, 0x3f, 0xe9, 0xd1, 0x80, 0xfe, 0x5d, 0xf4, 0x3e, 0x8a, 0x3f,
|
||||||
|
0x47, 0x66, 0x07, 0x4d, 0x18, 0xf8, 0x73, 0x6f, 0x99, 0xf8, 0x94, 0x78, 0x4b, 0x12, 0x98, 0x8a,
|
||||||
|
0x60, 0x22, 0x2f, 0x24, 0x89, 0x3f, 0xf7, 0xa2, 0x5b, 0x12, 0x98, 0x17, 0xf8, 0x04, 0x86, 0x21,
|
||||||
|
0x09, 0x67, 0x84, 0x7e, 0x4c, 0xbc, 0x20, 0x20, 0x81, 0xd9, 0x6d, 0xa9, 0xe4, 0x5d, 0xbc, 0x88,
|
||||||
|
0x48, 0x60, 0xaa, 0x88, 0x30, 0xaa, 0x29, 0x4a, 0xc2, 0xf8, 0x13, 0x09, 0xcc, 0x9e, 0xf0, 0xf2,
|
||||||
|
0x82, 0x70, 0x11, 0x35, 0x42, 0x4d, 0x08, 0x25, 0x73, 0xda, 0xd4, 0x17, 0x94, 0x1f, 0x7f, 0x88,
|
||||||
|
0xe9, 0xe9, 0xc4, 0x4b, 0x41, 0x2d, 0x42, 0xef, 0xb6, 0x0d, 0xa1, 0x4f, 0x7e, 0x2b, 0x30, 0xfe,
|
||||||
|
0xf7, 0x66, 0xc2, 0xaa, 0x44, 0x1c, 0x43, 0x5f, 0x96, 0x9a, 0x6d, 0x64, 0x21, 0x3a, 0xd5, 0x04,
|
||||||
|
0x5c, 0x6c, 0xf0, 0x29, 0x68, 0x4c, 0x7c, 0x77, 0x55, 0xc8, 0x80, 0xd6, 0x08, 0x5f, 0x8a, 0xa6,
|
||||||
|
0xa4, 0x56, 0x56, 0x62, 0x4c, 0xaf, 0xdb, 0xeb, 0xf7, 0xb7, 0x29, 0xaf, 0x8d, 0xe7, 0x1d, 0xda,
|
||||||
|
0xec, 0xc3, 0xb7, 0x30, 0x3a, 0xff, 0x49, 0x64, 0x71, 0xc6, 0x74, 0xdc, 0x2a, 0x89, 0x98, 0xd3,
|
||||||
|
0x7a, 0x3c, 0xef, 0xd0, 0x21, 0xfb, 0x9b, 0x98, 0x0d, 0xc1, 0x90, 0x29, 0xd9, 0x8e, 0x67, 0xfc,
|
||||||
|
0x38, 0x1b, 0x7e, 0x31, 0xdc, 0x17, 0xaf, 0x1b, 0xf1, 0x4a, 0x93, 0xab, 0x57, 0x7f, 0x02, 0x00,
|
||||||
|
0x00, 0xff, 0xff, 0x1e, 0xc9, 0x99, 0x52, 0xca, 0x02, 0x00, 0x00,
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,187 +1,117 @@
|
||||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||||
// versions:
|
|
||||||
// protoc-gen-go v1.29.1
|
|
||||||
// protoc v3.20.3
|
|
||||||
// source: pin_message.proto
|
// source: pin_message.proto
|
||||||
|
|
||||||
package protobuf
|
package protobuf
|
||||||
|
|
||||||
import (
|
import (
|
||||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
fmt "fmt"
|
||||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
proto "github.com/golang/protobuf/proto"
|
||||||
reflect "reflect"
|
math "math"
|
||||||
sync "sync"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
// Reference imports to suppress errors if they are not otherwise used.
|
||||||
// Verify that this generated code is sufficiently up-to-date.
|
var _ = proto.Marshal
|
||||||
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
var _ = fmt.Errorf
|
||||||
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
var _ = math.Inf
|
||||||
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
||||||
)
|
// This is a compile-time assertion to ensure that this generated file
|
||||||
|
// is compatible with the proto package it is being compiled against.
|
||||||
|
// A compilation error at this line likely means your copy of the
|
||||||
|
// proto package needs to be updated.
|
||||||
|
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
|
||||||
|
|
||||||
type PinMessage struct {
|
type PinMessage struct {
|
||||||
state protoimpl.MessageState
|
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"`
|
Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"`
|
||||||
MessageId string `protobuf:"bytes,2,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
|
MessageId string `protobuf:"bytes,2,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
|
||||||
ChatId string `protobuf:"bytes,3,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"`
|
ChatId string `protobuf:"bytes,3,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"`
|
||||||
Pinned bool `protobuf:"varint,4,opt,name=pinned,proto3" json:"pinned,omitempty"`
|
Pinned bool `protobuf:"varint,4,opt,name=pinned,proto3" json:"pinned,omitempty"`
|
||||||
// The type of message (public/one-to-one/private-group-chat)
|
// The type of message (public/one-to-one/private-group-chat)
|
||||||
MessageType MessageType `protobuf:"varint,5,opt,name=message_type,json=messageType,proto3,enum=protobuf.MessageType" json:"message_type,omitempty"`
|
MessageType MessageType `protobuf:"varint,5,opt,name=message_type,json=messageType,proto3,enum=protobuf.MessageType" json:"message_type,omitempty"`
|
||||||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
|
XXX_unrecognized []byte `json:"-"`
|
||||||
|
XXX_sizecache int32 `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *PinMessage) Reset() {
|
func (m *PinMessage) Reset() { *m = PinMessage{} }
|
||||||
*x = PinMessage{}
|
func (m *PinMessage) String() string { return proto.CompactTextString(m) }
|
||||||
if protoimpl.UnsafeEnabled {
|
func (*PinMessage) ProtoMessage() {}
|
||||||
mi := &file_pin_message_proto_msgTypes[0]
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *PinMessage) String() string {
|
|
||||||
return protoimpl.X.MessageStringOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (*PinMessage) ProtoMessage() {}
|
|
||||||
|
|
||||||
func (x *PinMessage) ProtoReflect() protoreflect.Message {
|
|
||||||
mi := &file_pin_message_proto_msgTypes[0]
|
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
if ms.LoadMessageInfo() == nil {
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
return ms
|
|
||||||
}
|
|
||||||
return mi.MessageOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
// Deprecated: Use PinMessage.ProtoReflect.Descriptor instead.
|
|
||||||
func (*PinMessage) Descriptor() ([]byte, []int) {
|
func (*PinMessage) Descriptor() ([]byte, []int) {
|
||||||
return file_pin_message_proto_rawDescGZIP(), []int{0}
|
return fileDescriptor_b3c2ad1be7128a0a, []int{0}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *PinMessage) GetClock() uint64 {
|
func (m *PinMessage) XXX_Unmarshal(b []byte) error {
|
||||||
if x != nil {
|
return xxx_messageInfo_PinMessage.Unmarshal(m, b)
|
||||||
return x.Clock
|
}
|
||||||
|
func (m *PinMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||||
|
return xxx_messageInfo_PinMessage.Marshal(b, m, deterministic)
|
||||||
|
}
|
||||||
|
func (m *PinMessage) XXX_Merge(src proto.Message) {
|
||||||
|
xxx_messageInfo_PinMessage.Merge(m, src)
|
||||||
|
}
|
||||||
|
func (m *PinMessage) XXX_Size() int {
|
||||||
|
return xxx_messageInfo_PinMessage.Size(m)
|
||||||
|
}
|
||||||
|
func (m *PinMessage) XXX_DiscardUnknown() {
|
||||||
|
xxx_messageInfo_PinMessage.DiscardUnknown(m)
|
||||||
|
}
|
||||||
|
|
||||||
|
var xxx_messageInfo_PinMessage proto.InternalMessageInfo
|
||||||
|
|
||||||
|
func (m *PinMessage) GetClock() uint64 {
|
||||||
|
if m != nil {
|
||||||
|
return m.Clock
|
||||||
}
|
}
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *PinMessage) GetMessageId() string {
|
func (m *PinMessage) GetMessageId() string {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.MessageId
|
return m.MessageId
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *PinMessage) GetChatId() string {
|
func (m *PinMessage) GetChatId() string {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.ChatId
|
return m.ChatId
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *PinMessage) GetPinned() bool {
|
func (m *PinMessage) GetPinned() bool {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.Pinned
|
return m.Pinned
|
||||||
}
|
}
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *PinMessage) GetMessageType() MessageType {
|
func (m *PinMessage) GetMessageType() MessageType {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.MessageType
|
return m.MessageType
|
||||||
}
|
}
|
||||||
return MessageType_UNKNOWN_MESSAGE_TYPE
|
return MessageType_UNKNOWN_MESSAGE_TYPE
|
||||||
}
|
}
|
||||||
|
|
||||||
var File_pin_message_proto protoreflect.FileDescriptor
|
func init() {
|
||||||
|
proto.RegisterType((*PinMessage)(nil), "protobuf.PinMessage")
|
||||||
var file_pin_message_proto_rawDesc = []byte{
|
|
||||||
0x0a, 0x11, 0x70, 0x69, 0x6e, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72,
|
|
||||||
0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x1a, 0x0b, 0x65,
|
|
||||||
0x6e, 0x75, 0x6d, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xac, 0x01, 0x0a, 0x0a, 0x50,
|
|
||||||
0x69, 0x6e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x6f,
|
|
||||||
0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x12,
|
|
||||||
0x1d, 0x0a, 0x0a, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20,
|
|
||||||
0x01, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x49, 0x64, 0x12, 0x17,
|
|
||||||
0x0a, 0x07, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
||||||
0x06, 0x63, 0x68, 0x61, 0x74, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x69, 0x6e, 0x6e, 0x65,
|
|
||||||
0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x70, 0x69, 0x6e, 0x6e, 0x65, 0x64, 0x12,
|
|
||||||
0x38, 0x0a, 0x0c, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18,
|
|
||||||
0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
|
|
||||||
0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x6d, 0x65,
|
|
||||||
0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x42, 0x0d, 0x5a, 0x0b, 0x2e, 0x2f, 0x3b,
|
|
||||||
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
var (
|
func init() {
|
||||||
file_pin_message_proto_rawDescOnce sync.Once
|
proto.RegisterFile("pin_message.proto", fileDescriptor_b3c2ad1be7128a0a)
|
||||||
file_pin_message_proto_rawDescData = file_pin_message_proto_rawDesc
|
|
||||||
)
|
|
||||||
|
|
||||||
func file_pin_message_proto_rawDescGZIP() []byte {
|
|
||||||
file_pin_message_proto_rawDescOnce.Do(func() {
|
|
||||||
file_pin_message_proto_rawDescData = protoimpl.X.CompressGZIP(file_pin_message_proto_rawDescData)
|
|
||||||
})
|
|
||||||
return file_pin_message_proto_rawDescData
|
|
||||||
}
|
}
|
||||||
|
|
||||||
var file_pin_message_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
|
var fileDescriptor_b3c2ad1be7128a0a = []byte{
|
||||||
var file_pin_message_proto_goTypes = []interface{}{
|
// 192 bytes of a gzipped FileDescriptorProto
|
||||||
(*PinMessage)(nil), // 0: protobuf.PinMessage
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x2c, 0xc8, 0xcc, 0x8b,
|
||||||
(MessageType)(0), // 1: protobuf.MessageType
|
0xcf, 0x4d, 0x2d, 0x2e, 0x4e, 0x4c, 0x4f, 0xd5, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x00,
|
||||||
}
|
0x53, 0x49, 0xa5, 0x69, 0x52, 0xdc, 0xa9, 0x79, 0xa5, 0xb9, 0xc5, 0x10, 0x61, 0xa5, 0x35, 0x8c,
|
||||||
var file_pin_message_proto_depIdxs = []int32{
|
0x5c, 0x5c, 0x01, 0x99, 0x79, 0xbe, 0x10, 0xb5, 0x42, 0x22, 0x5c, 0xac, 0xc9, 0x39, 0xf9, 0xc9,
|
||||||
1, // 0: protobuf.PinMessage.message_type:type_name -> protobuf.MessageType
|
0xd9, 0x12, 0x8c, 0x0a, 0x8c, 0x1a, 0x2c, 0x41, 0x10, 0x8e, 0x90, 0x2c, 0x17, 0x17, 0xd4, 0xb0,
|
||||||
1, // [1:1] is the sub-list for method output_type
|
0xf8, 0xcc, 0x14, 0x09, 0x26, 0x05, 0x46, 0x0d, 0xce, 0x20, 0x4e, 0xa8, 0x88, 0x67, 0x8a, 0x90,
|
||||||
1, // [1:1] is the sub-list for method input_type
|
0x38, 0x17, 0x7b, 0x72, 0x46, 0x62, 0x09, 0x48, 0x8e, 0x19, 0x2c, 0xc7, 0x06, 0xe2, 0x7a, 0xa6,
|
||||||
1, // [1:1] is the sub-list for extension type_name
|
0x08, 0x89, 0x71, 0xb1, 0x15, 0x64, 0xe6, 0xe5, 0xa5, 0xa6, 0x48, 0xb0, 0x28, 0x30, 0x6a, 0x70,
|
||||||
1, // [1:1] is the sub-list for extension extendee
|
0x04, 0x41, 0x79, 0x42, 0x16, 0x5c, 0x3c, 0x30, 0xf3, 0x4a, 0x2a, 0x0b, 0x52, 0x25, 0x58, 0x15,
|
||||||
0, // [0:1] is the sub-list for field type_name
|
0x18, 0x35, 0xf8, 0x8c, 0x44, 0xf5, 0x60, 0x4e, 0xd4, 0x83, 0x3a, 0x27, 0xa4, 0xb2, 0x20, 0x35,
|
||||||
}
|
0x88, 0x3b, 0x17, 0xc1, 0x71, 0xe2, 0x8d, 0xe2, 0xd6, 0xd3, 0xb7, 0x86, 0xa9, 0x4b, 0x62, 0x03,
|
||||||
|
0xb3, 0x8c, 0x01, 0x01, 0x00, 0x00, 0xff, 0xff, 0x78, 0x7a, 0xb9, 0x5d, 0xf0, 0x00, 0x00, 0x00,
|
||||||
func init() { file_pin_message_proto_init() }
|
|
||||||
func file_pin_message_proto_init() {
|
|
||||||
if File_pin_message_proto != nil {
|
|
||||||
return
|
|
||||||
}
|
|
||||||
file_enums_proto_init()
|
|
||||||
if !protoimpl.UnsafeEnabled {
|
|
||||||
file_pin_message_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
||||||
switch v := v.(*PinMessage); i {
|
|
||||||
case 0:
|
|
||||||
return &v.state
|
|
||||||
case 1:
|
|
||||||
return &v.sizeCache
|
|
||||||
case 2:
|
|
||||||
return &v.unknownFields
|
|
||||||
default:
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
type x struct{}
|
|
||||||
out := protoimpl.TypeBuilder{
|
|
||||||
File: protoimpl.DescBuilder{
|
|
||||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
||||||
RawDescriptor: file_pin_message_proto_rawDesc,
|
|
||||||
NumEnums: 0,
|
|
||||||
NumMessages: 1,
|
|
||||||
NumExtensions: 0,
|
|
||||||
NumServices: 0,
|
|
||||||
},
|
|
||||||
GoTypes: file_pin_message_proto_goTypes,
|
|
||||||
DependencyIndexes: file_pin_message_proto_depIdxs,
|
|
||||||
MessageInfos: file_pin_message_proto_msgTypes,
|
|
||||||
}.Build()
|
|
||||||
File_pin_message_proto = out.File
|
|
||||||
file_pin_message_proto_rawDesc = nil
|
|
||||||
file_pin_message_proto_goTypes = nil
|
|
||||||
file_pin_message_proto_depIdxs = nil
|
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,151 +1,87 @@
|
||||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||||
// versions:
|
|
||||||
// protoc-gen-go v1.29.1
|
|
||||||
// protoc v3.20.3
|
|
||||||
// source: shard.proto
|
// source: shard.proto
|
||||||
|
|
||||||
package protobuf
|
package protobuf
|
||||||
|
|
||||||
import (
|
import (
|
||||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
fmt "fmt"
|
||||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
proto "github.com/golang/protobuf/proto"
|
||||||
reflect "reflect"
|
math "math"
|
||||||
sync "sync"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
// Reference imports to suppress errors if they are not otherwise used.
|
||||||
// Verify that this generated code is sufficiently up-to-date.
|
var _ = proto.Marshal
|
||||||
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
var _ = fmt.Errorf
|
||||||
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
var _ = math.Inf
|
||||||
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
||||||
)
|
// This is a compile-time assertion to ensure that this generated file
|
||||||
|
// is compatible with the proto package it is being compiled against.
|
||||||
|
// A compilation error at this line likely means your copy of the
|
||||||
|
// proto package needs to be updated.
|
||||||
|
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
|
||||||
|
|
||||||
type Shard struct {
|
type Shard struct {
|
||||||
state protoimpl.MessageState
|
Cluster int32 `protobuf:"varint,1,opt,name=cluster,proto3" json:"cluster,omitempty"`
|
||||||
sizeCache protoimpl.SizeCache
|
Index int32 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
|
XXX_unrecognized []byte `json:"-"`
|
||||||
Cluster int32 `protobuf:"varint,1,opt,name=cluster,proto3" json:"cluster,omitempty"`
|
XXX_sizecache int32 `json:"-"`
|
||||||
Index int32 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Shard) Reset() {
|
func (m *Shard) Reset() { *m = Shard{} }
|
||||||
*x = Shard{}
|
func (m *Shard) String() string { return proto.CompactTextString(m) }
|
||||||
if protoimpl.UnsafeEnabled {
|
func (*Shard) ProtoMessage() {}
|
||||||
mi := &file_shard_proto_msgTypes[0]
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *Shard) String() string {
|
|
||||||
return protoimpl.X.MessageStringOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (*Shard) ProtoMessage() {}
|
|
||||||
|
|
||||||
func (x *Shard) ProtoReflect() protoreflect.Message {
|
|
||||||
mi := &file_shard_proto_msgTypes[0]
|
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
if ms.LoadMessageInfo() == nil {
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
return ms
|
|
||||||
}
|
|
||||||
return mi.MessageOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
// Deprecated: Use Shard.ProtoReflect.Descriptor instead.
|
|
||||||
func (*Shard) Descriptor() ([]byte, []int) {
|
func (*Shard) Descriptor() ([]byte, []int) {
|
||||||
return file_shard_proto_rawDescGZIP(), []int{0}
|
return fileDescriptor_319ea41e44cdc364, []int{0}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Shard) GetCluster() int32 {
|
func (m *Shard) XXX_Unmarshal(b []byte) error {
|
||||||
if x != nil {
|
return xxx_messageInfo_Shard.Unmarshal(m, b)
|
||||||
return x.Cluster
|
}
|
||||||
|
func (m *Shard) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||||
|
return xxx_messageInfo_Shard.Marshal(b, m, deterministic)
|
||||||
|
}
|
||||||
|
func (m *Shard) XXX_Merge(src proto.Message) {
|
||||||
|
xxx_messageInfo_Shard.Merge(m, src)
|
||||||
|
}
|
||||||
|
func (m *Shard) XXX_Size() int {
|
||||||
|
return xxx_messageInfo_Shard.Size(m)
|
||||||
|
}
|
||||||
|
func (m *Shard) XXX_DiscardUnknown() {
|
||||||
|
xxx_messageInfo_Shard.DiscardUnknown(m)
|
||||||
|
}
|
||||||
|
|
||||||
|
var xxx_messageInfo_Shard proto.InternalMessageInfo
|
||||||
|
|
||||||
|
func (m *Shard) GetCluster() int32 {
|
||||||
|
if m != nil {
|
||||||
|
return m.Cluster
|
||||||
}
|
}
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Shard) GetIndex() int32 {
|
func (m *Shard) GetIndex() int32 {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.Index
|
return m.Index
|
||||||
}
|
}
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
var File_shard_proto protoreflect.FileDescriptor
|
func init() {
|
||||||
|
proto.RegisterType((*Shard)(nil), "protobuf.Shard")
|
||||||
var file_shard_proto_rawDesc = []byte{
|
|
||||||
0x0a, 0x0b, 0x73, 0x68, 0x61, 0x72, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70,
|
|
||||||
0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x22, 0x37, 0x0a, 0x05, 0x53, 0x68, 0x61, 0x72, 0x64,
|
|
||||||
0x12, 0x18, 0x0a, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
||||||
0x05, 0x52, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e,
|
|
||||||
0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78,
|
|
||||||
0x42, 0x0d, 0x5a, 0x0b, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x62,
|
|
||||||
0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
var (
|
func init() {
|
||||||
file_shard_proto_rawDescOnce sync.Once
|
proto.RegisterFile("shard.proto", fileDescriptor_319ea41e44cdc364)
|
||||||
file_shard_proto_rawDescData = file_shard_proto_rawDesc
|
|
||||||
)
|
|
||||||
|
|
||||||
func file_shard_proto_rawDescGZIP() []byte {
|
|
||||||
file_shard_proto_rawDescOnce.Do(func() {
|
|
||||||
file_shard_proto_rawDescData = protoimpl.X.CompressGZIP(file_shard_proto_rawDescData)
|
|
||||||
})
|
|
||||||
return file_shard_proto_rawDescData
|
|
||||||
}
|
}
|
||||||
|
|
||||||
var file_shard_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
|
var fileDescriptor_319ea41e44cdc364 = []byte{
|
||||||
var file_shard_proto_goTypes = []interface{}{
|
// 99 bytes of a gzipped FileDescriptorProto
|
||||||
(*Shard)(nil), // 0: protobuf.Shard
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0x2e, 0xce, 0x48, 0x2c,
|
||||||
}
|
0x4a, 0xd1, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x00, 0x53, 0x49, 0xa5, 0x69, 0x4a, 0xe6,
|
||||||
var file_shard_proto_depIdxs = []int32{
|
0x5c, 0xac, 0xc1, 0x20, 0x09, 0x21, 0x09, 0x2e, 0xf6, 0xe4, 0x9c, 0xd2, 0xe2, 0x92, 0xd4, 0x22,
|
||||||
0, // [0:0] is the sub-list for method output_type
|
0x09, 0x46, 0x05, 0x46, 0x0d, 0xd6, 0x20, 0x18, 0x57, 0x48, 0x84, 0x8b, 0x35, 0x33, 0x2f, 0x25,
|
||||||
0, // [0:0] is the sub-list for method input_type
|
0xb5, 0x42, 0x82, 0x09, 0x2c, 0x0e, 0xe1, 0x38, 0xf1, 0x46, 0x71, 0xeb, 0xe9, 0x5b, 0xc3, 0xcc,
|
||||||
0, // [0:0] is the sub-list for extension type_name
|
0x49, 0x62, 0x03, 0xb3, 0x8c, 0x01, 0x01, 0x00, 0x00, 0xff, 0xff, 0xef, 0xcf, 0x9d, 0x21, 0x67,
|
||||||
0, // [0:0] is the sub-list for extension extendee
|
0x00, 0x00, 0x00,
|
||||||
0, // [0:0] is the sub-list for field type_name
|
|
||||||
}
|
|
||||||
|
|
||||||
func init() { file_shard_proto_init() }
|
|
||||||
func file_shard_proto_init() {
|
|
||||||
if File_shard_proto != nil {
|
|
||||||
return
|
|
||||||
}
|
|
||||||
if !protoimpl.UnsafeEnabled {
|
|
||||||
file_shard_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
||||||
switch v := v.(*Shard); i {
|
|
||||||
case 0:
|
|
||||||
return &v.state
|
|
||||||
case 1:
|
|
||||||
return &v.sizeCache
|
|
||||||
case 2:
|
|
||||||
return &v.unknownFields
|
|
||||||
default:
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
type x struct{}
|
|
||||||
out := protoimpl.TypeBuilder{
|
|
||||||
File: protoimpl.DescBuilder{
|
|
||||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
||||||
RawDescriptor: file_shard_proto_rawDesc,
|
|
||||||
NumEnums: 0,
|
|
||||||
NumMessages: 1,
|
|
||||||
NumExtensions: 0,
|
|
||||||
NumServices: 0,
|
|
||||||
},
|
|
||||||
GoTypes: file_shard_proto_goTypes,
|
|
||||||
DependencyIndexes: file_shard_proto_depIdxs,
|
|
||||||
MessageInfos: file_shard_proto_msgTypes,
|
|
||||||
}.Build()
|
|
||||||
File_shard_proto = out.File
|
|
||||||
file_shard_proto_rawDesc = nil
|
|
||||||
file_shard_proto_goTypes = nil
|
|
||||||
file_shard_proto_depIdxs = nil
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,24 +1,24 @@
|
||||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||||
// versions:
|
|
||||||
// protoc-gen-go v1.29.1
|
|
||||||
// protoc v3.20.3
|
|
||||||
// source: status_update.proto
|
// source: status_update.proto
|
||||||
|
|
||||||
package protobuf
|
package protobuf
|
||||||
|
|
||||||
import (
|
import (
|
||||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
fmt "fmt"
|
||||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
proto "github.com/golang/protobuf/proto"
|
||||||
reflect "reflect"
|
math "math"
|
||||||
sync "sync"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
// Reference imports to suppress errors if they are not otherwise used.
|
||||||
// Verify that this generated code is sufficiently up-to-date.
|
var _ = proto.Marshal
|
||||||
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
var _ = fmt.Errorf
|
||||||
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
var _ = math.Inf
|
||||||
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
||||||
)
|
// This is a compile-time assertion to ensure that this generated file
|
||||||
|
// is compatible with the proto package it is being compiled against.
|
||||||
|
// A compilation error at this line likely means your copy of the
|
||||||
|
// proto package needs to be updated.
|
||||||
|
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
|
||||||
|
|
||||||
type StatusUpdate_StatusType int32
|
type StatusUpdate_StatusType int32
|
||||||
|
|
||||||
|
@ -30,49 +30,28 @@ const (
|
||||||
StatusUpdate_INACTIVE StatusUpdate_StatusType = 4
|
StatusUpdate_INACTIVE StatusUpdate_StatusType = 4
|
||||||
)
|
)
|
||||||
|
|
||||||
// Enum value maps for StatusUpdate_StatusType.
|
var StatusUpdate_StatusType_name = map[int32]string{
|
||||||
var (
|
0: "UNKNOWN_STATUS_TYPE",
|
||||||
StatusUpdate_StatusType_name = map[int32]string{
|
1: "AUTOMATIC",
|
||||||
0: "UNKNOWN_STATUS_TYPE",
|
2: "DO_NOT_DISTURB",
|
||||||
1: "AUTOMATIC",
|
3: "ALWAYS_ONLINE",
|
||||||
2: "DO_NOT_DISTURB",
|
4: "INACTIVE",
|
||||||
3: "ALWAYS_ONLINE",
|
}
|
||||||
4: "INACTIVE",
|
|
||||||
}
|
|
||||||
StatusUpdate_StatusType_value = map[string]int32{
|
|
||||||
"UNKNOWN_STATUS_TYPE": 0,
|
|
||||||
"AUTOMATIC": 1,
|
|
||||||
"DO_NOT_DISTURB": 2,
|
|
||||||
"ALWAYS_ONLINE": 3,
|
|
||||||
"INACTIVE": 4,
|
|
||||||
}
|
|
||||||
)
|
|
||||||
|
|
||||||
func (x StatusUpdate_StatusType) Enum() *StatusUpdate_StatusType {
|
var StatusUpdate_StatusType_value = map[string]int32{
|
||||||
p := new(StatusUpdate_StatusType)
|
"UNKNOWN_STATUS_TYPE": 0,
|
||||||
*p = x
|
"AUTOMATIC": 1,
|
||||||
return p
|
"DO_NOT_DISTURB": 2,
|
||||||
|
"ALWAYS_ONLINE": 3,
|
||||||
|
"INACTIVE": 4,
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x StatusUpdate_StatusType) String() string {
|
func (x StatusUpdate_StatusType) String() string {
|
||||||
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
return proto.EnumName(StatusUpdate_StatusType_name, int32(x))
|
||||||
}
|
}
|
||||||
|
|
||||||
func (StatusUpdate_StatusType) Descriptor() protoreflect.EnumDescriptor {
|
|
||||||
return file_status_update_proto_enumTypes[0].Descriptor()
|
|
||||||
}
|
|
||||||
|
|
||||||
func (StatusUpdate_StatusType) Type() protoreflect.EnumType {
|
|
||||||
return &file_status_update_proto_enumTypes[0]
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x StatusUpdate_StatusType) Number() protoreflect.EnumNumber {
|
|
||||||
return protoreflect.EnumNumber(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
// Deprecated: Use StatusUpdate_StatusType.Descriptor instead.
|
|
||||||
func (StatusUpdate_StatusType) EnumDescriptor() ([]byte, []int) {
|
func (StatusUpdate_StatusType) EnumDescriptor() ([]byte, []int) {
|
||||||
return file_status_update_proto_rawDescGZIP(), []int{0, 0}
|
return fileDescriptor_911acd91e62cd3d7, []int{0, 0}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Specs:
|
// Specs:
|
||||||
|
@ -87,155 +66,85 @@ func (StatusUpdate_StatusType) EnumDescriptor() ([]byte, []int) {
|
||||||
// Display - Offline forever
|
// Display - Offline forever
|
||||||
// Note: Only send pings if the user interacted with the app in the last x minutes.
|
// Note: Only send pings if the user interacted with the app in the last x minutes.
|
||||||
type StatusUpdate struct {
|
type StatusUpdate struct {
|
||||||
state protoimpl.MessageState
|
Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"`
|
||||||
sizeCache protoimpl.SizeCache
|
StatusType StatusUpdate_StatusType `protobuf:"varint,2,opt,name=status_type,json=statusType,proto3,enum=protobuf.StatusUpdate_StatusType" json:"status_type,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
CustomText string `protobuf:"bytes,3,opt,name=custom_text,json=customText,proto3" json:"custom_text,omitempty"`
|
||||||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"`
|
XXX_unrecognized []byte `json:"-"`
|
||||||
StatusType StatusUpdate_StatusType `protobuf:"varint,2,opt,name=status_type,json=statusType,proto3,enum=protobuf.StatusUpdate_StatusType" json:"status_type,omitempty"`
|
XXX_sizecache int32 `json:"-"`
|
||||||
CustomText string `protobuf:"bytes,3,opt,name=custom_text,json=customText,proto3" json:"custom_text,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *StatusUpdate) Reset() {
|
func (m *StatusUpdate) Reset() { *m = StatusUpdate{} }
|
||||||
*x = StatusUpdate{}
|
func (m *StatusUpdate) String() string { return proto.CompactTextString(m) }
|
||||||
if protoimpl.UnsafeEnabled {
|
func (*StatusUpdate) ProtoMessage() {}
|
||||||
mi := &file_status_update_proto_msgTypes[0]
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *StatusUpdate) String() string {
|
|
||||||
return protoimpl.X.MessageStringOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (*StatusUpdate) ProtoMessage() {}
|
|
||||||
|
|
||||||
func (x *StatusUpdate) ProtoReflect() protoreflect.Message {
|
|
||||||
mi := &file_status_update_proto_msgTypes[0]
|
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
if ms.LoadMessageInfo() == nil {
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
return ms
|
|
||||||
}
|
|
||||||
return mi.MessageOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
// Deprecated: Use StatusUpdate.ProtoReflect.Descriptor instead.
|
|
||||||
func (*StatusUpdate) Descriptor() ([]byte, []int) {
|
func (*StatusUpdate) Descriptor() ([]byte, []int) {
|
||||||
return file_status_update_proto_rawDescGZIP(), []int{0}
|
return fileDescriptor_911acd91e62cd3d7, []int{0}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *StatusUpdate) GetClock() uint64 {
|
func (m *StatusUpdate) XXX_Unmarshal(b []byte) error {
|
||||||
if x != nil {
|
return xxx_messageInfo_StatusUpdate.Unmarshal(m, b)
|
||||||
return x.Clock
|
}
|
||||||
|
func (m *StatusUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||||
|
return xxx_messageInfo_StatusUpdate.Marshal(b, m, deterministic)
|
||||||
|
}
|
||||||
|
func (m *StatusUpdate) XXX_Merge(src proto.Message) {
|
||||||
|
xxx_messageInfo_StatusUpdate.Merge(m, src)
|
||||||
|
}
|
||||||
|
func (m *StatusUpdate) XXX_Size() int {
|
||||||
|
return xxx_messageInfo_StatusUpdate.Size(m)
|
||||||
|
}
|
||||||
|
func (m *StatusUpdate) XXX_DiscardUnknown() {
|
||||||
|
xxx_messageInfo_StatusUpdate.DiscardUnknown(m)
|
||||||
|
}
|
||||||
|
|
||||||
|
var xxx_messageInfo_StatusUpdate proto.InternalMessageInfo
|
||||||
|
|
||||||
|
func (m *StatusUpdate) GetClock() uint64 {
|
||||||
|
if m != nil {
|
||||||
|
return m.Clock
|
||||||
}
|
}
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *StatusUpdate) GetStatusType() StatusUpdate_StatusType {
|
func (m *StatusUpdate) GetStatusType() StatusUpdate_StatusType {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.StatusType
|
return m.StatusType
|
||||||
}
|
}
|
||||||
return StatusUpdate_UNKNOWN_STATUS_TYPE
|
return StatusUpdate_UNKNOWN_STATUS_TYPE
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *StatusUpdate) GetCustomText() string {
|
func (m *StatusUpdate) GetCustomText() string {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.CustomText
|
return m.CustomText
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
var File_status_update_proto protoreflect.FileDescriptor
|
func init() {
|
||||||
|
proto.RegisterEnum("protobuf.StatusUpdate_StatusType", StatusUpdate_StatusType_name, StatusUpdate_StatusType_value)
|
||||||
var file_status_update_proto_rawDesc = []byte{
|
proto.RegisterType((*StatusUpdate)(nil), "protobuf.StatusUpdate")
|
||||||
0x0a, 0x13, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x2e,
|
|
||||||
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x22,
|
|
||||||
0xf4, 0x01, 0x0a, 0x0c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
|
|
||||||
0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52,
|
|
||||||
0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x42, 0x0a, 0x0b, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73,
|
|
||||||
0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x70, 0x72,
|
|
||||||
0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x55, 0x70, 0x64,
|
|
||||||
0x61, 0x74, 0x65, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a,
|
|
||||||
0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x75,
|
|
||||||
0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x74, 0x65, 0x78, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
||||||
0x0a, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x54, 0x65, 0x78, 0x74, 0x22, 0x69, 0x0a, 0x0a, 0x53,
|
|
||||||
0x74, 0x61, 0x74, 0x75, 0x73, 0x54, 0x79, 0x70, 0x65, 0x12, 0x17, 0x0a, 0x13, 0x55, 0x4e, 0x4b,
|
|
||||||
0x4e, 0x4f, 0x57, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x54, 0x59, 0x50, 0x45,
|
|
||||||
0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x41, 0x55, 0x54, 0x4f, 0x4d, 0x41, 0x54, 0x49, 0x43, 0x10,
|
|
||||||
0x01, 0x12, 0x12, 0x0a, 0x0e, 0x44, 0x4f, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x44, 0x49, 0x53, 0x54,
|
|
||||||
0x55, 0x52, 0x42, 0x10, 0x02, 0x12, 0x11, 0x0a, 0x0d, 0x41, 0x4c, 0x57, 0x41, 0x59, 0x53, 0x5f,
|
|
||||||
0x4f, 0x4e, 0x4c, 0x49, 0x4e, 0x45, 0x10, 0x03, 0x12, 0x0c, 0x0a, 0x08, 0x49, 0x4e, 0x41, 0x43,
|
|
||||||
0x54, 0x49, 0x56, 0x45, 0x10, 0x04, 0x42, 0x0d, 0x5a, 0x0b, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f,
|
|
||||||
0x74, 0x6f, 0x62, 0x75, 0x66, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
var (
|
func init() {
|
||||||
file_status_update_proto_rawDescOnce sync.Once
|
proto.RegisterFile("status_update.proto", fileDescriptor_911acd91e62cd3d7)
|
||||||
file_status_update_proto_rawDescData = file_status_update_proto_rawDesc
|
|
||||||
)
|
|
||||||
|
|
||||||
func file_status_update_proto_rawDescGZIP() []byte {
|
|
||||||
file_status_update_proto_rawDescOnce.Do(func() {
|
|
||||||
file_status_update_proto_rawDescData = protoimpl.X.CompressGZIP(file_status_update_proto_rawDescData)
|
|
||||||
})
|
|
||||||
return file_status_update_proto_rawDescData
|
|
||||||
}
|
}
|
||||||
|
|
||||||
var file_status_update_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
var fileDescriptor_911acd91e62cd3d7 = []byte{
|
||||||
var file_status_update_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
|
// 253 bytes of a gzipped FileDescriptorProto
|
||||||
var file_status_update_proto_goTypes = []interface{}{
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x4c, 0x8e, 0xc1, 0x4e, 0xc2, 0x40,
|
||||||
(StatusUpdate_StatusType)(0), // 0: protobuf.StatusUpdate.StatusType
|
0x10, 0x86, 0x5d, 0x40, 0x03, 0x53, 0x4a, 0xea, 0x60, 0x62, 0x6f, 0x56, 0x4e, 0x3d, 0xd5, 0x44,
|
||||||
(*StatusUpdate)(nil), // 1: protobuf.StatusUpdate
|
0x8f, 0x9e, 0xb6, 0xd0, 0x43, 0x23, 0x6e, 0x4d, 0x77, 0x56, 0x82, 0x97, 0x0d, 0xd4, 0x35, 0x31,
|
||||||
}
|
0x6a, 0xda, 0xd8, 0x6d, 0x02, 0xef, 0xed, 0x03, 0x98, 0x14, 0x50, 0x4e, 0xf3, 0xff, 0x93, 0x6f,
|
||||||
var file_status_update_proto_depIdxs = []int32{
|
0xbe, 0x0c, 0x8c, 0x6b, 0xbb, 0xb2, 0x4d, 0xad, 0x9b, 0xea, 0x75, 0x65, 0x4d, 0x54, 0x7d, 0x97,
|
||||||
0, // 0: protobuf.StatusUpdate.status_type:type_name -> protobuf.StatusUpdate.StatusType
|
0xb6, 0xc4, 0x7e, 0x3b, 0xd6, 0xcd, 0xdb, 0xe4, 0x87, 0xc1, 0x50, 0xb6, 0x84, 0x6a, 0x01, 0xbc,
|
||||||
1, // [1:1] is the sub-list for method output_type
|
0x80, 0xd3, 0xe2, 0xb3, 0x2c, 0x3e, 0x7c, 0x16, 0xb0, 0xb0, 0x97, 0xef, 0x0a, 0xc6, 0xe0, 0xec,
|
||||||
1, // [1:1] is the sub-list for method input_type
|
0x3d, 0x76, 0x5b, 0x19, 0xbf, 0x13, 0xb0, 0x70, 0x74, 0x7b, 0x1d, 0x1d, 0x34, 0xd1, 0xb1, 0x62,
|
||||||
1, // [1:1] is the sub-list for extension type_name
|
0x5f, 0x68, 0x5b, 0x99, 0x1c, 0xea, 0xbf, 0x8c, 0x57, 0xe0, 0x14, 0x4d, 0x6d, 0xcb, 0x2f, 0x6d,
|
||||||
1, // [1:1] is the sub-list for extension extendee
|
0xcd, 0xc6, 0xfa, 0xdd, 0x80, 0x85, 0x83, 0x1c, 0x76, 0x2b, 0x32, 0x1b, 0x3b, 0x79, 0x07, 0xf8,
|
||||||
0, // [0:1] is the sub-list for field type_name
|
0x3f, 0xc5, 0x4b, 0x18, 0x2b, 0xf1, 0x20, 0xb2, 0x85, 0xd0, 0x92, 0x38, 0x29, 0xa9, 0x69, 0xf9,
|
||||||
}
|
0x94, 0x78, 0x27, 0xe8, 0xc2, 0x80, 0x2b, 0xca, 0x1e, 0x39, 0xa5, 0x53, 0x8f, 0x21, 0xc2, 0x68,
|
||||||
|
0x96, 0x69, 0x91, 0x91, 0x9e, 0xa5, 0x92, 0x54, 0x1e, 0x7b, 0x1d, 0x3c, 0x07, 0x97, 0xcf, 0x17,
|
||||||
func init() { file_status_update_proto_init() }
|
0x7c, 0x29, 0x75, 0x26, 0xe6, 0xa9, 0x48, 0xbc, 0x2e, 0x0e, 0xa1, 0x9f, 0x0a, 0x3e, 0xa5, 0xf4,
|
||||||
func file_status_update_proto_init() {
|
0x39, 0xf1, 0x7a, 0xb1, 0xfb, 0xe2, 0x44, 0x37, 0xf7, 0x87, 0xf7, 0xd7, 0x67, 0x6d, 0xba, 0xfb,
|
||||||
if File_status_update_proto != nil {
|
0x0d, 0x00, 0x00, 0xff, 0xff, 0xaa, 0xa1, 0x52, 0x1d, 0x2d, 0x01, 0x00, 0x00,
|
||||||
return
|
|
||||||
}
|
|
||||||
if !protoimpl.UnsafeEnabled {
|
|
||||||
file_status_update_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
||||||
switch v := v.(*StatusUpdate); i {
|
|
||||||
case 0:
|
|
||||||
return &v.state
|
|
||||||
case 1:
|
|
||||||
return &v.sizeCache
|
|
||||||
case 2:
|
|
||||||
return &v.unknownFields
|
|
||||||
default:
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
type x struct{}
|
|
||||||
out := protoimpl.TypeBuilder{
|
|
||||||
File: protoimpl.DescBuilder{
|
|
||||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
||||||
RawDescriptor: file_status_update_proto_rawDesc,
|
|
||||||
NumEnums: 1,
|
|
||||||
NumMessages: 1,
|
|
||||||
NumExtensions: 0,
|
|
||||||
NumServices: 0,
|
|
||||||
},
|
|
||||||
GoTypes: file_status_update_proto_goTypes,
|
|
||||||
DependencyIndexes: file_status_update_proto_depIdxs,
|
|
||||||
EnumInfos: file_status_update_proto_enumTypes,
|
|
||||||
MessageInfos: file_status_update_proto_msgTypes,
|
|
||||||
}.Build()
|
|
||||||
File_status_update_proto = out.File
|
|
||||||
file_status_update_proto_rawDesc = nil
|
|
||||||
file_status_update_proto_goTypes = nil
|
|
||||||
file_status_update_proto_depIdxs = nil
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,24 +1,24 @@
|
||||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||||
// versions:
|
|
||||||
// protoc-gen-go v1.29.1
|
|
||||||
// protoc v3.20.3
|
|
||||||
// source: sync_settings.proto
|
// source: sync_settings.proto
|
||||||
|
|
||||||
package protobuf
|
package protobuf
|
||||||
|
|
||||||
import (
|
import (
|
||||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
fmt "fmt"
|
||||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
proto "github.com/golang/protobuf/proto"
|
||||||
reflect "reflect"
|
math "math"
|
||||||
sync "sync"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
// Reference imports to suppress errors if they are not otherwise used.
|
||||||
// Verify that this generated code is sufficiently up-to-date.
|
var _ = proto.Marshal
|
||||||
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
var _ = fmt.Errorf
|
||||||
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
var _ = math.Inf
|
||||||
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
||||||
)
|
// This is a compile-time assertion to ensure that this generated file
|
||||||
|
// is compatible with the proto package it is being compiled against.
|
||||||
|
// A compilation error at this line likely means your copy of the
|
||||||
|
// proto package needs to be updated.
|
||||||
|
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
|
||||||
|
|
||||||
type SyncSetting_Type int32
|
type SyncSetting_Type int32
|
||||||
|
|
||||||
|
@ -42,168 +42,104 @@ const (
|
||||||
SyncSetting_URL_UNFURLING_MODE SyncSetting_Type = 18
|
SyncSetting_URL_UNFURLING_MODE SyncSetting_Type = 18
|
||||||
)
|
)
|
||||||
|
|
||||||
// Enum value maps for SyncSetting_Type.
|
var SyncSetting_Type_name = map[int32]string{
|
||||||
var (
|
0: "UNKNOWN",
|
||||||
SyncSetting_Type_name = map[int32]string{
|
1: "CURRENCY",
|
||||||
0: "UNKNOWN",
|
2: "GIF_RECENTS",
|
||||||
1: "CURRENCY",
|
3: "GIF_FAVOURITES",
|
||||||
2: "GIF_RECENTS",
|
4: "MESSAGES_FROM_CONTACTS_ONLY",
|
||||||
3: "GIF_FAVOURITES",
|
5: "PREFERRED_NAME",
|
||||||
4: "MESSAGES_FROM_CONTACTS_ONLY",
|
6: "PREVIEW_PRIVACY",
|
||||||
5: "PREFERRED_NAME",
|
7: "PROFILE_PICTURES_SHOW_TO",
|
||||||
6: "PREVIEW_PRIVACY",
|
8: "PROFILE_PICTURES_VISIBILITY",
|
||||||
7: "PROFILE_PICTURES_SHOW_TO",
|
9: "SEND_STATUS_UPDATES",
|
||||||
8: "PROFILE_PICTURES_VISIBILITY",
|
10: "STICKERS_PACKS_INSTALLED",
|
||||||
9: "SEND_STATUS_UPDATES",
|
11: "STICKERS_PACKS_PENDING",
|
||||||
10: "STICKERS_PACKS_INSTALLED",
|
12: "STICKERS_RECENT_STICKERS",
|
||||||
11: "STICKERS_PACKS_PENDING",
|
13: "DISPLAY_NAME",
|
||||||
12: "STICKERS_RECENT_STICKERS",
|
14: "BIO",
|
||||||
13: "DISPLAY_NAME",
|
15: "MNEMONIC_REMOVED",
|
||||||
14: "BIO",
|
18: "URL_UNFURLING_MODE",
|
||||||
15: "MNEMONIC_REMOVED",
|
}
|
||||||
18: "URL_UNFURLING_MODE",
|
|
||||||
}
|
|
||||||
SyncSetting_Type_value = map[string]int32{
|
|
||||||
"UNKNOWN": 0,
|
|
||||||
"CURRENCY": 1,
|
|
||||||
"GIF_RECENTS": 2,
|
|
||||||
"GIF_FAVOURITES": 3,
|
|
||||||
"MESSAGES_FROM_CONTACTS_ONLY": 4,
|
|
||||||
"PREFERRED_NAME": 5,
|
|
||||||
"PREVIEW_PRIVACY": 6,
|
|
||||||
"PROFILE_PICTURES_SHOW_TO": 7,
|
|
||||||
"PROFILE_PICTURES_VISIBILITY": 8,
|
|
||||||
"SEND_STATUS_UPDATES": 9,
|
|
||||||
"STICKERS_PACKS_INSTALLED": 10,
|
|
||||||
"STICKERS_PACKS_PENDING": 11,
|
|
||||||
"STICKERS_RECENT_STICKERS": 12,
|
|
||||||
"DISPLAY_NAME": 13,
|
|
||||||
"BIO": 14,
|
|
||||||
"MNEMONIC_REMOVED": 15,
|
|
||||||
"URL_UNFURLING_MODE": 18,
|
|
||||||
}
|
|
||||||
)
|
|
||||||
|
|
||||||
func (x SyncSetting_Type) Enum() *SyncSetting_Type {
|
var SyncSetting_Type_value = map[string]int32{
|
||||||
p := new(SyncSetting_Type)
|
"UNKNOWN": 0,
|
||||||
*p = x
|
"CURRENCY": 1,
|
||||||
return p
|
"GIF_RECENTS": 2,
|
||||||
|
"GIF_FAVOURITES": 3,
|
||||||
|
"MESSAGES_FROM_CONTACTS_ONLY": 4,
|
||||||
|
"PREFERRED_NAME": 5,
|
||||||
|
"PREVIEW_PRIVACY": 6,
|
||||||
|
"PROFILE_PICTURES_SHOW_TO": 7,
|
||||||
|
"PROFILE_PICTURES_VISIBILITY": 8,
|
||||||
|
"SEND_STATUS_UPDATES": 9,
|
||||||
|
"STICKERS_PACKS_INSTALLED": 10,
|
||||||
|
"STICKERS_PACKS_PENDING": 11,
|
||||||
|
"STICKERS_RECENT_STICKERS": 12,
|
||||||
|
"DISPLAY_NAME": 13,
|
||||||
|
"BIO": 14,
|
||||||
|
"MNEMONIC_REMOVED": 15,
|
||||||
|
"URL_UNFURLING_MODE": 18,
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x SyncSetting_Type) String() string {
|
func (x SyncSetting_Type) String() string {
|
||||||
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
return proto.EnumName(SyncSetting_Type_name, int32(x))
|
||||||
}
|
}
|
||||||
|
|
||||||
func (SyncSetting_Type) Descriptor() protoreflect.EnumDescriptor {
|
|
||||||
return file_sync_settings_proto_enumTypes[0].Descriptor()
|
|
||||||
}
|
|
||||||
|
|
||||||
func (SyncSetting_Type) Type() protoreflect.EnumType {
|
|
||||||
return &file_sync_settings_proto_enumTypes[0]
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x SyncSetting_Type) Number() protoreflect.EnumNumber {
|
|
||||||
return protoreflect.EnumNumber(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
// Deprecated: Use SyncSetting_Type.Descriptor instead.
|
|
||||||
func (SyncSetting_Type) EnumDescriptor() ([]byte, []int) {
|
func (SyncSetting_Type) EnumDescriptor() ([]byte, []int) {
|
||||||
return file_sync_settings_proto_rawDescGZIP(), []int{0, 0}
|
return fileDescriptor_e2f7a0bce2873c78, []int{0, 0}
|
||||||
}
|
}
|
||||||
|
|
||||||
type SyncSetting struct {
|
type SyncSetting struct {
|
||||||
state protoimpl.MessageState
|
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
Type SyncSetting_Type `protobuf:"varint,1,opt,name=type,proto3,enum=protobuf.SyncSetting_Type" json:"type,omitempty"`
|
Type SyncSetting_Type `protobuf:"varint,1,opt,name=type,proto3,enum=protobuf.SyncSetting_Type" json:"type,omitempty"`
|
||||||
Clock uint64 `protobuf:"varint,2,opt,name=clock,proto3" json:"clock,omitempty"`
|
Clock uint64 `protobuf:"varint,2,opt,name=clock,proto3" json:"clock,omitempty"`
|
||||||
// Types that are assignable to Value:
|
// Types that are valid to be assigned to Value:
|
||||||
//
|
//
|
||||||
// *SyncSetting_ValueString
|
// *SyncSetting_ValueString
|
||||||
// *SyncSetting_ValueBytes
|
// *SyncSetting_ValueBytes
|
||||||
// *SyncSetting_ValueBool
|
// *SyncSetting_ValueBool
|
||||||
// *SyncSetting_ValueInt64
|
// *SyncSetting_ValueInt64
|
||||||
Value isSyncSetting_Value `protobuf_oneof:"value"`
|
Value isSyncSetting_Value `protobuf_oneof:"value"`
|
||||||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
|
XXX_unrecognized []byte `json:"-"`
|
||||||
|
XXX_sizecache int32 `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *SyncSetting) Reset() {
|
func (m *SyncSetting) Reset() { *m = SyncSetting{} }
|
||||||
*x = SyncSetting{}
|
func (m *SyncSetting) String() string { return proto.CompactTextString(m) }
|
||||||
if protoimpl.UnsafeEnabled {
|
func (*SyncSetting) ProtoMessage() {}
|
||||||
mi := &file_sync_settings_proto_msgTypes[0]
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *SyncSetting) String() string {
|
|
||||||
return protoimpl.X.MessageStringOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (*SyncSetting) ProtoMessage() {}
|
|
||||||
|
|
||||||
func (x *SyncSetting) ProtoReflect() protoreflect.Message {
|
|
||||||
mi := &file_sync_settings_proto_msgTypes[0]
|
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
if ms.LoadMessageInfo() == nil {
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
return ms
|
|
||||||
}
|
|
||||||
return mi.MessageOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
// Deprecated: Use SyncSetting.ProtoReflect.Descriptor instead.
|
|
||||||
func (*SyncSetting) Descriptor() ([]byte, []int) {
|
func (*SyncSetting) Descriptor() ([]byte, []int) {
|
||||||
return file_sync_settings_proto_rawDescGZIP(), []int{0}
|
return fileDescriptor_e2f7a0bce2873c78, []int{0}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *SyncSetting) GetType() SyncSetting_Type {
|
func (m *SyncSetting) XXX_Unmarshal(b []byte) error {
|
||||||
if x != nil {
|
return xxx_messageInfo_SyncSetting.Unmarshal(m, b)
|
||||||
return x.Type
|
}
|
||||||
|
func (m *SyncSetting) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||||
|
return xxx_messageInfo_SyncSetting.Marshal(b, m, deterministic)
|
||||||
|
}
|
||||||
|
func (m *SyncSetting) XXX_Merge(src proto.Message) {
|
||||||
|
xxx_messageInfo_SyncSetting.Merge(m, src)
|
||||||
|
}
|
||||||
|
func (m *SyncSetting) XXX_Size() int {
|
||||||
|
return xxx_messageInfo_SyncSetting.Size(m)
|
||||||
|
}
|
||||||
|
func (m *SyncSetting) XXX_DiscardUnknown() {
|
||||||
|
xxx_messageInfo_SyncSetting.DiscardUnknown(m)
|
||||||
|
}
|
||||||
|
|
||||||
|
var xxx_messageInfo_SyncSetting proto.InternalMessageInfo
|
||||||
|
|
||||||
|
func (m *SyncSetting) GetType() SyncSetting_Type {
|
||||||
|
if m != nil {
|
||||||
|
return m.Type
|
||||||
}
|
}
|
||||||
return SyncSetting_UNKNOWN
|
return SyncSetting_UNKNOWN
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *SyncSetting) GetClock() uint64 {
|
func (m *SyncSetting) GetClock() uint64 {
|
||||||
if x != nil {
|
|
||||||
return x.Clock
|
|
||||||
}
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
func (m *SyncSetting) GetValue() isSyncSetting_Value {
|
|
||||||
if m != nil {
|
if m != nil {
|
||||||
return m.Value
|
return m.Clock
|
||||||
}
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *SyncSetting) GetValueString() string {
|
|
||||||
if x, ok := x.GetValue().(*SyncSetting_ValueString); ok {
|
|
||||||
return x.ValueString
|
|
||||||
}
|
|
||||||
return ""
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *SyncSetting) GetValueBytes() []byte {
|
|
||||||
if x, ok := x.GetValue().(*SyncSetting_ValueBytes); ok {
|
|
||||||
return x.ValueBytes
|
|
||||||
}
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *SyncSetting) GetValueBool() bool {
|
|
||||||
if x, ok := x.GetValue().(*SyncSetting_ValueBool); ok {
|
|
||||||
return x.ValueBool
|
|
||||||
}
|
|
||||||
return false
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *SyncSetting) GetValueInt64() int64 {
|
|
||||||
if x, ok := x.GetValue().(*SyncSetting_ValueInt64); ok {
|
|
||||||
return x.ValueInt64
|
|
||||||
}
|
}
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
@ -236,127 +172,94 @@ func (*SyncSetting_ValueBool) isSyncSetting_Value() {}
|
||||||
|
|
||||||
func (*SyncSetting_ValueInt64) isSyncSetting_Value() {}
|
func (*SyncSetting_ValueInt64) isSyncSetting_Value() {}
|
||||||
|
|
||||||
var File_sync_settings_proto protoreflect.FileDescriptor
|
func (m *SyncSetting) GetValue() isSyncSetting_Value {
|
||||||
|
if m != nil {
|
||||||
var file_sync_settings_proto_rawDesc = []byte{
|
return m.Value
|
||||||
0x0a, 0x13, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e,
|
|
||||||
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x22,
|
|
||||||
0xaa, 0x05, 0x0a, 0x0b, 0x53, 0x79, 0x6e, 0x63, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x12,
|
|
||||||
0x2e, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1a, 0x2e,
|
|
||||||
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x79, 0x6e, 0x63, 0x53, 0x65, 0x74,
|
|
||||||
0x74, 0x69, 0x6e, 0x67, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12,
|
|
||||||
0x14, 0x0a, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05,
|
|
||||||
0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x23, 0x0a, 0x0c, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x73,
|
|
||||||
0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x76,
|
|
||||||
0x61, 0x6c, 0x75, 0x65, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x21, 0x0a, 0x0b, 0x76, 0x61,
|
|
||||||
0x6c, 0x75, 0x65, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x48,
|
|
||||||
0x00, 0x52, 0x0a, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x1f, 0x0a,
|
|
||||||
0x0a, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28,
|
|
||||||
0x08, 0x48, 0x00, 0x52, 0x09, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x6f, 0x6f, 0x6c, 0x12, 0x21,
|
|
||||||
0x0a, 0x0b, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x06, 0x20,
|
|
||||||
0x01, 0x28, 0x03, 0x48, 0x00, 0x52, 0x0a, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x49, 0x6e, 0x74, 0x36,
|
|
||||||
0x34, 0x22, 0xbf, 0x03, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e,
|
|
||||||
0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x43, 0x55, 0x52, 0x52, 0x45,
|
|
||||||
0x4e, 0x43, 0x59, 0x10, 0x01, 0x12, 0x0f, 0x0a, 0x0b, 0x47, 0x49, 0x46, 0x5f, 0x52, 0x45, 0x43,
|
|
||||||
0x45, 0x4e, 0x54, 0x53, 0x10, 0x02, 0x12, 0x12, 0x0a, 0x0e, 0x47, 0x49, 0x46, 0x5f, 0x46, 0x41,
|
|
||||||
0x56, 0x4f, 0x55, 0x52, 0x49, 0x54, 0x45, 0x53, 0x10, 0x03, 0x12, 0x1f, 0x0a, 0x1b, 0x4d, 0x45,
|
|
||||||
0x53, 0x53, 0x41, 0x47, 0x45, 0x53, 0x5f, 0x46, 0x52, 0x4f, 0x4d, 0x5f, 0x43, 0x4f, 0x4e, 0x54,
|
|
||||||
0x41, 0x43, 0x54, 0x53, 0x5f, 0x4f, 0x4e, 0x4c, 0x59, 0x10, 0x04, 0x12, 0x12, 0x0a, 0x0e, 0x50,
|
|
||||||
0x52, 0x45, 0x46, 0x45, 0x52, 0x52, 0x45, 0x44, 0x5f, 0x4e, 0x41, 0x4d, 0x45, 0x10, 0x05, 0x12,
|
|
||||||
0x13, 0x0a, 0x0f, 0x50, 0x52, 0x45, 0x56, 0x49, 0x45, 0x57, 0x5f, 0x50, 0x52, 0x49, 0x56, 0x41,
|
|
||||||
0x43, 0x59, 0x10, 0x06, 0x12, 0x1c, 0x0a, 0x18, 0x50, 0x52, 0x4f, 0x46, 0x49, 0x4c, 0x45, 0x5f,
|
|
||||||
0x50, 0x49, 0x43, 0x54, 0x55, 0x52, 0x45, 0x53, 0x5f, 0x53, 0x48, 0x4f, 0x57, 0x5f, 0x54, 0x4f,
|
|
||||||
0x10, 0x07, 0x12, 0x1f, 0x0a, 0x1b, 0x50, 0x52, 0x4f, 0x46, 0x49, 0x4c, 0x45, 0x5f, 0x50, 0x49,
|
|
||||||
0x43, 0x54, 0x55, 0x52, 0x45, 0x53, 0x5f, 0x56, 0x49, 0x53, 0x49, 0x42, 0x49, 0x4c, 0x49, 0x54,
|
|
||||||
0x59, 0x10, 0x08, 0x12, 0x17, 0x0a, 0x13, 0x53, 0x45, 0x4e, 0x44, 0x5f, 0x53, 0x54, 0x41, 0x54,
|
|
||||||
0x55, 0x53, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x53, 0x10, 0x09, 0x12, 0x1c, 0x0a, 0x18,
|
|
||||||
0x53, 0x54, 0x49, 0x43, 0x4b, 0x45, 0x52, 0x53, 0x5f, 0x50, 0x41, 0x43, 0x4b, 0x53, 0x5f, 0x49,
|
|
||||||
0x4e, 0x53, 0x54, 0x41, 0x4c, 0x4c, 0x45, 0x44, 0x10, 0x0a, 0x12, 0x1a, 0x0a, 0x16, 0x53, 0x54,
|
|
||||||
0x49, 0x43, 0x4b, 0x45, 0x52, 0x53, 0x5f, 0x50, 0x41, 0x43, 0x4b, 0x53, 0x5f, 0x50, 0x45, 0x4e,
|
|
||||||
0x44, 0x49, 0x4e, 0x47, 0x10, 0x0b, 0x12, 0x1c, 0x0a, 0x18, 0x53, 0x54, 0x49, 0x43, 0x4b, 0x45,
|
|
||||||
0x52, 0x53, 0x5f, 0x52, 0x45, 0x43, 0x45, 0x4e, 0x54, 0x5f, 0x53, 0x54, 0x49, 0x43, 0x4b, 0x45,
|
|
||||||
0x52, 0x53, 0x10, 0x0c, 0x12, 0x10, 0x0a, 0x0c, 0x44, 0x49, 0x53, 0x50, 0x4c, 0x41, 0x59, 0x5f,
|
|
||||||
0x4e, 0x41, 0x4d, 0x45, 0x10, 0x0d, 0x12, 0x07, 0x0a, 0x03, 0x42, 0x49, 0x4f, 0x10, 0x0e, 0x12,
|
|
||||||
0x14, 0x0a, 0x10, 0x4d, 0x4e, 0x45, 0x4d, 0x4f, 0x4e, 0x49, 0x43, 0x5f, 0x52, 0x45, 0x4d, 0x4f,
|
|
||||||
0x56, 0x45, 0x44, 0x10, 0x0f, 0x12, 0x16, 0x0a, 0x12, 0x55, 0x52, 0x4c, 0x5f, 0x55, 0x4e, 0x46,
|
|
||||||
0x55, 0x52, 0x4c, 0x49, 0x4e, 0x47, 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x10, 0x12, 0x22, 0x04, 0x08,
|
|
||||||
0x10, 0x10, 0x10, 0x22, 0x04, 0x08, 0x11, 0x10, 0x11, 0x2a, 0x0d, 0x45, 0x4e, 0x53, 0x5f, 0x55,
|
|
||||||
0x53, 0x45, 0x52, 0x4e, 0x41, 0x4d, 0x45, 0x53, 0x2a, 0x19, 0x49, 0x4e, 0x43, 0x4c, 0x55, 0x44,
|
|
||||||
0x45, 0x5f, 0x57, 0x41, 0x54, 0x43, 0x48, 0x4f, 0x4e, 0x4c, 0x59, 0x5f, 0x41, 0x43, 0x43, 0x4f,
|
|
||||||
0x55, 0x4e, 0x54, 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x0d, 0x5a, 0x0b,
|
|
||||||
0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x62, 0x06, 0x70, 0x72, 0x6f,
|
|
||||||
0x74, 0x6f, 0x33,
|
|
||||||
}
|
|
||||||
|
|
||||||
var (
|
|
||||||
file_sync_settings_proto_rawDescOnce sync.Once
|
|
||||||
file_sync_settings_proto_rawDescData = file_sync_settings_proto_rawDesc
|
|
||||||
)
|
|
||||||
|
|
||||||
func file_sync_settings_proto_rawDescGZIP() []byte {
|
|
||||||
file_sync_settings_proto_rawDescOnce.Do(func() {
|
|
||||||
file_sync_settings_proto_rawDescData = protoimpl.X.CompressGZIP(file_sync_settings_proto_rawDescData)
|
|
||||||
})
|
|
||||||
return file_sync_settings_proto_rawDescData
|
|
||||||
}
|
|
||||||
|
|
||||||
var file_sync_settings_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
|
||||||
var file_sync_settings_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
|
|
||||||
var file_sync_settings_proto_goTypes = []interface{}{
|
|
||||||
(SyncSetting_Type)(0), // 0: protobuf.SyncSetting.Type
|
|
||||||
(*SyncSetting)(nil), // 1: protobuf.SyncSetting
|
|
||||||
}
|
|
||||||
var file_sync_settings_proto_depIdxs = []int32{
|
|
||||||
0, // 0: protobuf.SyncSetting.type:type_name -> protobuf.SyncSetting.Type
|
|
||||||
1, // [1:1] is the sub-list for method output_type
|
|
||||||
1, // [1:1] is the sub-list for method input_type
|
|
||||||
1, // [1:1] is the sub-list for extension type_name
|
|
||||||
1, // [1:1] is the sub-list for extension extendee
|
|
||||||
0, // [0:1] is the sub-list for field type_name
|
|
||||||
}
|
|
||||||
|
|
||||||
func init() { file_sync_settings_proto_init() }
|
|
||||||
func file_sync_settings_proto_init() {
|
|
||||||
if File_sync_settings_proto != nil {
|
|
||||||
return
|
|
||||||
}
|
}
|
||||||
if !protoimpl.UnsafeEnabled {
|
return nil
|
||||||
file_sync_settings_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
}
|
||||||
switch v := v.(*SyncSetting); i {
|
|
||||||
case 0:
|
func (m *SyncSetting) GetValueString() string {
|
||||||
return &v.state
|
if x, ok := m.GetValue().(*SyncSetting_ValueString); ok {
|
||||||
case 1:
|
return x.ValueString
|
||||||
return &v.sizeCache
|
|
||||||
case 2:
|
|
||||||
return &v.unknownFields
|
|
||||||
default:
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
file_sync_settings_proto_msgTypes[0].OneofWrappers = []interface{}{
|
return ""
|
||||||
|
}
|
||||||
|
|
||||||
|
func (m *SyncSetting) GetValueBytes() []byte {
|
||||||
|
if x, ok := m.GetValue().(*SyncSetting_ValueBytes); ok {
|
||||||
|
return x.ValueBytes
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (m *SyncSetting) GetValueBool() bool {
|
||||||
|
if x, ok := m.GetValue().(*SyncSetting_ValueBool); ok {
|
||||||
|
return x.ValueBool
|
||||||
|
}
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
|
||||||
|
func (m *SyncSetting) GetValueInt64() int64 {
|
||||||
|
if x, ok := m.GetValue().(*SyncSetting_ValueInt64); ok {
|
||||||
|
return x.ValueInt64
|
||||||
|
}
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
|
// XXX_OneofWrappers is for the internal use of the proto package.
|
||||||
|
func (*SyncSetting) XXX_OneofWrappers() []interface{} {
|
||||||
|
return []interface{}{
|
||||||
(*SyncSetting_ValueString)(nil),
|
(*SyncSetting_ValueString)(nil),
|
||||||
(*SyncSetting_ValueBytes)(nil),
|
(*SyncSetting_ValueBytes)(nil),
|
||||||
(*SyncSetting_ValueBool)(nil),
|
(*SyncSetting_ValueBool)(nil),
|
||||||
(*SyncSetting_ValueInt64)(nil),
|
(*SyncSetting_ValueInt64)(nil),
|
||||||
}
|
}
|
||||||
type x struct{}
|
}
|
||||||
out := protoimpl.TypeBuilder{
|
|
||||||
File: protoimpl.DescBuilder{
|
func init() {
|
||||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
proto.RegisterEnum("protobuf.SyncSetting_Type", SyncSetting_Type_name, SyncSetting_Type_value)
|
||||||
RawDescriptor: file_sync_settings_proto_rawDesc,
|
proto.RegisterType((*SyncSetting)(nil), "protobuf.SyncSetting")
|
||||||
NumEnums: 1,
|
}
|
||||||
NumMessages: 1,
|
|
||||||
NumExtensions: 0,
|
func init() {
|
||||||
NumServices: 0,
|
proto.RegisterFile("sync_settings.proto", fileDescriptor_e2f7a0bce2873c78)
|
||||||
},
|
}
|
||||||
GoTypes: file_sync_settings_proto_goTypes,
|
|
||||||
DependencyIndexes: file_sync_settings_proto_depIdxs,
|
var fileDescriptor_e2f7a0bce2873c78 = []byte{
|
||||||
EnumInfos: file_sync_settings_proto_enumTypes,
|
// 539 bytes of a gzipped FileDescriptorProto
|
||||||
MessageInfos: file_sync_settings_proto_msgTypes,
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x92, 0x4d, 0x6f, 0x1a, 0x3d,
|
||||||
}.Build()
|
0x10, 0xc7, 0xd9, 0xb0, 0x04, 0x32, 0x90, 0xc4, 0x71, 0xa2, 0x3c, 0xfb, 0xa4, 0x95, 0x42, 0xe9,
|
||||||
File_sync_settings_proto = out.File
|
0x05, 0xe5, 0x40, 0xa5, 0xb6, 0xea, 0xa5, 0x27, 0xe3, 0x1d, 0xc0, 0xca, 0xae, 0xbd, 0xf2, 0x0b,
|
||||||
file_sync_settings_proto_rawDesc = nil
|
0x88, 0x5e, 0xac, 0x06, 0xd1, 0x28, 0x2a, 0x62, 0xa3, 0xb0, 0xa9, 0xc4, 0x57, 0xea, 0x97, 0xe8,
|
||||||
file_sync_settings_proto_goTypes = nil
|
0x57, 0xab, 0x96, 0x6d, 0xfa, 0x7a, 0xb2, 0xe7, 0x3f, 0xbf, 0xf9, 0x7b, 0x3c, 0x36, 0x9c, 0x6e,
|
||||||
file_sync_settings_proto_depIdxs = nil
|
0xb6, 0xeb, 0x85, 0xdf, 0x2c, 0x8b, 0xe2, 0x6e, 0x7d, 0xbb, 0x19, 0xdc, 0x3f, 0xe4, 0x45, 0x4e,
|
||||||
|
0x5b, 0xbb, 0xe5, 0xe6, 0xf1, 0x53, 0xef, 0x6b, 0x03, 0xda, 0x66, 0xbb, 0x5e, 0x98, 0x0a, 0xa0,
|
||||||
|
0x03, 0x08, 0x8b, 0xed, 0xfd, 0x32, 0x0a, 0xba, 0x41, 0xff, 0xe8, 0xf5, 0xc5, 0xe0, 0x09, 0x1c,
|
||||||
|
0xfc, 0x06, 0x0d, 0xec, 0xf6, 0x7e, 0xa9, 0x77, 0x1c, 0x3d, 0x83, 0xc6, 0x62, 0x95, 0x2f, 0x3e,
|
||||||
|
0x47, 0x7b, 0xdd, 0xa0, 0x1f, 0xea, 0x2a, 0xa0, 0x2f, 0xa1, 0xf3, 0xe5, 0xe3, 0xea, 0x71, 0xe9,
|
||||||
|
0x37, 0xc5, 0xc3, 0xdd, 0xfa, 0x36, 0xaa, 0x77, 0x83, 0xfe, 0xc1, 0xa4, 0xa6, 0xdb, 0x3b, 0xd5,
|
||||||
|
0xec, 0x44, 0xfa, 0x02, 0xaa, 0xd0, 0xdf, 0x6c, 0x8b, 0xe5, 0x26, 0x0a, 0xbb, 0x41, 0xbf, 0x33,
|
||||||
|
0xa9, 0x69, 0xd8, 0x89, 0xc3, 0x52, 0xa3, 0x97, 0x00, 0x3f, 0x90, 0x3c, 0x5f, 0x45, 0x8d, 0x6e,
|
||||||
|
0xd0, 0x6f, 0x4d, 0x6a, 0xfa, 0xa0, 0x22, 0xf2, 0x7c, 0xf5, 0xcb, 0xe3, 0x6e, 0x5d, 0xbc, 0x7b,
|
||||||
|
0x1b, 0xed, 0x77, 0x83, 0x7e, 0xfd, 0xa7, 0x87, 0x28, 0xb5, 0xde, 0xb7, 0x3a, 0x84, 0x65, 0xc3,
|
||||||
|
0xb4, 0x0d, 0x4d, 0x27, 0xaf, 0xa5, 0x9a, 0x49, 0x52, 0xa3, 0x1d, 0x68, 0x71, 0xa7, 0x35, 0x4a,
|
||||||
|
0x3e, 0x27, 0x01, 0x3d, 0x86, 0xf6, 0x58, 0x8c, 0xbc, 0x46, 0x8e, 0xd2, 0x1a, 0xb2, 0x47, 0x29,
|
||||||
|
0x1c, 0x95, 0xc2, 0x88, 0x4d, 0x95, 0xd3, 0xc2, 0xa2, 0x21, 0x75, 0x7a, 0x09, 0xcf, 0x52, 0x34,
|
||||||
|
0x86, 0x8d, 0xd1, 0xf8, 0x91, 0x56, 0xa9, 0xe7, 0x4a, 0x5a, 0xc6, 0xad, 0xf1, 0x4a, 0x26, 0x73,
|
||||||
|
0x12, 0x96, 0x45, 0x99, 0xc6, 0x11, 0x6a, 0x8d, 0xb1, 0x97, 0x2c, 0x45, 0xd2, 0xa0, 0xa7, 0x70,
|
||||||
|
0x9c, 0x69, 0x9c, 0x0a, 0x9c, 0xf9, 0x4c, 0x8b, 0x29, 0xe3, 0x73, 0xb2, 0x4f, 0x9f, 0x43, 0x94,
|
||||||
|
0x69, 0x35, 0x12, 0x09, 0xfa, 0x4c, 0x70, 0xeb, 0x34, 0x1a, 0x6f, 0x26, 0x6a, 0xe6, 0xad, 0x22,
|
||||||
|
0xcd, 0xf2, 0x9c, 0x7f, 0xb2, 0x53, 0x61, 0xc4, 0x50, 0x24, 0xc2, 0xce, 0x49, 0x8b, 0xfe, 0x07,
|
||||||
|
0xa7, 0x06, 0x65, 0xec, 0x8d, 0x65, 0xd6, 0x19, 0xef, 0xb2, 0x98, 0x95, 0x1d, 0x1e, 0x94, 0xbe,
|
||||||
|
0xc6, 0x0a, 0x7e, 0x8d, 0xda, 0xf8, 0x8c, 0xf1, 0x6b, 0xe3, 0x85, 0x34, 0x96, 0x25, 0x09, 0xc6,
|
||||||
|
0x04, 0xe8, 0x05, 0x9c, 0xff, 0x95, 0xcd, 0x50, 0xc6, 0x42, 0x8e, 0x49, 0xfb, 0x8f, 0xca, 0x6a,
|
||||||
|
0x0a, 0xfe, 0x29, 0x26, 0x1d, 0x4a, 0xa0, 0x13, 0x0b, 0x93, 0x25, 0x6c, 0x5e, 0x5d, 0xeb, 0x90,
|
||||||
|
0x36, 0xa1, 0x3e, 0x14, 0x8a, 0x1c, 0xd1, 0x33, 0x20, 0xa9, 0xc4, 0x54, 0x49, 0xc1, 0xbd, 0xc6,
|
||||||
|
0x54, 0x4d, 0x31, 0x26, 0xc7, 0xf4, 0x1c, 0xa8, 0xd3, 0x89, 0x77, 0x72, 0xe4, 0x74, 0x22, 0xe4,
|
||||||
|
0xd8, 0xa7, 0x2a, 0x46, 0x42, 0x7b, 0x61, 0x8b, 0x10, 0xd2, 0x0b, 0x5b, 0x27, 0xe4, 0xe4, 0xea,
|
||||||
|
0x10, 0xa5, 0xf1, 0xce, 0xa0, 0x2e, 0x2d, 0xcd, 0xd5, 0xff, 0x42, 0xf2, 0xc4, 0xc5, 0xe8, 0x67,
|
||||||
|
0xcc, 0xf2, 0x49, 0x39, 0x51, 0xcf, 0x38, 0x57, 0x4e, 0xda, 0x61, 0x13, 0x1a, 0xd5, 0x8b, 0x1f,
|
||||||
|
0x7e, 0x68, 0x0f, 0x5e, 0xbd, 0x7f, 0xfa, 0x92, 0x37, 0xfb, 0xbb, 0xdd, 0x9b, 0xef, 0x01, 0x00,
|
||||||
|
0x00, 0xff, 0xff, 0xb8, 0x4c, 0x65, 0xd1, 0xe3, 0x02, 0x00, 0x00,
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,455 +1,310 @@
|
||||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||||
// versions:
|
|
||||||
// protoc-gen-go v1.29.1
|
|
||||||
// protoc v3.20.3
|
|
||||||
// source: url_data.proto
|
// source: url_data.proto
|
||||||
|
|
||||||
package protobuf
|
package protobuf
|
||||||
|
|
||||||
import (
|
import (
|
||||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
fmt "fmt"
|
||||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
proto "github.com/golang/protobuf/proto"
|
||||||
reflect "reflect"
|
math "math"
|
||||||
sync "sync"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
// Reference imports to suppress errors if they are not otherwise used.
|
||||||
// Verify that this generated code is sufficiently up-to-date.
|
var _ = proto.Marshal
|
||||||
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
var _ = fmt.Errorf
|
||||||
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
var _ = math.Inf
|
||||||
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
||||||
)
|
// This is a compile-time assertion to ensure that this generated file
|
||||||
|
// is compatible with the proto package it is being compiled against.
|
||||||
|
// A compilation error at this line likely means your copy of the
|
||||||
|
// proto package needs to be updated.
|
||||||
|
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
|
||||||
|
|
||||||
type Community struct {
|
type Community struct {
|
||||||
state protoimpl.MessageState
|
DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
|
||||||
sizeCache protoimpl.SizeCache
|
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
MembersCount uint32 `protobuf:"varint,3,opt,name=members_count,json=membersCount,proto3" json:"members_count,omitempty"`
|
||||||
|
Color string `protobuf:"bytes,4,opt,name=color,proto3" json:"color,omitempty"`
|
||||||
DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
|
TagIndices []uint32 `protobuf:"varint,5,rep,packed,name=tag_indices,json=tagIndices,proto3" json:"tag_indices,omitempty"`
|
||||||
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
MembersCount uint32 `protobuf:"varint,3,opt,name=members_count,json=membersCount,proto3" json:"members_count,omitempty"`
|
XXX_unrecognized []byte `json:"-"`
|
||||||
Color string `protobuf:"bytes,4,opt,name=color,proto3" json:"color,omitempty"`
|
XXX_sizecache int32 `json:"-"`
|
||||||
TagIndices []uint32 `protobuf:"varint,5,rep,packed,name=tag_indices,json=tagIndices,proto3" json:"tag_indices,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Community) Reset() {
|
func (m *Community) Reset() { *m = Community{} }
|
||||||
*x = Community{}
|
func (m *Community) String() string { return proto.CompactTextString(m) }
|
||||||
if protoimpl.UnsafeEnabled {
|
func (*Community) ProtoMessage() {}
|
||||||
mi := &file_url_data_proto_msgTypes[0]
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *Community) String() string {
|
|
||||||
return protoimpl.X.MessageStringOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (*Community) ProtoMessage() {}
|
|
||||||
|
|
||||||
func (x *Community) ProtoReflect() protoreflect.Message {
|
|
||||||
mi := &file_url_data_proto_msgTypes[0]
|
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
if ms.LoadMessageInfo() == nil {
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
return ms
|
|
||||||
}
|
|
||||||
return mi.MessageOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
// Deprecated: Use Community.ProtoReflect.Descriptor instead.
|
|
||||||
func (*Community) Descriptor() ([]byte, []int) {
|
func (*Community) Descriptor() ([]byte, []int) {
|
||||||
return file_url_data_proto_rawDescGZIP(), []int{0}
|
return fileDescriptor_5f1e15b5f0115710, []int{0}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Community) GetDisplayName() string {
|
func (m *Community) XXX_Unmarshal(b []byte) error {
|
||||||
if x != nil {
|
return xxx_messageInfo_Community.Unmarshal(m, b)
|
||||||
return x.DisplayName
|
}
|
||||||
|
func (m *Community) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||||
|
return xxx_messageInfo_Community.Marshal(b, m, deterministic)
|
||||||
|
}
|
||||||
|
func (m *Community) XXX_Merge(src proto.Message) {
|
||||||
|
xxx_messageInfo_Community.Merge(m, src)
|
||||||
|
}
|
||||||
|
func (m *Community) XXX_Size() int {
|
||||||
|
return xxx_messageInfo_Community.Size(m)
|
||||||
|
}
|
||||||
|
func (m *Community) XXX_DiscardUnknown() {
|
||||||
|
xxx_messageInfo_Community.DiscardUnknown(m)
|
||||||
|
}
|
||||||
|
|
||||||
|
var xxx_messageInfo_Community proto.InternalMessageInfo
|
||||||
|
|
||||||
|
func (m *Community) GetDisplayName() string {
|
||||||
|
if m != nil {
|
||||||
|
return m.DisplayName
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Community) GetDescription() string {
|
func (m *Community) GetDescription() string {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.Description
|
return m.Description
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Community) GetMembersCount() uint32 {
|
func (m *Community) GetMembersCount() uint32 {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.MembersCount
|
return m.MembersCount
|
||||||
}
|
}
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Community) GetColor() string {
|
func (m *Community) GetColor() string {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.Color
|
return m.Color
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Community) GetTagIndices() []uint32 {
|
func (m *Community) GetTagIndices() []uint32 {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.TagIndices
|
return m.TagIndices
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
type Channel struct {
|
type Channel struct {
|
||||||
state protoimpl.MessageState
|
DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
|
||||||
sizeCache protoimpl.SizeCache
|
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
Emoji string `protobuf:"bytes,3,opt,name=emoji,proto3" json:"emoji,omitempty"`
|
||||||
|
Color string `protobuf:"bytes,4,opt,name=color,proto3" json:"color,omitempty"`
|
||||||
DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
|
Community *Community `protobuf:"bytes,5,opt,name=community,proto3" json:"community,omitempty"`
|
||||||
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
|
Uuid string `protobuf:"bytes,6,opt,name=uuid,proto3" json:"uuid,omitempty"`
|
||||||
Emoji string `protobuf:"bytes,3,opt,name=emoji,proto3" json:"emoji,omitempty"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
Color string `protobuf:"bytes,4,opt,name=color,proto3" json:"color,omitempty"`
|
XXX_unrecognized []byte `json:"-"`
|
||||||
Community *Community `protobuf:"bytes,5,opt,name=community,proto3" json:"community,omitempty"`
|
XXX_sizecache int32 `json:"-"`
|
||||||
Uuid string `protobuf:"bytes,6,opt,name=uuid,proto3" json:"uuid,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Channel) Reset() {
|
func (m *Channel) Reset() { *m = Channel{} }
|
||||||
*x = Channel{}
|
func (m *Channel) String() string { return proto.CompactTextString(m) }
|
||||||
if protoimpl.UnsafeEnabled {
|
func (*Channel) ProtoMessage() {}
|
||||||
mi := &file_url_data_proto_msgTypes[1]
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *Channel) String() string {
|
|
||||||
return protoimpl.X.MessageStringOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (*Channel) ProtoMessage() {}
|
|
||||||
|
|
||||||
func (x *Channel) ProtoReflect() protoreflect.Message {
|
|
||||||
mi := &file_url_data_proto_msgTypes[1]
|
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
if ms.LoadMessageInfo() == nil {
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
return ms
|
|
||||||
}
|
|
||||||
return mi.MessageOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
// Deprecated: Use Channel.ProtoReflect.Descriptor instead.
|
|
||||||
func (*Channel) Descriptor() ([]byte, []int) {
|
func (*Channel) Descriptor() ([]byte, []int) {
|
||||||
return file_url_data_proto_rawDescGZIP(), []int{1}
|
return fileDescriptor_5f1e15b5f0115710, []int{1}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Channel) GetDisplayName() string {
|
func (m *Channel) XXX_Unmarshal(b []byte) error {
|
||||||
if x != nil {
|
return xxx_messageInfo_Channel.Unmarshal(m, b)
|
||||||
return x.DisplayName
|
}
|
||||||
|
func (m *Channel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||||
|
return xxx_messageInfo_Channel.Marshal(b, m, deterministic)
|
||||||
|
}
|
||||||
|
func (m *Channel) XXX_Merge(src proto.Message) {
|
||||||
|
xxx_messageInfo_Channel.Merge(m, src)
|
||||||
|
}
|
||||||
|
func (m *Channel) XXX_Size() int {
|
||||||
|
return xxx_messageInfo_Channel.Size(m)
|
||||||
|
}
|
||||||
|
func (m *Channel) XXX_DiscardUnknown() {
|
||||||
|
xxx_messageInfo_Channel.DiscardUnknown(m)
|
||||||
|
}
|
||||||
|
|
||||||
|
var xxx_messageInfo_Channel proto.InternalMessageInfo
|
||||||
|
|
||||||
|
func (m *Channel) GetDisplayName() string {
|
||||||
|
if m != nil {
|
||||||
|
return m.DisplayName
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Channel) GetDescription() string {
|
func (m *Channel) GetDescription() string {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.Description
|
return m.Description
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Channel) GetEmoji() string {
|
func (m *Channel) GetEmoji() string {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.Emoji
|
return m.Emoji
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Channel) GetColor() string {
|
func (m *Channel) GetColor() string {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.Color
|
return m.Color
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Channel) GetCommunity() *Community {
|
func (m *Channel) GetCommunity() *Community {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.Community
|
return m.Community
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Channel) GetUuid() string {
|
func (m *Channel) GetUuid() string {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.Uuid
|
return m.Uuid
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
type User struct {
|
type User struct {
|
||||||
state protoimpl.MessageState
|
DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
|
||||||
sizeCache protoimpl.SizeCache
|
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
Color string `protobuf:"bytes,3,opt,name=color,proto3" json:"color,omitempty"`
|
||||||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
|
XXX_unrecognized []byte `json:"-"`
|
||||||
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
|
XXX_sizecache int32 `json:"-"`
|
||||||
Color string `protobuf:"bytes,3,opt,name=color,proto3" json:"color,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *User) Reset() {
|
func (m *User) Reset() { *m = User{} }
|
||||||
*x = User{}
|
func (m *User) String() string { return proto.CompactTextString(m) }
|
||||||
if protoimpl.UnsafeEnabled {
|
func (*User) ProtoMessage() {}
|
||||||
mi := &file_url_data_proto_msgTypes[2]
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *User) String() string {
|
|
||||||
return protoimpl.X.MessageStringOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (*User) ProtoMessage() {}
|
|
||||||
|
|
||||||
func (x *User) ProtoReflect() protoreflect.Message {
|
|
||||||
mi := &file_url_data_proto_msgTypes[2]
|
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
if ms.LoadMessageInfo() == nil {
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
return ms
|
|
||||||
}
|
|
||||||
return mi.MessageOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
// Deprecated: Use User.ProtoReflect.Descriptor instead.
|
|
||||||
func (*User) Descriptor() ([]byte, []int) {
|
func (*User) Descriptor() ([]byte, []int) {
|
||||||
return file_url_data_proto_rawDescGZIP(), []int{2}
|
return fileDescriptor_5f1e15b5f0115710, []int{2}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *User) GetDisplayName() string {
|
func (m *User) XXX_Unmarshal(b []byte) error {
|
||||||
if x != nil {
|
return xxx_messageInfo_User.Unmarshal(m, b)
|
||||||
return x.DisplayName
|
}
|
||||||
|
func (m *User) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||||
|
return xxx_messageInfo_User.Marshal(b, m, deterministic)
|
||||||
|
}
|
||||||
|
func (m *User) XXX_Merge(src proto.Message) {
|
||||||
|
xxx_messageInfo_User.Merge(m, src)
|
||||||
|
}
|
||||||
|
func (m *User) XXX_Size() int {
|
||||||
|
return xxx_messageInfo_User.Size(m)
|
||||||
|
}
|
||||||
|
func (m *User) XXX_DiscardUnknown() {
|
||||||
|
xxx_messageInfo_User.DiscardUnknown(m)
|
||||||
|
}
|
||||||
|
|
||||||
|
var xxx_messageInfo_User proto.InternalMessageInfo
|
||||||
|
|
||||||
|
func (m *User) GetDisplayName() string {
|
||||||
|
if m != nil {
|
||||||
|
return m.DisplayName
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *User) GetDescription() string {
|
func (m *User) GetDescription() string {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.Description
|
return m.Description
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *User) GetColor() string {
|
func (m *User) GetColor() string {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.Color
|
return m.Color
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
type URLData struct {
|
type URLData struct {
|
||||||
state protoimpl.MessageState
|
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
// Community, Channel, or User
|
// Community, Channel, or User
|
||||||
Content []byte `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
|
Content []byte `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
|
||||||
Shard *Shard `protobuf:"bytes,2,opt,name=shard,proto3" json:"shard,omitempty"`
|
Shard *Shard `protobuf:"bytes,2,opt,name=shard,proto3" json:"shard,omitempty"`
|
||||||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
|
XXX_unrecognized []byte `json:"-"`
|
||||||
|
XXX_sizecache int32 `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *URLData) Reset() {
|
func (m *URLData) Reset() { *m = URLData{} }
|
||||||
*x = URLData{}
|
func (m *URLData) String() string { return proto.CompactTextString(m) }
|
||||||
if protoimpl.UnsafeEnabled {
|
func (*URLData) ProtoMessage() {}
|
||||||
mi := &file_url_data_proto_msgTypes[3]
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *URLData) String() string {
|
|
||||||
return protoimpl.X.MessageStringOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (*URLData) ProtoMessage() {}
|
|
||||||
|
|
||||||
func (x *URLData) ProtoReflect() protoreflect.Message {
|
|
||||||
mi := &file_url_data_proto_msgTypes[3]
|
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
if ms.LoadMessageInfo() == nil {
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
return ms
|
|
||||||
}
|
|
||||||
return mi.MessageOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
// Deprecated: Use URLData.ProtoReflect.Descriptor instead.
|
|
||||||
func (*URLData) Descriptor() ([]byte, []int) {
|
func (*URLData) Descriptor() ([]byte, []int) {
|
||||||
return file_url_data_proto_rawDescGZIP(), []int{3}
|
return fileDescriptor_5f1e15b5f0115710, []int{3}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *URLData) GetContent() []byte {
|
func (m *URLData) XXX_Unmarshal(b []byte) error {
|
||||||
if x != nil {
|
return xxx_messageInfo_URLData.Unmarshal(m, b)
|
||||||
return x.Content
|
}
|
||||||
|
func (m *URLData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||||
|
return xxx_messageInfo_URLData.Marshal(b, m, deterministic)
|
||||||
|
}
|
||||||
|
func (m *URLData) XXX_Merge(src proto.Message) {
|
||||||
|
xxx_messageInfo_URLData.Merge(m, src)
|
||||||
|
}
|
||||||
|
func (m *URLData) XXX_Size() int {
|
||||||
|
return xxx_messageInfo_URLData.Size(m)
|
||||||
|
}
|
||||||
|
func (m *URLData) XXX_DiscardUnknown() {
|
||||||
|
xxx_messageInfo_URLData.DiscardUnknown(m)
|
||||||
|
}
|
||||||
|
|
||||||
|
var xxx_messageInfo_URLData proto.InternalMessageInfo
|
||||||
|
|
||||||
|
func (m *URLData) GetContent() []byte {
|
||||||
|
if m != nil {
|
||||||
|
return m.Content
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *URLData) GetShard() *Shard {
|
func (m *URLData) GetShard() *Shard {
|
||||||
if x != nil {
|
if m != nil {
|
||||||
return x.Shard
|
return m.Shard
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
var File_url_data_proto protoreflect.FileDescriptor
|
func init() {
|
||||||
|
proto.RegisterType((*Community)(nil), "protobuf.Community")
|
||||||
var file_url_data_proto_rawDesc = []byte{
|
proto.RegisterType((*Channel)(nil), "protobuf.Channel")
|
||||||
0x0a, 0x0e, 0x75, 0x72, 0x6c, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
proto.RegisterType((*User)(nil), "protobuf.User")
|
||||||
0x12, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x1a, 0x0b, 0x73, 0x68, 0x61, 0x72,
|
proto.RegisterType((*URLData)(nil), "protobuf.URLData")
|
||||||
0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xac, 0x01, 0x0a, 0x09, 0x43, 0x6f, 0x6d, 0x6d,
|
|
||||||
0x75, 0x6e, 0x69, 0x74, 0x79, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79,
|
|
||||||
0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73,
|
|
||||||
0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63,
|
|
||||||
0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64,
|
|
||||||
0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x23, 0x0a, 0x0d, 0x6d, 0x65,
|
|
||||||
0x6d, 0x62, 0x65, 0x72, 0x73, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28,
|
|
||||||
0x0d, 0x52, 0x0c, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12,
|
|
||||||
0x14, 0x0a, 0x05, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
|
|
||||||
0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x61, 0x67, 0x5f, 0x69, 0x6e, 0x64,
|
|
||||||
0x69, 0x63, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0a, 0x74, 0x61, 0x67, 0x49,
|
|
||||||
0x6e, 0x64, 0x69, 0x63, 0x65, 0x73, 0x22, 0xc1, 0x01, 0x0a, 0x07, 0x43, 0x68, 0x61, 0x6e, 0x6e,
|
|
||||||
0x65, 0x6c, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61,
|
|
||||||
0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61,
|
|
||||||
0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70,
|
|
||||||
0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63,
|
|
||||||
0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x6f, 0x6a, 0x69,
|
|
||||||
0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, 0x6f, 0x6a, 0x69, 0x12, 0x14, 0x0a,
|
|
||||||
0x05, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x63, 0x6f,
|
|
||||||
0x6c, 0x6f, 0x72, 0x12, 0x31, 0x0a, 0x09, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79,
|
|
||||||
0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
|
|
||||||
0x66, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x52, 0x09, 0x63, 0x6f, 0x6d,
|
|
||||||
0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x75, 0x69, 0x64, 0x18, 0x06,
|
|
||||||
0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x75, 0x69, 0x64, 0x22, 0x61, 0x0a, 0x04, 0x55, 0x73,
|
|
||||||
0x65, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61,
|
|
||||||
0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61,
|
|
||||||
0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70,
|
|
||||||
0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63,
|
|
||||||
0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x6c, 0x6f, 0x72,
|
|
||||||
0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x22, 0x4a, 0x0a,
|
|
||||||
0x07, 0x55, 0x52, 0x4c, 0x44, 0x61, 0x74, 0x61, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74,
|
|
||||||
0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65,
|
|
||||||
0x6e, 0x74, 0x12, 0x25, 0x0a, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
|
|
||||||
0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x68, 0x61,
|
|
||||||
0x72, 0x64, 0x52, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x42, 0x0d, 0x5a, 0x0b, 0x2e, 0x2f, 0x3b,
|
|
||||||
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
var (
|
func init() {
|
||||||
file_url_data_proto_rawDescOnce sync.Once
|
proto.RegisterFile("url_data.proto", fileDescriptor_5f1e15b5f0115710)
|
||||||
file_url_data_proto_rawDescData = file_url_data_proto_rawDesc
|
|
||||||
)
|
|
||||||
|
|
||||||
func file_url_data_proto_rawDescGZIP() []byte {
|
|
||||||
file_url_data_proto_rawDescOnce.Do(func() {
|
|
||||||
file_url_data_proto_rawDescData = protoimpl.X.CompressGZIP(file_url_data_proto_rawDescData)
|
|
||||||
})
|
|
||||||
return file_url_data_proto_rawDescData
|
|
||||||
}
|
}
|
||||||
|
|
||||||
var file_url_data_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
|
var fileDescriptor_5f1e15b5f0115710 = []byte{
|
||||||
var file_url_data_proto_goTypes = []interface{}{
|
// 321 bytes of a gzipped FileDescriptorProto
|
||||||
(*Community)(nil), // 0: protobuf.Community
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x92, 0xb1, 0x4e, 0xc3, 0x30,
|
||||||
(*Channel)(nil), // 1: protobuf.Channel
|
0x10, 0x40, 0x15, 0xda, 0xb4, 0xe4, 0xdc, 0x80, 0x64, 0x3a, 0x58, 0x2c, 0x84, 0x20, 0xa4, 0x4c,
|
||||||
(*User)(nil), // 2: protobuf.User
|
0x41, 0x94, 0x91, 0x8d, 0xb2, 0x80, 0x10, 0x83, 0x51, 0x17, 0x96, 0xc8, 0x4d, 0x4c, 0x6b, 0x14,
|
||||||
(*URLData)(nil), // 3: protobuf.URLData
|
0xdb, 0x95, 0xe3, 0x0c, 0xfd, 0x27, 0x7e, 0x82, 0x3f, 0x43, 0xb5, 0x1b, 0xc2, 0xc2, 0xd6, 0xc9,
|
||||||
(*Shard)(nil), // 4: protobuf.Shard
|
0x77, 0xef, 0x4e, 0xe7, 0xe7, 0x93, 0xe1, 0xa4, 0x35, 0x75, 0x51, 0x31, 0xcb, 0xf2, 0x8d, 0xd1,
|
||||||
}
|
0x56, 0xe3, 0x63, 0x77, 0x2c, 0xdb, 0x8f, 0x73, 0xd4, 0xac, 0x99, 0xa9, 0x3c, 0x4e, 0xbf, 0x02,
|
||||||
var file_url_data_proto_depIdxs = []int32{
|
0x88, 0xe6, 0x5a, 0xca, 0x56, 0x09, 0xbb, 0xc5, 0x97, 0x30, 0xa9, 0x44, 0xb3, 0xa9, 0xd9, 0xb6,
|
||||||
0, // 0: protobuf.Channel.community:type_name -> protobuf.Community
|
0x50, 0x4c, 0x72, 0x12, 0x24, 0x41, 0x16, 0x51, 0xb4, 0x67, 0xaf, 0x4c, 0x72, 0x9c, 0x00, 0xaa,
|
||||||
4, // 1: protobuf.URLData.shard:type_name -> protobuf.Shard
|
0x78, 0x53, 0x1a, 0xb1, 0xb1, 0x42, 0x2b, 0x72, 0xb4, 0xef, 0xe8, 0x11, 0xbe, 0x82, 0x58, 0x72,
|
||||||
2, // [2:2] is the sub-list for method output_type
|
0xb9, 0xe4, 0xa6, 0x29, 0x4a, 0xdd, 0x2a, 0x4b, 0x06, 0x49, 0x90, 0xc5, 0x74, 0xb2, 0x87, 0xf3,
|
||||||
2, // [2:2] is the sub-list for method input_type
|
0x1d, 0xc3, 0x53, 0x08, 0x4b, 0x5d, 0x6b, 0x43, 0x86, 0x6e, 0x80, 0x4f, 0xf0, 0x05, 0x20, 0xcb,
|
||||||
2, // [2:2] is the sub-list for extension type_name
|
0x56, 0x85, 0x50, 0x95, 0x28, 0x79, 0x43, 0xc2, 0x64, 0x90, 0xc5, 0x14, 0x2c, 0x5b, 0x3d, 0x79,
|
||||||
2, // [2:2] is the sub-list for extension extendee
|
0x92, 0x7e, 0x07, 0x30, 0x9e, 0xaf, 0x99, 0x52, 0xbc, 0x3e, 0x8c, 0xec, 0x14, 0x42, 0x2e, 0xf5,
|
||||||
0, // [0:2] is the sub-list for field type_name
|
0xa7, 0x70, 0x92, 0x11, 0xf5, 0xc9, 0x3f, 0x76, 0xb7, 0x10, 0x95, 0xdd, 0xaa, 0x48, 0x98, 0x04,
|
||||||
}
|
0x19, 0x9a, 0x9d, 0xe5, 0xdd, 0x5a, 0xf3, 0xdf, 0x2d, 0xd2, 0xbe, 0x0b, 0x63, 0x18, 0xb6, 0xad,
|
||||||
|
0xa8, 0xc8, 0xc8, 0xcd, 0x71, 0x71, 0xca, 0x60, 0xb8, 0x68, 0xb8, 0x39, 0x98, 0xbf, 0x37, 0x1d,
|
||||||
func init() { file_url_data_proto_init() }
|
0xfc, 0x31, 0x4d, 0x9f, 0x61, 0xbc, 0xa0, 0x2f, 0x8f, 0xcc, 0x32, 0x4c, 0x60, 0x5c, 0x6a, 0x65,
|
||||||
func file_url_data_proto_init() {
|
0xb9, 0xb2, 0xee, 0x82, 0x09, 0xed, 0x52, 0x7c, 0x0d, 0xa1, 0xfb, 0x09, 0x6e, 0x2c, 0x9a, 0x9d,
|
||||||
if File_url_data_proto != nil {
|
0xf6, 0x4f, 0x79, 0xdb, 0x61, 0xea, 0xab, 0x0f, 0xf1, 0x3b, 0xca, 0x6f, 0xee, 0xbb, 0xda, 0x72,
|
||||||
return
|
0xe4, 0xa2, 0xbb, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x71, 0x2e, 0xf3, 0xde, 0x60, 0x02, 0x00,
|
||||||
}
|
0x00,
|
||||||
file_shard_proto_init()
|
|
||||||
if !protoimpl.UnsafeEnabled {
|
|
||||||
file_url_data_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
||||||
switch v := v.(*Community); i {
|
|
||||||
case 0:
|
|
||||||
return &v.state
|
|
||||||
case 1:
|
|
||||||
return &v.sizeCache
|
|
||||||
case 2:
|
|
||||||
return &v.unknownFields
|
|
||||||
default:
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
}
|
|
||||||
file_url_data_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
||||||
switch v := v.(*Channel); i {
|
|
||||||
case 0:
|
|
||||||
return &v.state
|
|
||||||
case 1:
|
|
||||||
return &v.sizeCache
|
|
||||||
case 2:
|
|
||||||
return &v.unknownFields
|
|
||||||
default:
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
}
|
|
||||||
file_url_data_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
||||||
switch v := v.(*User); i {
|
|
||||||
case 0:
|
|
||||||
return &v.state
|
|
||||||
case 1:
|
|
||||||
return &v.sizeCache
|
|
||||||
case 2:
|
|
||||||
return &v.unknownFields
|
|
||||||
default:
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
}
|
|
||||||
file_url_data_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
||||||
switch v := v.(*URLData); i {
|
|
||||||
case 0:
|
|
||||||
return &v.state
|
|
||||||
case 1:
|
|
||||||
return &v.sizeCache
|
|
||||||
case 2:
|
|
||||||
return &v.unknownFields
|
|
||||||
default:
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
type x struct{}
|
|
||||||
out := protoimpl.TypeBuilder{
|
|
||||||
File: protoimpl.DescBuilder{
|
|
||||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
||||||
RawDescriptor: file_url_data_proto_rawDesc,
|
|
||||||
NumEnums: 0,
|
|
||||||
NumMessages: 4,
|
|
||||||
NumExtensions: 0,
|
|
||||||
NumServices: 0,
|
|
||||||
},
|
|
||||||
GoTypes: file_url_data_proto_goTypes,
|
|
||||||
DependencyIndexes: file_url_data_proto_depIdxs,
|
|
||||||
MessageInfos: file_url_data_proto_msgTypes,
|
|
||||||
}.Build()
|
|
||||||
File_url_data_proto = out.File
|
|
||||||
file_url_data_proto_rawDesc = nil
|
|
||||||
file_url_data_proto_goTypes = nil
|
|
||||||
file_url_data_proto_depIdxs = nil
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,6 +16,7 @@ import (
|
||||||
"crypto/sha256"
|
"crypto/sha256"
|
||||||
"fmt"
|
"fmt"
|
||||||
"io"
|
"io"
|
||||||
|
"io/ioutil"
|
||||||
"os"
|
"os"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
"strings"
|
"strings"
|
||||||
|
@ -25,7 +26,7 @@ import (
|
||||||
func bindataRead(data []byte, name string) ([]byte, error) {
|
func bindataRead(data []byte, name string) ([]byte, error) {
|
||||||
gz, err := gzip.NewReader(bytes.NewBuffer(data))
|
gz, err := gzip.NewReader(bytes.NewBuffer(data))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, fmt.Errorf("read %q: %w", name, err)
|
return nil, fmt.Errorf("read %q: %v", name, err)
|
||||||
}
|
}
|
||||||
|
|
||||||
var buf bytes.Buffer
|
var buf bytes.Buffer
|
||||||
|
@ -33,7 +34,7 @@ func bindataRead(data []byte, name string) ([]byte, error) {
|
||||||
clErr := gz.Close()
|
clErr := gz.Close()
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, fmt.Errorf("read %q: %w", name, err)
|
return nil, fmt.Errorf("read %q: %v", name, err)
|
||||||
}
|
}
|
||||||
if clErr != nil {
|
if clErr != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
|
@ -89,7 +90,7 @@ func _1593601729_initial_schemaDownSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "1593601729_initial_schema.down.sql", size: 144, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "1593601729_initial_schema.down.sql", size: 144, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xa, 0x95, 0x55, 0x64, 0x38, 0x40, 0x16, 0xbf, 0x8b, 0x1c, 0x18, 0xb4, 0xc5, 0x7f, 0xd0, 0xb8, 0xf0, 0x3c, 0xa2, 0x82, 0xf8, 0x8d, 0x5a, 0xd3, 0xb6, 0x6e, 0xa3, 0xb4, 0xc, 0x9, 0x33, 0x0}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xa, 0x95, 0x55, 0x64, 0x38, 0x40, 0x16, 0xbf, 0x8b, 0x1c, 0x18, 0xb4, 0xc5, 0x7f, 0xd0, 0xb8, 0xf0, 0x3c, 0xa2, 0x82, 0xf8, 0x8d, 0x5a, 0xd3, 0xb6, 0x6e, 0xa3, 0xb4, 0xc, 0x9, 0x33, 0x0}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -109,7 +110,7 @@ func _1593601729_initial_schemaUpSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "1593601729_initial_schema.up.sql", size: 1773, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "1593601729_initial_schema.up.sql", size: 1773, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x4e, 0x1e, 0x5, 0x35, 0x9, 0xb2, 0x2d, 0x6f, 0x33, 0x63, 0xa2, 0x7a, 0x5b, 0xd2, 0x2d, 0xcb, 0x79, 0x7e, 0x6, 0xb4, 0x9d, 0x35, 0xd8, 0x9b, 0x55, 0xe5, 0xf8, 0x44, 0xca, 0xa6, 0xf3, 0xd3}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x4e, 0x1e, 0x5, 0x35, 0x9, 0xb2, 0x2d, 0x6f, 0x33, 0x63, 0xa2, 0x7a, 0x5b, 0xd2, 0x2d, 0xcb, 0x79, 0x7e, 0x6, 0xb4, 0x9d, 0x35, 0xd8, 0x9b, 0x55, 0xe5, 0xf8, 0x44, 0xca, 0xa6, 0xf3, 0xd3}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -129,7 +130,7 @@ func _1597909626_add_server_typeDownSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "1597909626_add_server_type.down.sql", size: 0, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "1597909626_add_server_type.down.sql", size: 0, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xe3, 0xb0, 0xc4, 0x42, 0x98, 0xfc, 0x1c, 0x14, 0x9a, 0xfb, 0xf4, 0xc8, 0x99, 0x6f, 0xb9, 0x24, 0x27, 0xae, 0x41, 0xe4, 0x64, 0x9b, 0x93, 0x4c, 0xa4, 0x95, 0x99, 0x1b, 0x78, 0x52, 0xb8, 0x55}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xe3, 0xb0, 0xc4, 0x42, 0x98, 0xfc, 0x1c, 0x14, 0x9a, 0xfb, 0xf4, 0xc8, 0x99, 0x6f, 0xb9, 0x24, 0x27, 0xae, 0x41, 0xe4, 0x64, 0x9b, 0x93, 0x4c, 0xa4, 0x95, 0x99, 0x1b, 0x78, 0x52, 0xb8, 0x55}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -149,7 +150,7 @@ func _1597909626_add_server_typeUpSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "1597909626_add_server_type.up.sql", size: 145, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "1597909626_add_server_type.up.sql", size: 145, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xc8, 0x3f, 0xe0, 0xe7, 0x57, 0x0, 0x5d, 0x60, 0xf3, 0x55, 0x64, 0x71, 0x80, 0x3c, 0xca, 0x8, 0x61, 0xb5, 0x3c, 0xe, 0xa1, 0xe4, 0x61, 0xd1, 0x4e, 0xd8, 0xb2, 0x55, 0xdd, 0x87, 0x62, 0x9b}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xc8, 0x3f, 0xe0, 0xe7, 0x57, 0x0, 0x5d, 0x60, 0xf3, 0x55, 0x64, 0x71, 0x80, 0x3c, 0xca, 0x8, 0x61, 0xb5, 0x3c, 0xe, 0xa1, 0xe4, 0x61, 0xd1, 0x4e, 0xd8, 0xb2, 0x55, 0xdd, 0x87, 0x62, 0x9b}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -169,7 +170,7 @@ func _1599053776_add_chat_id_and_typeDownSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "1599053776_add_chat_id_and_type.down.sql", size: 0, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "1599053776_add_chat_id_and_type.down.sql", size: 0, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xe3, 0xb0, 0xc4, 0x42, 0x98, 0xfc, 0x1c, 0x14, 0x9a, 0xfb, 0xf4, 0xc8, 0x99, 0x6f, 0xb9, 0x24, 0x27, 0xae, 0x41, 0xe4, 0x64, 0x9b, 0x93, 0x4c, 0xa4, 0x95, 0x99, 0x1b, 0x78, 0x52, 0xb8, 0x55}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xe3, 0xb0, 0xc4, 0x42, 0x98, 0xfc, 0x1c, 0x14, 0x9a, 0xfb, 0xf4, 0xc8, 0x99, 0x6f, 0xb9, 0x24, 0x27, 0xae, 0x41, 0xe4, 0x64, 0x9b, 0x93, 0x4c, 0xa4, 0x95, 0x99, 0x1b, 0x78, 0x52, 0xb8, 0x55}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -189,7 +190,7 @@ func _1599053776_add_chat_id_and_typeUpSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "1599053776_add_chat_id_and_type.up.sql", size: 264, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "1599053776_add_chat_id_and_type.up.sql", size: 264, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xea, 0x7a, 0xf9, 0xc4, 0xa2, 0x96, 0x2e, 0xf9, 0x8f, 0x7, 0xf1, 0x1e, 0x73, 0x8a, 0xa6, 0x3a, 0x13, 0x4, 0x73, 0x82, 0x83, 0xb, 0xe3, 0xb5, 0x3b, 0x7e, 0xd, 0x23, 0xce, 0x98, 0xd4, 0xdc}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xea, 0x7a, 0xf9, 0xc4, 0xa2, 0x96, 0x2e, 0xf9, 0x8f, 0x7, 0xf1, 0x1e, 0x73, 0x8a, 0xa6, 0x3a, 0x13, 0x4, 0x73, 0x82, 0x83, 0xb, 0xe3, 0xb5, 0x3b, 0x7e, 0xd, 0x23, 0xce, 0x98, 0xd4, 0xdc}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -209,7 +210,7 @@ func docGo() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "doc.go", size: 382, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "doc.go", size: 382, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xc0, 0x2f, 0x1e, 0x64, 0x9, 0x93, 0xe4, 0x8b, 0xf2, 0x98, 0x5a, 0x45, 0xe2, 0x80, 0x88, 0x67, 0x7a, 0x2d, 0xd7, 0x4b, 0xd1, 0x73, 0xb6, 0x6d, 0x15, 0xc2, 0x0, 0x34, 0xcd, 0xa0, 0xdb, 0x20}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xc0, 0x2f, 0x1e, 0x64, 0x9, 0x93, 0xe4, 0x8b, 0xf2, 0x98, 0x5a, 0x45, 0xe2, 0x80, 0x88, 0x67, 0x7a, 0x2d, 0xd7, 0x4b, 0xd1, 0x73, 0xb6, 0x6d, 0x15, 0xc2, 0x0, 0x34, 0xcd, 0xa0, 0xdb, 0x20}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -305,29 +306,30 @@ func AssetNames() []string {
|
||||||
|
|
||||||
// _bindata is a table, holding each asset generator, mapped to its name.
|
// _bindata is a table, holding each asset generator, mapped to its name.
|
||||||
var _bindata = map[string]func() (*asset, error){
|
var _bindata = map[string]func() (*asset, error){
|
||||||
"1593601729_initial_schema.down.sql": _1593601729_initial_schemaDownSql,
|
"1593601729_initial_schema.down.sql": _1593601729_initial_schemaDownSql,
|
||||||
"1593601729_initial_schema.up.sql": _1593601729_initial_schemaUpSql,
|
|
||||||
"1597909626_add_server_type.down.sql": _1597909626_add_server_typeDownSql,
|
|
||||||
"1597909626_add_server_type.up.sql": _1597909626_add_server_typeUpSql,
|
|
||||||
"1599053776_add_chat_id_and_type.down.sql": _1599053776_add_chat_id_and_typeDownSql,
|
|
||||||
"1599053776_add_chat_id_and_type.up.sql": _1599053776_add_chat_id_and_typeUpSql,
|
|
||||||
"doc.go": docGo,
|
|
||||||
}
|
|
||||||
|
|
||||||
// AssetDebug is true if the assets were built with the debug flag enabled.
|
"1593601729_initial_schema.up.sql": _1593601729_initial_schemaUpSql,
|
||||||
const AssetDebug = false
|
|
||||||
|
"1597909626_add_server_type.down.sql": _1597909626_add_server_typeDownSql,
|
||||||
|
|
||||||
|
"1597909626_add_server_type.up.sql": _1597909626_add_server_typeUpSql,
|
||||||
|
|
||||||
|
"1599053776_add_chat_id_and_type.down.sql": _1599053776_add_chat_id_and_typeDownSql,
|
||||||
|
|
||||||
|
"1599053776_add_chat_id_and_type.up.sql": _1599053776_add_chat_id_and_typeUpSql,
|
||||||
|
|
||||||
|
"doc.go": docGo,
|
||||||
|
}
|
||||||
|
|
||||||
// AssetDir returns the file names below a certain
|
// AssetDir returns the file names below a certain
|
||||||
// directory embedded in the file by go-bindata.
|
// directory embedded in the file by go-bindata.
|
||||||
// For example if you run go-bindata on data/... and data contains the
|
// For example if you run go-bindata on data/... and data contains the
|
||||||
// following hierarchy:
|
// following hierarchy:
|
||||||
//
|
// data/
|
||||||
// data/
|
// foo.txt
|
||||||
// foo.txt
|
// img/
|
||||||
// img/
|
// a.png
|
||||||
// a.png
|
// b.png
|
||||||
// b.png
|
|
||||||
//
|
|
||||||
// then AssetDir("data") would return []string{"foo.txt", "img"},
|
// then AssetDir("data") would return []string{"foo.txt", "img"},
|
||||||
// AssetDir("data/img") would return []string{"a.png", "b.png"},
|
// AssetDir("data/img") would return []string{"a.png", "b.png"},
|
||||||
// AssetDir("foo.txt") and AssetDir("notexist") would return an error, and
|
// AssetDir("foo.txt") and AssetDir("notexist") would return an error, and
|
||||||
|
@ -360,13 +362,13 @@ type bintree struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
var _bintree = &bintree{nil, map[string]*bintree{
|
var _bintree = &bintree{nil, map[string]*bintree{
|
||||||
"1593601729_initial_schema.down.sql": {_1593601729_initial_schemaDownSql, map[string]*bintree{}},
|
"1593601729_initial_schema.down.sql": &bintree{_1593601729_initial_schemaDownSql, map[string]*bintree{}},
|
||||||
"1593601729_initial_schema.up.sql": {_1593601729_initial_schemaUpSql, map[string]*bintree{}},
|
"1593601729_initial_schema.up.sql": &bintree{_1593601729_initial_schemaUpSql, map[string]*bintree{}},
|
||||||
"1597909626_add_server_type.down.sql": {_1597909626_add_server_typeDownSql, map[string]*bintree{}},
|
"1597909626_add_server_type.down.sql": &bintree{_1597909626_add_server_typeDownSql, map[string]*bintree{}},
|
||||||
"1597909626_add_server_type.up.sql": {_1597909626_add_server_typeUpSql, map[string]*bintree{}},
|
"1597909626_add_server_type.up.sql": &bintree{_1597909626_add_server_typeUpSql, map[string]*bintree{}},
|
||||||
"1599053776_add_chat_id_and_type.down.sql": {_1599053776_add_chat_id_and_typeDownSql, map[string]*bintree{}},
|
"1599053776_add_chat_id_and_type.down.sql": &bintree{_1599053776_add_chat_id_and_typeDownSql, map[string]*bintree{}},
|
||||||
"1599053776_add_chat_id_and_type.up.sql": {_1599053776_add_chat_id_and_typeUpSql, map[string]*bintree{}},
|
"1599053776_add_chat_id_and_type.up.sql": &bintree{_1599053776_add_chat_id_and_typeUpSql, map[string]*bintree{}},
|
||||||
"doc.go": {docGo, map[string]*bintree{}},
|
"doc.go": &bintree{docGo, map[string]*bintree{}},
|
||||||
}}
|
}}
|
||||||
|
|
||||||
// RestoreAsset restores an asset under the given directory.
|
// RestoreAsset restores an asset under the given directory.
|
||||||
|
@ -383,7 +385,7 @@ func RestoreAsset(dir, name string) error {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
err = os.WriteFile(_filePath(dir, name), data, info.Mode())
|
err = ioutil.WriteFile(_filePath(dir, name), data, info.Mode())
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,6 +14,7 @@ import (
|
||||||
"crypto/sha256"
|
"crypto/sha256"
|
||||||
"fmt"
|
"fmt"
|
||||||
"io"
|
"io"
|
||||||
|
"io/ioutil"
|
||||||
"os"
|
"os"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
"strings"
|
"strings"
|
||||||
|
@ -23,7 +24,7 @@ import (
|
||||||
func bindataRead(data []byte, name string) ([]byte, error) {
|
func bindataRead(data []byte, name string) ([]byte, error) {
|
||||||
gz, err := gzip.NewReader(bytes.NewBuffer(data))
|
gz, err := gzip.NewReader(bytes.NewBuffer(data))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, fmt.Errorf("read %q: %w", name, err)
|
return nil, fmt.Errorf("read %q: %v", name, err)
|
||||||
}
|
}
|
||||||
|
|
||||||
var buf bytes.Buffer
|
var buf bytes.Buffer
|
||||||
|
@ -31,7 +32,7 @@ func bindataRead(data []byte, name string) ([]byte, error) {
|
||||||
clErr := gz.Close()
|
clErr := gz.Close()
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, fmt.Errorf("read %q: %w", name, err)
|
return nil, fmt.Errorf("read %q: %v", name, err)
|
||||||
}
|
}
|
||||||
if clErr != nil {
|
if clErr != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
|
@ -87,7 +88,7 @@ func _1593601728_initial_schemaDownSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "1593601728_initial_schema.down.sql", size: 200, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "1593601728_initial_schema.down.sql", size: 200, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x88, 0x8a, 0x61, 0x81, 0x57, 0x45, 0x9b, 0x97, 0x9b, 0x1f, 0xf6, 0x94, 0x8a, 0x20, 0xb3, 0x2b, 0xff, 0x69, 0x49, 0xf4, 0x58, 0xcc, 0xd0, 0x55, 0xcc, 0x9a, 0x8b, 0xb6, 0x7f, 0x29, 0x53, 0xc1}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x88, 0x8a, 0x61, 0x81, 0x57, 0x45, 0x9b, 0x97, 0x9b, 0x1f, 0xf6, 0x94, 0x8a, 0x20, 0xb3, 0x2b, 0xff, 0x69, 0x49, 0xf4, 0x58, 0xcc, 0xd0, 0x55, 0xcc, 0x9a, 0x8b, 0xb6, 0x7f, 0x29, 0x53, 0xc1}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -107,7 +108,7 @@ func _1593601728_initial_schemaUpSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "1593601728_initial_schema.up.sql", size: 675, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "1593601728_initial_schema.up.sql", size: 675, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xfd, 0x61, 0x90, 0x79, 0xd9, 0x14, 0x65, 0xe9, 0x96, 0x53, 0x17, 0x33, 0x54, 0xeb, 0x8b, 0x5d, 0x95, 0x99, 0x10, 0x36, 0x58, 0xdd, 0xb2, 0xbf, 0x45, 0xd9, 0xbb, 0xc4, 0x92, 0xe, 0xce, 0x2}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xfd, 0x61, 0x90, 0x79, 0xd9, 0x14, 0x65, 0xe9, 0x96, 0x53, 0x17, 0x33, 0x54, 0xeb, 0x8b, 0x5d, 0x95, 0x99, 0x10, 0x36, 0x58, 0xdd, 0xb2, 0xbf, 0x45, 0xd9, 0xbb, 0xc4, 0x92, 0xe, 0xce, 0x2}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -127,7 +128,7 @@ func _1598419937_add_push_notifications_tableDownSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "1598419937_add_push_notifications_table.down.sql", size: 51, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "1598419937_add_push_notifications_table.down.sql", size: 51, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xc, 0x98, 0xc8, 0x30, 0x45, 0x5b, 0xc5, 0x7d, 0x13, 0x5d, 0xe7, 0xc8, 0x23, 0x43, 0xf7, 0xdc, 0x9c, 0xe2, 0xdd, 0x63, 0xf0, 0xb7, 0x16, 0x40, 0xc, 0xda, 0xb9, 0x16, 0x70, 0x2b, 0x5a, 0x7e}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xc, 0x98, 0xc8, 0x30, 0x45, 0x5b, 0xc5, 0x7d, 0x13, 0x5d, 0xe7, 0xc8, 0x23, 0x43, 0xf7, 0xdc, 0x9c, 0xe2, 0xdd, 0x63, 0xf0, 0xb7, 0x16, 0x40, 0xc, 0xda, 0xb9, 0x16, 0x70, 0x2b, 0x5a, 0x7e}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -147,7 +148,7 @@ func _1598419937_add_push_notifications_tableUpSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "1598419937_add_push_notifications_table.up.sql", size: 104, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "1598419937_add_push_notifications_table.up.sql", size: 104, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x2, 0x3e, 0xef, 0xf, 0xc2, 0xdf, 0xbc, 0x99, 0x7a, 0xc2, 0xd3, 0x64, 0x4f, 0x4c, 0x7e, 0xfc, 0x2e, 0x8c, 0xa7, 0x54, 0xd3, 0x4d, 0x25, 0x98, 0x41, 0xbc, 0xea, 0xd7, 0x2, 0xc1, 0xd0, 0x52}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x2, 0x3e, 0xef, 0xf, 0xc2, 0xdf, 0xbc, 0x99, 0x7a, 0xc2, 0xd3, 0x64, 0x4f, 0x4c, 0x7e, 0xfc, 0x2e, 0x8c, 0xa7, 0x54, 0xd3, 0x4d, 0x25, 0x98, 0x41, 0xbc, 0xea, 0xd7, 0x2, 0xc1, 0xd0, 0x52}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -167,7 +168,7 @@ func docGo() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "doc.go", size: 382, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "doc.go", size: 382, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xc0, 0x2f, 0x1e, 0x64, 0x9, 0x93, 0xe4, 0x8b, 0xf2, 0x98, 0x5a, 0x45, 0xe2, 0x80, 0x88, 0x67, 0x7a, 0x2d, 0xd7, 0x4b, 0xd1, 0x73, 0xb6, 0x6d, 0x15, 0xc2, 0x0, 0x34, 0xcd, 0xa0, 0xdb, 0x20}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xc0, 0x2f, 0x1e, 0x64, 0x9, 0x93, 0xe4, 0x8b, 0xf2, 0x98, 0x5a, 0x45, 0xe2, 0x80, 0x88, 0x67, 0x7a, 0x2d, 0xd7, 0x4b, 0xd1, 0x73, 0xb6, 0x6d, 0x15, 0xc2, 0x0, 0x34, 0xcd, 0xa0, 0xdb, 0x20}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -263,27 +264,26 @@ func AssetNames() []string {
|
||||||
|
|
||||||
// _bindata is a table, holding each asset generator, mapped to its name.
|
// _bindata is a table, holding each asset generator, mapped to its name.
|
||||||
var _bindata = map[string]func() (*asset, error){
|
var _bindata = map[string]func() (*asset, error){
|
||||||
"1593601728_initial_schema.down.sql": _1593601728_initial_schemaDownSql,
|
"1593601728_initial_schema.down.sql": _1593601728_initial_schemaDownSql,
|
||||||
"1593601728_initial_schema.up.sql": _1593601728_initial_schemaUpSql,
|
|
||||||
|
"1593601728_initial_schema.up.sql": _1593601728_initial_schemaUpSql,
|
||||||
|
|
||||||
"1598419937_add_push_notifications_table.down.sql": _1598419937_add_push_notifications_tableDownSql,
|
"1598419937_add_push_notifications_table.down.sql": _1598419937_add_push_notifications_tableDownSql,
|
||||||
"1598419937_add_push_notifications_table.up.sql": _1598419937_add_push_notifications_tableUpSql,
|
|
||||||
|
"1598419937_add_push_notifications_table.up.sql": _1598419937_add_push_notifications_tableUpSql,
|
||||||
|
|
||||||
"doc.go": docGo,
|
"doc.go": docGo,
|
||||||
}
|
}
|
||||||
|
|
||||||
// AssetDebug is true if the assets were built with the debug flag enabled.
|
|
||||||
const AssetDebug = false
|
|
||||||
|
|
||||||
// AssetDir returns the file names below a certain
|
// AssetDir returns the file names below a certain
|
||||||
// directory embedded in the file by go-bindata.
|
// directory embedded in the file by go-bindata.
|
||||||
// For example if you run go-bindata on data/... and data contains the
|
// For example if you run go-bindata on data/... and data contains the
|
||||||
// following hierarchy:
|
// following hierarchy:
|
||||||
//
|
// data/
|
||||||
// data/
|
// foo.txt
|
||||||
// foo.txt
|
// img/
|
||||||
// img/
|
// a.png
|
||||||
// a.png
|
// b.png
|
||||||
// b.png
|
|
||||||
//
|
|
||||||
// then AssetDir("data") would return []string{"foo.txt", "img"},
|
// then AssetDir("data") would return []string{"foo.txt", "img"},
|
||||||
// AssetDir("data/img") would return []string{"a.png", "b.png"},
|
// AssetDir("data/img") would return []string{"a.png", "b.png"},
|
||||||
// AssetDir("foo.txt") and AssetDir("notexist") would return an error, and
|
// AssetDir("foo.txt") and AssetDir("notexist") would return an error, and
|
||||||
|
@ -316,11 +316,11 @@ type bintree struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
var _bintree = &bintree{nil, map[string]*bintree{
|
var _bintree = &bintree{nil, map[string]*bintree{
|
||||||
"1593601728_initial_schema.down.sql": {_1593601728_initial_schemaDownSql, map[string]*bintree{}},
|
"1593601728_initial_schema.down.sql": &bintree{_1593601728_initial_schemaDownSql, map[string]*bintree{}},
|
||||||
"1593601728_initial_schema.up.sql": {_1593601728_initial_schemaUpSql, map[string]*bintree{}},
|
"1593601728_initial_schema.up.sql": &bintree{_1593601728_initial_schemaUpSql, map[string]*bintree{}},
|
||||||
"1598419937_add_push_notifications_table.down.sql": {_1598419937_add_push_notifications_tableDownSql, map[string]*bintree{}},
|
"1598419937_add_push_notifications_table.down.sql": &bintree{_1598419937_add_push_notifications_tableDownSql, map[string]*bintree{}},
|
||||||
"1598419937_add_push_notifications_table.up.sql": {_1598419937_add_push_notifications_tableUpSql, map[string]*bintree{}},
|
"1598419937_add_push_notifications_table.up.sql": &bintree{_1598419937_add_push_notifications_tableUpSql, map[string]*bintree{}},
|
||||||
"doc.go": {docGo, map[string]*bintree{}},
|
"doc.go": &bintree{docGo, map[string]*bintree{}},
|
||||||
}}
|
}}
|
||||||
|
|
||||||
// RestoreAsset restores an asset under the given directory.
|
// RestoreAsset restores an asset under the given directory.
|
||||||
|
@ -337,7 +337,7 @@ func RestoreAsset(dir, name string) error {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
err = os.WriteFile(_filePath(dir, name), data, info.Mode())
|
err = ioutil.WriteFile(_filePath(dir, name), data, info.Mode())
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,6 +15,7 @@ import (
|
||||||
"crypto/sha256"
|
"crypto/sha256"
|
||||||
"fmt"
|
"fmt"
|
||||||
"io"
|
"io"
|
||||||
|
"io/ioutil"
|
||||||
"os"
|
"os"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
"strings"
|
"strings"
|
||||||
|
@ -24,7 +25,7 @@ import (
|
||||||
func bindataRead(data []byte, name string) ([]byte, error) {
|
func bindataRead(data []byte, name string) ([]byte, error) {
|
||||||
gz, err := gzip.NewReader(bytes.NewBuffer(data))
|
gz, err := gzip.NewReader(bytes.NewBuffer(data))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, fmt.Errorf("read %q: %w", name, err)
|
return nil, fmt.Errorf("read %q: %v", name, err)
|
||||||
}
|
}
|
||||||
|
|
||||||
var buf bytes.Buffer
|
var buf bytes.Buffer
|
||||||
|
@ -32,7 +33,7 @@ func bindataRead(data []byte, name string) ([]byte, error) {
|
||||||
clErr := gz.Close()
|
clErr := gz.Close()
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, fmt.Errorf("read %q: %w", name, err)
|
return nil, fmt.Errorf("read %q: %v", name, err)
|
||||||
}
|
}
|
||||||
if clErr != nil {
|
if clErr != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
|
@ -88,7 +89,7 @@ func _1561059284_add_waku_keysDownSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "1561059284_add_waku_keys.down.sql", size: 22, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "1561059284_add_waku_keys.down.sql", size: 22, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xe5, 0x2a, 0x7e, 0x9, 0xa3, 0xdd, 0xc6, 0x3, 0xfa, 0xaa, 0x98, 0xa0, 0x26, 0x5e, 0x67, 0x43, 0xe6, 0x20, 0xfd, 0x10, 0xfd, 0x60, 0x89, 0x17, 0x13, 0x87, 0x1b, 0x44, 0x36, 0x79, 0xb6, 0x60}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xe5, 0x2a, 0x7e, 0x9, 0xa3, 0xdd, 0xc6, 0x3, 0xfa, 0xaa, 0x98, 0xa0, 0x26, 0x5e, 0x67, 0x43, 0xe6, 0x20, 0xfd, 0x10, 0xfd, 0x60, 0x89, 0x17, 0x13, 0x87, 0x1b, 0x44, 0x36, 0x79, 0xb6, 0x60}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -108,7 +109,7 @@ func _1561059284_add_waku_keysUpSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "1561059284_add_waku_keys.up.sql", size: 109, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "1561059284_add_waku_keys.up.sql", size: 109, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xa9, 0x5c, 0x8, 0x32, 0xef, 0x12, 0x88, 0x21, 0xd, 0x7a, 0x42, 0x4d, 0xe7, 0x2d, 0x6c, 0x99, 0xb6, 0x1, 0xf1, 0xba, 0x2c, 0x40, 0x8d, 0xa9, 0x4b, 0xe6, 0xc4, 0x21, 0xec, 0x47, 0x6b, 0xf7}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xa9, 0x5c, 0x8, 0x32, 0xef, 0x12, 0x88, 0x21, 0xd, 0x7a, 0x42, 0x4d, 0xe7, 0x2d, 0x6c, 0x99, 0xb6, 0x1, 0xf1, 0xba, 0x2c, 0x40, 0x8d, 0xa9, 0x4b, 0xe6, 0xc4, 0x21, 0xec, 0x47, 0x6b, 0xf7}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -128,7 +129,7 @@ func _1616691080_add_wakuv2_keysDownSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "1616691080_add_wakuV2_keys.down.sql", size: 24, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "1616691080_add_wakuV2_keys.down.sql", size: 24, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x42, 0xb6, 0x23, 0x70, 0xb8, 0x63, 0x18, 0x61, 0xea, 0x35, 0x6e, 0xae, 0xe9, 0x71, 0x89, 0xa, 0xa5, 0x72, 0xa2, 0x64, 0xaa, 0x45, 0x1, 0xf, 0xfc, 0xee, 0x1b, 0xd9, 0xd2, 0x27, 0xf4, 0xe2}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x42, 0xb6, 0x23, 0x70, 0xb8, 0x63, 0x18, 0x61, 0xea, 0x35, 0x6e, 0xae, 0xe9, 0x71, 0x89, 0xa, 0xa5, 0x72, 0xa2, 0x64, 0xaa, 0x45, 0x1, 0xf, 0xfc, 0xee, 0x1b, 0xd9, 0xd2, 0x27, 0xf4, 0xe2}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -148,7 +149,7 @@ func _1616691080_add_wakuv2_keysUpSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "1616691080_add_wakuV2_keys.up.sql", size: 111, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "1616691080_add_wakuV2_keys.up.sql", size: 111, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x10, 0xf0, 0x97, 0x25, 0xfe, 0x96, 0x2c, 0xa8, 0x62, 0x4a, 0x71, 0x75, 0xff, 0x5f, 0x43, 0x1e, 0x71, 0x53, 0xf1, 0xde, 0xf, 0xcf, 0xcd, 0x87, 0x15, 0x61, 0x9d, 0x25, 0x2e, 0xaf, 0x18, 0x99}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x10, 0xf0, 0x97, 0x25, 0xfe, 0x96, 0x2c, 0xa8, 0x62, 0x4a, 0x71, 0x75, 0xff, 0x5f, 0x43, 0x1e, 0x71, 0x53, 0xf1, 0xde, 0xf, 0xcf, 0xcd, 0x87, 0x15, 0x61, 0x9d, 0x25, 0x2e, 0xaf, 0x18, 0x99}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -168,7 +169,7 @@ func _1634723014_add_wakuv2_keysUpSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "1634723014_add_wakuV2_keys.up.sql", size: 125, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "1634723014_add_wakuV2_keys.up.sql", size: 125, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x7e, 0xe1, 0x7a, 0x1e, 0x6, 0xad, 0x1b, 0x37, 0xdb, 0xea, 0x94, 0xaf, 0xe0, 0x7d, 0xc9, 0xd6, 0xda, 0x52, 0x71, 0x8a, 0x44, 0xb3, 0xa6, 0x7b, 0x1e, 0x90, 0xdb, 0x1e, 0x5a, 0xa, 0x40, 0x26}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x7e, 0xe1, 0x7a, 0x1e, 0x6, 0xad, 0x1b, 0x37, 0xdb, 0xea, 0x94, 0xaf, 0xe0, 0x7d, 0xc9, 0xd6, 0xda, 0x52, 0x71, 0x8a, 0x44, 0xb3, 0xa6, 0x7b, 0x1e, 0x90, 0xdb, 0x1e, 0x5a, 0xa, 0x40, 0x26}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -188,7 +189,7 @@ func docGo() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "doc.go", size: 373, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "doc.go", size: 373, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x23, 0x6a, 0xc1, 0xce, 0x94, 0xf6, 0xef, 0xf1, 0x97, 0x95, 0xb, 0x35, 0xaf, 0x5f, 0xe7, 0x5f, 0xac, 0x6e, 0xb8, 0xab, 0xba, 0xb5, 0x35, 0x97, 0x22, 0x36, 0x11, 0xce, 0x44, 0xfc, 0xfa, 0xac}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x23, 0x6a, 0xc1, 0xce, 0x94, 0xf6, 0xef, 0xf1, 0x97, 0x95, 0xb, 0x35, 0xaf, 0x5f, 0xe7, 0x5f, 0xac, 0x6e, 0xb8, 0xab, 0xba, 0xb5, 0x35, 0x97, 0x22, 0x36, 0x11, 0xce, 0x44, 0xfc, 0xfa, 0xac}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -284,28 +285,28 @@ func AssetNames() []string {
|
||||||
|
|
||||||
// _bindata is a table, holding each asset generator, mapped to its name.
|
// _bindata is a table, holding each asset generator, mapped to its name.
|
||||||
var _bindata = map[string]func() (*asset, error){
|
var _bindata = map[string]func() (*asset, error){
|
||||||
"1561059284_add_waku_keys.down.sql": _1561059284_add_waku_keysDownSql,
|
"1561059284_add_waku_keys.down.sql": _1561059284_add_waku_keysDownSql,
|
||||||
"1561059284_add_waku_keys.up.sql": _1561059284_add_waku_keysUpSql,
|
|
||||||
"1616691080_add_wakuV2_keys.down.sql": _1616691080_add_wakuv2_keysDownSql,
|
|
||||||
"1616691080_add_wakuV2_keys.up.sql": _1616691080_add_wakuv2_keysUpSql,
|
|
||||||
"1634723014_add_wakuV2_keys.up.sql": _1634723014_add_wakuv2_keysUpSql,
|
|
||||||
"doc.go": docGo,
|
|
||||||
}
|
|
||||||
|
|
||||||
// AssetDebug is true if the assets were built with the debug flag enabled.
|
"1561059284_add_waku_keys.up.sql": _1561059284_add_waku_keysUpSql,
|
||||||
const AssetDebug = false
|
|
||||||
|
"1616691080_add_wakuV2_keys.down.sql": _1616691080_add_wakuv2_keysDownSql,
|
||||||
|
|
||||||
|
"1616691080_add_wakuV2_keys.up.sql": _1616691080_add_wakuv2_keysUpSql,
|
||||||
|
|
||||||
|
"1634723014_add_wakuV2_keys.up.sql": _1634723014_add_wakuv2_keysUpSql,
|
||||||
|
|
||||||
|
"doc.go": docGo,
|
||||||
|
}
|
||||||
|
|
||||||
// AssetDir returns the file names below a certain
|
// AssetDir returns the file names below a certain
|
||||||
// directory embedded in the file by go-bindata.
|
// directory embedded in the file by go-bindata.
|
||||||
// For example if you run go-bindata on data/... and data contains the
|
// For example if you run go-bindata on data/... and data contains the
|
||||||
// following hierarchy:
|
// following hierarchy:
|
||||||
//
|
// data/
|
||||||
// data/
|
// foo.txt
|
||||||
// foo.txt
|
// img/
|
||||||
// img/
|
// a.png
|
||||||
// a.png
|
// b.png
|
||||||
// b.png
|
|
||||||
//
|
|
||||||
// then AssetDir("data") would return []string{"foo.txt", "img"},
|
// then AssetDir("data") would return []string{"foo.txt", "img"},
|
||||||
// AssetDir("data/img") would return []string{"a.png", "b.png"},
|
// AssetDir("data/img") would return []string{"a.png", "b.png"},
|
||||||
// AssetDir("foo.txt") and AssetDir("notexist") would return an error, and
|
// AssetDir("foo.txt") and AssetDir("notexist") would return an error, and
|
||||||
|
@ -338,12 +339,12 @@ type bintree struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
var _bintree = &bintree{nil, map[string]*bintree{
|
var _bintree = &bintree{nil, map[string]*bintree{
|
||||||
"1561059284_add_waku_keys.down.sql": {_1561059284_add_waku_keysDownSql, map[string]*bintree{}},
|
"1561059284_add_waku_keys.down.sql": &bintree{_1561059284_add_waku_keysDownSql, map[string]*bintree{}},
|
||||||
"1561059284_add_waku_keys.up.sql": {_1561059284_add_waku_keysUpSql, map[string]*bintree{}},
|
"1561059284_add_waku_keys.up.sql": &bintree{_1561059284_add_waku_keysUpSql, map[string]*bintree{}},
|
||||||
"1616691080_add_wakuV2_keys.down.sql": {_1616691080_add_wakuv2_keysDownSql, map[string]*bintree{}},
|
"1616691080_add_wakuV2_keys.down.sql": &bintree{_1616691080_add_wakuv2_keysDownSql, map[string]*bintree{}},
|
||||||
"1616691080_add_wakuV2_keys.up.sql": {_1616691080_add_wakuv2_keysUpSql, map[string]*bintree{}},
|
"1616691080_add_wakuV2_keys.up.sql": &bintree{_1616691080_add_wakuv2_keysUpSql, map[string]*bintree{}},
|
||||||
"1634723014_add_wakuV2_keys.up.sql": {_1634723014_add_wakuv2_keysUpSql, map[string]*bintree{}},
|
"1634723014_add_wakuV2_keys.up.sql": &bintree{_1634723014_add_wakuv2_keysUpSql, map[string]*bintree{}},
|
||||||
"doc.go": {docGo, map[string]*bintree{}},
|
"doc.go": &bintree{docGo, map[string]*bintree{}},
|
||||||
}}
|
}}
|
||||||
|
|
||||||
// RestoreAsset restores an asset under the given directory.
|
// RestoreAsset restores an asset under the given directory.
|
||||||
|
@ -360,7 +361,7 @@ func RestoreAsset(dir, name string) error {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
err = os.WriteFile(_filePath(dir, name), data, info.Mode())
|
err = ioutil.WriteFile(_filePath(dir, name), data, info.Mode())
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
|
@ -556,6 +556,11 @@ func (api *PublicAPI) MyPendingRequestsToJoin() ([]*communities.RequestToJoin, e
|
||||||
return api.service.messenger.MyPendingRequestsToJoin()
|
return api.service.messenger.MyPendingRequestsToJoin()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// MyAwaitingAddressesRequestsToJoin returns requests to join, which must be auto-accepted when control node will be online
|
||||||
|
func (api *PublicAPI) MyAwaitingAddressesRequestsToJoin() ([]*communities.RequestToJoin, error) {
|
||||||
|
return api.service.messenger.MyAwaitingAddressesRequestsToJoin()
|
||||||
|
}
|
||||||
|
|
||||||
// MyCanceledRequestsToJoin returns the pending requests for the logged in user
|
// MyCanceledRequestsToJoin returns the pending requests for the logged in user
|
||||||
func (api *PublicAPI) MyCanceledRequestsToJoin() ([]*communities.RequestToJoin, error) {
|
func (api *PublicAPI) MyCanceledRequestsToJoin() ([]*communities.RequestToJoin, error) {
|
||||||
return api.service.messenger.MyCanceledRequestsToJoin()
|
return api.service.messenger.MyCanceledRequestsToJoin()
|
||||||
|
@ -646,6 +651,10 @@ func (api *PublicAPI) DeleteCommunityCategory(request *requests.DeleteCommunityC
|
||||||
return api.service.messenger.DeleteCommunityCategory(request)
|
return api.service.messenger.DeleteCommunityCategory(request)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (api *PublicAPI) PromoteSelfToControlNode(communityID types.HexBytes) (*protocol.MessengerResponse, error) {
|
||||||
|
return api.service.messenger.PromoteSelfToControlNode(communityID)
|
||||||
|
}
|
||||||
|
|
||||||
type ApplicationMessagesResponse struct {
|
type ApplicationMessagesResponse struct {
|
||||||
Messages []*common.Message `json:"messages"`
|
Messages []*common.Message `json:"messages"`
|
||||||
Cursor string `json:"cursor"`
|
Cursor string `json:"cursor"`
|
||||||
|
|
|
@ -30,6 +30,7 @@ import (
|
||||||
"crypto/sha256"
|
"crypto/sha256"
|
||||||
"fmt"
|
"fmt"
|
||||||
"io"
|
"io"
|
||||||
|
"io/ioutil"
|
||||||
"os"
|
"os"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
"strings"
|
"strings"
|
||||||
|
@ -39,7 +40,7 @@ import (
|
||||||
func bindataRead(data []byte, name string) ([]byte, error) {
|
func bindataRead(data []byte, name string) ([]byte, error) {
|
||||||
gz, err := gzip.NewReader(bytes.NewBuffer(data))
|
gz, err := gzip.NewReader(bytes.NewBuffer(data))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, fmt.Errorf("read %q: %w", name, err)
|
return nil, fmt.Errorf("read %q: %v", name, err)
|
||||||
}
|
}
|
||||||
|
|
||||||
var buf bytes.Buffer
|
var buf bytes.Buffer
|
||||||
|
@ -47,7 +48,7 @@ func bindataRead(data []byte, name string) ([]byte, error) {
|
||||||
clErr := gz.Close()
|
clErr := gz.Close()
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, fmt.Errorf("read %q: %w", name, err)
|
return nil, fmt.Errorf("read %q: %v", name, err)
|
||||||
}
|
}
|
||||||
if clErr != nil {
|
if clErr != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
|
@ -103,7 +104,7 @@ func emojisTxt() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "emojis.txt", size: 28134, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "emojis.txt", size: 28134, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xf5, 0x28, 0xc, 0x22, 0x34, 0xa1, 0xeb, 0x8, 0x8d, 0xef, 0x38, 0x1b, 0xd8, 0xc2, 0x1a, 0x6d, 0xa2, 0x62, 0xad, 0x43, 0xfc, 0x1c, 0x38, 0xda, 0x8c, 0x3f, 0x34, 0xa, 0x8c, 0x6f, 0x5d, 0xd8}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xf5, 0x28, 0xc, 0x22, 0x34, 0xa1, 0xeb, 0x8, 0x8d, 0xef, 0x38, 0x1b, 0xd8, 0xc2, 0x1a, 0x6d, 0xa2, 0x62, 0xad, 0x43, 0xfc, 0x1c, 0x38, 0xda, 0x8c, 0x3f, 0x34, 0xa, 0x8c, 0x6f, 0x5d, 0xd8}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -123,7 +124,7 @@ func ConfigReadmeMd() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "../config/README.md", size: 3031, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "../config/README.md", size: 3031, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x15, 0x44, 0x2b, 0x13, 0x14, 0x34, 0xa, 0x66, 0x62, 0x1b, 0xc6, 0x4a, 0x2c, 0x7d, 0x4d, 0x89, 0xfb, 0xc9, 0x69, 0xe4, 0x18, 0x5f, 0x3, 0x98, 0x6d, 0x3c, 0x9e, 0xa8, 0xcd, 0x53, 0x5d, 0x75}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x15, 0x44, 0x2b, 0x13, 0x14, 0x34, 0xa, 0x66, 0x62, 0x1b, 0xc6, 0x4a, 0x2c, 0x7d, 0x4d, 0x89, 0xfb, 0xc9, 0x69, 0xe4, 0x18, 0x5f, 0x3, 0x98, 0x6d, 0x3c, 0x9e, 0xa8, 0xcd, 0x53, 0x5d, 0x75}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -143,7 +144,7 @@ func ConfigCliAnonMetricNodeClientJson() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "../config/cli/anon-metric-node-client.json", size: 857, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "../config/cli/anon-metric-node-client.json", size: 857, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x90, 0xdf, 0xcd, 0xc8, 0x92, 0x1d, 0x63, 0x5e, 0xe1, 0xf9, 0x7f, 0xed, 0xf2, 0x68, 0x6b, 0x20, 0xff, 0x1d, 0x3b, 0xc9, 0x7b, 0xb9, 0x6a, 0xba, 0xd3, 0xbd, 0xf7, 0x48, 0x7b, 0x5a, 0x52, 0x79}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x90, 0xdf, 0xcd, 0xc8, 0x92, 0x1d, 0x63, 0x5e, 0xe1, 0xf9, 0x7f, 0xed, 0xf2, 0x68, 0x6b, 0x20, 0xff, 0x1d, 0x3b, 0xc9, 0x7b, 0xb9, 0x6a, 0xba, 0xd3, 0xbd, 0xf7, 0x48, 0x7b, 0x5a, 0x52, 0x79}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -163,7 +164,7 @@ func ConfigCliAnonMetricNodeServerJson() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "../config/cli/anon-metric-node-server.json", size: 696, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "../config/cli/anon-metric-node-server.json", size: 696, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xf0, 0x2f, 0x97, 0xab, 0x77, 0x61, 0x93, 0x9d, 0x1f, 0x33, 0x18, 0x72, 0xad, 0xce, 0xa3, 0x35, 0xa9, 0x44, 0xbf, 0x29, 0xa8, 0xea, 0x21, 0xb7, 0x22, 0x7f, 0x7d, 0x3a, 0x6b, 0x55, 0x3c, 0x66}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xf0, 0x2f, 0x97, 0xab, 0x77, 0x61, 0x93, 0x9d, 0x1f, 0x33, 0x18, 0x72, 0xad, 0xce, 0xa3, 0x35, 0xa9, 0x44, 0xbf, 0x29, 0xa8, 0xea, 0x21, 0xb7, 0x22, 0x7f, 0x7d, 0x3a, 0x6b, 0x55, 0x3c, 0x66}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -183,7 +184,7 @@ func ConfigCliFleetEthProdJson() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "../config/cli/fleet-eth.prod.json", size: 3619, mode: os.FileMode(0644), modTime: time.Unix(1696933531, 0)}
|
info := bindataFileInfo{name: "../config/cli/fleet-eth.prod.json", size: 3619, mode: os.FileMode(0644), modTime: time.Unix(1697500758, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x92, 0x4f, 0x86, 0x8b, 0x6e, 0x2, 0x27, 0xa3, 0x37, 0x27, 0x74, 0x51, 0xf0, 0x97, 0x5b, 0x64, 0x8e, 0xbd, 0x29, 0xba, 0x75, 0x2d, 0x75, 0x78, 0x46, 0xb9, 0x56, 0x6, 0xb1, 0xf9, 0x85, 0xdd}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x92, 0x4f, 0x86, 0x8b, 0x6e, 0x2, 0x27, 0xa3, 0x37, 0x27, 0x74, 0x51, 0xf0, 0x97, 0x5b, 0x64, 0x8e, 0xbd, 0x29, 0xba, 0x75, 0x2d, 0x75, 0x78, 0x46, 0xb9, 0x56, 0x6, 0xb1, 0xf9, 0x85, 0xdd}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -203,7 +204,7 @@ func ConfigCliFleetEthStagingJson() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "../config/cli/fleet-eth.staging.json", size: 2139, mode: os.FileMode(0644), modTime: time.Unix(1695833770, 0)}
|
info := bindataFileInfo{name: "../config/cli/fleet-eth.staging.json", size: 2139, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xb0, 0xac, 0xc9, 0x61, 0x97, 0x42, 0x0, 0x3a, 0xfc, 0x78, 0x11, 0xa1, 0xc7, 0x55, 0x71, 0x46, 0x72, 0x3e, 0x52, 0xb0, 0x89, 0x69, 0x7f, 0x8f, 0xf1, 0x26, 0x44, 0xc5, 0xfc, 0x20, 0x9f, 0xa1}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xb0, 0xac, 0xc9, 0x61, 0x97, 0x42, 0x0, 0x3a, 0xfc, 0x78, 0x11, 0xa1, 0xc7, 0x55, 0x71, 0x46, 0x72, 0x3e, 0x52, 0xb0, 0x89, 0x69, 0x7f, 0x8f, 0xf1, 0x26, 0x44, 0xc5, 0xfc, 0x20, 0x9f, 0xa1}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -223,7 +224,7 @@ func ConfigCliFleetShardsTestJson() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "../config/cli/fleet-shards.test.json", size: 1954, mode: os.FileMode(0644), modTime: time.Unix(1698231578, 0)}
|
info := bindataFileInfo{name: "../config/cli/fleet-shards.test.json", size: 1954, mode: os.FileMode(0644), modTime: time.Unix(1698107690, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xcf, 0xeb, 0x33, 0xd4, 0x3, 0x54, 0xff, 0xda, 0x1f, 0xc4, 0xc, 0x91, 0x88, 0x1e, 0x53, 0xbf, 0x49, 0xa, 0x6c, 0x45, 0xf9, 0x19, 0x91, 0xec, 0xe, 0x1a, 0xfc, 0x14, 0x86, 0x8d, 0xa3, 0x5a}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xcf, 0xeb, 0x33, 0xd4, 0x3, 0x54, 0xff, 0xda, 0x1f, 0xc4, 0xc, 0x91, 0x88, 0x1e, 0x53, 0xbf, 0x49, 0xa, 0x6c, 0x45, 0xf9, 0x19, 0x91, 0xec, 0xe, 0x1a, 0xfc, 0x14, 0x86, 0x8d, 0xa3, 0x5a}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -243,7 +244,7 @@ func ConfigCliFleetStatusProdJson() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "../config/cli/fleet-status.prod.json", size: 2338, mode: os.FileMode(0644), modTime: time.Unix(1695833770, 0)}
|
info := bindataFileInfo{name: "../config/cli/fleet-status.prod.json", size: 2338, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x59, 0xea, 0x14, 0x57, 0xed, 0x60, 0x4d, 0xb6, 0x32, 0x7e, 0xd3, 0xbe, 0x1e, 0xc7, 0xfe, 0x42, 0xee, 0xfe, 0x10, 0xe4, 0x22, 0x64, 0xc1, 0xb9, 0xce, 0x34, 0xcd, 0xdd, 0xe3, 0x38, 0x43, 0xd3}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x59, 0xea, 0x14, 0x57, 0xed, 0x60, 0x4d, 0xb6, 0x32, 0x7e, 0xd3, 0xbe, 0x1e, 0xc7, 0xfe, 0x42, 0xee, 0xfe, 0x10, 0xe4, 0x22, 0x64, 0xc1, 0xb9, 0xce, 0x34, 0xcd, 0xdd, 0xe3, 0x38, 0x43, 0xd3}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -263,7 +264,7 @@ func ConfigCliFleetStatusTestJson() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "../config/cli/fleet-status.test.json", size: 1457, mode: os.FileMode(0644), modTime: time.Unix(1695833770, 0)}
|
info := bindataFileInfo{name: "../config/cli/fleet-status.test.json", size: 1457, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xc9, 0x9f, 0x8f, 0x25, 0x1f, 0x31, 0xbd, 0x72, 0x26, 0xb7, 0xd, 0x7e, 0xcb, 0xbb, 0x12, 0xef, 0x9f, 0x1a, 0x2e, 0xb, 0x96, 0x64, 0x7d, 0x52, 0x9e, 0x68, 0x13, 0x55, 0xd5, 0x88, 0x38, 0x7b}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xc9, 0x9f, 0x8f, 0x25, 0x1f, 0x31, 0xbd, 0x72, 0x26, 0xb7, 0xd, 0x7e, 0xcb, 0xbb, 0x12, 0xef, 0x9f, 0x1a, 0x2e, 0xb, 0x96, 0x64, 0x7d, 0x52, 0x9e, 0x68, 0x13, 0x55, 0xd5, 0x88, 0x38, 0x7b}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -283,7 +284,7 @@ func ConfigCliFleetWakuv2ProdJson() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "../config/cli/fleet-wakuv2.prod.json", size: 1264, mode: os.FileMode(0644), modTime: time.Unix(1695833770, 0)}
|
info := bindataFileInfo{name: "../config/cli/fleet-wakuv2.prod.json", size: 1264, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x71, 0xb9, 0x1c, 0x57, 0x50, 0xa9, 0x93, 0x70, 0xcd, 0xd7, 0x22, 0xee, 0x65, 0x72, 0x11, 0x71, 0xd3, 0x20, 0xd0, 0xf0, 0x4d, 0x53, 0x94, 0x44, 0x81, 0xbd, 0x11, 0xed, 0x5e, 0x72, 0x0, 0x12}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x71, 0xb9, 0x1c, 0x57, 0x50, 0xa9, 0x93, 0x70, 0xcd, 0xd7, 0x22, 0xee, 0x65, 0x72, 0x11, 0x71, 0xd3, 0x20, 0xd0, 0xf0, 0x4d, 0x53, 0x94, 0x44, 0x81, 0xbd, 0x11, 0xed, 0x5e, 0x72, 0x0, 0x12}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -303,7 +304,7 @@ func ConfigCliFleetWakuv2TestJson() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "../config/cli/fleet-wakuv2.test.json", size: 1264, mode: os.FileMode(0644), modTime: time.Unix(1695833770, 0)}
|
info := bindataFileInfo{name: "../config/cli/fleet-wakuv2.test.json", size: 1264, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x2c, 0x67, 0x1e, 0xd1, 0x98, 0x7b, 0xf3, 0x9f, 0x76, 0xa0, 0xbe, 0x67, 0x29, 0xdb, 0xd7, 0x3e, 0xb8, 0x7c, 0x65, 0x2d, 0x2, 0x84, 0xe0, 0xab, 0x8d, 0x3d, 0x4a, 0x53, 0xb4, 0xa7, 0x2e, 0xf0}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x2c, 0x67, 0x1e, 0xd1, 0x98, 0x7b, 0xf3, 0x9f, 0x76, 0xa0, 0xbe, 0x67, 0x29, 0xdb, 0xd7, 0x3e, 0xb8, 0x7c, 0x65, 0x2d, 0x2, 0x84, 0xe0, 0xab, 0x8d, 0x3d, 0x4a, 0x53, 0xb4, 0xa7, 0x2e, 0xf0}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -323,7 +324,7 @@ func ConfigCliLesEnabledJson() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "../config/cli/les-enabled.json", size: 58, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "../config/cli/les-enabled.json", size: 58, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x7e, 0xee, 0x27, 0xa7, 0x74, 0xa0, 0x46, 0xa1, 0x41, 0xed, 0x4d, 0x16, 0x5b, 0xf3, 0xf0, 0x7c, 0xc8, 0x2f, 0x6f, 0x47, 0xa4, 0xbb, 0x5f, 0x43, 0x33, 0xd, 0x9, 0x9d, 0xea, 0x9e, 0x15, 0xee}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x7e, 0xee, 0x27, 0xa7, 0x74, 0xa0, 0x46, 0xa1, 0x41, 0xed, 0x4d, 0x16, 0x5b, 0xf3, 0xf0, 0x7c, 0xc8, 0x2f, 0x6f, 0x47, 0xa4, 0xbb, 0x5f, 0x43, 0x33, 0xd, 0x9, 0x9d, 0xea, 0x9e, 0x15, 0xee}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -343,7 +344,7 @@ func ConfigCliMailserverEnabledJson() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "../config/cli/mailserver-enabled.json", size: 176, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "../config/cli/mailserver-enabled.json", size: 176, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x34, 0xec, 0x81, 0x8b, 0x99, 0xb6, 0xdb, 0xc0, 0x8b, 0x46, 0x97, 0x96, 0xc7, 0x58, 0x30, 0x33, 0xef, 0x54, 0x25, 0x87, 0x7b, 0xb9, 0x94, 0x6b, 0x18, 0xa4, 0x5b, 0x58, 0x67, 0x7c, 0x44, 0xa6}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x34, 0xec, 0x81, 0x8b, 0x99, 0xb6, 0xdb, 0xc0, 0x8b, 0x46, 0x97, 0x96, 0xc7, 0x58, 0x30, 0x33, 0xef, 0x54, 0x25, 0x87, 0x7b, 0xb9, 0x94, 0x6b, 0x18, 0xa4, 0x5b, 0x58, 0x67, 0x7c, 0x44, 0xa6}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -363,7 +364,7 @@ func ConfigStatusChainGenesisJson() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "../config/status-chain-genesis.json", size: 612, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "../config/status-chain-genesis.json", size: 612, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xb, 0xf0, 0xc, 0x1, 0x95, 0x65, 0x6, 0x55, 0x48, 0x8f, 0x83, 0xa0, 0xb4, 0x81, 0xda, 0xad, 0x30, 0x6d, 0xb2, 0x78, 0x1b, 0x26, 0x4, 0x13, 0x12, 0x9, 0x6, 0xae, 0x3a, 0x2c, 0x1, 0x71}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xb, 0xf0, 0xc, 0x1, 0x95, 0x65, 0x6, 0x55, 0x48, 0x8f, 0x83, 0xa0, 0xb4, 0x81, 0xda, 0xad, 0x30, 0x6d, 0xb2, 0x78, 0x1b, 0x26, 0x4, 0x13, 0x12, 0x9, 0x6, 0xae, 0x3a, 0x2c, 0x1, 0x71}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -383,7 +384,7 @@ func keysBootnodeKey() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "keys/bootnode.key", size: 65, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "keys/bootnode.key", size: 65, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x31, 0xcf, 0x27, 0xd4, 0x96, 0x2e, 0x32, 0xcd, 0x58, 0x96, 0x2a, 0xe5, 0x8c, 0xa0, 0xf1, 0x73, 0x1f, 0xd6, 0xd6, 0x8b, 0xb, 0x73, 0xd3, 0x2c, 0x84, 0x1a, 0x56, 0xa4, 0x74, 0xb6, 0x95, 0x20}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x31, 0xcf, 0x27, 0xd4, 0x96, 0x2e, 0x32, 0xcd, 0x58, 0x96, 0x2a, 0xe5, 0x8c, 0xa0, 0xf1, 0x73, 0x1f, 0xd6, 0xd6, 0x8b, 0xb, 0x73, 0xd3, 0x2c, 0x84, 0x1a, 0x56, 0xa4, 0x74, 0xb6, 0x95, 0x20}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -403,7 +404,7 @@ func keysFirebaseauthkey() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "keys/firebaseauthkey", size: 153, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "keys/firebaseauthkey", size: 153, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xe, 0x69, 0x23, 0x64, 0x7d, 0xf9, 0x14, 0x37, 0x6f, 0x2b, 0x1, 0xf0, 0xb0, 0xa4, 0xb2, 0xd0, 0x18, 0xcd, 0xf9, 0xeb, 0x57, 0xa3, 0xfd, 0x79, 0x25, 0xa7, 0x9c, 0x3, 0xce, 0x26, 0xec, 0xe1}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xe, 0x69, 0x23, 0x64, 0x7d, 0xf9, 0x14, 0x37, 0x6f, 0x2b, 0x1, 0xf0, 0xb0, 0xa4, 0xb2, 0xd0, 0x18, 0xcd, 0xf9, 0xeb, 0x57, 0xa3, 0xfd, 0x79, 0x25, 0xa7, 0x9c, 0x3, 0xce, 0x26, 0xec, 0xe1}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -423,7 +424,7 @@ func keysTestAccount1StatusChainPk() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "keys/test-account1-status-chain.pk", size: 489, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "keys/test-account1-status-chain.pk", size: 489, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x8f, 0xba, 0x35, 0x1, 0x2b, 0x9d, 0xad, 0xf0, 0x2d, 0x3c, 0x4d, 0x6, 0xb5, 0x22, 0x2, 0x47, 0xd4, 0x1c, 0xf4, 0x31, 0x2f, 0xb, 0x5b, 0x27, 0x5d, 0x43, 0x97, 0x58, 0x2d, 0xf0, 0xe1, 0xbe}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x8f, 0xba, 0x35, 0x1, 0x2b, 0x9d, 0xad, 0xf0, 0x2d, 0x3c, 0x4d, 0x6, 0xb5, 0x22, 0x2, 0x47, 0xd4, 0x1c, 0xf4, 0x31, 0x2f, 0xb, 0x5b, 0x27, 0x5d, 0x43, 0x97, 0x58, 0x2d, 0xf0, 0xe1, 0xbe}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -443,7 +444,7 @@ func keysTestAccount1Pk() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "keys/test-account1.pk", size: 491, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "keys/test-account1.pk", size: 491, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x9, 0x43, 0xc2, 0xf4, 0x8c, 0xc6, 0x64, 0x25, 0x8c, 0x7, 0x8c, 0xa8, 0x89, 0x2b, 0x7b, 0x9b, 0x4f, 0x81, 0xcb, 0xce, 0x3d, 0xef, 0x82, 0x9c, 0x27, 0x27, 0xa9, 0xc5, 0x46, 0x70, 0x30, 0x38}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x9, 0x43, 0xc2, 0xf4, 0x8c, 0xc6, 0x64, 0x25, 0x8c, 0x7, 0x8c, 0xa8, 0x89, 0x2b, 0x7b, 0x9b, 0x4f, 0x81, 0xcb, 0xce, 0x3d, 0xef, 0x82, 0x9c, 0x27, 0x27, 0xa9, 0xc5, 0x46, 0x70, 0x30, 0x38}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -463,7 +464,7 @@ func keysTestAccount2StatusChainPk() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "keys/test-account2-status-chain.pk", size: 489, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "keys/test-account2-status-chain.pk", size: 489, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x9, 0xf8, 0x5c, 0xe9, 0x92, 0x96, 0x2d, 0x88, 0x2b, 0x8e, 0x42, 0x3f, 0xa4, 0x93, 0x6c, 0xad, 0xe9, 0xc0, 0x1b, 0x8a, 0x8, 0x8c, 0x5e, 0x7a, 0x84, 0xa2, 0xf, 0x9f, 0x77, 0x58, 0x2c, 0x2c}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x9, 0xf8, 0x5c, 0xe9, 0x92, 0x96, 0x2d, 0x88, 0x2b, 0x8e, 0x42, 0x3f, 0xa4, 0x93, 0x6c, 0xad, 0xe9, 0xc0, 0x1b, 0x8a, 0x8, 0x8c, 0x5e, 0x7a, 0x84, 0xa2, 0xf, 0x9f, 0x77, 0x58, 0x2c, 0x2c}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -483,7 +484,7 @@ func keysTestAccount2Pk() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "keys/test-account2.pk", size: 491, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "keys/test-account2.pk", size: 491, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x9f, 0x72, 0xd5, 0x95, 0x5c, 0x5a, 0x99, 0x9d, 0x2f, 0x21, 0x83, 0xd7, 0x10, 0x17, 0x4a, 0x3d, 0x65, 0xc9, 0x26, 0x1a, 0x2c, 0x9d, 0x65, 0x63, 0xd2, 0xa0, 0xfc, 0x7c, 0x0, 0x87, 0x38, 0x9f}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x9f, 0x72, 0xd5, 0x95, 0x5c, 0x5a, 0x99, 0x9d, 0x2f, 0x21, 0x83, 0xd7, 0x10, 0x17, 0x4a, 0x3d, 0x65, 0xc9, 0x26, 0x1a, 0x2c, 0x9d, 0x65, 0x63, 0xd2, 0xa0, 0xfc, 0x7c, 0x0, 0x87, 0x38, 0x9f}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -503,7 +504,7 @@ func keysTestAccount3BeforeEip55Pk() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "keys/test-account3-before-eip55.pk", size: 489, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "keys/test-account3-before-eip55.pk", size: 489, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x81, 0x40, 0x56, 0xc1, 0x5e, 0x10, 0x6e, 0x28, 0x15, 0x3, 0x4e, 0xc4, 0xc4, 0x71, 0x4d, 0x16, 0x99, 0xcc, 0x1b, 0x63, 0xee, 0x10, 0x20, 0xe4, 0x59, 0x52, 0x3f, 0xc0, 0xad, 0x15, 0x13, 0x72}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x81, 0x40, 0x56, 0xc1, 0x5e, 0x10, 0x6e, 0x28, 0x15, 0x3, 0x4e, 0xc4, 0xc4, 0x71, 0x4d, 0x16, 0x99, 0xcc, 0x1b, 0x63, 0xee, 0x10, 0x20, 0xe4, 0x59, 0x52, 0x3f, 0xc0, 0xad, 0x15, 0x13, 0x72}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -599,43 +600,58 @@ func AssetNames() []string {
|
||||||
|
|
||||||
// _bindata is a table, holding each asset generator, mapped to its name.
|
// _bindata is a table, holding each asset generator, mapped to its name.
|
||||||
var _bindata = map[string]func() (*asset, error){
|
var _bindata = map[string]func() (*asset, error){
|
||||||
"emojis.txt": emojisTxt,
|
"emojis.txt": emojisTxt,
|
||||||
"../config/README.md": ConfigReadmeMd,
|
|
||||||
"../config/cli/anon-metric-node-client.json": ConfigCliAnonMetricNodeClientJson,
|
|
||||||
"../config/cli/anon-metric-node-server.json": ConfigCliAnonMetricNodeServerJson,
|
|
||||||
"../config/cli/fleet-eth.prod.json": ConfigCliFleetEthProdJson,
|
|
||||||
"../config/cli/fleet-eth.staging.json": ConfigCliFleetEthStagingJson,
|
|
||||||
"../config/cli/fleet-shards.test.json": ConfigCliFleetShardsTestJson,
|
|
||||||
"../config/cli/fleet-status.prod.json": ConfigCliFleetStatusProdJson,
|
|
||||||
"../config/cli/fleet-status.test.json": ConfigCliFleetStatusTestJson,
|
|
||||||
"../config/cli/fleet-wakuv2.prod.json": ConfigCliFleetWakuv2ProdJson,
|
|
||||||
"../config/cli/fleet-wakuv2.test.json": ConfigCliFleetWakuv2TestJson,
|
|
||||||
"../config/cli/les-enabled.json": ConfigCliLesEnabledJson,
|
|
||||||
"../config/cli/mailserver-enabled.json": ConfigCliMailserverEnabledJson,
|
|
||||||
"../config/status-chain-genesis.json": ConfigStatusChainGenesisJson,
|
|
||||||
"keys/bootnode.key": keysBootnodeKey,
|
|
||||||
"keys/firebaseauthkey": keysFirebaseauthkey,
|
|
||||||
"keys/test-account1-status-chain.pk": keysTestAccount1StatusChainPk,
|
|
||||||
"keys/test-account1.pk": keysTestAccount1Pk,
|
|
||||||
"keys/test-account2-status-chain.pk": keysTestAccount2StatusChainPk,
|
|
||||||
"keys/test-account2.pk": keysTestAccount2Pk,
|
|
||||||
"keys/test-account3-before-eip55.pk": keysTestAccount3BeforeEip55Pk,
|
|
||||||
}
|
|
||||||
|
|
||||||
// AssetDebug is true if the assets were built with the debug flag enabled.
|
"../config/README.md": ConfigReadmeMd,
|
||||||
const AssetDebug = false
|
|
||||||
|
"../config/cli/anon-metric-node-client.json": ConfigCliAnonMetricNodeClientJson,
|
||||||
|
|
||||||
|
"../config/cli/anon-metric-node-server.json": ConfigCliAnonMetricNodeServerJson,
|
||||||
|
|
||||||
|
"../config/cli/fleet-eth.prod.json": ConfigCliFleetEthProdJson,
|
||||||
|
|
||||||
|
"../config/cli/fleet-eth.staging.json": ConfigCliFleetEthStagingJson,
|
||||||
|
|
||||||
|
"../config/cli/fleet-shards.test.json": ConfigCliFleetShardsTestJson,
|
||||||
|
|
||||||
|
"../config/cli/fleet-status.prod.json": ConfigCliFleetStatusProdJson,
|
||||||
|
|
||||||
|
"../config/cli/fleet-status.test.json": ConfigCliFleetStatusTestJson,
|
||||||
|
|
||||||
|
"../config/cli/fleet-wakuv2.prod.json": ConfigCliFleetWakuv2ProdJson,
|
||||||
|
|
||||||
|
"../config/cli/fleet-wakuv2.test.json": ConfigCliFleetWakuv2TestJson,
|
||||||
|
|
||||||
|
"../config/cli/les-enabled.json": ConfigCliLesEnabledJson,
|
||||||
|
|
||||||
|
"../config/cli/mailserver-enabled.json": ConfigCliMailserverEnabledJson,
|
||||||
|
|
||||||
|
"../config/status-chain-genesis.json": ConfigStatusChainGenesisJson,
|
||||||
|
|
||||||
|
"keys/bootnode.key": keysBootnodeKey,
|
||||||
|
|
||||||
|
"keys/firebaseauthkey": keysFirebaseauthkey,
|
||||||
|
|
||||||
|
"keys/test-account1-status-chain.pk": keysTestAccount1StatusChainPk,
|
||||||
|
|
||||||
|
"keys/test-account1.pk": keysTestAccount1Pk,
|
||||||
|
|
||||||
|
"keys/test-account2-status-chain.pk": keysTestAccount2StatusChainPk,
|
||||||
|
|
||||||
|
"keys/test-account2.pk": keysTestAccount2Pk,
|
||||||
|
|
||||||
|
"keys/test-account3-before-eip55.pk": keysTestAccount3BeforeEip55Pk,
|
||||||
|
}
|
||||||
|
|
||||||
// AssetDir returns the file names below a certain
|
// AssetDir returns the file names below a certain
|
||||||
// directory embedded in the file by go-bindata.
|
// directory embedded in the file by go-bindata.
|
||||||
// For example if you run go-bindata on data/... and data contains the
|
// For example if you run go-bindata on data/... and data contains the
|
||||||
// following hierarchy:
|
// following hierarchy:
|
||||||
//
|
// data/
|
||||||
// data/
|
// foo.txt
|
||||||
// foo.txt
|
// img/
|
||||||
// img/
|
// a.png
|
||||||
// a.png
|
// b.png
|
||||||
// b.png
|
|
||||||
//
|
|
||||||
// then AssetDir("data") would return []string{"foo.txt", "img"},
|
// then AssetDir("data") would return []string{"foo.txt", "img"},
|
||||||
// AssetDir("data/img") would return []string{"a.png", "b.png"},
|
// AssetDir("data/img") would return []string{"a.png", "b.png"},
|
||||||
// AssetDir("foo.txt") and AssetDir("notexist") would return an error, and
|
// AssetDir("foo.txt") and AssetDir("notexist") would return an error, and
|
||||||
|
@ -668,34 +684,34 @@ type bintree struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
var _bintree = &bintree{nil, map[string]*bintree{
|
var _bintree = &bintree{nil, map[string]*bintree{
|
||||||
"..": {nil, map[string]*bintree{
|
"..": &bintree{nil, map[string]*bintree{
|
||||||
"config": {nil, map[string]*bintree{
|
"config": &bintree{nil, map[string]*bintree{
|
||||||
"README.md": {ConfigReadmeMd, map[string]*bintree{}},
|
"README.md": &bintree{ConfigReadmeMd, map[string]*bintree{}},
|
||||||
"cli": {nil, map[string]*bintree{
|
"cli": &bintree{nil, map[string]*bintree{
|
||||||
"anon-metric-node-client.json": {ConfigCliAnonMetricNodeClientJson, map[string]*bintree{}},
|
"anon-metric-node-client.json": &bintree{ConfigCliAnonMetricNodeClientJson, map[string]*bintree{}},
|
||||||
"anon-metric-node-server.json": {ConfigCliAnonMetricNodeServerJson, map[string]*bintree{}},
|
"anon-metric-node-server.json": &bintree{ConfigCliAnonMetricNodeServerJson, map[string]*bintree{}},
|
||||||
"fleet-eth.prod.json": {ConfigCliFleetEthProdJson, map[string]*bintree{}},
|
"fleet-eth.prod.json": &bintree{ConfigCliFleetEthProdJson, map[string]*bintree{}},
|
||||||
"fleet-eth.staging.json": {ConfigCliFleetEthStagingJson, map[string]*bintree{}},
|
"fleet-eth.staging.json": &bintree{ConfigCliFleetEthStagingJson, map[string]*bintree{}},
|
||||||
"fleet-shards.test.json": {ConfigCliFleetShardsTestJson, map[string]*bintree{}},
|
"fleet-shards.test.json": &bintree{ConfigCliFleetShardsTestJson, map[string]*bintree{}},
|
||||||
"fleet-status.prod.json": {ConfigCliFleetStatusProdJson, map[string]*bintree{}},
|
"fleet-status.prod.json": &bintree{ConfigCliFleetStatusProdJson, map[string]*bintree{}},
|
||||||
"fleet-status.test.json": {ConfigCliFleetStatusTestJson, map[string]*bintree{}},
|
"fleet-status.test.json": &bintree{ConfigCliFleetStatusTestJson, map[string]*bintree{}},
|
||||||
"fleet-wakuv2.prod.json": {ConfigCliFleetWakuv2ProdJson, map[string]*bintree{}},
|
"fleet-wakuv2.prod.json": &bintree{ConfigCliFleetWakuv2ProdJson, map[string]*bintree{}},
|
||||||
"fleet-wakuv2.test.json": {ConfigCliFleetWakuv2TestJson, map[string]*bintree{}},
|
"fleet-wakuv2.test.json": &bintree{ConfigCliFleetWakuv2TestJson, map[string]*bintree{}},
|
||||||
"les-enabled.json": {ConfigCliLesEnabledJson, map[string]*bintree{}},
|
"les-enabled.json": &bintree{ConfigCliLesEnabledJson, map[string]*bintree{}},
|
||||||
"mailserver-enabled.json": {ConfigCliMailserverEnabledJson, map[string]*bintree{}},
|
"mailserver-enabled.json": &bintree{ConfigCliMailserverEnabledJson, map[string]*bintree{}},
|
||||||
}},
|
}},
|
||||||
"status-chain-genesis.json": {ConfigStatusChainGenesisJson, map[string]*bintree{}},
|
"status-chain-genesis.json": &bintree{ConfigStatusChainGenesisJson, map[string]*bintree{}},
|
||||||
}},
|
}},
|
||||||
}},
|
}},
|
||||||
"emojis.txt": {emojisTxt, map[string]*bintree{}},
|
"emojis.txt": &bintree{emojisTxt, map[string]*bintree{}},
|
||||||
"keys": {nil, map[string]*bintree{
|
"keys": &bintree{nil, map[string]*bintree{
|
||||||
"bootnode.key": {keysBootnodeKey, map[string]*bintree{}},
|
"bootnode.key": &bintree{keysBootnodeKey, map[string]*bintree{}},
|
||||||
"firebaseauthkey": {keysFirebaseauthkey, map[string]*bintree{}},
|
"firebaseauthkey": &bintree{keysFirebaseauthkey, map[string]*bintree{}},
|
||||||
"test-account1-status-chain.pk": {keysTestAccount1StatusChainPk, map[string]*bintree{}},
|
"test-account1-status-chain.pk": &bintree{keysTestAccount1StatusChainPk, map[string]*bintree{}},
|
||||||
"test-account1.pk": {keysTestAccount1Pk, map[string]*bintree{}},
|
"test-account1.pk": &bintree{keysTestAccount1Pk, map[string]*bintree{}},
|
||||||
"test-account2-status-chain.pk": {keysTestAccount2StatusChainPk, map[string]*bintree{}},
|
"test-account2-status-chain.pk": &bintree{keysTestAccount2StatusChainPk, map[string]*bintree{}},
|
||||||
"test-account2.pk": {keysTestAccount2Pk, map[string]*bintree{}},
|
"test-account2.pk": &bintree{keysTestAccount2Pk, map[string]*bintree{}},
|
||||||
"test-account3-before-eip55.pk": {keysTestAccount3BeforeEip55Pk, map[string]*bintree{}},
|
"test-account3-before-eip55.pk": &bintree{keysTestAccount3BeforeEip55Pk, map[string]*bintree{}},
|
||||||
}},
|
}},
|
||||||
}}
|
}}
|
||||||
|
|
||||||
|
@ -713,7 +729,7 @@ func RestoreAsset(dir, name string) error {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
err = os.WriteFile(_filePath(dir, name), data, info.Mode())
|
err = ioutil.WriteFile(_filePath(dir, name), data, info.Mode())
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
42
t/bindata.go
42
t/bindata.go
|
@ -12,6 +12,7 @@ import (
|
||||||
"crypto/sha256"
|
"crypto/sha256"
|
||||||
"fmt"
|
"fmt"
|
||||||
"io"
|
"io"
|
||||||
|
"io/ioutil"
|
||||||
"os"
|
"os"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
"strings"
|
"strings"
|
||||||
|
@ -21,7 +22,7 @@ import (
|
||||||
func bindataRead(data []byte, name string) ([]byte, error) {
|
func bindataRead(data []byte, name string) ([]byte, error) {
|
||||||
gz, err := gzip.NewReader(bytes.NewBuffer(data))
|
gz, err := gzip.NewReader(bytes.NewBuffer(data))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, fmt.Errorf("read %q: %w", name, err)
|
return nil, fmt.Errorf("read %q: %v", name, err)
|
||||||
}
|
}
|
||||||
|
|
||||||
var buf bytes.Buffer
|
var buf bytes.Buffer
|
||||||
|
@ -29,7 +30,7 @@ func bindataRead(data []byte, name string) ([]byte, error) {
|
||||||
clErr := gz.Close()
|
clErr := gz.Close()
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, fmt.Errorf("read %q: %w", name, err)
|
return nil, fmt.Errorf("read %q: %v", name, err)
|
||||||
}
|
}
|
||||||
if clErr != nil {
|
if clErr != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
|
@ -85,7 +86,7 @@ func configPublicChainAccountsJson() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "config/public-chain-accounts.json", size: 307, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "config/public-chain-accounts.json", size: 307, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x76, 0x5d, 0xc0, 0xfe, 0x57, 0x50, 0x18, 0xec, 0x2d, 0x61, 0x1b, 0xa9, 0x81, 0x11, 0x5f, 0x77, 0xf7, 0xb6, 0x67, 0x82, 0x1, 0x40, 0x68, 0x9d, 0xc5, 0x41, 0xaf, 0xce, 0x43, 0x81, 0x92, 0x96}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x76, 0x5d, 0xc0, 0xfe, 0x57, 0x50, 0x18, 0xec, 0x2d, 0x61, 0x1b, 0xa9, 0x81, 0x11, 0x5f, 0x77, 0xf7, 0xb6, 0x67, 0x82, 0x1, 0x40, 0x68, 0x9d, 0xc5, 0x41, 0xaf, 0xce, 0x43, 0x81, 0x92, 0x96}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -105,7 +106,7 @@ func configStatusChainAccountsJson() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "config/status-chain-accounts.json", size: 543, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "config/status-chain-accounts.json", size: 543, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x8e, 0xb3, 0x61, 0x51, 0x70, 0x3c, 0x12, 0x3e, 0xf1, 0x1c, 0x81, 0xfb, 0x9a, 0x7c, 0xe3, 0x63, 0xd0, 0x8f, 0x12, 0xc5, 0x2d, 0xf4, 0xea, 0x27, 0x33, 0xef, 0xca, 0xf9, 0x3f, 0x72, 0x44, 0xbf}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x8e, 0xb3, 0x61, 0x51, 0x70, 0x3c, 0x12, 0x3e, 0xf1, 0x1c, 0x81, 0xfb, 0x9a, 0x7c, 0xe3, 0x63, 0xd0, 0x8f, 0x12, 0xc5, 0x2d, 0xf4, 0xea, 0x27, 0x33, 0xef, 0xca, 0xf9, 0x3f, 0x72, 0x44, 0xbf}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -125,7 +126,7 @@ func configTestDataJson() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "config/test-data.json", size: 84, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)}
|
info := bindataFileInfo{name: "config/test-data.json", size: 84, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xce, 0x9d, 0x80, 0xf5, 0x87, 0xfa, 0x57, 0x1d, 0xa1, 0xd5, 0x7a, 0x10, 0x3, 0xac, 0xd7, 0xf4, 0x64, 0x32, 0x96, 0x2b, 0xb7, 0x21, 0xb7, 0xa6, 0x80, 0x40, 0xe9, 0x65, 0xe3, 0xd6, 0xbd, 0x40}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xce, 0x9d, 0x80, 0xf5, 0x87, 0xfa, 0x57, 0x1d, 0xa1, 0xd5, 0x7a, 0x10, 0x3, 0xac, 0xd7, 0xf4, 0x64, 0x32, 0x96, 0x2b, 0xb7, 0x21, 0xb7, 0xa6, 0x80, 0x40, 0xe9, 0x65, 0xe3, 0xd6, 0xbd, 0x40}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -222,24 +223,21 @@ func AssetNames() []string {
|
||||||
// _bindata is a table, holding each asset generator, mapped to its name.
|
// _bindata is a table, holding each asset generator, mapped to its name.
|
||||||
var _bindata = map[string]func() (*asset, error){
|
var _bindata = map[string]func() (*asset, error){
|
||||||
"config/public-chain-accounts.json": configPublicChainAccountsJson,
|
"config/public-chain-accounts.json": configPublicChainAccountsJson,
|
||||||
"config/status-chain-accounts.json": configStatusChainAccountsJson,
|
|
||||||
"config/test-data.json": configTestDataJson,
|
|
||||||
}
|
|
||||||
|
|
||||||
// AssetDebug is true if the assets were built with the debug flag enabled.
|
"config/status-chain-accounts.json": configStatusChainAccountsJson,
|
||||||
const AssetDebug = false
|
|
||||||
|
"config/test-data.json": configTestDataJson,
|
||||||
|
}
|
||||||
|
|
||||||
// AssetDir returns the file names below a certain
|
// AssetDir returns the file names below a certain
|
||||||
// directory embedded in the file by go-bindata.
|
// directory embedded in the file by go-bindata.
|
||||||
// For example if you run go-bindata on data/... and data contains the
|
// For example if you run go-bindata on data/... and data contains the
|
||||||
// following hierarchy:
|
// following hierarchy:
|
||||||
//
|
// data/
|
||||||
// data/
|
// foo.txt
|
||||||
// foo.txt
|
// img/
|
||||||
// img/
|
// a.png
|
||||||
// a.png
|
// b.png
|
||||||
// b.png
|
|
||||||
//
|
|
||||||
// then AssetDir("data") would return []string{"foo.txt", "img"},
|
// then AssetDir("data") would return []string{"foo.txt", "img"},
|
||||||
// AssetDir("data/img") would return []string{"a.png", "b.png"},
|
// AssetDir("data/img") would return []string{"a.png", "b.png"},
|
||||||
// AssetDir("foo.txt") and AssetDir("notexist") would return an error, and
|
// AssetDir("foo.txt") and AssetDir("notexist") would return an error, and
|
||||||
|
@ -272,10 +270,10 @@ type bintree struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
var _bintree = &bintree{nil, map[string]*bintree{
|
var _bintree = &bintree{nil, map[string]*bintree{
|
||||||
"config": {nil, map[string]*bintree{
|
"config": &bintree{nil, map[string]*bintree{
|
||||||
"public-chain-accounts.json": {configPublicChainAccountsJson, map[string]*bintree{}},
|
"public-chain-accounts.json": &bintree{configPublicChainAccountsJson, map[string]*bintree{}},
|
||||||
"status-chain-accounts.json": {configStatusChainAccountsJson, map[string]*bintree{}},
|
"status-chain-accounts.json": &bintree{configStatusChainAccountsJson, map[string]*bintree{}},
|
||||||
"test-data.json": {configTestDataJson, map[string]*bintree{}},
|
"test-data.json": &bintree{configTestDataJson, map[string]*bintree{}},
|
||||||
}},
|
}},
|
||||||
}}
|
}}
|
||||||
|
|
||||||
|
@ -293,7 +291,7 @@ func RestoreAsset(dir, name string) error {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
err = os.WriteFile(_filePath(dir, name), data, info.Mode())
|
err = ioutil.WriteFile(_filePath(dir, name), data, info.Mode())
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,6 +20,7 @@ import (
|
||||||
"crypto/sha256"
|
"crypto/sha256"
|
||||||
"fmt"
|
"fmt"
|
||||||
"io"
|
"io"
|
||||||
|
"io/ioutil"
|
||||||
"os"
|
"os"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
"strings"
|
"strings"
|
||||||
|
@ -29,7 +30,7 @@ import (
|
||||||
func bindataRead(data []byte, name string) ([]byte, error) {
|
func bindataRead(data []byte, name string) ([]byte, error) {
|
||||||
gz, err := gzip.NewReader(bytes.NewBuffer(data))
|
gz, err := gzip.NewReader(bytes.NewBuffer(data))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, fmt.Errorf("read %q: %w", name, err)
|
return nil, fmt.Errorf("read %q: %v", name, err)
|
||||||
}
|
}
|
||||||
|
|
||||||
var buf bytes.Buffer
|
var buf bytes.Buffer
|
||||||
|
@ -37,7 +38,7 @@ func bindataRead(data []byte, name string) ([]byte, error) {
|
||||||
clErr := gz.Close()
|
clErr := gz.Close()
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, fmt.Errorf("read %q: %w", name, err)
|
return nil, fmt.Errorf("read %q: %v", name, err)
|
||||||
}
|
}
|
||||||
if clErr != nil {
|
if clErr != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
|
@ -93,7 +94,7 @@ func _1691753758_initialUpSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "1691753758_initial.up.sql", size: 5738, mode: os.FileMode(0644), modTime: time.Unix(1694623803, 0)}
|
info := bindataFileInfo{name: "1691753758_initial.up.sql", size: 5738, mode: os.FileMode(0644), modTime: time.Unix(1694703777, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x6b, 0x25, 0x31, 0xc8, 0x27, 0x3, 0x6b, 0x9f, 0x15, 0x42, 0x2f, 0x85, 0xfb, 0xe3, 0x6, 0xea, 0xf7, 0x97, 0x12, 0x56, 0x3c, 0x9a, 0x5b, 0x1a, 0xca, 0xb1, 0x23, 0xfa, 0xcd, 0x57, 0x25, 0x5c}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x6b, 0x25, 0x31, 0xc8, 0x27, 0x3, 0x6b, 0x9f, 0x15, 0x42, 0x2f, 0x85, 0xfb, 0xe3, 0x6, 0xea, 0xf7, 0x97, 0x12, 0x56, 0x3c, 0x9a, 0x5b, 0x1a, 0xca, 0xb1, 0x23, 0xfa, 0xcd, 0x57, 0x25, 0x5c}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -113,7 +114,7 @@ func _1692701329_add_collectibles_and_collections_data_cacheUpSql() (*asset, err
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "1692701329_add_collectibles_and_collections_data_cache.up.sql", size: 1808, mode: os.FileMode(0644), modTime: time.Unix(1694623803, 0)}
|
info := bindataFileInfo{name: "1692701329_add_collectibles_and_collections_data_cache.up.sql", size: 1808, mode: os.FileMode(0644), modTime: time.Unix(1694703777, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x1, 0x51, 0xf4, 0x2b, 0x92, 0xde, 0x59, 0x65, 0xd8, 0x9b, 0x57, 0xe0, 0xfd, 0x7b, 0x12, 0xb, 0x29, 0x6e, 0x9d, 0xb5, 0x90, 0xe, 0xfa, 0x12, 0x97, 0xd, 0x61, 0x60, 0x7f, 0x32, 0x1d, 0xc3}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x1, 0x51, 0xf4, 0x2b, 0x92, 0xde, 0x59, 0x65, 0xd8, 0x9b, 0x57, 0xe0, 0xfd, 0x7b, 0x12, 0xb, 0x29, 0x6e, 0x9d, 0xb5, 0x90, 0xe, 0xfa, 0x12, 0x97, 0xd, 0x61, 0x60, 0x7f, 0x32, 0x1d, 0xc3}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -133,7 +134,7 @@ func _1692701339_add_scope_to_pendingUpSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "1692701339_add_scope_to_pending.up.sql", size: 576, mode: os.FileMode(0644), modTime: time.Unix(1694623803, 0)}
|
info := bindataFileInfo{name: "1692701339_add_scope_to_pending.up.sql", size: 576, mode: os.FileMode(0644), modTime: time.Unix(1694703777, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x36, 0x8a, 0x5e, 0xe2, 0x63, 0x15, 0x37, 0xba, 0x55, 0x18, 0xf3, 0xcc, 0xe0, 0x5, 0x84, 0xe1, 0x5b, 0xe8, 0x1, 0x32, 0x6b, 0x9f, 0x7d, 0x9f, 0xd9, 0x23, 0x6c, 0xa9, 0xb5, 0xdc, 0xf4, 0x93}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x36, 0x8a, 0x5e, 0xe2, 0x63, 0x15, 0x37, 0xba, 0x55, 0x18, 0xf3, 0xcc, 0xe0, 0x5, 0x84, 0xe1, 0x5b, 0xe8, 0x1, 0x32, 0x6b, 0x9f, 0x7d, 0x9f, 0xd9, 0x23, 0x6c, 0xa9, 0xb5, 0xdc, 0xf4, 0x93}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -153,7 +154,7 @@ func _1694540071_add_collectibles_ownership_update_timestampUpSql() (*asset, err
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "1694540071_add_collectibles_ownership_update_timestamp.up.sql", size: 349, mode: os.FileMode(0644), modTime: time.Unix(1698231578, 0)}
|
info := bindataFileInfo{name: "1694540071_add_collectibles_ownership_update_timestamp.up.sql", size: 349, mode: os.FileMode(0644), modTime: time.Unix(1697205306, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x7f, 0x45, 0xc7, 0xce, 0x79, 0x63, 0xbc, 0x6f, 0x83, 0x5f, 0xe2, 0x3, 0x56, 0xcc, 0x5, 0x2f, 0x85, 0xda, 0x7e, 0xea, 0xf5, 0xd2, 0xac, 0x19, 0xd4, 0xd8, 0x5e, 0xdd, 0xed, 0xe2, 0xa9, 0x97}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x7f, 0x45, 0xc7, 0xce, 0x79, 0x63, 0xbc, 0x6f, 0x83, 0x5f, 0xe2, 0x3, 0x56, 0xcc, 0x5, 0x2f, 0x85, 0xda, 0x7e, 0xea, 0xf5, 0xd2, 0xac, 0x19, 0xd4, 0xd8, 0x5e, 0xdd, 0xed, 0xe2, 0xa9, 0x97}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -173,7 +174,7 @@ func _1694692748_add_raw_balance_to_token_balancesUpSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "1694692748_add_raw_balance_to_token_balances.up.sql", size: 165, mode: os.FileMode(0644), modTime: time.Unix(1698231578, 0)}
|
info := bindataFileInfo{name: "1694692748_add_raw_balance_to_token_balances.up.sql", size: 165, mode: os.FileMode(0644), modTime: time.Unix(1697205306, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xd4, 0xe0, 0x5b, 0x42, 0xf0, 0x96, 0xa5, 0xf5, 0xed, 0xc0, 0x97, 0x88, 0xb0, 0x6d, 0xfe, 0x7d, 0x97, 0x2e, 0x17, 0xd2, 0x16, 0xbc, 0x2a, 0xf2, 0xcc, 0x67, 0x9e, 0xc5, 0x47, 0xf6, 0x69, 0x1}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xd4, 0xe0, 0x5b, 0x42, 0xf0, 0x96, 0xa5, 0xf5, 0xed, 0xc0, 0x97, 0x88, 0xb0, 0x6d, 0xfe, 0x7d, 0x97, 0x2e, 0x17, 0xd2, 0x16, 0xbc, 0x2a, 0xf2, 0xcc, 0x67, 0x9e, 0xc5, 0x47, 0xf6, 0x69, 0x1}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -193,7 +194,7 @@ func _1695133989_add_community_id_to_collectibles_and_collections_data_cacheUpSq
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "1695133989_add_community_id_to_collectibles_and_collections_data_cache.up.sql", size: 275, mode: os.FileMode(0644), modTime: time.Unix(1698231578, 0)}
|
info := bindataFileInfo{name: "1695133989_add_community_id_to_collectibles_and_collections_data_cache.up.sql", size: 275, mode: os.FileMode(0644), modTime: time.Unix(1697205306, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xfa, 0x2, 0xa, 0x7f, 0x4b, 0xd1, 0x3, 0xd0, 0x3, 0x29, 0x84, 0x31, 0xed, 0x49, 0x4f, 0xb1, 0x2d, 0xd7, 0x80, 0x41, 0x5b, 0xfa, 0x6, 0xae, 0xb4, 0xf6, 0x6b, 0x49, 0xee, 0x57, 0x33, 0x76}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xfa, 0x2, 0xa, 0x7f, 0x4b, 0xd1, 0x3, 0xd0, 0x3, 0x29, 0x84, 0x31, 0xed, 0x49, 0x4f, 0xb1, 0x2d, 0xd7, 0x80, 0x41, 0x5b, 0xfa, 0x6, 0xae, 0xb4, 0xf6, 0x6b, 0x49, 0xee, 0x57, 0x33, 0x76}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -213,7 +214,7 @@ func _1695932536_balance_history_v2UpSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "1695932536_balance_history_v2.up.sql", size: 653, mode: os.FileMode(0644), modTime: time.Unix(1698231578, 0)}
|
info := bindataFileInfo{name: "1695932536_balance_history_v2.up.sql", size: 653, mode: os.FileMode(0644), modTime: time.Unix(1697205306, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x37, 0xf4, 0x14, 0x91, 0xf6, 0x5f, 0xc4, 0x9b, 0xb7, 0x83, 0x32, 0x72, 0xbe, 0x82, 0x42, 0x39, 0xa4, 0x3b, 0xc9, 0x78, 0x3d, 0xca, 0xd4, 0xbf, 0xfc, 0x7a, 0x33, 0x1e, 0xcd, 0x9e, 0xe4, 0x85}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x37, 0xf4, 0x14, 0x91, 0xf6, 0x5f, 0xc4, 0x9b, 0xb7, 0x83, 0x32, 0x72, 0xbe, 0x82, 0x42, 0x39, 0xa4, 0x3b, 0xc9, 0x78, 0x3d, 0xca, 0xd4, 0xbf, 0xfc, 0x7a, 0x33, 0x1e, 0xcd, 0x9e, 0xe4, 0x85}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -233,7 +234,7 @@ func _1696853635_input_dataUpSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "1696853635_input_data.up.sql", size: 23140, mode: os.FileMode(0644), modTime: time.Unix(1698231578, 0)}
|
info := bindataFileInfo{name: "1696853635_input_data.up.sql", size: 23140, mode: os.FileMode(0644), modTime: time.Unix(1698107690, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x89, 0x30, 0x33, 0x33, 0x55, 0xc5, 0x57, 0x2b, 0xaf, 0xef, 0x3d, 0x8d, 0x2a, 0xaa, 0x5c, 0x32, 0xd1, 0xf4, 0xd, 0x4a, 0xd0, 0x33, 0x4a, 0xe8, 0xf6, 0x8, 0x6b, 0x65, 0xcc, 0xba, 0xed, 0x42}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x89, 0x30, 0x33, 0x33, 0x55, 0xc5, 0x57, 0x2b, 0xaf, 0xef, 0x3d, 0x8d, 0x2a, 0xaa, 0x5c, 0x32, 0xd1, 0xf4, 0xd, 0x4a, 0xd0, 0x33, 0x4a, 0xe8, 0xf6, 0x8, 0x6b, 0x65, 0xcc, 0xba, 0xed, 0x42}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -253,7 +254,7 @@ func _1698117918_add_community_id_to_tokensUpSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "1698117918_add_community_id_to_tokens.up.sql", size: 61, mode: os.FileMode(0644), modTime: time.Unix(1698663299, 0)}
|
info := bindataFileInfo{name: "1698117918_add_community_id_to_tokens.up.sql", size: 61, mode: os.FileMode(0644), modTime: time.Unix(1698344993, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xb3, 0x82, 0xdb, 0xde, 0x3, 0x3, 0xc, 0x67, 0xf3, 0x54, 0xc4, 0xad, 0xd6, 0xce, 0x56, 0xfb, 0xc1, 0x87, 0xd7, 0xda, 0xab, 0xec, 0x1, 0xe1, 0x7d, 0xb3, 0x63, 0xd6, 0xe5, 0x5d, 0x1c, 0x15}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xb3, 0x82, 0xdb, 0xde, 0x3, 0x3, 0xc, 0x67, 0xf3, 0x54, 0xc4, 0xad, 0xd6, 0xce, 0x56, 0xfb, 0xc1, 0x87, 0xd7, 0xda, 0xab, 0xec, 0x1, 0xe1, 0x7d, 0xb3, 0x63, 0xd6, 0xe5, 0x5d, 0x1c, 0x15}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -273,7 +274,7 @@ func _1698257443_add_community_metadata_to_wallet_dbUpSql() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "1698257443_add_community_metadata_to_wallet_db.up.sql", size: 323, mode: os.FileMode(0644), modTime: time.Unix(1698663299, 0)}
|
info := bindataFileInfo{name: "1698257443_add_community_metadata_to_wallet_db.up.sql", size: 323, mode: os.FileMode(0644), modTime: time.Unix(1698415067, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x22, 0xd3, 0x4, 0x25, 0xfa, 0x23, 0x1, 0x48, 0x83, 0x26, 0x20, 0xf2, 0x3d, 0xbc, 0xc1, 0xa7, 0x7c, 0x27, 0x7c, 0x1d, 0x63, 0x3, 0xa, 0xd0, 0xce, 0x47, 0x86, 0xdc, 0xa1, 0x3c, 0x2, 0x1c}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x22, 0xd3, 0x4, 0x25, 0xfa, 0x23, 0x1, 0x48, 0x83, 0x26, 0x20, 0xf2, 0x3d, 0xbc, 0xc1, 0xa7, 0x7c, 0x27, 0x7c, 0x1d, 0x63, 0x3, 0xa, 0xd0, 0xce, 0x47, 0x86, 0xdc, 0xa1, 0x3c, 0x2, 0x1c}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -293,7 +294,7 @@ func docGo() (*asset, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "doc.go", size: 74, mode: os.FileMode(0644), modTime: time.Unix(1694623803, 0)}
|
info := bindataFileInfo{name: "doc.go", size: 74, mode: os.FileMode(0644), modTime: time.Unix(1694703777, 0)}
|
||||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xde, 0x7c, 0x28, 0xcd, 0x47, 0xf2, 0xfa, 0x7c, 0x51, 0x2d, 0xd8, 0x38, 0xb, 0xb0, 0x34, 0x9d, 0x4c, 0x62, 0xa, 0x9e, 0x28, 0xc3, 0x31, 0x23, 0xd9, 0xbb, 0x89, 0x9f, 0xa0, 0x89, 0x1f, 0xe8}}
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xde, 0x7c, 0x28, 0xcd, 0x47, 0xf2, 0xfa, 0x7c, 0x51, 0x2d, 0xd8, 0x38, 0xb, 0xb0, 0x34, 0x9d, 0x4c, 0x62, 0xa, 0x9e, 0x28, 0xc3, 0x31, 0x23, 0xd9, 0xbb, 0x89, 0x9f, 0xa0, 0x89, 0x1f, 0xe8}}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
@ -389,33 +390,38 @@ func AssetNames() []string {
|
||||||
|
|
||||||
// _bindata is a table, holding each asset generator, mapped to its name.
|
// _bindata is a table, holding each asset generator, mapped to its name.
|
||||||
var _bindata = map[string]func() (*asset, error){
|
var _bindata = map[string]func() (*asset, error){
|
||||||
"1691753758_initial.up.sql": _1691753758_initialUpSql,
|
"1691753758_initial.up.sql": _1691753758_initialUpSql,
|
||||||
"1692701329_add_collectibles_and_collections_data_cache.up.sql": _1692701329_add_collectibles_and_collections_data_cacheUpSql,
|
|
||||||
"1692701339_add_scope_to_pending.up.sql": _1692701339_add_scope_to_pendingUpSql,
|
"1692701329_add_collectibles_and_collections_data_cache.up.sql": _1692701329_add_collectibles_and_collections_data_cacheUpSql,
|
||||||
"1694540071_add_collectibles_ownership_update_timestamp.up.sql": _1694540071_add_collectibles_ownership_update_timestampUpSql,
|
|
||||||
"1694692748_add_raw_balance_to_token_balances.up.sql": _1694692748_add_raw_balance_to_token_balancesUpSql,
|
"1692701339_add_scope_to_pending.up.sql": _1692701339_add_scope_to_pendingUpSql,
|
||||||
|
|
||||||
|
"1694540071_add_collectibles_ownership_update_timestamp.up.sql": _1694540071_add_collectibles_ownership_update_timestampUpSql,
|
||||||
|
|
||||||
|
"1694692748_add_raw_balance_to_token_balances.up.sql": _1694692748_add_raw_balance_to_token_balancesUpSql,
|
||||||
|
|
||||||
"1695133989_add_community_id_to_collectibles_and_collections_data_cache.up.sql": _1695133989_add_community_id_to_collectibles_and_collections_data_cacheUpSql,
|
"1695133989_add_community_id_to_collectibles_and_collections_data_cache.up.sql": _1695133989_add_community_id_to_collectibles_and_collections_data_cacheUpSql,
|
||||||
"1695932536_balance_history_v2.up.sql": _1695932536_balance_history_v2UpSql,
|
|
||||||
"1696853635_input_data.up.sql": _1696853635_input_dataUpSql,
|
"1695932536_balance_history_v2.up.sql": _1695932536_balance_history_v2UpSql,
|
||||||
"1698117918_add_community_id_to_tokens.up.sql": _1698117918_add_community_id_to_tokensUpSql,
|
|
||||||
"1698257443_add_community_metadata_to_wallet_db.up.sql": _1698257443_add_community_metadata_to_wallet_dbUpSql,
|
"1696853635_input_data.up.sql": _1696853635_input_dataUpSql,
|
||||||
|
|
||||||
|
"1698117918_add_community_id_to_tokens.up.sql": _1698117918_add_community_id_to_tokensUpSql,
|
||||||
|
|
||||||
|
"1698257443_add_community_metadata_to_wallet_db.up.sql": _1698257443_add_community_metadata_to_wallet_dbUpSql,
|
||||||
|
|
||||||
"doc.go": docGo,
|
"doc.go": docGo,
|
||||||
}
|
}
|
||||||
|
|
||||||
// AssetDebug is true if the assets were built with the debug flag enabled.
|
|
||||||
const AssetDebug = false
|
|
||||||
|
|
||||||
// AssetDir returns the file names below a certain
|
// AssetDir returns the file names below a certain
|
||||||
// directory embedded in the file by go-bindata.
|
// directory embedded in the file by go-bindata.
|
||||||
// For example if you run go-bindata on data/... and data contains the
|
// For example if you run go-bindata on data/... and data contains the
|
||||||
// following hierarchy:
|
// following hierarchy:
|
||||||
//
|
// data/
|
||||||
// data/
|
// foo.txt
|
||||||
// foo.txt
|
// img/
|
||||||
// img/
|
// a.png
|
||||||
// a.png
|
// b.png
|
||||||
// b.png
|
|
||||||
//
|
|
||||||
// then AssetDir("data") would return []string{"foo.txt", "img"},
|
// then AssetDir("data") would return []string{"foo.txt", "img"},
|
||||||
// AssetDir("data/img") would return []string{"a.png", "b.png"},
|
// AssetDir("data/img") would return []string{"a.png", "b.png"},
|
||||||
// AssetDir("foo.txt") and AssetDir("notexist") would return an error, and
|
// AssetDir("foo.txt") and AssetDir("notexist") would return an error, and
|
||||||
|
@ -448,17 +454,17 @@ type bintree struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
var _bintree = &bintree{nil, map[string]*bintree{
|
var _bintree = &bintree{nil, map[string]*bintree{
|
||||||
"1691753758_initial.up.sql": {_1691753758_initialUpSql, map[string]*bintree{}},
|
"1691753758_initial.up.sql": &bintree{_1691753758_initialUpSql, map[string]*bintree{}},
|
||||||
"1692701329_add_collectibles_and_collections_data_cache.up.sql": {_1692701329_add_collectibles_and_collections_data_cacheUpSql, map[string]*bintree{}},
|
"1692701329_add_collectibles_and_collections_data_cache.up.sql": &bintree{_1692701329_add_collectibles_and_collections_data_cacheUpSql, map[string]*bintree{}},
|
||||||
"1692701339_add_scope_to_pending.up.sql": {_1692701339_add_scope_to_pendingUpSql, map[string]*bintree{}},
|
"1692701339_add_scope_to_pending.up.sql": &bintree{_1692701339_add_scope_to_pendingUpSql, map[string]*bintree{}},
|
||||||
"1694540071_add_collectibles_ownership_update_timestamp.up.sql": {_1694540071_add_collectibles_ownership_update_timestampUpSql, map[string]*bintree{}},
|
"1694540071_add_collectibles_ownership_update_timestamp.up.sql": &bintree{_1694540071_add_collectibles_ownership_update_timestampUpSql, map[string]*bintree{}},
|
||||||
"1694692748_add_raw_balance_to_token_balances.up.sql": {_1694692748_add_raw_balance_to_token_balancesUpSql, map[string]*bintree{}},
|
"1694692748_add_raw_balance_to_token_balances.up.sql": &bintree{_1694692748_add_raw_balance_to_token_balancesUpSql, map[string]*bintree{}},
|
||||||
"1695133989_add_community_id_to_collectibles_and_collections_data_cache.up.sql": {_1695133989_add_community_id_to_collectibles_and_collections_data_cacheUpSql, map[string]*bintree{}},
|
"1695133989_add_community_id_to_collectibles_and_collections_data_cache.up.sql": &bintree{_1695133989_add_community_id_to_collectibles_and_collections_data_cacheUpSql, map[string]*bintree{}},
|
||||||
"1695932536_balance_history_v2.up.sql": {_1695932536_balance_history_v2UpSql, map[string]*bintree{}},
|
"1695932536_balance_history_v2.up.sql": &bintree{_1695932536_balance_history_v2UpSql, map[string]*bintree{}},
|
||||||
"1696853635_input_data.up.sql": {_1696853635_input_dataUpSql, map[string]*bintree{}},
|
"1696853635_input_data.up.sql": &bintree{_1696853635_input_dataUpSql, map[string]*bintree{}},
|
||||||
"1698117918_add_community_id_to_tokens.up.sql": {_1698117918_add_community_id_to_tokensUpSql, map[string]*bintree{}},
|
"1698117918_add_community_id_to_tokens.up.sql": &bintree{_1698117918_add_community_id_to_tokensUpSql, map[string]*bintree{}},
|
||||||
"1698257443_add_community_metadata_to_wallet_db.up.sql": {_1698257443_add_community_metadata_to_wallet_dbUpSql, map[string]*bintree{}},
|
"1698257443_add_community_metadata_to_wallet_db.up.sql": &bintree{_1698257443_add_community_metadata_to_wallet_dbUpSql, map[string]*bintree{}},
|
||||||
"doc.go": {docGo, map[string]*bintree{}},
|
"doc.go": &bintree{docGo, map[string]*bintree{}},
|
||||||
}}
|
}}
|
||||||
|
|
||||||
// RestoreAsset restores an asset under the given directory.
|
// RestoreAsset restores an asset under the given directory.
|
||||||
|
@ -475,7 +481,7 @@ func RestoreAsset(dir, name string) error {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
err = os.WriteFile(_filePath(dir, name), data, info.Mode())
|
err = ioutil.WriteFile(_filePath(dir, name), data, info.Mode())
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue