From aded258ccb68f88dc995e22f8b4e06157bb642db Mon Sep 17 00:00:00 2001 From: Igor Sirotin Date: Fri, 13 Oct 2023 13:25:34 +0100 Subject: [PATCH] feature: Unfurl status links (#4033) --- VERSION | 2 +- appdatabase/migrations/bindata.go | 918 ++++++++++-------- appdatabase/migrationsprevnodecfg/bindata.go | 569 ++++++----- mailserver/migrations/bindata.go | 6 +- multiaccounts/migrations/bindata.go | 26 +- protocol/anonmetrics/migrations/migrations.go | 6 +- protocol/common/media_server_image_id.go | 28 + protocol/common/message.go | 120 +-- protocol/common/message_linkpreview.go | 470 +++++++++ protocol/common/message_test.go | 335 ++++++- protocol/encryption/migrations/migrations.go | 40 +- .../unfurler.go => linkpreview_unfurler.go} | 8 +- ...urler.go => linkpreview_unfurler_image.go} | 4 +- ...rler.go => linkpreview_unfurler_oembed.go} | 4 +- ...r.go => linkpreview_unfurler_opengraph.go} | 4 +- protocol/linkpreview_unfurler_status.go | 186 ++++ protocol/message_persistence.go | 31 +- protocol/messenger.go | 8 + protocol/messenger_edit_message_test.go | 29 +- protocol/messenger_linkpreview.go | 52 +- protocol/messenger_linkpreview_test.go | 197 +++- protocol/messenger_messages.go | 12 + protocol/messenger_share_urls.go | 35 +- protocol/messenger_share_urls_test.go | 3 +- protocol/messenger_test.go | 64 +- protocol/migrations/migrations.go | 236 +++-- ...1695331492_add_status_link_previews.up.sql | 2 + protocol/protobuf/chat_message.pb.go | 671 +++++++++++-- protocol/protobuf/chat_message.proto | 49 + protocol/protobuf/sync_settings.pb.go | 66 +- .../migrations/migrations.go | 14 +- .../migrations/migrations.go | 10 +- protocol/requests/edit_message.go | 9 +- protocol/transport/migrations/migrations.go | 12 +- server/handlers.go | 86 +- server/handlers_linkpreview.go | 209 ++++ server/handlers_test.go | 513 +++++++++- server/server_media.go | 29 +- server/server_test.go | 11 + services/ext/api.go | 2 +- static/bindata.go | 42 +- t/bindata.go | 6 +- walletdatabase/migrations/bindata.go | 66 +- 43 files changed, 3854 insertions(+), 1336 deletions(-) create mode 100644 protocol/common/media_server_image_id.go create mode 100644 protocol/common/message_linkpreview.go rename protocol/{linkpreview/unfurlers/unfurler.go => linkpreview_unfurler.go} (92%) rename protocol/{linkpreview/unfurlers/image_unfurler.go => linkpreview_unfurler_image.go} (97%) rename protocol/{linkpreview/unfurlers/oembed_unfurler.go => linkpreview_unfurler_oembed.go} (96%) rename protocol/{linkpreview/unfurlers/opengraph_unfurler.go => linkpreview_unfurler_opengraph.go} (97%) create mode 100644 protocol/linkpreview_unfurler_status.go create mode 100644 protocol/migrations/sqlite/1695331492_add_status_link_previews.up.sql create mode 100644 server/handlers_linkpreview.go diff --git a/VERSION b/VERSION index fb48c88f1..35852a7ab 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.169.0 +0.170.0 diff --git a/appdatabase/migrations/bindata.go b/appdatabase/migrations/bindata.go index 4045bc2a6..b9fe02e50 100644 --- a/appdatabase/migrations/bindata.go +++ b/appdatabase/migrations/bindata.go @@ -1,105 +1,105 @@ -// Code generated by go-bindata. +// Code generated by go-bindata. DO NOT EDIT. // sources: -// 1640111208_dummy.up.sql -// 1642666031_add_removed_clock_to_bookmarks.up.sql -// 1643644541_gif_api_key_setting.up.sql -// 1644188994_recent_stickers.up.sql -// 1646659233_add_address_to_dapp_permisssion.up.sql -// 1646841105_add_emoji_account.up.sql -// 1647278782_display_name.up.sql -// 1647862838_reset_last_backup.up.sql -// 1647871652_add_settings_sync_clock_table.up.sql -// 1647880168_add_torrent_config.up.sql -// 1647882837_add_communities_settings_table.up.sql -// 1647956635_add_waku_messages_table.up.sql -// 1648554928_network_test.up.sql -// 1649174829_add_visitble_token.up.sql -// 1649882262_add_derived_from_accounts.up.sql -// 1650612625_add_community_message_archive_hashes_table.up.sql -// 1650616788_add_communities_archives_info_table.up.sql -// 1652715604_add_clock_accounts.up.sql -// 1653037334_add_notifications_settings_table.up.sql -// 1654702119_add_mutual_contact_settings.up.sql -// 1655375270_add_clock_field_to_communities_settings_table.up.sql -// 1655385721_drop_networks_config.up.sql -// 1655385724_networks_chainColor_shortName.up.sql -// 1655456688_add_deleted_at_field_to_bookmarks_table.up.sql -// 1655462032_create_bookmarks_deleted_at_index.up.sql -// 1657617291_add_multi_transactions_table.up.sql -// 1660134042_add_social_links_settings_table.up.sql -// 1660134060_settings_bio.up.sql -// 1660134070_add_wakuv2_store.up.sql -// 1660134072_waku2_store_messages.up.sql -// 1662365868_add_key_uid_accounts.up.sql -// 1662447680_add_keypairs_table.up.sql -// 1662460056_move_favourites_to_saved_addresses.up.sql -// 1662738097_add_base_fee_transaction.up.sql -// 1662972194_add_keypairs_table.up.sql -// 1664392661_add_third_party_id_to_waku_messages.up.sql -// 1664783660_add_sync_info_to_saved_addresses.up.sql -// 1668109917_wakunodes.up.sql -// 1670249678_display_name_to_settings_sync_clock_table.up.sql -// 1670836810_add_imported_flag_to_community_archive_hashes.up.sql -// 1671438731_add_magnetlink_uri_to_communities_archive_info.up.sql -// 1672933930_switcher_card.up.sql -// 1674056187_add_price_cache.up.sql -// 1674136690_ens_usernames.up.sql -// 1674232431_add_balance_history.up.sql -// 1676368933_keypairs_to_keycards.up.sql -// 1676951398_add_currency_format_cache.up.sql -// 1676968196_keycards_add_clock_column.up.sql -// 1676968197_add_fallback_rpc_to_networks.up.sql -// 1677674090_add_chains_ens_istest_to_saved_addresses.up.sql -// 1677681143_accounts_table_type_column_update.up.sql -// 1678264207_accounts_table_new_columns_added.up.sql -// 1680770368_add_bio_to_settings_sync_clock_table.up.sql -// 1681110436_add_mnemonic_to_settings_sync_clock_table.up.sql -// 1681392602_9d_sync_period.up.sql -// 1681762078_default_sync_period_9d.up.sql -// 1681780680_add_clock_to_social_links_settings.up.sql -// 1682073779_settings_table_remove_latest_derived_path_column.up.sql -// 1682146075_add_created_at_to_saved_addresses.up.sql -// 1682393575_sync_ens_name.up.sql -// 1683457503_add_blocks_ranges_sequential_table.up.sql -// 1683627613_accounts_and_keycards_improvements.up.sql -// 1685041348_settings_table_add_latest_derived_path_column.up.sql -// 1685440989_update_color_id_accounts.up.sql -// 1685463947_add_to_asset_to_multitransaction.up.sql -// 1685880973_add_profile_links_settings_table.up.sql -// 1686041510_add_idx_transfers_blkno_loaded.up.sql -// 1686048341_transfers_receipt_json_blob_out.up.sql.down.sql -// 1686048341_transfers_receipt_json_blob_out.up.sql.up.sql -// 1686825075_cleanup_token_address.up.sql -// 1687193315_transfers_extract_from_to_address.down.sql -// 1687193315_transfers_extract_from_to_address.up.sql -// 1687249080_add_position_accounts.up..sql -// 1687269871_add_device_name.up.sql -// 1687506642_include_watch_only_account_setting.up.sql -// 1688022264_add_include_watch_only_account_to_settings_sync_clock.up.sql -// 1688054680_add_columns_to_multitransaction.up.sql -// 1688636552_keycards_table_columns_update.up.sql -// 1689248269_add_related_chain_id_networks.up.sql -// 1689340211_index_filter_columns.up.sql -// 1689498471_make_wallet_accounts_positions_non_negative.up.sql -// 1689856991_add_soft_remove_column_for_keypairs_and_accounts.up.sql -// 1690225863_add_collectibles_ownership_cache.up.sql -// 1690734354_add_preferred_chain_ids.up.sql -// 1691173699_add_collectibles_and_collections_data_cache.up.sql -// 1691753758_move_wallet_tables_to_wallet_db.up.sql -// 1691753800_pubsubtopic_key.up.sql -// 1693900971_add_profile_migration_needed_column_to_settings_table.up.sql -// 1694764094_add_original_to_networks.up.sql -// 1695974515_add_is_sepolia_enabled_to_settings.up.sql -// 1697123140_drop_include_watch_only_accounts.up.sql -// 1697123233_drop_include_watch_only_account_to_settings_sync_clock.up.sql -// doc.go -// DO NOT EDIT! +// 1640111208_dummy.up.sql (258B) +// 1642666031_add_removed_clock_to_bookmarks.up.sql (117B) +// 1643644541_gif_api_key_setting.up.sql (108B) +// 1644188994_recent_stickers.up.sql (79B) +// 1646659233_add_address_to_dapp_permisssion.up.sql (700B) +// 1646841105_add_emoji_account.up.sql (96B) +// 1647278782_display_name.up.sql (110B) +// 1647862838_reset_last_backup.up.sql (37B) +// 1647871652_add_settings_sync_clock_table.up.sql (1.044kB) +// 1647880168_add_torrent_config.up.sql (211B) +// 1647882837_add_communities_settings_table.up.sql (206B) +// 1647956635_add_waku_messages_table.up.sql (266B) +// 1648554928_network_test.up.sql (132B) +// 1649174829_add_visitble_token.up.sql (84B) +// 1649882262_add_derived_from_accounts.up.sql (110B) +// 1650612625_add_community_message_archive_hashes_table.up.sql (130B) +// 1650616788_add_communities_archives_info_table.up.sql (208B) +// 1652715604_add_clock_accounts.up.sql (62B) +// 1653037334_add_notifications_settings_table.up.sql (1.276kB) +// 1654702119_add_mutual_contact_settings.up.sql (78B) +// 1655375270_add_clock_field_to_communities_settings_table.up.sql (74B) +// 1655385721_drop_networks_config.up.sql (27B) +// 1655385724_networks_chainColor_shortName.up.sql (220B) +// 1655456688_add_deleted_at_field_to_bookmarks_table.up.sql (69B) +// 1655462032_create_bookmarks_deleted_at_index.up.sql (81B) +// 1657617291_add_multi_transactions_table.up.sql (412B) +// 1660134042_add_social_links_settings_table.up.sql (334B) +// 1660134060_settings_bio.up.sql (91B) +// 1660134070_add_wakuv2_store.up.sql (269B) +// 1660134072_waku2_store_messages.up.sql (497B) +// 1662365868_add_key_uid_accounts.up.sql (68B) +// 1662447680_add_keypairs_table.up.sql (218B) +// 1662460056_move_favourites_to_saved_addresses.up.sql (233B) +// 1662738097_add_base_fee_transaction.up.sql (112B) +// 1662972194_add_keypairs_table.up.sql (345B) +// 1664392661_add_third_party_id_to_waku_messages.up.sql (70B) +// 1664783660_add_sync_info_to_saved_addresses.up.sql (388B) +// 1668109917_wakunodes.up.sql (99B) +// 1670249678_display_name_to_settings_sync_clock_table.up.sql (83B) +// 1670836810_add_imported_flag_to_community_archive_hashes.up.sql (144B) +// 1671438731_add_magnetlink_uri_to_communities_archive_info.up.sql (86B) +// 1672933930_switcher_card.up.sql (162B) +// 1674056187_add_price_cache.up.sql (255B) +// 1674136690_ens_usernames.up.sql (98B) +// 1674232431_add_balance_history.up.sql (698B) +// 1676368933_keypairs_to_keycards.up.sql (639B) +// 1676951398_add_currency_format_cache.up.sql (291B) +// 1676968196_keycards_add_clock_column.up.sql (73B) +// 1676968197_add_fallback_rpc_to_networks.up.sql (112B) +// 1677674090_add_chains_ens_istest_to_saved_addresses.up.sql (638B) +// 1677681143_accounts_table_type_column_update.up.sql (135B) +// 1678264207_accounts_table_new_columns_added.up.sql (130B) +// 1680770368_add_bio_to_settings_sync_clock_table.up.sql (75B) +// 1681110436_add_mnemonic_to_settings_sync_clock_table.up.sql (311B) +// 1681392602_9d_sync_period.up.sql (60B) +// 1681762078_default_sync_period_9d.up.sql (3.002kB) +// 1681780680_add_clock_to_social_links_settings.up.sql (137B) +// 1682073779_settings_table_remove_latest_derived_path_column.up.sql (4.47kB) +// 1682146075_add_created_at_to_saved_addresses.up.sql (107B) +// 1682393575_sync_ens_name.up.sql (713B) +// 1683457503_add_blocks_ranges_sequential_table.up.sql (263B) +// 1683627613_accounts_and_keycards_improvements.up.sql (3.64kB) +// 1685041348_settings_table_add_latest_derived_path_column.up.sql (115B) +// 1685440989_update_color_id_accounts.up.sql (918B) +// 1685463947_add_to_asset_to_multitransaction.up.sql (61B) +// 1685880973_add_profile_links_settings_table.up.sql (1.656kB) +// 1686041510_add_idx_transfers_blkno_loaded.up.sql (71B) +// 1686048341_transfers_receipt_json_blob_out.up.sql.down.sql (104B) +// 1686048341_transfers_receipt_json_blob_out.up.sql.up.sql (1.5kB) +// 1686825075_cleanup_token_address.up.sql (273B) +// 1687193315_transfers_extract_from_to_address.down.sql (104B) +// 1687193315_transfers_extract_from_to_address.up.sql (499B) +// 1687249080_add_position_accounts.up..sql (2.053kB) +// 1687269871_add_device_name.up.sql (108B) +// 1687506642_include_watch_only_account_setting.up.sql (81B) +// 1688022264_add_include_watch_only_account_to_settings_sync_clock.up.sql (98B) +// 1688054680_add_columns_to_multitransaction.up.sql (342B) +// 1688636552_keycards_table_columns_update.up.sql (1.051kB) +// 1689248269_add_related_chain_id_networks.up.sql (66B) +// 1689340211_index_filter_columns.up.sql (633B) +// 1689498471_make_wallet_accounts_positions_non_negative.up.sql (1.617kB) +// 1689856991_add_soft_remove_column_for_keypairs_and_accounts.up.sql (284B) +// 1690225863_add_collectibles_ownership_cache.up.sql (327B) +// 1690734354_add_preferred_chain_ids.up.sql (189B) +// 1691173699_add_collectibles_and_collections_data_cache.up.sql (1.811kB) +// 1691753758_move_wallet_tables_to_wallet_db.up.sql (603B) +// 1691753800_pubsubtopic_key.up.sql (767B) +// 1693900971_add_profile_migration_needed_column_to_settings_table.up.sql (88B) +// 1694764094_add_original_to_networks.up.sql (120B) +// 1695974515_add_is_sepolia_enabled_to_settings.up.sql (82B) +// 1697123140_drop_include_watch_only_accounts.up.sql (61B) +// 1697123233_drop_include_watch_only_account_to_settings_sync_clock.up.sql (72B) +// doc.go (74B) package migrations import ( "bytes" "compress/gzip" + "crypto/sha256" "fmt" "io" "io/ioutil" @@ -112,7 +112,7 @@ import ( func bindataRead(data []byte, name string) ([]byte, error) { gz, err := gzip.NewReader(bytes.NewBuffer(data)) if err != nil { - return nil, fmt.Errorf("Read %q: %v", name, err) + return nil, fmt.Errorf("read %q: %v", name, err) } var buf bytes.Buffer @@ -120,7 +120,7 @@ func bindataRead(data []byte, name string) ([]byte, error) { clErr := gz.Close() if err != nil { - return nil, fmt.Errorf("Read %q: %v", name, err) + return nil, fmt.Errorf("read %q: %v", name, err) } if clErr != nil { return nil, err @@ -130,8 +130,9 @@ func bindataRead(data []byte, name string) ([]byte, error) { } type asset struct { - bytes []byte - info os.FileInfo + bytes []byte + info os.FileInfo + digest [sha256.Size]byte } type bindataFileInfo struct { @@ -175,8 +176,8 @@ func _1640111208_dummyUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1640111208_dummy.up.sql", size: 258, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1640111208_dummy.up.sql", size: 258, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x3e, 0xf0, 0xae, 0x20, 0x6e, 0x75, 0xd1, 0x36, 0x14, 0xf2, 0x40, 0xe5, 0xd6, 0x7a, 0xc4, 0xa5, 0x72, 0xaa, 0xb5, 0x4d, 0x71, 0x97, 0xb8, 0xe8, 0x95, 0x22, 0x95, 0xa2, 0xac, 0xaf, 0x48, 0x58}} return a, nil } @@ -195,8 +196,8 @@ func _1642666031_add_removed_clock_to_bookmarksUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1642666031_add_removed_clock_to_bookmarks.up.sql", size: 117, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1642666031_add_removed_clock_to_bookmarks.up.sql", size: 117, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x84, 0x4e, 0x38, 0x99, 0x7a, 0xc, 0x90, 0x13, 0xec, 0xfe, 0x2f, 0x55, 0xff, 0xb7, 0xb6, 0xaa, 0x96, 0xc6, 0x92, 0x79, 0xcc, 0xee, 0x4e, 0x99, 0x53, 0xfe, 0x1c, 0xbb, 0x32, 0x2, 0xa4, 0x27}} return a, nil } @@ -215,8 +216,8 @@ func _1643644541_gif_api_key_settingUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1643644541_gif_api_key_setting.up.sql", size: 108, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1643644541_gif_api_key_setting.up.sql", size: 108, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x1b, 0x94, 0x28, 0xfb, 0x66, 0xd1, 0x7c, 0xb8, 0x89, 0xe2, 0xb4, 0x71, 0x65, 0x24, 0x57, 0x22, 0x95, 0x38, 0x97, 0x3, 0x9b, 0xc6, 0xa4, 0x41, 0x7b, 0xba, 0xf7, 0xdb, 0x70, 0xf7, 0x20, 0x3a}} return a, nil } @@ -235,8 +236,8 @@ func _1644188994_recent_stickersUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1644188994_recent_stickers.up.sql", size: 79, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1644188994_recent_stickers.up.sql", size: 79, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x1e, 0xad, 0xaa, 0x30, 0xbf, 0x4, 0x7, 0xf8, 0xc3, 0x3, 0xb8, 0x97, 0x23, 0x2b, 0xbd, 0x1c, 0x60, 0x69, 0xb0, 0x42, 0x5e, 0x6b, 0xd, 0xa7, 0xa3, 0x6b, 0x2e, 0xdc, 0x70, 0x13, 0x72, 0x7}} return a, nil } @@ -255,8 +256,8 @@ func _1646659233_add_address_to_dapp_permisssionUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1646659233_add_address_to_dapp_permisssion.up.sql", size: 700, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1646659233_add_address_to_dapp_permisssion.up.sql", size: 700, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xed, 0xb0, 0x35, 0xcc, 0x2e, 0x16, 0xe6, 0x15, 0x86, 0x2c, 0x37, 0x80, 0xae, 0xa3, 0xc5, 0x31, 0x78, 0x5, 0x9d, 0xcd, 0x7b, 0xeb, 0x5f, 0xf2, 0xb3, 0x74, 0x72, 0xdf, 0xcf, 0x88, 0xb, 0x40}} return a, nil } @@ -275,8 +276,8 @@ func _1646841105_add_emoji_accountUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1646841105_add_emoji_account.up.sql", size: 96, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1646841105_add_emoji_account.up.sql", size: 96, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xe6, 0x77, 0x29, 0x95, 0x18, 0x64, 0x82, 0x63, 0xe7, 0xaf, 0x6c, 0xa9, 0x15, 0x7d, 0x46, 0xa6, 0xbc, 0xdf, 0xa7, 0xd, 0x2b, 0xd2, 0x2d, 0x97, 0x4d, 0xa, 0x6b, 0xd, 0x6e, 0x90, 0x42, 0x5c}} return a, nil } @@ -295,8 +296,8 @@ func _1647278782_display_nameUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1647278782_display_name.up.sql", size: 110, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1647278782_display_name.up.sql", size: 110, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xf4, 0xa1, 0x1f, 0x3e, 0x61, 0x65, 0x8d, 0xff, 0xee, 0xde, 0xc5, 0x91, 0xd9, 0x5c, 0xb5, 0xe2, 0xf0, 0xb7, 0xe7, 0x5c, 0x5c, 0x16, 0x25, 0x89, 0xee, 0x78, 0x12, 0xea, 0x3e, 0x48, 0x41, 0xa6}} return a, nil } @@ -315,8 +316,8 @@ func _1647862838_reset_last_backupUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1647862838_reset_last_backup.up.sql", size: 37, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1647862838_reset_last_backup.up.sql", size: 37, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x21, 0xe3, 0xd5, 0xf6, 0x5f, 0xfe, 0x65, 0xfa, 0x1d, 0x88, 0xf8, 0x5f, 0x24, 0x71, 0x34, 0x68, 0x96, 0x2a, 0x60, 0x87, 0x15, 0x82, 0x4d, 0x8a, 0x59, 0x3d, 0x1f, 0xd8, 0x56, 0xd4, 0xfb, 0xda}} return a, nil } @@ -335,8 +336,8 @@ func _1647871652_add_settings_sync_clock_tableUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1647871652_add_settings_sync_clock_table.up.sql", size: 1044, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1647871652_add_settings_sync_clock_table.up.sql", size: 1044, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xd8, 0x58, 0xec, 0x85, 0x90, 0xfa, 0x30, 0x98, 0x98, 0x9a, 0xa6, 0xa8, 0x96, 0x2b, 0x38, 0x93, 0xf3, 0xae, 0x46, 0x74, 0xa4, 0x41, 0x62, 0x9b, 0x2, 0x86, 0xbf, 0xe5, 0x2a, 0xce, 0xe2, 0xc0}} return a, nil } @@ -355,8 +356,8 @@ func _1647880168_add_torrent_configUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1647880168_add_torrent_config.up.sql", size: 211, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1647880168_add_torrent_config.up.sql", size: 211, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x1, 0x92, 0x22, 0x37, 0x96, 0xf3, 0xb5, 0x5b, 0x27, 0xd0, 0x7d, 0x43, 0x5, 0x4e, 0x9d, 0xe2, 0x49, 0xbe, 0x86, 0x31, 0xa1, 0x89, 0xff, 0xd6, 0x51, 0xe0, 0x9c, 0xb, 0xda, 0xfc, 0xf2, 0x93}} return a, nil } @@ -375,8 +376,8 @@ func _1647882837_add_communities_settings_tableUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1647882837_add_communities_settings_table.up.sql", size: 206, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1647882837_add_communities_settings_table.up.sql", size: 206, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xbd, 0x87, 0x78, 0x99, 0xd9, 0x5d, 0xbd, 0xf7, 0x57, 0x9c, 0xca, 0x97, 0xbd, 0xb3, 0xe9, 0xb5, 0x89, 0x31, 0x3f, 0xf6, 0x5c, 0x13, 0xb, 0xc3, 0x54, 0x93, 0x18, 0x40, 0x7, 0x82, 0xfe, 0x7e}} return a, nil } @@ -395,8 +396,8 @@ func _1647956635_add_waku_messages_tableUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1647956635_add_waku_messages_table.up.sql", size: 266, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1647956635_add_waku_messages_table.up.sql", size: 266, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xd1, 0xe, 0xe1, 0xdc, 0xda, 0x2e, 0x89, 0x8d, 0xdc, 0x2a, 0x1c, 0x13, 0xa1, 0xfc, 0xfe, 0xf, 0xb2, 0xb9, 0x85, 0xc8, 0x45, 0xd6, 0xd1, 0x7, 0x5c, 0xa3, 0x8, 0x47, 0x44, 0x6d, 0x96, 0xe0}} return a, nil } @@ -415,8 +416,8 @@ func _1648554928_network_testUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1648554928_network_test.up.sql", size: 132, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1648554928_network_test.up.sql", size: 132, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x9a, 0xc5, 0x7f, 0x87, 0xf3, 0x2c, 0xf7, 0xbb, 0xd3, 0x3a, 0x4e, 0x76, 0x88, 0xca, 0xaf, 0x73, 0xce, 0x8f, 0xa1, 0xf6, 0x3d, 0x4d, 0xed, 0x6f, 0x49, 0xf2, 0xfe, 0x56, 0x2a, 0x60, 0x68, 0xca}} return a, nil } @@ -435,8 +436,8 @@ func _1649174829_add_visitble_tokenUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1649174829_add_visitble_token.up.sql", size: 84, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1649174829_add_visitble_token.up.sql", size: 84, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xa3, 0x22, 0xc0, 0x2b, 0x3f, 0x4f, 0x3d, 0x5e, 0x4c, 0x68, 0x7c, 0xd0, 0x15, 0x36, 0x9f, 0xec, 0xa1, 0x2a, 0x7b, 0xb4, 0xe3, 0xc6, 0xc9, 0xb4, 0x81, 0x50, 0x4a, 0x11, 0x3b, 0x35, 0x7, 0xcf}} return a, nil } @@ -455,8 +456,8 @@ func _1649882262_add_derived_from_accountsUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1649882262_add_derived_from_accounts.up.sql", size: 110, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1649882262_add_derived_from_accounts.up.sql", size: 110, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x11, 0xb9, 0x44, 0x4d, 0x85, 0x8d, 0x7f, 0xb4, 0xae, 0x4f, 0x5c, 0x66, 0x64, 0xb6, 0xe2, 0xe, 0x3d, 0xad, 0x9d, 0x8, 0x4f, 0xab, 0x6e, 0xa8, 0x7d, 0x76, 0x3, 0xad, 0x96, 0x1, 0xee, 0x5c}} return a, nil } @@ -475,8 +476,8 @@ func _1650612625_add_community_message_archive_hashes_tableUpSql() (*asset, erro return nil, err } - info := bindataFileInfo{name: "1650612625_add_community_message_archive_hashes_table.up.sql", size: 130, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1650612625_add_community_message_archive_hashes_table.up.sql", size: 130, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x48, 0x31, 0xb3, 0x75, 0x23, 0xe2, 0x45, 0xe, 0x47, 0x1b, 0x35, 0xa5, 0x6e, 0x83, 0x4e, 0x64, 0x7d, 0xd7, 0xa2, 0xda, 0xe9, 0x53, 0xf1, 0x16, 0x86, 0x2c, 0x57, 0xad, 0xfa, 0xca, 0x39, 0xde}} return a, nil } @@ -495,8 +496,8 @@ func _1650616788_add_communities_archives_info_tableUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1650616788_add_communities_archives_info_table.up.sql", size: 208, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1650616788_add_communities_archives_info_table.up.sql", size: 208, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xd1, 0x4f, 0x80, 0x45, 0xb9, 0xd9, 0x15, 0xe2, 0x78, 0xd0, 0xcb, 0x71, 0xc1, 0x1b, 0xb7, 0x1b, 0x1b, 0x97, 0xfe, 0x47, 0x53, 0x3c, 0x62, 0xbc, 0xdd, 0x3a, 0x94, 0x1a, 0xc, 0x48, 0x76, 0xe}} return a, nil } @@ -515,8 +516,8 @@ func _1652715604_add_clock_accountsUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1652715604_add_clock_accounts.up.sql", size: 62, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1652715604_add_clock_accounts.up.sql", size: 62, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xb6, 0xd9, 0x8d, 0x73, 0xc9, 0xef, 0xfa, 0xb1, 0x4b, 0xa5, 0xf3, 0x5, 0x19, 0x26, 0x46, 0xf8, 0x47, 0x93, 0xdb, 0xac, 0x2, 0xef, 0xf9, 0x71, 0x56, 0x83, 0xe6, 0x2d, 0xb0, 0xd7, 0x83, 0x5c}} return a, nil } @@ -535,8 +536,8 @@ func _1653037334_add_notifications_settings_tableUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1653037334_add_notifications_settings_table.up.sql", size: 1276, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1653037334_add_notifications_settings_table.up.sql", size: 1276, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x4b, 0xc4, 0x65, 0xac, 0xa, 0xf2, 0xef, 0xb6, 0x39, 0x3c, 0xc5, 0xb1, 0xb2, 0x9c, 0x86, 0x58, 0xe0, 0x38, 0xcb, 0x57, 0x3c, 0x76, 0x73, 0x87, 0x79, 0x4e, 0xf6, 0xed, 0xb0, 0x8e, 0x9e, 0xa}} return a, nil } @@ -555,8 +556,8 @@ func _1654702119_add_mutual_contact_settingsUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1654702119_add_mutual_contact_settings.up.sql", size: 78, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1654702119_add_mutual_contact_settings.up.sql", size: 78, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x26, 0x66, 0x67, 0x50, 0xfe, 0xd7, 0xe3, 0x29, 0x8b, 0xff, 0x9d, 0x5a, 0x87, 0xa7, 0x99, 0x6e, 0xd6, 0xcd, 0x2e, 0xbb, 0x17, 0xdf, 0x7f, 0xf7, 0xa3, 0xfa, 0x32, 0x7c, 0x2d, 0x92, 0xc8, 0x74}} return a, nil } @@ -575,8 +576,8 @@ func _1655375270_add_clock_field_to_communities_settings_tableUpSql() (*asset, e return nil, err } - info := bindataFileInfo{name: "1655375270_add_clock_field_to_communities_settings_table.up.sql", size: 74, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1655375270_add_clock_field_to_communities_settings_table.up.sql", size: 74, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x19, 0xc5, 0xc0, 0xf9, 0x84, 0x53, 0xdf, 0x83, 0xcf, 0xb6, 0x40, 0x6d, 0xf5, 0xdc, 0x77, 0x37, 0xb7, 0xe3, 0xa, 0x75, 0xe7, 0x6, 0x11, 0xca, 0x2b, 0x51, 0x92, 0xdd, 0x7d, 0xdb, 0xc3, 0xf5}} return a, nil } @@ -595,8 +596,8 @@ func _1655385721_drop_networks_configUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1655385721_drop_networks_config.up.sql", size: 27, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1655385721_drop_networks_config.up.sql", size: 27, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xfc, 0xa7, 0x20, 0xbb, 0x67, 0x21, 0xe, 0xc6, 0xc8, 0x21, 0x74, 0xe0, 0xce, 0xc8, 0xe2, 0x2, 0xb4, 0xea, 0xf0, 0xe5, 0xc4, 0x4d, 0xdd, 0xd4, 0x52, 0x31, 0xa9, 0x3d, 0xcd, 0xd8, 0x9b, 0xab}} return a, nil } @@ -615,8 +616,8 @@ func _1655385724_networks_chaincolor_shortnameUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1655385724_networks_chainColor_shortName.up.sql", size: 220, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1655385724_networks_chainColor_shortName.up.sql", size: 220, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xd9, 0xe7, 0x84, 0xbb, 0x5f, 0xd2, 0x2c, 0x42, 0x88, 0x62, 0x52, 0xb6, 0x58, 0x31, 0xac, 0xc, 0x96, 0x2b, 0x1b, 0xe5, 0x4e, 0x9a, 0x3a, 0xf6, 0xf6, 0xfc, 0xa9, 0x1a, 0x35, 0x62, 0x28, 0x88}} return a, nil } @@ -635,8 +636,8 @@ func _1655456688_add_deleted_at_field_to_bookmarks_tableUpSql() (*asset, error) return nil, err } - info := bindataFileInfo{name: "1655456688_add_deleted_at_field_to_bookmarks_table.up.sql", size: 69, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1655456688_add_deleted_at_field_to_bookmarks_table.up.sql", size: 69, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xe7, 0x9a, 0xbd, 0x9a, 0xc9, 0xf, 0xdf, 0x90, 0x0, 0x5d, 0xea, 0x6e, 0x7d, 0x51, 0x95, 0xcd, 0x90, 0xd3, 0x1a, 0x36, 0x6c, 0xf4, 0xbd, 0xa7, 0x6b, 0xbf, 0xe5, 0xdb, 0xa3, 0x88, 0xe3, 0x50}} return a, nil } @@ -655,8 +656,8 @@ func _1655462032_create_bookmarks_deleted_at_indexUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1655462032_create_bookmarks_deleted_at_index.up.sql", size: 81, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1655462032_create_bookmarks_deleted_at_index.up.sql", size: 81, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xf, 0x8e, 0x20, 0x6b, 0x14, 0x9e, 0xcd, 0x97, 0xd3, 0xfe, 0x62, 0x3, 0x26, 0x59, 0x1, 0x6c, 0x99, 0xef, 0x6d, 0x21, 0xd4, 0xb5, 0xa3, 0xf4, 0x39, 0x40, 0x54, 0x6, 0xd, 0x60, 0x13, 0x38}} return a, nil } @@ -675,8 +676,8 @@ func _1657617291_add_multi_transactions_tableUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1657617291_add_multi_transactions_table.up.sql", size: 412, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1657617291_add_multi_transactions_table.up.sql", size: 412, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x86, 0xb0, 0x4e, 0x8c, 0x4, 0x82, 0xb4, 0x43, 0xaa, 0xd0, 0x16, 0xdd, 0xcb, 0x88, 0x81, 0xac, 0x4, 0x34, 0x1a, 0x8f, 0x2e, 0xc5, 0x69, 0xb, 0xf0, 0x17, 0xf7, 0xe3, 0x9, 0xe, 0x54, 0xe0}} return a, nil } @@ -695,8 +696,8 @@ func _1660134042_add_social_links_settings_tableUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1660134042_add_social_links_settings_table.up.sql", size: 334, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1660134042_add_social_links_settings_table.up.sql", size: 334, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x84, 0x73, 0xb6, 0xe7, 0x3f, 0xaa, 0x39, 0x9a, 0x56, 0x56, 0x31, 0xf1, 0x8e, 0x26, 0x23, 0x1, 0xe4, 0xfa, 0x98, 0xfe, 0x78, 0x87, 0x20, 0xcb, 0x52, 0xf4, 0x38, 0x7f, 0xc4, 0x1c, 0x4, 0x22}} return a, nil } @@ -715,8 +716,8 @@ func _1660134060_settings_bioUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1660134060_settings_bio.up.sql", size: 91, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1660134060_settings_bio.up.sql", size: 91, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x46, 0x25, 0xa0, 0xa6, 0x47, 0xff, 0xbc, 0x2a, 0x0, 0xff, 0x59, 0x4b, 0xb0, 0xc9, 0x4e, 0x15, 0xe4, 0xd9, 0xda, 0xeb, 0xfe, 0x55, 0x98, 0xc3, 0x9d, 0x96, 0xe7, 0xf, 0xd1, 0x5c, 0x93, 0x73}} return a, nil } @@ -735,8 +736,8 @@ func _1660134070_add_wakuv2_storeUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1660134070_add_wakuv2_store.up.sql", size: 269, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1660134070_add_wakuv2_store.up.sql", size: 269, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x1d, 0xe6, 0xc3, 0x9, 0xef, 0xdc, 0xae, 0x49, 0x30, 0x78, 0x54, 0xd6, 0xdb, 0xbf, 0xc0, 0x8e, 0x25, 0x8f, 0xfc, 0x67, 0x80, 0x39, 0x37, 0xd4, 0x86, 0xc1, 0x85, 0xc8, 0x99, 0xc4, 0x59, 0xd4}} return a, nil } @@ -755,8 +756,8 @@ func _1660134072_waku2_store_messagesUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1660134072_waku2_store_messages.up.sql", size: 497, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1660134072_waku2_store_messages.up.sql", size: 497, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x3e, 0xeb, 0xb4, 0xa0, 0xa1, 0x2b, 0xcb, 0x4c, 0x3c, 0xc6, 0xd0, 0xe8, 0x96, 0xe3, 0x96, 0xf1, 0x4f, 0x1f, 0xe0, 0xe7, 0x1f, 0x85, 0xa3, 0xe, 0xf7, 0x52, 0x56, 0x63, 0x2b, 0xb0, 0x87, 0x7b}} return a, nil } @@ -775,8 +776,8 @@ func _1662365868_add_key_uid_accountsUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1662365868_add_key_uid_accounts.up.sql", size: 68, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1662365868_add_key_uid_accounts.up.sql", size: 68, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xc6, 0xd8, 0x2f, 0x2f, 0x3b, 0xa8, 0xbd, 0x6d, 0xf6, 0x87, 0x7e, 0xd2, 0xf1, 0xa2, 0xf7, 0x81, 0x6a, 0x23, 0x10, 0xbc, 0xbf, 0x5b, 0xe7, 0x2b, 0x9c, 0xa9, 0x8a, 0x18, 0xbb, 0xd0, 0x86, 0x91}} return a, nil } @@ -795,8 +796,8 @@ func _1662447680_add_keypairs_tableUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1662447680_add_keypairs_table.up.sql", size: 218, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1662447680_add_keypairs_table.up.sql", size: 218, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xdc, 0x25, 0xa9, 0xc7, 0x63, 0x27, 0x97, 0x35, 0x5f, 0x6b, 0xab, 0x26, 0xcb, 0xf9, 0xbd, 0x5e, 0xac, 0x3, 0xa0, 0x5e, 0xb9, 0x71, 0xa3, 0x1f, 0xb3, 0x4f, 0x7f, 0x79, 0x28, 0x48, 0xbe, 0xc}} return a, nil } @@ -815,8 +816,8 @@ func _1662460056_move_favourites_to_saved_addressesUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1662460056_move_favourites_to_saved_addresses.up.sql", size: 233, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1662460056_move_favourites_to_saved_addresses.up.sql", size: 233, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x10, 0xa2, 0x8c, 0xa3, 0xec, 0xad, 0xdf, 0xc3, 0x48, 0x5, 0x9b, 0x50, 0x25, 0x59, 0xae, 0x7d, 0xee, 0x58, 0xd2, 0x41, 0x27, 0xf2, 0x22, 0x2e, 0x9a, 0xb9, 0x4a, 0xcc, 0x38, 0x6e, 0x3a, 0xb2}} return a, nil } @@ -835,8 +836,8 @@ func _1662738097_add_base_fee_transactionUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1662738097_add_base_fee_transaction.up.sql", size: 112, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1662738097_add_base_fee_transaction.up.sql", size: 112, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x6b, 0xfb, 0x10, 0xae, 0xfc, 0x77, 0x70, 0x98, 0x6f, 0xec, 0xaa, 0xcd, 0x7, 0xc7, 0x74, 0x23, 0xc, 0xd5, 0x1e, 0x82, 0xdd, 0xfe, 0xff, 0x3b, 0xd2, 0x49, 0x10, 0x5b, 0x30, 0xc, 0x2d, 0xb0}} return a, nil } @@ -855,8 +856,8 @@ func _1662972194_add_keypairs_tableUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1662972194_add_keypairs_table.up.sql", size: 345, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1662972194_add_keypairs_table.up.sql", size: 345, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xab, 0x76, 0xf2, 0x86, 0xe1, 0x7e, 0xe9, 0x47, 0x32, 0x48, 0xd5, 0x6b, 0xe5, 0xd, 0xab, 0xb7, 0xf1, 0xd4, 0xf1, 0xad, 0x38, 0xa6, 0x11, 0xe7, 0xce, 0x5c, 0x11, 0x11, 0xf, 0x47, 0xb2, 0x4}} return a, nil } @@ -875,8 +876,8 @@ func _1664392661_add_third_party_id_to_waku_messagesUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1664392661_add_third_party_id_to_waku_messages.up.sql", size: 70, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1664392661_add_third_party_id_to_waku_messages.up.sql", size: 70, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xfd, 0x67, 0x66, 0x9e, 0x66, 0x74, 0xce, 0x1c, 0xb, 0x1b, 0x9d, 0xd5, 0xfc, 0x65, 0xe, 0x83, 0x90, 0x4c, 0x61, 0x4e, 0x6b, 0xe7, 0x86, 0xbe, 0x36, 0x4f, 0x91, 0x36, 0x4, 0x47, 0x7b, 0x82}} return a, nil } @@ -895,8 +896,8 @@ func _1664783660_add_sync_info_to_saved_addressesUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1664783660_add_sync_info_to_saved_addresses.up.sql", size: 388, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1664783660_add_sync_info_to_saved_addresses.up.sql", size: 388, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x67, 0x7c, 0x3a, 0x95, 0x4e, 0x55, 0xb2, 0xbd, 0xb4, 0x18, 0x93, 0xc1, 0xcf, 0x9f, 0x12, 0xbb, 0x49, 0x8a, 0x2a, 0x6a, 0x2a, 0x7f, 0xad, 0x44, 0xc3, 0xf, 0x3a, 0x79, 0x18, 0xb9, 0x4c, 0x64}} return a, nil } @@ -915,8 +916,8 @@ func _1668109917_wakunodesUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1668109917_wakunodes.up.sql", size: 99, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1668109917_wakunodes.up.sql", size: 99, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x29, 0xaa, 0x9e, 0x2, 0x66, 0x85, 0x69, 0xa8, 0xd9, 0xe2, 0x4b, 0x8d, 0x2a, 0x9c, 0xdf, 0xd2, 0xef, 0x64, 0x58, 0xe3, 0xa6, 0xe7, 0xc1, 0xd1, 0xc8, 0x9c, 0xc0, 0x2c, 0x1, 0xa8, 0x7b, 0x81}} return a, nil } @@ -935,8 +936,8 @@ func _1670249678_display_name_to_settings_sync_clock_tableUpSql() (*asset, error return nil, err } - info := bindataFileInfo{name: "1670249678_display_name_to_settings_sync_clock_table.up.sql", size: 83, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1670249678_display_name_to_settings_sync_clock_table.up.sql", size: 83, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x39, 0x18, 0xdc, 0xc4, 0x1f, 0x79, 0x22, 0x16, 0x4d, 0xdf, 0x6c, 0x66, 0xd5, 0xa4, 0x88, 0x5d, 0x5, 0x37, 0xa7, 0x41, 0x5, 0x50, 0xae, 0x12, 0xfa, 0x7e, 0x89, 0x24, 0x5c, 0xae, 0x30, 0xfc}} return a, nil } @@ -955,8 +956,8 @@ func _1670836810_add_imported_flag_to_community_archive_hashesUpSql() (*asset, e return nil, err } - info := bindataFileInfo{name: "1670836810_add_imported_flag_to_community_archive_hashes.up.sql", size: 144, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1670836810_add_imported_flag_to_community_archive_hashes.up.sql", size: 144, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x6f, 0xf, 0xf0, 0xbd, 0xfe, 0x63, 0x25, 0x8f, 0x5e, 0x46, 0x4b, 0x45, 0x31, 0x8b, 0x3e, 0xd8, 0x6b, 0x5d, 0x9d, 0x6d, 0x10, 0x9a, 0x87, 0x4b, 0x18, 0xc6, 0x39, 0x81, 0x6e, 0xe4, 0x75, 0xfb}} return a, nil } @@ -975,8 +976,8 @@ func _1671438731_add_magnetlink_uri_to_communities_archive_infoUpSql() (*asset, return nil, err } - info := bindataFileInfo{name: "1671438731_add_magnetlink_uri_to_communities_archive_info.up.sql", size: 86, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1671438731_add_magnetlink_uri_to_communities_archive_info.up.sql", size: 86, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xda, 0x8b, 0x4b, 0xd6, 0xd8, 0xe2, 0x3d, 0xf7, 0x6b, 0xcd, 0x1e, 0x70, 0x9, 0x2e, 0x35, 0x4, 0x61, 0xc3, 0xb5, 0x9d, 0xc5, 0x27, 0x21, 0xa, 0x5a, 0xd6, 0x3e, 0xa6, 0x24, 0xa2, 0x12, 0xdf}} return a, nil } @@ -995,8 +996,8 @@ func _1672933930_switcher_cardUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1672933930_switcher_card.up.sql", size: 162, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1672933930_switcher_card.up.sql", size: 162, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x39, 0xba, 0xdc, 0xbb, 0x40, 0x4, 0xf2, 0x10, 0xdf, 0xb4, 0xd2, 0x80, 0x8a, 0x74, 0x4d, 0xf6, 0xbc, 0x50, 0x7, 0xd, 0x22, 0x7f, 0xc4, 0xaf, 0xaa, 0xde, 0xdc, 0x71, 0xe9, 0x42, 0x98, 0x36}} return a, nil } @@ -1015,8 +1016,8 @@ func _1674056187_add_price_cacheUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1674056187_add_price_cache.up.sql", size: 255, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1674056187_add_price_cache.up.sql", size: 255, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xb7, 0x79, 0x6a, 0x9b, 0x28, 0xd1, 0x22, 0xf0, 0x84, 0x76, 0x40, 0x39, 0x49, 0x15, 0x5d, 0xaa, 0xfd, 0x11, 0xff, 0x13, 0x27, 0x42, 0x12, 0xfa, 0x82, 0xe6, 0x7a, 0xf0, 0x5e, 0x1f, 0xe3, 0xba}} return a, nil } @@ -1035,8 +1036,8 @@ func _1674136690_ens_usernamesUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1674136690_ens_usernames.up.sql", size: 98, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1674136690_ens_usernames.up.sql", size: 98, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x81, 0x7a, 0xf3, 0xa8, 0x88, 0x99, 0xd6, 0x9c, 0x69, 0x48, 0x3c, 0x10, 0xda, 0x72, 0xdc, 0x14, 0xd, 0x6e, 0x8c, 0x82, 0x92, 0x2d, 0x2c, 0xee, 0x4c, 0x70, 0xa4, 0xdc, 0x5c, 0x5, 0x2, 0xc3}} return a, nil } @@ -1055,8 +1056,8 @@ func _1674232431_add_balance_historyUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1674232431_add_balance_history.up.sql", size: 698, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1674232431_add_balance_history.up.sql", size: 698, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xf7, 0xb5, 0x18, 0xca, 0x4a, 0x93, 0xbb, 0x6f, 0xa4, 0xee, 0xe4, 0x3e, 0xff, 0x6a, 0x4b, 0xe2, 0xe1, 0x61, 0x28, 0xee, 0xc5, 0x26, 0x57, 0x61, 0x5e, 0x6d, 0x44, 0x1e, 0x85, 0x43, 0x70, 0xa2}} return a, nil } @@ -1075,8 +1076,8 @@ func _1676368933_keypairs_to_keycardsUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1676368933_keypairs_to_keycards.up.sql", size: 639, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1676368933_keypairs_to_keycards.up.sql", size: 639, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x81, 0x93, 0x27, 0x2, 0xf0, 0x37, 0x81, 0x65, 0xa4, 0xb3, 0x5b, 0x60, 0x36, 0x95, 0xfc, 0x81, 0xf0, 0x3b, 0x7c, 0xc3, 0x2c, 0x85, 0xbd, 0x38, 0x46, 0xa4, 0x95, 0x4a, 0x6, 0x3e, 0x74, 0xd5}} return a, nil } @@ -1095,8 +1096,8 @@ func _1676951398_add_currency_format_cacheUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1676951398_add_currency_format_cache.up.sql", size: 291, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1676951398_add_currency_format_cache.up.sql", size: 291, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xf9, 0xa3, 0x76, 0x35, 0xca, 0xf, 0xe8, 0xdf, 0xd9, 0x61, 0xf9, 0xed, 0xfc, 0x6d, 0xf5, 0xe, 0x11, 0x88, 0xbd, 0x14, 0x92, 0xc6, 0x57, 0x53, 0xe, 0xcd, 0x52, 0xf4, 0xa9, 0xb1, 0xdd, 0xfd}} return a, nil } @@ -1115,8 +1116,8 @@ func _1676968196_keycards_add_clock_columnUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1676968196_keycards_add_clock_column.up.sql", size: 73, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1676968196_keycards_add_clock_column.up.sql", size: 73, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x4c, 0xf, 0x1c, 0x28, 0x41, 0x57, 0x57, 0x6c, 0xe, 0x75, 0x6b, 0x75, 0x12, 0x0, 0x18, 0x1e, 0x88, 0x1e, 0x45, 0xe0, 0x32, 0xb9, 0xd4, 0xd9, 0x2e, 0xc8, 0xb, 0x80, 0x6, 0x51, 0x3d, 0x28}} return a, nil } @@ -1135,8 +1136,8 @@ func _1676968197_add_fallback_rpc_to_networksUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1676968197_add_fallback_rpc_to_networks.up.sql", size: 112, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1676968197_add_fallback_rpc_to_networks.up.sql", size: 112, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x77, 0x6a, 0xc6, 0x45, 0xfa, 0x62, 0x84, 0x74, 0x6d, 0x7c, 0xd7, 0x1d, 0x79, 0xb6, 0x38, 0x43, 0xa8, 0x8, 0x6b, 0x75, 0x3d, 0x9, 0x2, 0xc5, 0x9f, 0xbb, 0x45, 0x56, 0x4c, 0x4e, 0x17, 0x89}} return a, nil } @@ -1155,8 +1156,8 @@ func _1677674090_add_chains_ens_istest_to_saved_addressesUpSql() (*asset, error) return nil, err } - info := bindataFileInfo{name: "1677674090_add_chains_ens_istest_to_saved_addresses.up.sql", size: 638, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1677674090_add_chains_ens_istest_to_saved_addresses.up.sql", size: 638, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xa8, 0x2d, 0xa4, 0x1b, 0xf6, 0x6a, 0x13, 0x7b, 0xe, 0x59, 0xcd, 0xe2, 0x4e, 0x81, 0x99, 0xc4, 0x33, 0x84, 0xde, 0x66, 0xca, 0xac, 0x2f, 0x5, 0x90, 0xac, 0xfd, 0x4e, 0xfc, 0x55, 0x44, 0xe5}} return a, nil } @@ -1175,8 +1176,8 @@ func _1677681143_accounts_table_type_column_updateUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1677681143_accounts_table_type_column_update.up.sql", size: 135, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1677681143_accounts_table_type_column_update.up.sql", size: 135, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xd2, 0xc4, 0x6, 0x42, 0x50, 0x1d, 0xf4, 0x48, 0x55, 0xbc, 0xa2, 0x19, 0xdd, 0xad, 0xc8, 0xc, 0xa7, 0x30, 0xb6, 0xaf, 0xe, 0x2b, 0xaa, 0x2a, 0xa4, 0xe1, 0xb9, 0x41, 0x23, 0x66, 0xd3, 0x3}} return a, nil } @@ -1195,8 +1196,8 @@ func _1678264207_accounts_table_new_columns_addedUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1678264207_accounts_table_new_columns_added.up.sql", size: 130, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1678264207_accounts_table_new_columns_added.up.sql", size: 130, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xf4, 0xd4, 0xf3, 0x35, 0xef, 0x5c, 0x19, 0x3c, 0x15, 0x90, 0x60, 0xbd, 0x1f, 0x81, 0xf0, 0x86, 0x73, 0x89, 0xa0, 0x70, 0xf2, 0x46, 0xae, 0xea, 0xd0, 0xc6, 0x9e, 0x55, 0x4a, 0x54, 0x62, 0xbb}} return a, nil } @@ -1215,8 +1216,8 @@ func _1680770368_add_bio_to_settings_sync_clock_tableUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1680770368_add_bio_to_settings_sync_clock_table.up.sql", size: 75, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1680770368_add_bio_to_settings_sync_clock_table.up.sql", size: 75, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x4a, 0x52, 0xf6, 0x3f, 0xaa, 0xd, 0xa0, 0xee, 0xe8, 0xe6, 0x16, 0x21, 0x80, 0x61, 0xe4, 0x7a, 0x4e, 0x37, 0x8d, 0x30, 0x51, 0x20, 0x4d, 0x15, 0x47, 0xfb, 0x6, 0xa1, 0xce, 0xc8, 0x27, 0x5a}} return a, nil } @@ -1235,8 +1236,8 @@ func _1681110436_add_mnemonic_to_settings_sync_clock_tableUpSql() (*asset, error return nil, err } - info := bindataFileInfo{name: "1681110436_add_mnemonic_to_settings_sync_clock_table.up.sql", size: 311, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1681110436_add_mnemonic_to_settings_sync_clock_table.up.sql", size: 311, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x3d, 0x74, 0x81, 0x7d, 0x9e, 0x77, 0xb6, 0xfe, 0xe3, 0xcb, 0x48, 0xe5, 0x5f, 0x39, 0x23, 0xa1, 0x7d, 0x53, 0x22, 0xe8, 0x96, 0x15, 0x8a, 0x1e, 0x8e, 0xbc, 0xe2, 0x1d, 0xc4, 0xc2, 0x56, 0x34}} return a, nil } @@ -1255,8 +1256,8 @@ func _1681392602_9d_sync_periodUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1681392602_9d_sync_period.up.sql", size: 60, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1681392602_9d_sync_period.up.sql", size: 60, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xc9, 0xa, 0x90, 0x29, 0x7f, 0x76, 0x98, 0xa7, 0x71, 0x80, 0x5a, 0x2f, 0xbe, 0x23, 0x9a, 0xd4, 0xf4, 0x39, 0x19, 0xd3, 0xa5, 0x34, 0x6e, 0x67, 0x6a, 0xbe, 0x8a, 0xad, 0x21, 0xc7, 0xba, 0x88}} return a, nil } @@ -1275,8 +1276,8 @@ func _1681762078_default_sync_period_9dUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1681762078_default_sync_period_9d.up.sql", size: 3002, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1681762078_default_sync_period_9d.up.sql", size: 3002, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x3e, 0xd9, 0x26, 0xfc, 0xa9, 0x45, 0xc1, 0x81, 0xa8, 0xe2, 0x2c, 0xe9, 0x3c, 0xea, 0x1d, 0x37, 0x11, 0x45, 0x8c, 0x6c, 0xbc, 0xc2, 0x6, 0x69, 0x2, 0x75, 0x29, 0x40, 0x9f, 0xc5, 0xbb, 0x36}} return a, nil } @@ -1295,8 +1296,8 @@ func _1681780680_add_clock_to_social_links_settingsUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1681780680_add_clock_to_social_links_settings.up.sql", size: 137, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1681780680_add_clock_to_social_links_settings.up.sql", size: 137, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x63, 0x11, 0xf5, 0x41, 0xe5, 0x5a, 0xf4, 0xe3, 0xf3, 0x14, 0x87, 0x28, 0xd8, 0xf0, 0x52, 0x31, 0x8, 0xd5, 0xbb, 0xf4, 0xff, 0x55, 0x5f, 0x42, 0x90, 0xcb, 0xf7, 0x46, 0x2, 0x6, 0xbe, 0x42}} return a, nil } @@ -1315,8 +1316,8 @@ func _1682073779_settings_table_remove_latest_derived_path_columnUpSql() (*asset return nil, err } - info := bindataFileInfo{name: "1682073779_settings_table_remove_latest_derived_path_column.up.sql", size: 4470, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1682073779_settings_table_remove_latest_derived_path_column.up.sql", size: 4470, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x7a, 0x36, 0x2, 0x41, 0xd, 0x5c, 0xd1, 0x92, 0x85, 0x6d, 0x84, 0xff, 0x67, 0xa7, 0x4c, 0x67, 0xa4, 0xef, 0x52, 0x69, 0x1f, 0x22, 0x25, 0x92, 0xc, 0xb3, 0x89, 0x50, 0x91, 0xc, 0x49, 0xf9}} return a, nil } @@ -1335,8 +1336,8 @@ func _1682146075_add_created_at_to_saved_addressesUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1682146075_add_created_at_to_saved_addresses.up.sql", size: 107, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1682146075_add_created_at_to_saved_addresses.up.sql", size: 107, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x88, 0xfe, 0x35, 0x9c, 0x6b, 0xdf, 0x67, 0x18, 0x16, 0xe4, 0xc9, 0xd4, 0x77, 0x7c, 0x4, 0xe2, 0x6c, 0x41, 0xd9, 0x53, 0x97, 0xfe, 0x5, 0xa3, 0x23, 0xce, 0x82, 0xad, 0x92, 0x5e, 0xd7, 0x7d}} return a, nil } @@ -1355,8 +1356,8 @@ func _1682393575_sync_ens_nameUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1682393575_sync_ens_name.up.sql", size: 713, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1682393575_sync_ens_name.up.sql", size: 713, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xfb, 0xea, 0xcb, 0x4d, 0x71, 0x5a, 0x49, 0x19, 0x8b, 0xef, 0x66, 0x27, 0x33, 0x89, 0xb0, 0xe, 0x37, 0x1b, 0x41, 0x8, 0x12, 0xcc, 0x56, 0xd8, 0x1b, 0xf, 0xf8, 0x50, 0x4b, 0x93, 0xf1, 0x29}} return a, nil } @@ -1375,8 +1376,8 @@ func _1683457503_add_blocks_ranges_sequential_tableUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1683457503_add_blocks_ranges_sequential_table.up.sql", size: 263, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1683457503_add_blocks_ranges_sequential_table.up.sql", size: 263, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xfe, 0x57, 0x2e, 0x0, 0x6a, 0x6e, 0xd7, 0xeb, 0xe6, 0x66, 0x79, 0x32, 0x22, 0x82, 0x92, 0xf4, 0xc9, 0xf1, 0x58, 0x1a, 0x45, 0x60, 0x77, 0x50, 0xe7, 0x54, 0x4a, 0xc0, 0x42, 0x3a, 0x4f, 0x35}} return a, nil } @@ -1395,8 +1396,8 @@ func _1683627613_accounts_and_keycards_improvementsUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1683627613_accounts_and_keycards_improvements.up.sql", size: 3640, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1683627613_accounts_and_keycards_improvements.up.sql", size: 3640, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x8e, 0xbe, 0x62, 0xf5, 0x9, 0x42, 0x8c, 0x8f, 0xa8, 0x45, 0xe7, 0x36, 0xc9, 0xde, 0xf4, 0xe2, 0xfd, 0xc4, 0x8, 0xd0, 0xa3, 0x8, 0x64, 0xe2, 0x56, 0xcc, 0xa7, 0x6d, 0xc5, 0xcc, 0x82, 0x2c}} return a, nil } @@ -1415,8 +1416,8 @@ func _1685041348_settings_table_add_latest_derived_path_columnUpSql() (*asset, e return nil, err } - info := bindataFileInfo{name: "1685041348_settings_table_add_latest_derived_path_column.up.sql", size: 115, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1685041348_settings_table_add_latest_derived_path_column.up.sql", size: 115, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x21, 0xd4, 0x1b, 0xbf, 0x8, 0xf9, 0xd4, 0xb0, 0xa0, 0x6, 0x5b, 0xfb, 0x7e, 0xff, 0xfa, 0xbf, 0xcc, 0x64, 0x47, 0x81, 0x8b, 0x5e, 0x17, 0x6a, 0xa7, 0xa4, 0x35, 0x8f, 0x30, 0x4f, 0xd9, 0xd}} return a, nil } @@ -1435,8 +1436,8 @@ func _1685440989_update_color_id_accountsUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1685440989_update_color_id_accounts.up.sql", size: 918, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1685440989_update_color_id_accounts.up.sql", size: 918, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x10, 0x2e, 0x51, 0x1d, 0x2d, 0x16, 0x84, 0xd6, 0xe8, 0xbc, 0x20, 0x53, 0x47, 0xb8, 0x40, 0x21, 0x52, 0x5c, 0xd9, 0xbb, 0xea, 0xe2, 0xa5, 0x77, 0xc8, 0x35, 0x4c, 0xe0, 0x9d, 0x42, 0x44, 0x50}} return a, nil } @@ -1455,8 +1456,8 @@ func _1685463947_add_to_asset_to_multitransactionUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1685463947_add_to_asset_to_multitransaction.up.sql", size: 61, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1685463947_add_to_asset_to_multitransaction.up.sql", size: 61, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xd3, 0x66, 0x15, 0x10, 0xfa, 0x66, 0x81, 0x68, 0xd9, 0xb4, 0x93, 0x9e, 0x11, 0xed, 0x1d, 0x16, 0x9d, 0x5a, 0xf8, 0xd7, 0x8, 0xea, 0x7a, 0xaf, 0xe4, 0xb3, 0x22, 0x19, 0xca, 0xff, 0x75, 0x7c}} return a, nil } @@ -1475,8 +1476,8 @@ func _1685880973_add_profile_links_settings_tableUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1685880973_add_profile_links_settings_table.up.sql", size: 1656, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1685880973_add_profile_links_settings_table.up.sql", size: 1656, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x13, 0x23, 0x7b, 0x1e, 0x82, 0x61, 0xcc, 0x76, 0xd6, 0xc7, 0x42, 0x6e, 0x69, 0x21, 0x1b, 0xfd, 0x7d, 0xda, 0xd7, 0xb7, 0xc7, 0xd3, 0x22, 0x63, 0xfe, 0xc6, 0xd3, 0xdf, 0xc8, 0x5f, 0x50, 0xcc}} return a, nil } @@ -1495,8 +1496,8 @@ func _1686041510_add_idx_transfers_blkno_loadedUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1686041510_add_idx_transfers_blkno_loaded.up.sql", size: 71, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1686041510_add_idx_transfers_blkno_loaded.up.sql", size: 71, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xe2, 0x5d, 0x7e, 0x43, 0x14, 0x3c, 0x50, 0x44, 0x25, 0xd0, 0xe1, 0x75, 0xba, 0x61, 0x7b, 0x68, 0x2e, 0x43, 0x74, 0x1d, 0x10, 0x61, 0x8e, 0x45, 0xe6, 0x25, 0x78, 0x81, 0x68, 0x6, 0x24, 0x5b}} return a, nil } @@ -1515,8 +1516,8 @@ func _1686048341_transfers_receipt_json_blob_outUpSqlDownSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1686048341_transfers_receipt_json_blob_out.up.sql.down.sql", size: 104, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1686048341_transfers_receipt_json_blob_out.up.sql.down.sql", size: 104, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x9f, 0x6c, 0xd9, 0x76, 0x83, 0x64, 0xf0, 0xf2, 0x74, 0x97, 0xca, 0xd7, 0xaa, 0x4, 0x74, 0x7c, 0x34, 0x56, 0x88, 0x10, 0xa9, 0x4d, 0x1d, 0x8e, 0x85, 0xc3, 0x66, 0x1, 0x2b, 0x30, 0x90, 0xf4}} return a, nil } @@ -1535,8 +1536,8 @@ func _1686048341_transfers_receipt_json_blob_outUpSqlUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1686048341_transfers_receipt_json_blob_out.up.sql.up.sql", size: 1500, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1686048341_transfers_receipt_json_blob_out.up.sql.up.sql", size: 1500, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x49, 0xcd, 0xe3, 0xa6, 0x8c, 0x53, 0x51, 0xe6, 0x3c, 0x64, 0xcb, 0x3, 0x3, 0xb, 0x4d, 0x52, 0xa5, 0x1c, 0xcc, 0xe1, 0x23, 0x94, 0x14, 0x79, 0xd7, 0x56, 0x58, 0xef, 0xcc, 0x1a, 0x6, 0xa4}} return a, nil } @@ -1555,8 +1556,8 @@ func _1686825075_cleanup_token_addressUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1686825075_cleanup_token_address.up.sql", size: 273, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1686825075_cleanup_token_address.up.sql", size: 273, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x14, 0x72, 0x10, 0xec, 0x97, 0xc9, 0x3a, 0xdb, 0x39, 0x33, 0xc9, 0x6, 0x92, 0xbe, 0xe4, 0xc2, 0x5c, 0xb6, 0xaa, 0xe5, 0x25, 0x21, 0x4d, 0x74, 0x18, 0x94, 0xc, 0x33, 0x2f, 0xa4, 0x9, 0x99}} return a, nil } @@ -1575,8 +1576,8 @@ func _1687193315_transfers_extract_from_to_addressDownSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1687193315_transfers_extract_from_to_address.down.sql", size: 104, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1687193315_transfers_extract_from_to_address.down.sql", size: 104, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x9f, 0x6c, 0xd9, 0x76, 0x83, 0x64, 0xf0, 0xf2, 0x74, 0x97, 0xca, 0xd7, 0xaa, 0x4, 0x74, 0x7c, 0x34, 0x56, 0x88, 0x10, 0xa9, 0x4d, 0x1d, 0x8e, 0x85, 0xc3, 0x66, 0x1, 0x2b, 0x30, 0x90, 0xf4}} return a, nil } @@ -1595,8 +1596,8 @@ func _1687193315_transfers_extract_from_to_addressUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1687193315_transfers_extract_from_to_address.up.sql", size: 499, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1687193315_transfers_extract_from_to_address.up.sql", size: 499, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x4c, 0xef, 0xf4, 0x66, 0xac, 0x3a, 0xa6, 0xe3, 0x26, 0x43, 0x53, 0xe, 0xd8, 0xfe, 0xf2, 0xaa, 0x20, 0x8, 0x4e, 0x52, 0x49, 0x37, 0xbf, 0x46, 0xbf, 0x53, 0xa7, 0xcf, 0x27, 0x23, 0xab, 0x99}} return a, nil } @@ -1615,8 +1616,8 @@ func _1687249080_add_position_accountsUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1687249080_add_position_accounts.up..sql", size: 2053, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1687249080_add_position_accounts.up..sql", size: 2053, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xf3, 0x47, 0x9f, 0xb4, 0xe3, 0xc, 0x35, 0x15, 0x74, 0xc3, 0x72, 0x57, 0x9f, 0x3b, 0xc9, 0xd5, 0x9b, 0x31, 0xef, 0xd6, 0x21, 0xc4, 0x27, 0x8e, 0x37, 0xd5, 0x5, 0xdb, 0x3d, 0xcf, 0x37, 0xbb}} return a, nil } @@ -1635,8 +1636,8 @@ func _1687269871_add_device_nameUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1687269871_add_device_name.up.sql", size: 108, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1687269871_add_device_name.up.sql", size: 108, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xed, 0x61, 0xf2, 0xf9, 0x78, 0x57, 0xc3, 0x57, 0xdb, 0x37, 0xe, 0x7, 0x15, 0xde, 0x5a, 0x2a, 0xb5, 0x86, 0xb8, 0x5, 0x48, 0x68, 0x2a, 0xb, 0x7c, 0xd, 0x60, 0xba, 0x67, 0x30, 0x2d, 0xa3}} return a, nil } @@ -1655,8 +1656,8 @@ func _1687506642_include_watch_only_account_settingUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1687506642_include_watch_only_account_setting.up.sql", size: 81, mode: os.FileMode(436), modTime: time.Unix(1697123119, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1687506642_include_watch_only_account_setting.up.sql", size: 81, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xaa, 0xa0, 0x61, 0xf8, 0xb9, 0x15, 0x22, 0x9a, 0xca, 0x9b, 0x89, 0x96, 0x90, 0x47, 0x56, 0xf3, 0x21, 0xf6, 0xbd, 0xd1, 0xa1, 0x8f, 0xa8, 0x34, 0xc3, 0x54, 0x86, 0x69, 0x14, 0x96, 0xdb, 0xbb}} return a, nil } @@ -1675,8 +1676,8 @@ func _1688022264_add_include_watch_only_account_to_settings_sync_clockUpSql() (* return nil, err } - info := bindataFileInfo{name: "1688022264_add_include_watch_only_account_to_settings_sync_clock.up.sql", size: 98, mode: os.FileMode(436), modTime: time.Unix(1697123391, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1688022264_add_include_watch_only_account_to_settings_sync_clock.up.sql", size: 98, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xab, 0xa2, 0x31, 0xcc, 0x3d, 0x59, 0x1b, 0x26, 0x5b, 0x78, 0xd, 0x6a, 0x75, 0x2a, 0xe0, 0x2, 0x21, 0x28, 0x8c, 0x92, 0x24, 0x98, 0x86, 0xdd, 0x2, 0x53, 0xe8, 0xf6, 0xc2, 0x7d, 0x57, 0x13}} return a, nil } @@ -1695,8 +1696,8 @@ func _1688054680_add_columns_to_multitransactionUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1688054680_add_columns_to_multitransaction.up.sql", size: 342, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1688054680_add_columns_to_multitransaction.up.sql", size: 342, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xb5, 0xbb, 0x88, 0xde, 0x98, 0x9e, 0xa8, 0xc0, 0xf7, 0x2b, 0xc4, 0x33, 0x77, 0xf5, 0x58, 0x46, 0x52, 0xc6, 0xc2, 0x27, 0x1d, 0x8, 0xc9, 0x83, 0xb6, 0x16, 0x31, 0x99, 0x15, 0xcb, 0xb1, 0x40}} return a, nil } @@ -1715,8 +1716,8 @@ func _1688636552_keycards_table_columns_updateUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1688636552_keycards_table_columns_update.up.sql", size: 1051, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1688636552_keycards_table_columns_update.up.sql", size: 1051, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x2f, 0x82, 0x37, 0x82, 0xae, 0x44, 0x7f, 0x4d, 0xb5, 0x50, 0x1b, 0x5f, 0x2b, 0xaa, 0xb1, 0x3, 0x97, 0xba, 0x8b, 0xea, 0x30, 0x5, 0xa4, 0x1a, 0x2c, 0x7, 0x63, 0x89, 0x43, 0x12, 0xb6, 0xb7}} return a, nil } @@ -1735,8 +1736,8 @@ func _1689248269_add_related_chain_id_networksUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1689248269_add_related_chain_id_networks.up.sql", size: 66, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1689248269_add_related_chain_id_networks.up.sql", size: 66, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x76, 0xad, 0xde, 0xb5, 0xc7, 0x60, 0x1a, 0x99, 0x7d, 0x51, 0x74, 0x43, 0x60, 0x17, 0x54, 0x82, 0xb6, 0xc6, 0x96, 0x1c, 0x43, 0x74, 0x6, 0x15, 0xd6, 0xa4, 0x2a, 0xd2, 0x1c, 0xeb, 0xdc, 0xb4}} return a, nil } @@ -1755,8 +1756,8 @@ func _1689340211_index_filter_columnsUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1689340211_index_filter_columns.up.sql", size: 633, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1689340211_index_filter_columns.up.sql", size: 633, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x83, 0xc8, 0x1, 0x8b, 0x85, 0x2b, 0xa7, 0x46, 0xfe, 0xe9, 0x9c, 0xaf, 0xec, 0x10, 0xe5, 0xec, 0x23, 0xd3, 0xf, 0xee, 0xad, 0xfb, 0xf1, 0xc7, 0xc, 0xbc, 0x14, 0xac, 0xf8, 0x3b, 0x5a, 0x9e}} return a, nil } @@ -1775,8 +1776,8 @@ func _1689498471_make_wallet_accounts_positions_non_negativeUpSql() (*asset, err return nil, err } - info := bindataFileInfo{name: "1689498471_make_wallet_accounts_positions_non_negative.up.sql", size: 1617, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1689498471_make_wallet_accounts_positions_non_negative.up.sql", size: 1617, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xfe, 0x8d, 0xfc, 0x64, 0x78, 0x7a, 0x55, 0x38, 0xc9, 0x1e, 0x71, 0x25, 0xe2, 0x81, 0xc8, 0x3b, 0x1d, 0xf, 0xe7, 0x1f, 0x67, 0xbf, 0x6, 0xf1, 0x6a, 0x56, 0xf, 0x30, 0xb1, 0xc5, 0xca, 0x19}} return a, nil } @@ -1795,8 +1796,8 @@ func _1689856991_add_soft_remove_column_for_keypairs_and_accountsUpSql() (*asset return nil, err } - info := bindataFileInfo{name: "1689856991_add_soft_remove_column_for_keypairs_and_accounts.up.sql", size: 284, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1689856991_add_soft_remove_column_for_keypairs_and_accounts.up.sql", size: 284, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xd4, 0xfb, 0x7b, 0x9a, 0xee, 0xa4, 0x1f, 0x54, 0x81, 0x9c, 0x66, 0xd1, 0xde, 0x2d, 0xee, 0x8f, 0xb0, 0xc, 0x8, 0xb7, 0x1f, 0x5f, 0x28, 0x42, 0x75, 0x3, 0x19, 0xfb, 0xb5, 0x53, 0xa2, 0xcc}} return a, nil } @@ -1815,8 +1816,8 @@ func _1690225863_add_collectibles_ownership_cacheUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1690225863_add_collectibles_ownership_cache.up.sql", size: 327, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1690225863_add_collectibles_ownership_cache.up.sql", size: 327, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x70, 0x2d, 0xfa, 0x52, 0x54, 0x3e, 0x6e, 0x50, 0x7a, 0xe0, 0x4d, 0xd1, 0x5b, 0x3a, 0xc7, 0xb6, 0x67, 0xe8, 0x82, 0xf0, 0xc4, 0xb5, 0xcc, 0x3b, 0xbf, 0x89, 0xe0, 0x1b, 0xbc, 0xa4, 0xa9, 0x68}} return a, nil } @@ -1835,8 +1836,8 @@ func _1690734354_add_preferred_chain_idsUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1690734354_add_preferred_chain_ids.up.sql", size: 189, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1690734354_add_preferred_chain_ids.up.sql", size: 189, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x90, 0xb4, 0x32, 0x89, 0xa1, 0xed, 0x19, 0x61, 0x1a, 0xdf, 0x72, 0x4c, 0x28, 0x5f, 0x87, 0x72, 0x33, 0xad, 0x9a, 0xc6, 0xaf, 0x6b, 0xaf, 0xa9, 0x70, 0xc7, 0x8a, 0x42, 0xe2, 0xac, 0x15, 0x2a}} return a, nil } @@ -1855,8 +1856,8 @@ func _1691173699_add_collectibles_and_collections_data_cacheUpSql() (*asset, err return nil, err } - info := bindataFileInfo{name: "1691173699_add_collectibles_and_collections_data_cache.up.sql", size: 1811, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1691173699_add_collectibles_and_collections_data_cache.up.sql", size: 1811, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x0, 0xf2, 0xaa, 0xa9, 0x56, 0x92, 0xb7, 0x3c, 0xd8, 0xbf, 0x4c, 0x42, 0x90, 0xdd, 0xb3, 0xb8, 0xca, 0x4a, 0xa1, 0x91, 0x29, 0x5, 0xf6, 0xb0, 0x75, 0x82, 0x98, 0x7e, 0x6d, 0x74, 0x15, 0xc3}} return a, nil } @@ -1875,8 +1876,8 @@ func _1691753758_move_wallet_tables_to_wallet_dbUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1691753758_move_wallet_tables_to_wallet_db.up.sql", size: 603, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1691753758_move_wallet_tables_to_wallet_db.up.sql", size: 603, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x2c, 0x7f, 0xd9, 0x6f, 0x91, 0x37, 0x7a, 0x8f, 0xf4, 0xd6, 0xec, 0xd4, 0xb9, 0x8e, 0xc5, 0xeb, 0x1a, 0xfa, 0xd1, 0x4, 0x1, 0xff, 0x51, 0x23, 0xc, 0x96, 0xf2, 0x3c, 0x12, 0xa7, 0xf7, 0x33}} return a, nil } @@ -1895,8 +1896,8 @@ func _1691753800_pubsubtopic_keyUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1691753800_pubsubtopic_key.up.sql", size: 767, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1691753800_pubsubtopic_key.up.sql", size: 767, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xdf, 0x42, 0x78, 0x4, 0x20, 0xa5, 0x62, 0xa1, 0xa5, 0x82, 0xa1, 0x41, 0x14, 0xaf, 0x5e, 0xe2, 0xc9, 0xcf, 0xad, 0x4b, 0x32, 0x6e, 0xc7, 0xac, 0x9f, 0xe0, 0xf, 0xe0, 0x3a, 0xa0, 0x67, 0x2d}} return a, nil } @@ -1915,8 +1916,8 @@ func _1693900971_add_profile_migration_needed_column_to_settings_tableUpSql() (* return nil, err } - info := bindataFileInfo{name: "1693900971_add_profile_migration_needed_column_to_settings_table.up.sql", size: 88, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1693900971_add_profile_migration_needed_column_to_settings_table.up.sql", size: 88, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xf7, 0x89, 0x89, 0x81, 0xf1, 0x1, 0x2d, 0xa6, 0x24, 0xba, 0x48, 0x1, 0x9a, 0x7a, 0xcf, 0xe0, 0xfd, 0x3f, 0xc6, 0xc2, 0xd9, 0xe2, 0xfc, 0x6f, 0x2f, 0x83, 0x16, 0x61, 0x8e, 0x89, 0x64, 0xef}} return a, nil } @@ -1935,8 +1936,8 @@ func _1694764094_add_original_to_networksUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1694764094_add_original_to_networks.up.sql", size: 120, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1694764094_add_original_to_networks.up.sql", size: 120, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x64, 0xa0, 0xef, 0x4e, 0xf3, 0x1, 0xd5, 0x61, 0xcb, 0x83, 0xd2, 0xdf, 0x6a, 0x69, 0xee, 0x36, 0x0, 0x13, 0x94, 0x57, 0xb2, 0xa, 0x12, 0x28, 0x5c, 0x5, 0x69, 0x1a, 0xfd, 0xa0, 0x31, 0x6c}} return a, nil } @@ -1955,8 +1956,8 @@ func _1695974515_add_is_sepolia_enabled_to_settingsUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1695974515_add_is_sepolia_enabled_to_settings.up.sql", size: 82, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1695974515_add_is_sepolia_enabled_to_settings.up.sql", size: 82, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x42, 0x95, 0xa7, 0xbb, 0x64, 0x91, 0x4e, 0x66, 0x9c, 0xbd, 0x96, 0xbb, 0x79, 0x3d, 0xc4, 0x2d, 0x3a, 0x36, 0xb5, 0x35, 0xdb, 0x53, 0x45, 0xf2, 0xf3, 0x61, 0xac, 0xe3, 0x38, 0xe6, 0x73, 0x54}} return a, nil } @@ -1975,8 +1976,8 @@ func _1697123140_drop_include_watch_only_accountsUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1697123140_drop_include_watch_only_accounts.up.sql", size: 61, mode: os.FileMode(436), modTime: time.Unix(1697123131, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1697123140_drop_include_watch_only_accounts.up.sql", size: 61, mode: os.FileMode(0644), modTime: time.Unix(1697196255, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x77, 0xc9, 0xc7, 0xaf, 0x7b, 0xe4, 0x83, 0x5, 0xe1, 0xde, 0x83, 0xd9, 0xdd, 0xbe, 0xb6, 0x1d, 0x24, 0x5c, 0x19, 0x88, 0xad, 0xc1, 0x5c, 0xd1, 0x26, 0x84, 0x61, 0xce, 0x3a, 0x74, 0x3c, 0x8c}} return a, nil } @@ -1995,8 +1996,8 @@ func _1697123233_drop_include_watch_only_account_to_settings_sync_clockUpSql() ( return nil, err } - info := bindataFileInfo{name: "1697123233_drop_include_watch_only_account_to_settings_sync_clock.up.sql", size: 72, mode: os.FileMode(436), modTime: time.Unix(1697123985, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1697123233_drop_include_watch_only_account_to_settings_sync_clock.up.sql", size: 72, mode: os.FileMode(0644), modTime: time.Unix(1697196255, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xcd, 0xe9, 0x5b, 0xc9, 0xd2, 0x96, 0x18, 0x8e, 0x97, 0x13, 0x3b, 0x72, 0x2d, 0x8a, 0xa9, 0xa3, 0x32, 0x6, 0x17, 0xb, 0xd1, 0xd8, 0x44, 0x13, 0xde, 0xb6, 0xa3, 0xbf, 0xef, 0xf4, 0xf9, 0xff}} return a, nil } @@ -2015,8 +2016,8 @@ func docGo() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "doc.go", size: 74, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "doc.go", size: 74, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -2024,8 +2025,8 @@ func docGo() (*asset, error) { // It returns an error if the asset could not be found or // could not be loaded. func Asset(name string) ([]byte, error) { - cannonicalName := strings.Replace(name, "\\", "/", -1) - if f, ok := _bindata[cannonicalName]; ok { + canonicalName := strings.Replace(name, "\\", "/", -1) + if f, ok := _bindata[canonicalName]; ok { a, err := f() if err != nil { return nil, fmt.Errorf("Asset %s can't read by error: %v", name, err) @@ -2035,6 +2036,12 @@ func Asset(name string) ([]byte, error) { return nil, fmt.Errorf("Asset %s not found", name) } +// AssetString returns the asset contents as a string (instead of a []byte). +func AssetString(name string) (string, error) { + data, err := Asset(name) + return string(data), err +} + // MustAsset is like Asset but panics when Asset would return an error. // It simplifies safe initialization of global variables. func MustAsset(name string) []byte { @@ -2046,12 +2053,18 @@ func MustAsset(name string) []byte { return a } +// MustAssetString is like AssetString but panics when Asset would return an +// error. It simplifies safe initialization of global variables. +func MustAssetString(name string) string { + return string(MustAsset(name)) +} + // AssetInfo loads and returns the asset info for the given name. // It returns an error if the asset could not be found or // could not be loaded. func AssetInfo(name string) (os.FileInfo, error) { - cannonicalName := strings.Replace(name, "\\", "/", -1) - if f, ok := _bindata[cannonicalName]; ok { + canonicalName := strings.Replace(name, "\\", "/", -1) + if f, ok := _bindata[canonicalName]; ok { a, err := f() if err != nil { return nil, fmt.Errorf("AssetInfo %s can't read by error: %v", name, err) @@ -2061,6 +2074,33 @@ func AssetInfo(name string) (os.FileInfo, error) { return nil, fmt.Errorf("AssetInfo %s not found", name) } +// AssetDigest returns the digest of the file with the given name. It returns an +// error if the asset could not be found or the digest could not be loaded. +func AssetDigest(name string) ([sha256.Size]byte, error) { + canonicalName := strings.Replace(name, "\\", "/", -1) + if f, ok := _bindata[canonicalName]; ok { + a, err := f() + if err != nil { + return [sha256.Size]byte{}, fmt.Errorf("AssetDigest %s can't read by error: %v", name, err) + } + return a.digest, nil + } + return [sha256.Size]byte{}, fmt.Errorf("AssetDigest %s not found", name) +} + +// Digests returns a map of all known files and their checksums. +func Digests() (map[string][sha256.Size]byte, error) { + mp := make(map[string][sha256.Size]byte, len(_bindata)) + for name := range _bindata { + a, err := _bindata[name]() + if err != nil { + return nil, err + } + mp[name] = a.digest + } + return mp, nil +} + // AssetNames returns the names of the assets. func AssetNames() []string { names := make([]string, 0, len(_bindata)) @@ -2073,97 +2113,189 @@ func AssetNames() []string { // _bindata is a table, holding each asset generator, mapped to its name. var _bindata = map[string]func() (*asset, error){ "1640111208_dummy.up.sql": _1640111208_dummyUpSql, + "1642666031_add_removed_clock_to_bookmarks.up.sql": _1642666031_add_removed_clock_to_bookmarksUpSql, + "1643644541_gif_api_key_setting.up.sql": _1643644541_gif_api_key_settingUpSql, + "1644188994_recent_stickers.up.sql": _1644188994_recent_stickersUpSql, + "1646659233_add_address_to_dapp_permisssion.up.sql": _1646659233_add_address_to_dapp_permisssionUpSql, + "1646841105_add_emoji_account.up.sql": _1646841105_add_emoji_accountUpSql, + "1647278782_display_name.up.sql": _1647278782_display_nameUpSql, + "1647862838_reset_last_backup.up.sql": _1647862838_reset_last_backupUpSql, + "1647871652_add_settings_sync_clock_table.up.sql": _1647871652_add_settings_sync_clock_tableUpSql, + "1647880168_add_torrent_config.up.sql": _1647880168_add_torrent_configUpSql, + "1647882837_add_communities_settings_table.up.sql": _1647882837_add_communities_settings_tableUpSql, + "1647956635_add_waku_messages_table.up.sql": _1647956635_add_waku_messages_tableUpSql, + "1648554928_network_test.up.sql": _1648554928_network_testUpSql, + "1649174829_add_visitble_token.up.sql": _1649174829_add_visitble_tokenUpSql, + "1649882262_add_derived_from_accounts.up.sql": _1649882262_add_derived_from_accountsUpSql, + "1650612625_add_community_message_archive_hashes_table.up.sql": _1650612625_add_community_message_archive_hashes_tableUpSql, + "1650616788_add_communities_archives_info_table.up.sql": _1650616788_add_communities_archives_info_tableUpSql, + "1652715604_add_clock_accounts.up.sql": _1652715604_add_clock_accountsUpSql, + "1653037334_add_notifications_settings_table.up.sql": _1653037334_add_notifications_settings_tableUpSql, + "1654702119_add_mutual_contact_settings.up.sql": _1654702119_add_mutual_contact_settingsUpSql, + "1655375270_add_clock_field_to_communities_settings_table.up.sql": _1655375270_add_clock_field_to_communities_settings_tableUpSql, + "1655385721_drop_networks_config.up.sql": _1655385721_drop_networks_configUpSql, + "1655385724_networks_chainColor_shortName.up.sql": _1655385724_networks_chaincolor_shortnameUpSql, + "1655456688_add_deleted_at_field_to_bookmarks_table.up.sql": _1655456688_add_deleted_at_field_to_bookmarks_tableUpSql, + "1655462032_create_bookmarks_deleted_at_index.up.sql": _1655462032_create_bookmarks_deleted_at_indexUpSql, + "1657617291_add_multi_transactions_table.up.sql": _1657617291_add_multi_transactions_tableUpSql, + "1660134042_add_social_links_settings_table.up.sql": _1660134042_add_social_links_settings_tableUpSql, + "1660134060_settings_bio.up.sql": _1660134060_settings_bioUpSql, + "1660134070_add_wakuv2_store.up.sql": _1660134070_add_wakuv2_storeUpSql, + "1660134072_waku2_store_messages.up.sql": _1660134072_waku2_store_messagesUpSql, + "1662365868_add_key_uid_accounts.up.sql": _1662365868_add_key_uid_accountsUpSql, + "1662447680_add_keypairs_table.up.sql": _1662447680_add_keypairs_tableUpSql, + "1662460056_move_favourites_to_saved_addresses.up.sql": _1662460056_move_favourites_to_saved_addressesUpSql, + "1662738097_add_base_fee_transaction.up.sql": _1662738097_add_base_fee_transactionUpSql, + "1662972194_add_keypairs_table.up.sql": _1662972194_add_keypairs_tableUpSql, + "1664392661_add_third_party_id_to_waku_messages.up.sql": _1664392661_add_third_party_id_to_waku_messagesUpSql, + "1664783660_add_sync_info_to_saved_addresses.up.sql": _1664783660_add_sync_info_to_saved_addressesUpSql, + "1668109917_wakunodes.up.sql": _1668109917_wakunodesUpSql, + "1670249678_display_name_to_settings_sync_clock_table.up.sql": _1670249678_display_name_to_settings_sync_clock_tableUpSql, + "1670836810_add_imported_flag_to_community_archive_hashes.up.sql": _1670836810_add_imported_flag_to_community_archive_hashesUpSql, + "1671438731_add_magnetlink_uri_to_communities_archive_info.up.sql": _1671438731_add_magnetlink_uri_to_communities_archive_infoUpSql, + "1672933930_switcher_card.up.sql": _1672933930_switcher_cardUpSql, + "1674056187_add_price_cache.up.sql": _1674056187_add_price_cacheUpSql, + "1674136690_ens_usernames.up.sql": _1674136690_ens_usernamesUpSql, + "1674232431_add_balance_history.up.sql": _1674232431_add_balance_historyUpSql, + "1676368933_keypairs_to_keycards.up.sql": _1676368933_keypairs_to_keycardsUpSql, + "1676951398_add_currency_format_cache.up.sql": _1676951398_add_currency_format_cacheUpSql, + "1676968196_keycards_add_clock_column.up.sql": _1676968196_keycards_add_clock_columnUpSql, + "1676968197_add_fallback_rpc_to_networks.up.sql": _1676968197_add_fallback_rpc_to_networksUpSql, + "1677674090_add_chains_ens_istest_to_saved_addresses.up.sql": _1677674090_add_chains_ens_istest_to_saved_addressesUpSql, + "1677681143_accounts_table_type_column_update.up.sql": _1677681143_accounts_table_type_column_updateUpSql, + "1678264207_accounts_table_new_columns_added.up.sql": _1678264207_accounts_table_new_columns_addedUpSql, + "1680770368_add_bio_to_settings_sync_clock_table.up.sql": _1680770368_add_bio_to_settings_sync_clock_tableUpSql, + "1681110436_add_mnemonic_to_settings_sync_clock_table.up.sql": _1681110436_add_mnemonic_to_settings_sync_clock_tableUpSql, + "1681392602_9d_sync_period.up.sql": _1681392602_9d_sync_periodUpSql, + "1681762078_default_sync_period_9d.up.sql": _1681762078_default_sync_period_9dUpSql, + "1681780680_add_clock_to_social_links_settings.up.sql": _1681780680_add_clock_to_social_links_settingsUpSql, + "1682073779_settings_table_remove_latest_derived_path_column.up.sql": _1682073779_settings_table_remove_latest_derived_path_columnUpSql, + "1682146075_add_created_at_to_saved_addresses.up.sql": _1682146075_add_created_at_to_saved_addressesUpSql, + "1682393575_sync_ens_name.up.sql": _1682393575_sync_ens_nameUpSql, + "1683457503_add_blocks_ranges_sequential_table.up.sql": _1683457503_add_blocks_ranges_sequential_tableUpSql, + "1683627613_accounts_and_keycards_improvements.up.sql": _1683627613_accounts_and_keycards_improvementsUpSql, + "1685041348_settings_table_add_latest_derived_path_column.up.sql": _1685041348_settings_table_add_latest_derived_path_columnUpSql, + "1685440989_update_color_id_accounts.up.sql": _1685440989_update_color_id_accountsUpSql, + "1685463947_add_to_asset_to_multitransaction.up.sql": _1685463947_add_to_asset_to_multitransactionUpSql, + "1685880973_add_profile_links_settings_table.up.sql": _1685880973_add_profile_links_settings_tableUpSql, + "1686041510_add_idx_transfers_blkno_loaded.up.sql": _1686041510_add_idx_transfers_blkno_loadedUpSql, + "1686048341_transfers_receipt_json_blob_out.up.sql.down.sql": _1686048341_transfers_receipt_json_blob_outUpSqlDownSql, + "1686048341_transfers_receipt_json_blob_out.up.sql.up.sql": _1686048341_transfers_receipt_json_blob_outUpSqlUpSql, + "1686825075_cleanup_token_address.up.sql": _1686825075_cleanup_token_addressUpSql, + "1687193315_transfers_extract_from_to_address.down.sql": _1687193315_transfers_extract_from_to_addressDownSql, + "1687193315_transfers_extract_from_to_address.up.sql": _1687193315_transfers_extract_from_to_addressUpSql, + "1687249080_add_position_accounts.up..sql": _1687249080_add_position_accountsUpSql, + "1687269871_add_device_name.up.sql": _1687269871_add_device_nameUpSql, + "1687506642_include_watch_only_account_setting.up.sql": _1687506642_include_watch_only_account_settingUpSql, + "1688022264_add_include_watch_only_account_to_settings_sync_clock.up.sql": _1688022264_add_include_watch_only_account_to_settings_sync_clockUpSql, + "1688054680_add_columns_to_multitransaction.up.sql": _1688054680_add_columns_to_multitransactionUpSql, + "1688636552_keycards_table_columns_update.up.sql": _1688636552_keycards_table_columns_updateUpSql, + "1689248269_add_related_chain_id_networks.up.sql": _1689248269_add_related_chain_id_networksUpSql, + "1689340211_index_filter_columns.up.sql": _1689340211_index_filter_columnsUpSql, + "1689498471_make_wallet_accounts_positions_non_negative.up.sql": _1689498471_make_wallet_accounts_positions_non_negativeUpSql, + "1689856991_add_soft_remove_column_for_keypairs_and_accounts.up.sql": _1689856991_add_soft_remove_column_for_keypairs_and_accountsUpSql, + "1690225863_add_collectibles_ownership_cache.up.sql": _1690225863_add_collectibles_ownership_cacheUpSql, + "1690734354_add_preferred_chain_ids.up.sql": _1690734354_add_preferred_chain_idsUpSql, + "1691173699_add_collectibles_and_collections_data_cache.up.sql": _1691173699_add_collectibles_and_collections_data_cacheUpSql, + "1691753758_move_wallet_tables_to_wallet_db.up.sql": _1691753758_move_wallet_tables_to_wallet_dbUpSql, + "1691753800_pubsubtopic_key.up.sql": _1691753800_pubsubtopic_keyUpSql, + "1693900971_add_profile_migration_needed_column_to_settings_table.up.sql": _1693900971_add_profile_migration_needed_column_to_settings_tableUpSql, + "1694764094_add_original_to_networks.up.sql": _1694764094_add_original_to_networksUpSql, + "1695974515_add_is_sepolia_enabled_to_settings.up.sql": _1695974515_add_is_sepolia_enabled_to_settingsUpSql, + "1697123140_drop_include_watch_only_accounts.up.sql": _1697123140_drop_include_watch_only_accountsUpSql, + "1697123233_drop_include_watch_only_account_to_settings_sync_clock.up.sql": _1697123233_drop_include_watch_only_account_to_settings_sync_clockUpSql, + "doc.go": docGo, } @@ -2176,15 +2308,15 @@ var _bindata = map[string]func() (*asset, error){ // img/ // a.png // b.png -// then AssetDir("data") would return []string{"foo.txt", "img"} -// AssetDir("data/img") would return []string{"a.png", "b.png"} -// AssetDir("foo.txt") and AssetDir("notexist") would return an error +// then AssetDir("data") would return []string{"foo.txt", "img"}, +// AssetDir("data/img") would return []string{"a.png", "b.png"}, +// AssetDir("foo.txt") and AssetDir("notexist") would return an error, and // AssetDir("") will return []string{"data"}. func AssetDir(name string) ([]string, error) { node := _bintree if len(name) != 0 { - cannonicalName := strings.Replace(name, "\\", "/", -1) - pathList := strings.Split(cannonicalName, "/") + canonicalName := strings.Replace(name, "\\", "/", -1) + pathList := strings.Split(canonicalName, "/") for _, p := range pathList { node = node.Children[p] if node == nil { @@ -2206,103 +2338,104 @@ type bintree struct { Func func() (*asset, error) Children map[string]*bintree } + var _bintree = &bintree{nil, map[string]*bintree{ - "1640111208_dummy.up.sql": &bintree{_1640111208_dummyUpSql, map[string]*bintree{}}, - "1642666031_add_removed_clock_to_bookmarks.up.sql": &bintree{_1642666031_add_removed_clock_to_bookmarksUpSql, map[string]*bintree{}}, - "1643644541_gif_api_key_setting.up.sql": &bintree{_1643644541_gif_api_key_settingUpSql, map[string]*bintree{}}, - "1644188994_recent_stickers.up.sql": &bintree{_1644188994_recent_stickersUpSql, map[string]*bintree{}}, - "1646659233_add_address_to_dapp_permisssion.up.sql": &bintree{_1646659233_add_address_to_dapp_permisssionUpSql, map[string]*bintree{}}, - "1646841105_add_emoji_account.up.sql": &bintree{_1646841105_add_emoji_accountUpSql, map[string]*bintree{}}, - "1647278782_display_name.up.sql": &bintree{_1647278782_display_nameUpSql, map[string]*bintree{}}, - "1647862838_reset_last_backup.up.sql": &bintree{_1647862838_reset_last_backupUpSql, map[string]*bintree{}}, - "1647871652_add_settings_sync_clock_table.up.sql": &bintree{_1647871652_add_settings_sync_clock_tableUpSql, map[string]*bintree{}}, - "1647880168_add_torrent_config.up.sql": &bintree{_1647880168_add_torrent_configUpSql, map[string]*bintree{}}, - "1647882837_add_communities_settings_table.up.sql": &bintree{_1647882837_add_communities_settings_tableUpSql, map[string]*bintree{}}, - "1647956635_add_waku_messages_table.up.sql": &bintree{_1647956635_add_waku_messages_tableUpSql, map[string]*bintree{}}, - "1648554928_network_test.up.sql": &bintree{_1648554928_network_testUpSql, map[string]*bintree{}}, - "1649174829_add_visitble_token.up.sql": &bintree{_1649174829_add_visitble_tokenUpSql, map[string]*bintree{}}, - "1649882262_add_derived_from_accounts.up.sql": &bintree{_1649882262_add_derived_from_accountsUpSql, map[string]*bintree{}}, - "1650612625_add_community_message_archive_hashes_table.up.sql": &bintree{_1650612625_add_community_message_archive_hashes_tableUpSql, map[string]*bintree{}}, - "1650616788_add_communities_archives_info_table.up.sql": &bintree{_1650616788_add_communities_archives_info_tableUpSql, map[string]*bintree{}}, - "1652715604_add_clock_accounts.up.sql": &bintree{_1652715604_add_clock_accountsUpSql, map[string]*bintree{}}, - "1653037334_add_notifications_settings_table.up.sql": &bintree{_1653037334_add_notifications_settings_tableUpSql, map[string]*bintree{}}, - "1654702119_add_mutual_contact_settings.up.sql": &bintree{_1654702119_add_mutual_contact_settingsUpSql, map[string]*bintree{}}, - "1655375270_add_clock_field_to_communities_settings_table.up.sql": &bintree{_1655375270_add_clock_field_to_communities_settings_tableUpSql, map[string]*bintree{}}, - "1655385721_drop_networks_config.up.sql": &bintree{_1655385721_drop_networks_configUpSql, map[string]*bintree{}}, - "1655385724_networks_chainColor_shortName.up.sql": &bintree{_1655385724_networks_chaincolor_shortnameUpSql, map[string]*bintree{}}, - "1655456688_add_deleted_at_field_to_bookmarks_table.up.sql": &bintree{_1655456688_add_deleted_at_field_to_bookmarks_tableUpSql, map[string]*bintree{}}, - "1655462032_create_bookmarks_deleted_at_index.up.sql": &bintree{_1655462032_create_bookmarks_deleted_at_indexUpSql, map[string]*bintree{}}, - "1657617291_add_multi_transactions_table.up.sql": &bintree{_1657617291_add_multi_transactions_tableUpSql, map[string]*bintree{}}, - "1660134042_add_social_links_settings_table.up.sql": &bintree{_1660134042_add_social_links_settings_tableUpSql, map[string]*bintree{}}, - "1660134060_settings_bio.up.sql": &bintree{_1660134060_settings_bioUpSql, map[string]*bintree{}}, - "1660134070_add_wakuv2_store.up.sql": &bintree{_1660134070_add_wakuv2_storeUpSql, map[string]*bintree{}}, - "1660134072_waku2_store_messages.up.sql": &bintree{_1660134072_waku2_store_messagesUpSql, map[string]*bintree{}}, - "1662365868_add_key_uid_accounts.up.sql": &bintree{_1662365868_add_key_uid_accountsUpSql, map[string]*bintree{}}, - "1662447680_add_keypairs_table.up.sql": &bintree{_1662447680_add_keypairs_tableUpSql, map[string]*bintree{}}, - "1662460056_move_favourites_to_saved_addresses.up.sql": &bintree{_1662460056_move_favourites_to_saved_addressesUpSql, map[string]*bintree{}}, - "1662738097_add_base_fee_transaction.up.sql": &bintree{_1662738097_add_base_fee_transactionUpSql, map[string]*bintree{}}, - "1662972194_add_keypairs_table.up.sql": &bintree{_1662972194_add_keypairs_tableUpSql, map[string]*bintree{}}, - "1664392661_add_third_party_id_to_waku_messages.up.sql": &bintree{_1664392661_add_third_party_id_to_waku_messagesUpSql, map[string]*bintree{}}, - "1664783660_add_sync_info_to_saved_addresses.up.sql": &bintree{_1664783660_add_sync_info_to_saved_addressesUpSql, map[string]*bintree{}}, - "1668109917_wakunodes.up.sql": &bintree{_1668109917_wakunodesUpSql, map[string]*bintree{}}, - "1670249678_display_name_to_settings_sync_clock_table.up.sql": &bintree{_1670249678_display_name_to_settings_sync_clock_tableUpSql, map[string]*bintree{}}, - "1670836810_add_imported_flag_to_community_archive_hashes.up.sql": &bintree{_1670836810_add_imported_flag_to_community_archive_hashesUpSql, map[string]*bintree{}}, - "1671438731_add_magnetlink_uri_to_communities_archive_info.up.sql": &bintree{_1671438731_add_magnetlink_uri_to_communities_archive_infoUpSql, map[string]*bintree{}}, - "1672933930_switcher_card.up.sql": &bintree{_1672933930_switcher_cardUpSql, map[string]*bintree{}}, - "1674056187_add_price_cache.up.sql": &bintree{_1674056187_add_price_cacheUpSql, map[string]*bintree{}}, - "1674136690_ens_usernames.up.sql": &bintree{_1674136690_ens_usernamesUpSql, map[string]*bintree{}}, - "1674232431_add_balance_history.up.sql": &bintree{_1674232431_add_balance_historyUpSql, map[string]*bintree{}}, - "1676368933_keypairs_to_keycards.up.sql": &bintree{_1676368933_keypairs_to_keycardsUpSql, map[string]*bintree{}}, - "1676951398_add_currency_format_cache.up.sql": &bintree{_1676951398_add_currency_format_cacheUpSql, map[string]*bintree{}}, - "1676968196_keycards_add_clock_column.up.sql": &bintree{_1676968196_keycards_add_clock_columnUpSql, map[string]*bintree{}}, - "1676968197_add_fallback_rpc_to_networks.up.sql": &bintree{_1676968197_add_fallback_rpc_to_networksUpSql, map[string]*bintree{}}, - "1677674090_add_chains_ens_istest_to_saved_addresses.up.sql": &bintree{_1677674090_add_chains_ens_istest_to_saved_addressesUpSql, map[string]*bintree{}}, - "1677681143_accounts_table_type_column_update.up.sql": &bintree{_1677681143_accounts_table_type_column_updateUpSql, map[string]*bintree{}}, - "1678264207_accounts_table_new_columns_added.up.sql": &bintree{_1678264207_accounts_table_new_columns_addedUpSql, map[string]*bintree{}}, - "1680770368_add_bio_to_settings_sync_clock_table.up.sql": &bintree{_1680770368_add_bio_to_settings_sync_clock_tableUpSql, map[string]*bintree{}}, - "1681110436_add_mnemonic_to_settings_sync_clock_table.up.sql": &bintree{_1681110436_add_mnemonic_to_settings_sync_clock_tableUpSql, map[string]*bintree{}}, - "1681392602_9d_sync_period.up.sql": &bintree{_1681392602_9d_sync_periodUpSql, map[string]*bintree{}}, - "1681762078_default_sync_period_9d.up.sql": &bintree{_1681762078_default_sync_period_9dUpSql, map[string]*bintree{}}, - "1681780680_add_clock_to_social_links_settings.up.sql": &bintree{_1681780680_add_clock_to_social_links_settingsUpSql, map[string]*bintree{}}, - "1682073779_settings_table_remove_latest_derived_path_column.up.sql": &bintree{_1682073779_settings_table_remove_latest_derived_path_columnUpSql, map[string]*bintree{}}, - "1682146075_add_created_at_to_saved_addresses.up.sql": &bintree{_1682146075_add_created_at_to_saved_addressesUpSql, map[string]*bintree{}}, - "1682393575_sync_ens_name.up.sql": &bintree{_1682393575_sync_ens_nameUpSql, map[string]*bintree{}}, - "1683457503_add_blocks_ranges_sequential_table.up.sql": &bintree{_1683457503_add_blocks_ranges_sequential_tableUpSql, map[string]*bintree{}}, - "1683627613_accounts_and_keycards_improvements.up.sql": &bintree{_1683627613_accounts_and_keycards_improvementsUpSql, map[string]*bintree{}}, - "1685041348_settings_table_add_latest_derived_path_column.up.sql": &bintree{_1685041348_settings_table_add_latest_derived_path_columnUpSql, map[string]*bintree{}}, - "1685440989_update_color_id_accounts.up.sql": &bintree{_1685440989_update_color_id_accountsUpSql, map[string]*bintree{}}, - "1685463947_add_to_asset_to_multitransaction.up.sql": &bintree{_1685463947_add_to_asset_to_multitransactionUpSql, map[string]*bintree{}}, - "1685880973_add_profile_links_settings_table.up.sql": &bintree{_1685880973_add_profile_links_settings_tableUpSql, map[string]*bintree{}}, - "1686041510_add_idx_transfers_blkno_loaded.up.sql": &bintree{_1686041510_add_idx_transfers_blkno_loadedUpSql, map[string]*bintree{}}, - "1686048341_transfers_receipt_json_blob_out.up.sql.down.sql": &bintree{_1686048341_transfers_receipt_json_blob_outUpSqlDownSql, map[string]*bintree{}}, - "1686048341_transfers_receipt_json_blob_out.up.sql.up.sql": &bintree{_1686048341_transfers_receipt_json_blob_outUpSqlUpSql, map[string]*bintree{}}, - "1686825075_cleanup_token_address.up.sql": &bintree{_1686825075_cleanup_token_addressUpSql, map[string]*bintree{}}, - "1687193315_transfers_extract_from_to_address.down.sql": &bintree{_1687193315_transfers_extract_from_to_addressDownSql, map[string]*bintree{}}, - "1687193315_transfers_extract_from_to_address.up.sql": &bintree{_1687193315_transfers_extract_from_to_addressUpSql, map[string]*bintree{}}, - "1687249080_add_position_accounts.up..sql": &bintree{_1687249080_add_position_accountsUpSql, map[string]*bintree{}}, - "1687269871_add_device_name.up.sql": &bintree{_1687269871_add_device_nameUpSql, map[string]*bintree{}}, - "1687506642_include_watch_only_account_setting.up.sql": &bintree{_1687506642_include_watch_only_account_settingUpSql, map[string]*bintree{}}, - "1688022264_add_include_watch_only_account_to_settings_sync_clock.up.sql": &bintree{_1688022264_add_include_watch_only_account_to_settings_sync_clockUpSql, map[string]*bintree{}}, - "1688054680_add_columns_to_multitransaction.up.sql": &bintree{_1688054680_add_columns_to_multitransactionUpSql, map[string]*bintree{}}, - "1688636552_keycards_table_columns_update.up.sql": &bintree{_1688636552_keycards_table_columns_updateUpSql, map[string]*bintree{}}, - "1689248269_add_related_chain_id_networks.up.sql": &bintree{_1689248269_add_related_chain_id_networksUpSql, map[string]*bintree{}}, - "1689340211_index_filter_columns.up.sql": &bintree{_1689340211_index_filter_columnsUpSql, map[string]*bintree{}}, - "1689498471_make_wallet_accounts_positions_non_negative.up.sql": &bintree{_1689498471_make_wallet_accounts_positions_non_negativeUpSql, map[string]*bintree{}}, - "1689856991_add_soft_remove_column_for_keypairs_and_accounts.up.sql": &bintree{_1689856991_add_soft_remove_column_for_keypairs_and_accountsUpSql, map[string]*bintree{}}, - "1690225863_add_collectibles_ownership_cache.up.sql": &bintree{_1690225863_add_collectibles_ownership_cacheUpSql, map[string]*bintree{}}, - "1690734354_add_preferred_chain_ids.up.sql": &bintree{_1690734354_add_preferred_chain_idsUpSql, map[string]*bintree{}}, - "1691173699_add_collectibles_and_collections_data_cache.up.sql": &bintree{_1691173699_add_collectibles_and_collections_data_cacheUpSql, map[string]*bintree{}}, - "1691753758_move_wallet_tables_to_wallet_db.up.sql": &bintree{_1691753758_move_wallet_tables_to_wallet_dbUpSql, map[string]*bintree{}}, - "1691753800_pubsubtopic_key.up.sql": &bintree{_1691753800_pubsubtopic_keyUpSql, map[string]*bintree{}}, - "1693900971_add_profile_migration_needed_column_to_settings_table.up.sql": &bintree{_1693900971_add_profile_migration_needed_column_to_settings_tableUpSql, map[string]*bintree{}}, - "1694764094_add_original_to_networks.up.sql": &bintree{_1694764094_add_original_to_networksUpSql, map[string]*bintree{}}, - "1695974515_add_is_sepolia_enabled_to_settings.up.sql": &bintree{_1695974515_add_is_sepolia_enabled_to_settingsUpSql, map[string]*bintree{}}, - "1697123140_drop_include_watch_only_accounts.up.sql": &bintree{_1697123140_drop_include_watch_only_accountsUpSql, map[string]*bintree{}}, + "1640111208_dummy.up.sql": &bintree{_1640111208_dummyUpSql, map[string]*bintree{}}, + "1642666031_add_removed_clock_to_bookmarks.up.sql": &bintree{_1642666031_add_removed_clock_to_bookmarksUpSql, map[string]*bintree{}}, + "1643644541_gif_api_key_setting.up.sql": &bintree{_1643644541_gif_api_key_settingUpSql, map[string]*bintree{}}, + "1644188994_recent_stickers.up.sql": &bintree{_1644188994_recent_stickersUpSql, map[string]*bintree{}}, + "1646659233_add_address_to_dapp_permisssion.up.sql": &bintree{_1646659233_add_address_to_dapp_permisssionUpSql, map[string]*bintree{}}, + "1646841105_add_emoji_account.up.sql": &bintree{_1646841105_add_emoji_accountUpSql, map[string]*bintree{}}, + "1647278782_display_name.up.sql": &bintree{_1647278782_display_nameUpSql, map[string]*bintree{}}, + "1647862838_reset_last_backup.up.sql": &bintree{_1647862838_reset_last_backupUpSql, map[string]*bintree{}}, + "1647871652_add_settings_sync_clock_table.up.sql": &bintree{_1647871652_add_settings_sync_clock_tableUpSql, map[string]*bintree{}}, + "1647880168_add_torrent_config.up.sql": &bintree{_1647880168_add_torrent_configUpSql, map[string]*bintree{}}, + "1647882837_add_communities_settings_table.up.sql": &bintree{_1647882837_add_communities_settings_tableUpSql, map[string]*bintree{}}, + "1647956635_add_waku_messages_table.up.sql": &bintree{_1647956635_add_waku_messages_tableUpSql, map[string]*bintree{}}, + "1648554928_network_test.up.sql": &bintree{_1648554928_network_testUpSql, map[string]*bintree{}}, + "1649174829_add_visitble_token.up.sql": &bintree{_1649174829_add_visitble_tokenUpSql, map[string]*bintree{}}, + "1649882262_add_derived_from_accounts.up.sql": &bintree{_1649882262_add_derived_from_accountsUpSql, map[string]*bintree{}}, + "1650612625_add_community_message_archive_hashes_table.up.sql": &bintree{_1650612625_add_community_message_archive_hashes_tableUpSql, map[string]*bintree{}}, + "1650616788_add_communities_archives_info_table.up.sql": &bintree{_1650616788_add_communities_archives_info_tableUpSql, map[string]*bintree{}}, + "1652715604_add_clock_accounts.up.sql": &bintree{_1652715604_add_clock_accountsUpSql, map[string]*bintree{}}, + "1653037334_add_notifications_settings_table.up.sql": &bintree{_1653037334_add_notifications_settings_tableUpSql, map[string]*bintree{}}, + "1654702119_add_mutual_contact_settings.up.sql": &bintree{_1654702119_add_mutual_contact_settingsUpSql, map[string]*bintree{}}, + "1655375270_add_clock_field_to_communities_settings_table.up.sql": &bintree{_1655375270_add_clock_field_to_communities_settings_tableUpSql, map[string]*bintree{}}, + "1655385721_drop_networks_config.up.sql": &bintree{_1655385721_drop_networks_configUpSql, map[string]*bintree{}}, + "1655385724_networks_chainColor_shortName.up.sql": &bintree{_1655385724_networks_chaincolor_shortnameUpSql, map[string]*bintree{}}, + "1655456688_add_deleted_at_field_to_bookmarks_table.up.sql": &bintree{_1655456688_add_deleted_at_field_to_bookmarks_tableUpSql, map[string]*bintree{}}, + "1655462032_create_bookmarks_deleted_at_index.up.sql": &bintree{_1655462032_create_bookmarks_deleted_at_indexUpSql, map[string]*bintree{}}, + "1657617291_add_multi_transactions_table.up.sql": &bintree{_1657617291_add_multi_transactions_tableUpSql, map[string]*bintree{}}, + "1660134042_add_social_links_settings_table.up.sql": &bintree{_1660134042_add_social_links_settings_tableUpSql, map[string]*bintree{}}, + "1660134060_settings_bio.up.sql": &bintree{_1660134060_settings_bioUpSql, map[string]*bintree{}}, + "1660134070_add_wakuv2_store.up.sql": &bintree{_1660134070_add_wakuv2_storeUpSql, map[string]*bintree{}}, + "1660134072_waku2_store_messages.up.sql": &bintree{_1660134072_waku2_store_messagesUpSql, map[string]*bintree{}}, + "1662365868_add_key_uid_accounts.up.sql": &bintree{_1662365868_add_key_uid_accountsUpSql, map[string]*bintree{}}, + "1662447680_add_keypairs_table.up.sql": &bintree{_1662447680_add_keypairs_tableUpSql, map[string]*bintree{}}, + "1662460056_move_favourites_to_saved_addresses.up.sql": &bintree{_1662460056_move_favourites_to_saved_addressesUpSql, map[string]*bintree{}}, + "1662738097_add_base_fee_transaction.up.sql": &bintree{_1662738097_add_base_fee_transactionUpSql, map[string]*bintree{}}, + "1662972194_add_keypairs_table.up.sql": &bintree{_1662972194_add_keypairs_tableUpSql, map[string]*bintree{}}, + "1664392661_add_third_party_id_to_waku_messages.up.sql": &bintree{_1664392661_add_third_party_id_to_waku_messagesUpSql, map[string]*bintree{}}, + "1664783660_add_sync_info_to_saved_addresses.up.sql": &bintree{_1664783660_add_sync_info_to_saved_addressesUpSql, map[string]*bintree{}}, + "1668109917_wakunodes.up.sql": &bintree{_1668109917_wakunodesUpSql, map[string]*bintree{}}, + "1670249678_display_name_to_settings_sync_clock_table.up.sql": &bintree{_1670249678_display_name_to_settings_sync_clock_tableUpSql, map[string]*bintree{}}, + "1670836810_add_imported_flag_to_community_archive_hashes.up.sql": &bintree{_1670836810_add_imported_flag_to_community_archive_hashesUpSql, map[string]*bintree{}}, + "1671438731_add_magnetlink_uri_to_communities_archive_info.up.sql": &bintree{_1671438731_add_magnetlink_uri_to_communities_archive_infoUpSql, map[string]*bintree{}}, + "1672933930_switcher_card.up.sql": &bintree{_1672933930_switcher_cardUpSql, map[string]*bintree{}}, + "1674056187_add_price_cache.up.sql": &bintree{_1674056187_add_price_cacheUpSql, map[string]*bintree{}}, + "1674136690_ens_usernames.up.sql": &bintree{_1674136690_ens_usernamesUpSql, map[string]*bintree{}}, + "1674232431_add_balance_history.up.sql": &bintree{_1674232431_add_balance_historyUpSql, map[string]*bintree{}}, + "1676368933_keypairs_to_keycards.up.sql": &bintree{_1676368933_keypairs_to_keycardsUpSql, map[string]*bintree{}}, + "1676951398_add_currency_format_cache.up.sql": &bintree{_1676951398_add_currency_format_cacheUpSql, map[string]*bintree{}}, + "1676968196_keycards_add_clock_column.up.sql": &bintree{_1676968196_keycards_add_clock_columnUpSql, map[string]*bintree{}}, + "1676968197_add_fallback_rpc_to_networks.up.sql": &bintree{_1676968197_add_fallback_rpc_to_networksUpSql, map[string]*bintree{}}, + "1677674090_add_chains_ens_istest_to_saved_addresses.up.sql": &bintree{_1677674090_add_chains_ens_istest_to_saved_addressesUpSql, map[string]*bintree{}}, + "1677681143_accounts_table_type_column_update.up.sql": &bintree{_1677681143_accounts_table_type_column_updateUpSql, map[string]*bintree{}}, + "1678264207_accounts_table_new_columns_added.up.sql": &bintree{_1678264207_accounts_table_new_columns_addedUpSql, map[string]*bintree{}}, + "1680770368_add_bio_to_settings_sync_clock_table.up.sql": &bintree{_1680770368_add_bio_to_settings_sync_clock_tableUpSql, map[string]*bintree{}}, + "1681110436_add_mnemonic_to_settings_sync_clock_table.up.sql": &bintree{_1681110436_add_mnemonic_to_settings_sync_clock_tableUpSql, map[string]*bintree{}}, + "1681392602_9d_sync_period.up.sql": &bintree{_1681392602_9d_sync_periodUpSql, map[string]*bintree{}}, + "1681762078_default_sync_period_9d.up.sql": &bintree{_1681762078_default_sync_period_9dUpSql, map[string]*bintree{}}, + "1681780680_add_clock_to_social_links_settings.up.sql": &bintree{_1681780680_add_clock_to_social_links_settingsUpSql, map[string]*bintree{}}, + "1682073779_settings_table_remove_latest_derived_path_column.up.sql": &bintree{_1682073779_settings_table_remove_latest_derived_path_columnUpSql, map[string]*bintree{}}, + "1682146075_add_created_at_to_saved_addresses.up.sql": &bintree{_1682146075_add_created_at_to_saved_addressesUpSql, map[string]*bintree{}}, + "1682393575_sync_ens_name.up.sql": &bintree{_1682393575_sync_ens_nameUpSql, map[string]*bintree{}}, + "1683457503_add_blocks_ranges_sequential_table.up.sql": &bintree{_1683457503_add_blocks_ranges_sequential_tableUpSql, map[string]*bintree{}}, + "1683627613_accounts_and_keycards_improvements.up.sql": &bintree{_1683627613_accounts_and_keycards_improvementsUpSql, map[string]*bintree{}}, + "1685041348_settings_table_add_latest_derived_path_column.up.sql": &bintree{_1685041348_settings_table_add_latest_derived_path_columnUpSql, map[string]*bintree{}}, + "1685440989_update_color_id_accounts.up.sql": &bintree{_1685440989_update_color_id_accountsUpSql, map[string]*bintree{}}, + "1685463947_add_to_asset_to_multitransaction.up.sql": &bintree{_1685463947_add_to_asset_to_multitransactionUpSql, map[string]*bintree{}}, + "1685880973_add_profile_links_settings_table.up.sql": &bintree{_1685880973_add_profile_links_settings_tableUpSql, map[string]*bintree{}}, + "1686041510_add_idx_transfers_blkno_loaded.up.sql": &bintree{_1686041510_add_idx_transfers_blkno_loadedUpSql, map[string]*bintree{}}, + "1686048341_transfers_receipt_json_blob_out.up.sql.down.sql": &bintree{_1686048341_transfers_receipt_json_blob_outUpSqlDownSql, map[string]*bintree{}}, + "1686048341_transfers_receipt_json_blob_out.up.sql.up.sql": &bintree{_1686048341_transfers_receipt_json_blob_outUpSqlUpSql, map[string]*bintree{}}, + "1686825075_cleanup_token_address.up.sql": &bintree{_1686825075_cleanup_token_addressUpSql, map[string]*bintree{}}, + "1687193315_transfers_extract_from_to_address.down.sql": &bintree{_1687193315_transfers_extract_from_to_addressDownSql, map[string]*bintree{}}, + "1687193315_transfers_extract_from_to_address.up.sql": &bintree{_1687193315_transfers_extract_from_to_addressUpSql, map[string]*bintree{}}, + "1687249080_add_position_accounts.up..sql": &bintree{_1687249080_add_position_accountsUpSql, map[string]*bintree{}}, + "1687269871_add_device_name.up.sql": &bintree{_1687269871_add_device_nameUpSql, map[string]*bintree{}}, + "1687506642_include_watch_only_account_setting.up.sql": &bintree{_1687506642_include_watch_only_account_settingUpSql, map[string]*bintree{}}, + "1688022264_add_include_watch_only_account_to_settings_sync_clock.up.sql": &bintree{_1688022264_add_include_watch_only_account_to_settings_sync_clockUpSql, map[string]*bintree{}}, + "1688054680_add_columns_to_multitransaction.up.sql": &bintree{_1688054680_add_columns_to_multitransactionUpSql, map[string]*bintree{}}, + "1688636552_keycards_table_columns_update.up.sql": &bintree{_1688636552_keycards_table_columns_updateUpSql, map[string]*bintree{}}, + "1689248269_add_related_chain_id_networks.up.sql": &bintree{_1689248269_add_related_chain_id_networksUpSql, map[string]*bintree{}}, + "1689340211_index_filter_columns.up.sql": &bintree{_1689340211_index_filter_columnsUpSql, map[string]*bintree{}}, + "1689498471_make_wallet_accounts_positions_non_negative.up.sql": &bintree{_1689498471_make_wallet_accounts_positions_non_negativeUpSql, map[string]*bintree{}}, + "1689856991_add_soft_remove_column_for_keypairs_and_accounts.up.sql": &bintree{_1689856991_add_soft_remove_column_for_keypairs_and_accountsUpSql, map[string]*bintree{}}, + "1690225863_add_collectibles_ownership_cache.up.sql": &bintree{_1690225863_add_collectibles_ownership_cacheUpSql, map[string]*bintree{}}, + "1690734354_add_preferred_chain_ids.up.sql": &bintree{_1690734354_add_preferred_chain_idsUpSql, map[string]*bintree{}}, + "1691173699_add_collectibles_and_collections_data_cache.up.sql": &bintree{_1691173699_add_collectibles_and_collections_data_cacheUpSql, map[string]*bintree{}}, + "1691753758_move_wallet_tables_to_wallet_db.up.sql": &bintree{_1691753758_move_wallet_tables_to_wallet_dbUpSql, map[string]*bintree{}}, + "1691753800_pubsubtopic_key.up.sql": &bintree{_1691753800_pubsubtopic_keyUpSql, map[string]*bintree{}}, + "1693900971_add_profile_migration_needed_column_to_settings_table.up.sql": &bintree{_1693900971_add_profile_migration_needed_column_to_settings_tableUpSql, map[string]*bintree{}}, + "1694764094_add_original_to_networks.up.sql": &bintree{_1694764094_add_original_to_networksUpSql, map[string]*bintree{}}, + "1695974515_add_is_sepolia_enabled_to_settings.up.sql": &bintree{_1695974515_add_is_sepolia_enabled_to_settingsUpSql, map[string]*bintree{}}, + "1697123140_drop_include_watch_only_accounts.up.sql": &bintree{_1697123140_drop_include_watch_only_accountsUpSql, map[string]*bintree{}}, "1697123233_drop_include_watch_only_account_to_settings_sync_clock.up.sql": &bintree{_1697123233_drop_include_watch_only_account_to_settings_sync_clockUpSql, 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. func RestoreAsset(dir, name string) error { data, err := Asset(name) if err != nil { @@ -2320,14 +2453,10 @@ func RestoreAsset(dir, name string) error { if err != nil { return err } - err = os.Chtimes(_filePath(dir, name), info.ModTime(), info.ModTime()) - if err != nil { - return err - } - return nil + return os.Chtimes(_filePath(dir, name), info.ModTime(), info.ModTime()) } -// RestoreAssets restores an asset under the given directory recursively +// RestoreAssets restores an asset under the given directory recursively. func RestoreAssets(dir, name string) error { children, err := AssetDir(name) // File @@ -2345,7 +2474,6 @@ func RestoreAssets(dir, name string) error { } func _filePath(dir, name string) string { - cannonicalName := strings.Replace(name, "\\", "/", -1) - return filepath.Join(append([]string{dir}, strings.Split(cannonicalName, "/")...)...) + canonicalName := strings.Replace(name, "\\", "/", -1) + return filepath.Join(append([]string{dir}, strings.Split(canonicalName, "/")...)...) } - diff --git a/appdatabase/migrationsprevnodecfg/bindata.go b/appdatabase/migrationsprevnodecfg/bindata.go index b462c8ea8..29dba0554 100644 --- a/appdatabase/migrationsprevnodecfg/bindata.go +++ b/appdatabase/migrationsprevnodecfg/bindata.go @@ -1,66 +1,66 @@ -// Code generated by go-bindata. +// Code generated by go-bindata. DO NOT EDIT. // sources: -// 0001_app.down.sql -// 0001_app.up.sql -// 0002_tokens.down.sql -// 0002_tokens.up.sql -// 0003_settings.down.sql -// 0003_settings.up.sql -// 0004_pending_stickers.down.sql -// 0004_pending_stickers.up.sql -// 0005_waku_mode.down.sql -// 0005_waku_mode.up.sql -// 0006_appearance.up.sql -// 0007_enable_waku_default.up.sql -// 0008_add_push_notifications.up.sql -// 0009_enable_sending_push_notifications.down.sql -// 0009_enable_sending_push_notifications.up.sql -// 0010_add_block_mentions.down.sql -// 0010_add_block_mentions.up.sql -// 0011_allow_webview_permission_requests.down.sql -// 0011_allow_webview_permission_requests.up.sql -// 0012_pending_transactions.down.sql -// 0012_pending_transactions.up.sql -// 0013_favourites.down.sql -// 0013_favourites.up.sql -// 0014_add_use_mailservers.down.sql -// 0014_add_use_mailservers.up.sql -// 0015_link_previews.down.sql -// 0015_link_previews.up.sql -// 0016_local_notifications_preferences.down.sql -// 0016_local_notifications_preferences.up.sql -// 0017_bookmarks.down.sql -// 0017_bookmarks.up.sql -// 0018_profile_pictures_visibility.up.sql -// 0019_blocks_ranges_extra_data.up.sql -// 0020_metrics.up.sql -// 0021_add_session_id_to_metrics.up.sql -// 0022_pending_transfers.up.sql -// 1618237885_settings_anon_metrics_should_send.up.sql -// 1618395756_contacts_only.up.sql -// 1622184614_add_default_sync_period.up.sql -// 1625872445_user_status.up.sql -// 1627983977_add_gif_to_settings.up.sql -// 1628580203_add_hidden_account.up.sql -// 1629123384_add_id_to_app_metrics.up.sql -// 1630401853_add_opensea_enabled_to_settings.up.sql -// 1630464455_create-saved_addresses-table.down.sql -// 1630464455_create-saved_addresses-table.up.sql -// 1630485153_networks.down.sql -// 1630485153_networks.up.sql -// 1632262444_profile_pictures_show_to.up.sql -// 1635942153_add_telemetry_server_url_to_settings.up.sql -// 1635942154_add_backup_setting.up.sql -// 1637745568_add_auto_message_setting.up.sql -// 1640111208_nodeconfig.up.sql -// doc.go -// DO NOT EDIT! +// 0001_app.down.sql (356B) +// 0001_app.up.sql (2.967kB) +// 0002_tokens.down.sql (19B) +// 0002_tokens.up.sql (248B) +// 0003_settings.down.sql (118B) +// 0003_settings.up.sql (1.311kB) +// 0004_pending_stickers.down.sql (0) +// 0004_pending_stickers.up.sql (61B) +// 0005_waku_mode.down.sql (0) +// 0005_waku_mode.up.sql (146B) +// 0006_appearance.up.sql (67B) +// 0007_enable_waku_default.up.sql (38B) +// 0008_add_push_notifications.up.sql (349B) +// 0009_enable_sending_push_notifications.down.sql (49B) +// 0009_enable_sending_push_notifications.up.sql (49B) +// 0010_add_block_mentions.down.sql (83B) +// 0010_add_block_mentions.up.sql (89B) +// 0011_allow_webview_permission_requests.down.sql (0) +// 0011_allow_webview_permission_requests.up.sql (88B) +// 0012_pending_transactions.down.sql (33B) +// 0012_pending_transactions.up.sql (321B) +// 0013_favourites.down.sql (23B) +// 0013_favourites.up.sql (132B) +// 0014_add_use_mailservers.down.sql (0) +// 0014_add_use_mailservers.up.sql (111B) +// 0015_link_previews.down.sql (0) +// 0015_link_previews.up.sql (203B) +// 0016_local_notifications_preferences.down.sql (43B) +// 0016_local_notifications_preferences.up.sql (204B) +// 0017_bookmarks.down.sql (22B) +// 0017_bookmarks.up.sql (147B) +// 0018_profile_pictures_visibility.up.sql (84B) +// 0019_blocks_ranges_extra_data.up.sql (89B) +// 0020_metrics.up.sql (235B) +// 0021_add_session_id_to_metrics.up.sql (55B) +// 0022_pending_transfers.up.sql (706B) +// 1618237885_settings_anon_metrics_should_send.up.sql (80B) +// 1618395756_contacts_only.up.sql (136B) +// 1622184614_add_default_sync_period.up.sql (125B) +// 1625872445_user_status.up.sql (351B) +// 1627983977_add_gif_to_settings.up.sql (102B) +// 1628580203_add_hidden_account.up.sql (67B) +// 1629123384_add_id_to_app_metrics.up.sql (589B) +// 1630401853_add_opensea_enabled_to_settings.up.sql (70B) +// 1630464455_create-saved_addresses-table.down.sql (28B) +// 1630464455_create-saved_addresses-table.up.sql (187B) +// 1630485153_networks.down.sql (21B) +// 1630485153_networks.up.sql (394B) +// 1632262444_profile_pictures_show_to.up.sql (81B) +// 1635942153_add_telemetry_server_url_to_settings.up.sql (128B) +// 1635942154_add_backup_setting.up.sql (287B) +// 1637745568_add_auto_message_setting.up.sql (122B) +// 1640111208_nodeconfig.up.sql (7.659kB) +// doc.go (85B) package migrationsprevnodecfg import ( "bytes" "compress/gzip" + "crypto/sha256" "fmt" "io" "io/ioutil" @@ -73,7 +73,7 @@ import ( func bindataRead(data []byte, name string) ([]byte, error) { gz, err := gzip.NewReader(bytes.NewBuffer(data)) if err != nil { - return nil, fmt.Errorf("Read %q: %v", name, err) + return nil, fmt.Errorf("read %q: %v", name, err) } var buf bytes.Buffer @@ -81,7 +81,7 @@ func bindataRead(data []byte, name string) ([]byte, error) { clErr := gz.Close() if err != nil { - return nil, fmt.Errorf("Read %q: %v", name, err) + return nil, fmt.Errorf("read %q: %v", name, err) } if clErr != nil { return nil, err @@ -91,8 +91,9 @@ func bindataRead(data []byte, name string) ([]byte, error) { } type asset struct { - bytes []byte - info os.FileInfo + bytes []byte + info os.FileInfo + digest [sha256.Size]byte } type bindataFileInfo struct { @@ -136,8 +137,8 @@ func _0001_appDownSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "0001_app.down.sql", size: 356, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "0001_app.down.sql", size: 356, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -156,8 +157,8 @@ func _0001_appUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "0001_app.up.sql", size: 2967, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "0001_app.up.sql", size: 2967, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -176,8 +177,8 @@ func _0002_tokensDownSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "0002_tokens.down.sql", size: 19, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "0002_tokens.down.sql", size: 19, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -196,8 +197,8 @@ func _0002_tokensUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "0002_tokens.up.sql", size: 248, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "0002_tokens.up.sql", size: 248, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -216,8 +217,8 @@ func _0003_settingsDownSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "0003_settings.down.sql", size: 118, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "0003_settings.down.sql", size: 118, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -236,8 +237,8 @@ func _0003_settingsUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "0003_settings.up.sql", size: 1311, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "0003_settings.up.sql", size: 1311, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -256,8 +257,8 @@ func _0004_pending_stickersDownSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "0004_pending_stickers.down.sql", size: 0, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "0004_pending_stickers.down.sql", size: 0, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -276,8 +277,8 @@ func _0004_pending_stickersUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "0004_pending_stickers.up.sql", size: 61, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "0004_pending_stickers.up.sql", size: 61, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -296,8 +297,8 @@ func _0005_waku_modeDownSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "0005_waku_mode.down.sql", size: 0, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "0005_waku_mode.down.sql", size: 0, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -316,8 +317,8 @@ func _0005_waku_modeUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "0005_waku_mode.up.sql", size: 146, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "0005_waku_mode.up.sql", size: 146, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -336,8 +337,8 @@ func _0006_appearanceUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "0006_appearance.up.sql", size: 67, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "0006_appearance.up.sql", size: 67, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -356,8 +357,8 @@ func _0007_enable_waku_defaultUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "0007_enable_waku_default.up.sql", size: 38, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "0007_enable_waku_default.up.sql", size: 38, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -376,8 +377,8 @@ func _0008_add_push_notificationsUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "0008_add_push_notifications.up.sql", size: 349, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "0008_add_push_notifications.up.sql", size: 349, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -396,8 +397,8 @@ func _0009_enable_sending_push_notificationsDownSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "0009_enable_sending_push_notifications.down.sql", size: 49, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "0009_enable_sending_push_notifications.down.sql", size: 49, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -416,8 +417,8 @@ func _0009_enable_sending_push_notificationsUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "0009_enable_sending_push_notifications.up.sql", size: 49, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "0009_enable_sending_push_notifications.up.sql", size: 49, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -436,8 +437,8 @@ func _0010_add_block_mentionsDownSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "0010_add_block_mentions.down.sql", size: 83, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "0010_add_block_mentions.down.sql", size: 83, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -456,8 +457,8 @@ func _0010_add_block_mentionsUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "0010_add_block_mentions.up.sql", size: 89, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "0010_add_block_mentions.up.sql", size: 89, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -476,8 +477,8 @@ func _0011_allow_webview_permission_requestsDownSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "0011_allow_webview_permission_requests.down.sql", size: 0, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "0011_allow_webview_permission_requests.down.sql", size: 0, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -496,8 +497,8 @@ func _0011_allow_webview_permission_requestsUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "0011_allow_webview_permission_requests.up.sql", size: 88, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "0011_allow_webview_permission_requests.up.sql", size: 88, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -516,8 +517,8 @@ func _0012_pending_transactionsDownSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "0012_pending_transactions.down.sql", size: 33, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "0012_pending_transactions.down.sql", size: 33, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -536,8 +537,8 @@ func _0012_pending_transactionsUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "0012_pending_transactions.up.sql", size: 321, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "0012_pending_transactions.up.sql", size: 321, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -556,8 +557,8 @@ func _0013_favouritesDownSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "0013_favourites.down.sql", size: 23, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "0013_favourites.down.sql", size: 23, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -576,8 +577,8 @@ func _0013_favouritesUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "0013_favourites.up.sql", size: 132, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "0013_favourites.up.sql", size: 132, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -596,8 +597,8 @@ func _0014_add_use_mailserversDownSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "0014_add_use_mailservers.down.sql", size: 0, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "0014_add_use_mailservers.down.sql", size: 0, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -616,8 +617,8 @@ func _0014_add_use_mailserversUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "0014_add_use_mailservers.up.sql", size: 111, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "0014_add_use_mailservers.up.sql", size: 111, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -636,8 +637,8 @@ func _0015_link_previewsDownSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "0015_link_previews.down.sql", size: 0, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "0015_link_previews.down.sql", size: 0, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -656,8 +657,8 @@ func _0015_link_previewsUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "0015_link_previews.up.sql", size: 203, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "0015_link_previews.up.sql", size: 203, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -676,8 +677,8 @@ func _0016_local_notifications_preferencesDownSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "0016_local_notifications_preferences.down.sql", size: 43, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "0016_local_notifications_preferences.down.sql", size: 43, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -696,8 +697,8 @@ func _0016_local_notifications_preferencesUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "0016_local_notifications_preferences.up.sql", size: 204, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "0016_local_notifications_preferences.up.sql", size: 204, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -716,8 +717,8 @@ func _0017_bookmarksDownSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "0017_bookmarks.down.sql", size: 22, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "0017_bookmarks.down.sql", size: 22, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -736,8 +737,8 @@ func _0017_bookmarksUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "0017_bookmarks.up.sql", size: 147, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "0017_bookmarks.up.sql", size: 147, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -756,8 +757,8 @@ func _0018_profile_pictures_visibilityUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "0018_profile_pictures_visibility.up.sql", size: 84, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "0018_profile_pictures_visibility.up.sql", size: 84, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -776,8 +777,8 @@ func _0019_blocks_ranges_extra_dataUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "0019_blocks_ranges_extra_data.up.sql", size: 89, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "0019_blocks_ranges_extra_data.up.sql", size: 89, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -796,8 +797,8 @@ func _0020_metricsUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "0020_metrics.up.sql", size: 235, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "0020_metrics.up.sql", size: 235, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -816,8 +817,8 @@ func _0021_add_session_id_to_metricsUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "0021_add_session_id_to_metrics.up.sql", size: 55, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "0021_add_session_id_to_metrics.up.sql", size: 55, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -836,8 +837,8 @@ func _0022_pending_transfersUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "0022_pending_transfers.up.sql", size: 706, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "0022_pending_transfers.up.sql", size: 706, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -856,8 +857,8 @@ func _1618237885_settings_anon_metrics_should_sendUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1618237885_settings_anon_metrics_should_send.up.sql", size: 80, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1618237885_settings_anon_metrics_should_send.up.sql", size: 80, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -876,8 +877,8 @@ func _1618395756_contacts_onlyUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1618395756_contacts_only.up.sql", size: 136, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1618395756_contacts_only.up.sql", size: 136, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -896,8 +897,8 @@ func _1622184614_add_default_sync_periodUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1622184614_add_default_sync_period.up.sql", size: 125, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1622184614_add_default_sync_period.up.sql", size: 125, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -916,8 +917,8 @@ func _1625872445_user_statusUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1625872445_user_status.up.sql", size: 351, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1625872445_user_status.up.sql", size: 351, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -936,8 +937,8 @@ func _1627983977_add_gif_to_settingsUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1627983977_add_gif_to_settings.up.sql", size: 102, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1627983977_add_gif_to_settings.up.sql", size: 102, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -956,8 +957,8 @@ func _1628580203_add_hidden_accountUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1628580203_add_hidden_account.up.sql", size: 67, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1628580203_add_hidden_account.up.sql", size: 67, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -976,8 +977,8 @@ func _1629123384_add_id_to_app_metricsUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1629123384_add_id_to_app_metrics.up.sql", size: 589, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1629123384_add_id_to_app_metrics.up.sql", size: 589, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -996,8 +997,8 @@ func _1630401853_add_opensea_enabled_to_settingsUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1630401853_add_opensea_enabled_to_settings.up.sql", size: 70, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1630401853_add_opensea_enabled_to_settings.up.sql", size: 70, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -1016,8 +1017,8 @@ func _1630464455_createSaved_addressesTableDownSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1630464455_create-saved_addresses-table.down.sql", size: 28, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1630464455_create-saved_addresses-table.down.sql", size: 28, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -1036,8 +1037,8 @@ func _1630464455_createSaved_addressesTableUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1630464455_create-saved_addresses-table.up.sql", size: 187, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1630464455_create-saved_addresses-table.up.sql", size: 187, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -1056,8 +1057,8 @@ func _1630485153_networksDownSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1630485153_networks.down.sql", size: 21, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1630485153_networks.down.sql", size: 21, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -1076,8 +1077,8 @@ func _1630485153_networksUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1630485153_networks.up.sql", size: 394, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1630485153_networks.up.sql", size: 394, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -1096,8 +1097,8 @@ func _1632262444_profile_pictures_show_toUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1632262444_profile_pictures_show_to.up.sql", size: 81, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1632262444_profile_pictures_show_to.up.sql", size: 81, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -1116,8 +1117,8 @@ func _1635942153_add_telemetry_server_url_to_settingsUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1635942153_add_telemetry_server_url_to_settings.up.sql", size: 128, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1635942153_add_telemetry_server_url_to_settings.up.sql", size: 128, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -1136,8 +1137,8 @@ func _1635942154_add_backup_settingUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1635942154_add_backup_setting.up.sql", size: 287, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1635942154_add_backup_setting.up.sql", size: 287, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -1156,8 +1157,8 @@ func _1637745568_add_auto_message_settingUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1637745568_add_auto_message_setting.up.sql", size: 122, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1637745568_add_auto_message_setting.up.sql", size: 122, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -1176,8 +1177,8 @@ func _1640111208_nodeconfigUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1640111208_nodeconfig.up.sql", size: 7659, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "1640111208_nodeconfig.up.sql", size: 7659, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -1196,8 +1197,8 @@ func docGo() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "doc.go", size: 85, mode: os.FileMode(436), modTime: time.Unix(1697097878, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "doc.go", size: 85, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -1205,8 +1206,8 @@ func docGo() (*asset, error) { // It returns an error if the asset could not be found or // could not be loaded. func Asset(name string) ([]byte, error) { - cannonicalName := strings.Replace(name, "\\", "/", -1) - if f, ok := _bindata[cannonicalName]; ok { + canonicalName := strings.Replace(name, "\\", "/", -1) + if f, ok := _bindata[canonicalName]; ok { a, err := f() if err != nil { return nil, fmt.Errorf("Asset %s can't read by error: %v", name, err) @@ -1216,6 +1217,12 @@ func Asset(name string) ([]byte, error) { return nil, fmt.Errorf("Asset %s not found", name) } +// AssetString returns the asset contents as a string (instead of a []byte). +func AssetString(name string) (string, error) { + data, err := Asset(name) + return string(data), err +} + // MustAsset is like Asset but panics when Asset would return an error. // It simplifies safe initialization of global variables. func MustAsset(name string) []byte { @@ -1227,12 +1234,18 @@ func MustAsset(name string) []byte { return a } +// MustAssetString is like AssetString but panics when Asset would return an +// error. It simplifies safe initialization of global variables. +func MustAssetString(name string) string { + return string(MustAsset(name)) +} + // AssetInfo loads and returns the asset info for the given name. // It returns an error if the asset could not be found or // could not be loaded. func AssetInfo(name string) (os.FileInfo, error) { - cannonicalName := strings.Replace(name, "\\", "/", -1) - if f, ok := _bindata[cannonicalName]; ok { + canonicalName := strings.Replace(name, "\\", "/", -1) + if f, ok := _bindata[canonicalName]; ok { a, err := f() if err != nil { return nil, fmt.Errorf("AssetInfo %s can't read by error: %v", name, err) @@ -1242,6 +1255,33 @@ func AssetInfo(name string) (os.FileInfo, error) { return nil, fmt.Errorf("AssetInfo %s not found", name) } +// AssetDigest returns the digest of the file with the given name. It returns an +// error if the asset could not be found or the digest could not be loaded. +func AssetDigest(name string) ([sha256.Size]byte, error) { + canonicalName := strings.Replace(name, "\\", "/", -1) + if f, ok := _bindata[canonicalName]; ok { + a, err := f() + if err != nil { + return [sha256.Size]byte{}, fmt.Errorf("AssetDigest %s can't read by error: %v", name, err) + } + return a.digest, nil + } + return [sha256.Size]byte{}, fmt.Errorf("AssetDigest %s not found", name) +} + +// Digests returns a map of all known files and their checksums. +func Digests() (map[string][sha256.Size]byte, error) { + mp := make(map[string][sha256.Size]byte, len(_bindata)) + for name := range _bindata { + a, err := _bindata[name]() + if err != nil { + return nil, err + } + mp[name] = a.digest + } + return mp, nil +} + // AssetNames returns the names of the assets. func AssetNames() []string { names := make([]string, 0, len(_bindata)) @@ -1254,58 +1294,111 @@ func AssetNames() []string { // _bindata is a table, holding each asset generator, mapped to its name. var _bindata = map[string]func() (*asset, error){ "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, } @@ -1318,15 +1411,15 @@ var _bindata = map[string]func() (*asset, error){ // img/ // a.png // b.png -// then AssetDir("data") would return []string{"foo.txt", "img"} -// AssetDir("data/img") would return []string{"a.png", "b.png"} -// AssetDir("foo.txt") and AssetDir("notexist") would return an error +// then AssetDir("data") would return []string{"foo.txt", "img"}, +// AssetDir("data/img") would return []string{"a.png", "b.png"}, +// AssetDir("foo.txt") and AssetDir("notexist") would return an error, and // AssetDir("") will return []string{"data"}. func AssetDir(name string) ([]string, error) { node := _bintree if len(name) != 0 { - cannonicalName := strings.Replace(name, "\\", "/", -1) - pathList := strings.Split(cannonicalName, "/") + canonicalName := strings.Replace(name, "\\", "/", -1) + pathList := strings.Split(canonicalName, "/") for _, p := range pathList { node = node.Children[p] if node == nil { @@ -1348,64 +1441,65 @@ type bintree struct { Func func() (*asset, error) Children map[string]*bintree } + var _bintree = &bintree{nil, map[string]*bintree{ - "0001_app.down.sql": &bintree{_0001_appDownSql, map[string]*bintree{}}, - "0001_app.up.sql": &bintree{_0001_appUpSql, map[string]*bintree{}}, - "0002_tokens.down.sql": &bintree{_0002_tokensDownSql, map[string]*bintree{}}, - "0002_tokens.up.sql": &bintree{_0002_tokensUpSql, map[string]*bintree{}}, - "0003_settings.down.sql": &bintree{_0003_settingsDownSql, map[string]*bintree{}}, - "0003_settings.up.sql": &bintree{_0003_settingsUpSql, map[string]*bintree{}}, - "0004_pending_stickers.down.sql": &bintree{_0004_pending_stickersDownSql, map[string]*bintree{}}, - "0004_pending_stickers.up.sql": &bintree{_0004_pending_stickersUpSql, map[string]*bintree{}}, - "0005_waku_mode.down.sql": &bintree{_0005_waku_modeDownSql, map[string]*bintree{}}, - "0005_waku_mode.up.sql": &bintree{_0005_waku_modeUpSql, map[string]*bintree{}}, - "0006_appearance.up.sql": &bintree{_0006_appearanceUpSql, map[string]*bintree{}}, - "0007_enable_waku_default.up.sql": &bintree{_0007_enable_waku_defaultUpSql, map[string]*bintree{}}, - "0008_add_push_notifications.up.sql": &bintree{_0008_add_push_notificationsUpSql, 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": &bintree{_0009_enable_sending_push_notificationsUpSql, map[string]*bintree{}}, - "0010_add_block_mentions.down.sql": &bintree{_0010_add_block_mentionsDownSql, map[string]*bintree{}}, - "0010_add_block_mentions.up.sql": &bintree{_0010_add_block_mentionsUpSql, 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": &bintree{_0011_allow_webview_permission_requestsUpSql, map[string]*bintree{}}, - "0012_pending_transactions.down.sql": &bintree{_0012_pending_transactionsDownSql, map[string]*bintree{}}, - "0012_pending_transactions.up.sql": &bintree{_0012_pending_transactionsUpSql, map[string]*bintree{}}, - "0013_favourites.down.sql": &bintree{_0013_favouritesDownSql, map[string]*bintree{}}, - "0013_favourites.up.sql": &bintree{_0013_favouritesUpSql, map[string]*bintree{}}, - "0014_add_use_mailservers.down.sql": &bintree{_0014_add_use_mailserversDownSql, map[string]*bintree{}}, - "0014_add_use_mailservers.up.sql": &bintree{_0014_add_use_mailserversUpSql, map[string]*bintree{}}, - "0015_link_previews.down.sql": &bintree{_0015_link_previewsDownSql, map[string]*bintree{}}, - "0015_link_previews.up.sql": &bintree{_0015_link_previewsUpSql, map[string]*bintree{}}, - "0016_local_notifications_preferences.down.sql": &bintree{_0016_local_notifications_preferencesDownSql, map[string]*bintree{}}, - "0016_local_notifications_preferences.up.sql": &bintree{_0016_local_notifications_preferencesUpSql, map[string]*bintree{}}, - "0017_bookmarks.down.sql": &bintree{_0017_bookmarksDownSql, map[string]*bintree{}}, - "0017_bookmarks.up.sql": &bintree{_0017_bookmarksUpSql, map[string]*bintree{}}, - "0018_profile_pictures_visibility.up.sql": &bintree{_0018_profile_pictures_visibilityUpSql, map[string]*bintree{}}, - "0019_blocks_ranges_extra_data.up.sql": &bintree{_0019_blocks_ranges_extra_dataUpSql, map[string]*bintree{}}, - "0020_metrics.up.sql": &bintree{_0020_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": &bintree{_0022_pending_transfersUpSql, 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": &bintree{_1618395756_contacts_onlyUpSql, map[string]*bintree{}}, - "1622184614_add_default_sync_period.up.sql": &bintree{_1622184614_add_default_sync_periodUpSql, map[string]*bintree{}}, - "1625872445_user_status.up.sql": &bintree{_1625872445_user_statusUpSql, 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": &bintree{_1628580203_add_hidden_accountUpSql, 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": &bintree{_1630401853_add_opensea_enabled_to_settingsUpSql, map[string]*bintree{}}, - "1630464455_create-saved_addresses-table.down.sql": &bintree{_1630464455_createSaved_addressesTableDownSql, map[string]*bintree{}}, - "1630464455_create-saved_addresses-table.up.sql": &bintree{_1630464455_createSaved_addressesTableUpSql, map[string]*bintree{}}, - "1630485153_networks.down.sql": &bintree{_1630485153_networksDownSql, map[string]*bintree{}}, - "1630485153_networks.up.sql": &bintree{_1630485153_networksUpSql, map[string]*bintree{}}, - "1632262444_profile_pictures_show_to.up.sql": &bintree{_1632262444_profile_pictures_show_toUpSql, map[string]*bintree{}}, + "0001_app.down.sql": &bintree{_0001_appDownSql, map[string]*bintree{}}, + "0001_app.up.sql": &bintree{_0001_appUpSql, map[string]*bintree{}}, + "0002_tokens.down.sql": &bintree{_0002_tokensDownSql, map[string]*bintree{}}, + "0002_tokens.up.sql": &bintree{_0002_tokensUpSql, map[string]*bintree{}}, + "0003_settings.down.sql": &bintree{_0003_settingsDownSql, map[string]*bintree{}}, + "0003_settings.up.sql": &bintree{_0003_settingsUpSql, map[string]*bintree{}}, + "0004_pending_stickers.down.sql": &bintree{_0004_pending_stickersDownSql, map[string]*bintree{}}, + "0004_pending_stickers.up.sql": &bintree{_0004_pending_stickersUpSql, map[string]*bintree{}}, + "0005_waku_mode.down.sql": &bintree{_0005_waku_modeDownSql, map[string]*bintree{}}, + "0005_waku_mode.up.sql": &bintree{_0005_waku_modeUpSql, map[string]*bintree{}}, + "0006_appearance.up.sql": &bintree{_0006_appearanceUpSql, map[string]*bintree{}}, + "0007_enable_waku_default.up.sql": &bintree{_0007_enable_waku_defaultUpSql, map[string]*bintree{}}, + "0008_add_push_notifications.up.sql": &bintree{_0008_add_push_notificationsUpSql, 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": &bintree{_0009_enable_sending_push_notificationsUpSql, map[string]*bintree{}}, + "0010_add_block_mentions.down.sql": &bintree{_0010_add_block_mentionsDownSql, map[string]*bintree{}}, + "0010_add_block_mentions.up.sql": &bintree{_0010_add_block_mentionsUpSql, 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": &bintree{_0011_allow_webview_permission_requestsUpSql, map[string]*bintree{}}, + "0012_pending_transactions.down.sql": &bintree{_0012_pending_transactionsDownSql, map[string]*bintree{}}, + "0012_pending_transactions.up.sql": &bintree{_0012_pending_transactionsUpSql, map[string]*bintree{}}, + "0013_favourites.down.sql": &bintree{_0013_favouritesDownSql, map[string]*bintree{}}, + "0013_favourites.up.sql": &bintree{_0013_favouritesUpSql, map[string]*bintree{}}, + "0014_add_use_mailservers.down.sql": &bintree{_0014_add_use_mailserversDownSql, map[string]*bintree{}}, + "0014_add_use_mailservers.up.sql": &bintree{_0014_add_use_mailserversUpSql, map[string]*bintree{}}, + "0015_link_previews.down.sql": &bintree{_0015_link_previewsDownSql, map[string]*bintree{}}, + "0015_link_previews.up.sql": &bintree{_0015_link_previewsUpSql, map[string]*bintree{}}, + "0016_local_notifications_preferences.down.sql": &bintree{_0016_local_notifications_preferencesDownSql, map[string]*bintree{}}, + "0016_local_notifications_preferences.up.sql": &bintree{_0016_local_notifications_preferencesUpSql, map[string]*bintree{}}, + "0017_bookmarks.down.sql": &bintree{_0017_bookmarksDownSql, map[string]*bintree{}}, + "0017_bookmarks.up.sql": &bintree{_0017_bookmarksUpSql, map[string]*bintree{}}, + "0018_profile_pictures_visibility.up.sql": &bintree{_0018_profile_pictures_visibilityUpSql, map[string]*bintree{}}, + "0019_blocks_ranges_extra_data.up.sql": &bintree{_0019_blocks_ranges_extra_dataUpSql, map[string]*bintree{}}, + "0020_metrics.up.sql": &bintree{_0020_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": &bintree{_0022_pending_transfersUpSql, 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": &bintree{_1618395756_contacts_onlyUpSql, map[string]*bintree{}}, + "1622184614_add_default_sync_period.up.sql": &bintree{_1622184614_add_default_sync_periodUpSql, map[string]*bintree{}}, + "1625872445_user_status.up.sql": &bintree{_1625872445_user_statusUpSql, 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": &bintree{_1628580203_add_hidden_accountUpSql, 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": &bintree{_1630401853_add_opensea_enabled_to_settingsUpSql, map[string]*bintree{}}, + "1630464455_create-saved_addresses-table.down.sql": &bintree{_1630464455_createSaved_addressesTableDownSql, map[string]*bintree{}}, + "1630464455_create-saved_addresses-table.up.sql": &bintree{_1630464455_createSaved_addressesTableUpSql, map[string]*bintree{}}, + "1630485153_networks.down.sql": &bintree{_1630485153_networksDownSql, map[string]*bintree{}}, + "1630485153_networks.up.sql": &bintree{_1630485153_networksUpSql, 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": &bintree{_1635942153_add_telemetry_server_url_to_settingsUpSql, map[string]*bintree{}}, - "1635942154_add_backup_setting.up.sql": &bintree{_1635942154_add_backup_settingUpSql, map[string]*bintree{}}, - "1637745568_add_auto_message_setting.up.sql": &bintree{_1637745568_add_auto_message_settingUpSql, map[string]*bintree{}}, - "1640111208_nodeconfig.up.sql": &bintree{_1640111208_nodeconfigUpSql, map[string]*bintree{}}, - "doc.go": &bintree{docGo, map[string]*bintree{}}, + "1635942154_add_backup_setting.up.sql": &bintree{_1635942154_add_backup_settingUpSql, map[string]*bintree{}}, + "1637745568_add_auto_message_setting.up.sql": &bintree{_1637745568_add_auto_message_settingUpSql, map[string]*bintree{}}, + "1640111208_nodeconfig.up.sql": &bintree{_1640111208_nodeconfigUpSql, 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. func RestoreAsset(dir, name string) error { data, err := Asset(name) if err != nil { @@ -1423,14 +1517,10 @@ func RestoreAsset(dir, name string) error { if err != nil { return err } - err = os.Chtimes(_filePath(dir, name), info.ModTime(), info.ModTime()) - if err != nil { - return err - } - return nil + return os.Chtimes(_filePath(dir, name), info.ModTime(), info.ModTime()) } -// RestoreAssets restores an asset under the given directory recursively +// RestoreAssets restores an asset under the given directory recursively. func RestoreAssets(dir, name string) error { children, err := AssetDir(name) // File @@ -1448,7 +1538,6 @@ func RestoreAssets(dir, name string) error { } func _filePath(dir, name string) string { - cannonicalName := strings.Replace(name, "\\", "/", -1) - return filepath.Join(append([]string{dir}, strings.Split(cannonicalName, "/")...)...) + canonicalName := strings.Replace(name, "\\", "/", -1) + return filepath.Join(append([]string{dir}, strings.Split(canonicalName, "/")...)...) } - diff --git a/mailserver/migrations/bindata.go b/mailserver/migrations/bindata.go index 90c4c1fbd..248a41942 100644 --- a/mailserver/migrations/bindata.go +++ b/mailserver/migrations/bindata.go @@ -86,7 +86,7 @@ func _1557732988_initialize_dbDownSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1557732988_initialize_db.down.sql", size: 72, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} + info := bindataFileInfo{name: "1557732988_initialize_db.down.sql", size: 72, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -106,7 +106,7 @@ func _1557732988_initialize_dbUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1557732988_initialize_db.up.sql", size: 278, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} + info := bindataFileInfo{name: "1557732988_initialize_db.up.sql", size: 278, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -126,7 +126,7 @@ func staticGo() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "static.go", size: 178, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} + info := bindataFileInfo{name: "static.go", size: 178, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } diff --git a/multiaccounts/migrations/bindata.go b/multiaccounts/migrations/bindata.go index f6ec161e8..83670f6f7 100644 --- a/multiaccounts/migrations/bindata.go +++ b/multiaccounts/migrations/bindata.go @@ -96,7 +96,7 @@ func _0001_accountsDownSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "0001_accounts.down.sql", size: 21, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} + info := bindataFileInfo{name: "0001_accounts.down.sql", size: 21, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -116,7 +116,7 @@ func _0001_accountsUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "0001_accounts.up.sql", size: 163, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} + info := bindataFileInfo{name: "0001_accounts.up.sql", size: 163, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -136,7 +136,7 @@ func _1605007189_identity_imagesDownSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1605007189_identity_images.down.sql", size: 29, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} + info := bindataFileInfo{name: "1605007189_identity_images.down.sql", size: 29, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -156,7 +156,7 @@ func _1605007189_identity_imagesUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1605007189_identity_images.up.sql", size: 268, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} + info := bindataFileInfo{name: "1605007189_identity_images.up.sql", size: 268, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -176,7 +176,7 @@ func _1606224181_drop_photo_path_from_accountsDownSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1606224181_drop_photo_path_from_accounts.down.sql", size: 892, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} + info := bindataFileInfo{name: "1606224181_drop_photo_path_from_accounts.down.sql", size: 892, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -196,7 +196,7 @@ func _1606224181_drop_photo_path_from_accountsUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1606224181_drop_photo_path_from_accounts.up.sql", size: 866, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} + info := bindataFileInfo{name: "1606224181_drop_photo_path_from_accounts.up.sql", size: 866, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -216,7 +216,7 @@ func _1648646095_image_clockDownSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1648646095_image_clock.down.sql", size: 939, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} + info := bindataFileInfo{name: "1648646095_image_clock.down.sql", size: 939, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -236,7 +236,7 @@ func _1648646095_image_clockUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1648646095_image_clock.up.sql", size: 69, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} + info := bindataFileInfo{name: "1648646095_image_clock.up.sql", size: 69, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -256,7 +256,7 @@ func _1649317600_add_color_hashUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1649317600_add_color_hash.up.sql", size: 201, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} + info := bindataFileInfo{name: "1649317600_add_color_hash.up.sql", size: 201, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -276,7 +276,7 @@ func _1660238799_accounts_kdfUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1660238799_accounts_kdf.up.sql", size: 115, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} + info := bindataFileInfo{name: "1660238799_accounts_kdf.up.sql", size: 115, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -296,7 +296,7 @@ func _1679505708_add_customization_colorUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1679505708_add_customization_color.up.sql", size: 78, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} + info := bindataFileInfo{name: "1679505708_add_customization_color.up.sql", size: 78, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -316,7 +316,7 @@ func _1687853321_add_customization_color_updated_atUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1687853321_add_customization_color_updated_at.up.sql", size: 80, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} + info := bindataFileInfo{name: "1687853321_add_customization_color_updated_at.up.sql", size: 80, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -336,7 +336,7 @@ func docGo() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "doc.go", size: 74, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} + info := bindataFileInfo{name: "doc.go", size: 74, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } diff --git a/protocol/anonmetrics/migrations/migrations.go b/protocol/anonmetrics/migrations/migrations.go index 838e41c2d..179f69687 100644 --- a/protocol/anonmetrics/migrations/migrations.go +++ b/protocol/anonmetrics/migrations/migrations.go @@ -86,7 +86,7 @@ func _1619446565_postgres_make_anon_metrics_tableDownSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1619446565_postgres_make_anon_metrics_table.down.sql", size: 24, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} + info := bindataFileInfo{name: "1619446565_postgres_make_anon_metrics_table.down.sql", size: 24, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -106,7 +106,7 @@ func _1619446565_postgres_make_anon_metrics_tableUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1619446565_postgres_make_anon_metrics_table.up.sql", size: 443, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} + info := bindataFileInfo{name: "1619446565_postgres_make_anon_metrics_table.up.sql", size: 443, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -126,7 +126,7 @@ func docGo() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "doc.go", size: 380, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} + info := bindataFileInfo{name: "doc.go", size: 380, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } diff --git a/protocol/common/media_server_image_id.go b/protocol/common/media_server_image_id.go new file mode 100644 index 000000000..7c8cb99e7 --- /dev/null +++ b/protocol/common/media_server_image_id.go @@ -0,0 +1,28 @@ +package common + +type MediaServerImageIDPrefix string +type MediaServerImageIDPostfix string +type MediaServerImageID string + +func CreateImageID(prefix MediaServerImageIDPrefix, postfix MediaServerImageIDPostfix) MediaServerImageID { + return MediaServerImageID(string(prefix) + string(postfix)) +} + +const ( + MediaServerIconPostfix MediaServerImageIDPostfix = "icon" + MediaServerBannerPostfix MediaServerImageIDPostfix = "banner" +) + +const ( + MediaServerContactPrefix MediaServerImageIDPrefix = "contact-" + MediaServerCommunityPrefix MediaServerImageIDPrefix = "community-" + MediaServerChannelCommunityPrefix MediaServerImageIDPrefix = "community-channel-" +) + +const ( + MediaServerContactIcon = MediaServerImageID(string(MediaServerContactPrefix) + string(MediaServerIconPostfix)) + MediaServerCommunityIcon = MediaServerImageID(string(MediaServerCommunityPrefix) + string(MediaServerIconPostfix)) + MediaServerCommunityBanner = MediaServerImageID(string(MediaServerCommunityPrefix) + string(MediaServerBannerPostfix)) + MediaServerChannelCommunityIcon = MediaServerImageID(string(MediaServerChannelCommunityPrefix) + string(MediaServerIconPostfix)) + MediaServerChannelCommunityBanner = MediaServerImageID(string(MediaServerChannelCommunityPrefix) + string(MediaServerBannerPostfix)) +) diff --git a/protocol/common/message.go b/protocol/common/message.go index 69e1ef35c..20a98addf 100644 --- a/protocol/common/message.go +++ b/protocol/common/message.go @@ -8,7 +8,6 @@ import ( "errors" "fmt" "io/ioutil" - "net/url" "os" "strings" "unicode" @@ -82,26 +81,6 @@ const ( ContactVerificationStateCanceled ) -type LinkPreviewThumbnail struct { - Width int `json:"width"` - Height int `json:"height"` - // Non-empty when the thumbnail is available via the media server, i.e. after - // the chat message is sent. - URL string `json:"url,omitempty"` - // Non-empty when the thumbnail payload needs to be shared with the client, - // but before it has been persisted. - DataURI string `json:"dataUri,omitempty"` -} - -type LinkPreview struct { - Type protobuf.UnfurledLink_LinkType `json:"type"` - URL string `json:"url"` - Hostname string `json:"hostname"` - Title string `json:"title,omitempty"` - Description string `json:"description,omitempty"` - Thumbnail LinkPreviewThumbnail `json:"thumbnail,omitempty"` -} - const EveryoneMentionTag = "0x00001" type CommandParameters struct { @@ -219,8 +198,9 @@ type Message struct { Replied bool `json:"replied"` // Links is an array of links within given message - Links []string - LinkPreviews []LinkPreview `json:"linkPreviews"` + Links []string + LinkPreviews []LinkPreview `json:"linkPreviews"` + StatusLinkPreviews []StatusLinkPreview `json:"statusLinkPreviews"` // EditedAt indicates the clock value it was edited EditedAt uint64 `json:"editedAt"` @@ -292,6 +272,7 @@ func (m *Message) MarshalJSON() ([]byte, error) { Replied bool `json:"replied,omitempty"` Links []string `json:"links,omitempty"` LinkPreviews []LinkPreview `json:"linkPreviews,omitempty"` + StatusLinkPreviews []StatusLinkPreview `json:"statusLinkPreviews,omitempty"` EditedAt uint64 `json:"editedAt,omitempty"` Deleted bool `json:"deleted,omitempty"` DeletedBy string `json:"deletedBy,omitempty"` @@ -331,6 +312,7 @@ func (m *Message) MarshalJSON() ([]byte, error) { Replied: m.Replied, Links: m.Links, LinkPreviews: m.LinkPreviews, + StatusLinkPreviews: m.StatusLinkPreviews, MessageType: m.MessageType, CommandParameters: m.CommandParameters, GapParameters: m.GapParameters, @@ -763,98 +745,6 @@ func (m *Message) LoadImage() error { return nil } -func isValidLinkPreviewThumbnail(thumbnail LinkPreviewThumbnail) bool { - return (thumbnail.DataURI == "" && thumbnail.Width == 0 && thumbnail.Height == 0) || - (thumbnail.DataURI != "" && thumbnail.Width > 0 && thumbnail.Height > 0) -} - -func isValidLinkPreviewForProto(preview LinkPreview) bool { - switch preview.Type { - case protobuf.UnfurledLink_IMAGE: - return preview.URL != "" && isValidLinkPreviewThumbnail(preview.Thumbnail) - default: // Validate as a link type by default. - return preview.Title != "" && preview.URL != "" && isValidLinkPreviewThumbnail(preview.Thumbnail) - } -} - -// ConvertLinkPreviewsToProto expects previews to be correctly sent by the -// client because we can't attempt to re-unfurl URLs at this point (it's -// actually undesirable). We run a basic validation as an additional safety net. -func (m *Message) ConvertLinkPreviewsToProto() ([]*protobuf.UnfurledLink, error) { - if len(m.LinkPreviews) == 0 { - return nil, nil - } - - unfurledLinks := make([]*protobuf.UnfurledLink, 0, len(m.LinkPreviews)) - - for _, preview := range m.LinkPreviews { - // Do not process subsequent previews because we do expect all previews to - // be valid at this stage. - if !isValidLinkPreviewForProto(preview) { - return nil, fmt.Errorf("invalid link preview, url='%s'", preview.URL) - } - - var payload []byte - var err error - if preview.Thumbnail.DataURI != "" { - payload, err = images.GetPayloadFromURI(preview.Thumbnail.DataURI) - if err != nil { - return nil, fmt.Errorf("could not get data URI payload, url='%s': %w", preview.URL, err) - } - } - - ul := &protobuf.UnfurledLink{ - Type: preview.Type, - Url: preview.URL, - Title: preview.Title, - Description: preview.Description, - ThumbnailWidth: uint32(preview.Thumbnail.Width), - ThumbnailHeight: uint32(preview.Thumbnail.Height), - ThumbnailPayload: payload, - } - unfurledLinks = append(unfurledLinks, ul) - } - - return unfurledLinks, nil -} - -func (m *Message) ConvertFromProtoToLinkPreviews(makeMediaServerURL func(msgID string, previewURL string) string) []LinkPreview { - var links []*protobuf.UnfurledLink - - if links = m.GetUnfurledLinks(); links == nil { - return nil - } - - previews := make([]LinkPreview, 0, len(links)) - for _, link := range links { - parsedURL, err := url.Parse(link.Url) - var hostname string - // URL parsing in Go can fail with URLs that weren't correctly URL encoded. - // This shouldn't happen in general, but if an error happens we just reuse - // the full URL. - if err != nil { - hostname = link.Url - } else { - hostname = parsedURL.Hostname() - } - lp := LinkPreview{ - Description: link.Description, - Hostname: hostname, - Title: link.Title, - Type: link.Type, - URL: link.Url, - } - if payload := link.GetThumbnailPayload(); payload != nil { - lp.Thumbnail.Width = int(link.ThumbnailWidth) - lp.Thumbnail.Height = int(link.ThumbnailHeight) - lp.Thumbnail.URL = makeMediaServerURL(m.ID, link.Url) - } - previews = append(previews, lp) - } - - return previews -} - func (m *Message) SetAlbumIDAndImagesCount(albumID string, imagesCount uint32) error { imageMessage := m.GetImage() if imageMessage == nil { diff --git a/protocol/common/message_linkpreview.go b/protocol/common/message_linkpreview.go new file mode 100644 index 000000000..852f80c2f --- /dev/null +++ b/protocol/common/message_linkpreview.go @@ -0,0 +1,470 @@ +package common + +import ( + "fmt" + "net/url" + + "github.com/status-im/status-go/images" + "github.com/status-im/status-go/protocol/protobuf" +) + +type MakeMediaServerURLType func(msgID string, previewURL string, imageID MediaServerImageID) string +type MakeMediaServerURLMessageWrapperType func(previewURL string, imageID MediaServerImageID) string + +type LinkPreviewThumbnail struct { + Width int `json:"width"` + Height int `json:"height"` + // Non-empty when the thumbnail is available via the media server, i.e. after + // the chat message is sent. + URL string `json:"url,omitempty"` + // Non-empty when the thumbnail payload needs to be shared with the client, + // but before it has been persisted. + DataURI string `json:"dataUri,omitempty"` +} + +type LinkPreview struct { + Type protobuf.UnfurledLink_LinkType `json:"type"` + URL string `json:"url"` + Hostname string `json:"hostname"` + Title string `json:"title,omitempty"` + Description string `json:"description,omitempty"` + Thumbnail LinkPreviewThumbnail `json:"thumbnail,omitempty"` +} + +type StatusContactLinkPreview struct { + PublicKey string `json:"publicKey"` + DisplayName string `json:"displayName"` + Description string `json:"description"` + Icon LinkPreviewThumbnail `json:"icon,omitempty"` +} + +type StatusCommunityLinkPreview struct { + CommunityID string `json:"communityId"` + DisplayName string `json:"displayName"` + Description string `json:"description"` + MembersCount uint32 `json:"membersCount"` + Color string `json:"color"` + Icon LinkPreviewThumbnail `json:"icon,omitempty"` + Banner LinkPreviewThumbnail `json:"banner,omitempty"` +} + +type StatusCommunityChannelLinkPreview struct { + ChannelUUID string `json:"channelUuid"` + Emoji string `json:"emoji"` + DisplayName string `json:"displayName"` + Description string `json:"description"` + Color string `json:"color"` + Community *StatusCommunityLinkPreview `json:"community"` +} + +type StatusLinkPreview struct { + URL string `json:"url,omitempty"` + Contact *StatusContactLinkPreview `json:"contact,omitempty"` + Community *StatusCommunityLinkPreview `json:"community,omitempty"` + Channel *StatusCommunityChannelLinkPreview `json:"channel,omitempty"` +} + +func (thumbnail *LinkPreviewThumbnail) IsEmpty() bool { + return thumbnail.Width == 0 && + thumbnail.Height == 0 && + thumbnail.URL == "" && + thumbnail.DataURI == "" +} + +func (thumbnail *LinkPreviewThumbnail) clear() { + thumbnail.Width = 0 + thumbnail.Height = 0 + thumbnail.URL = "" + thumbnail.DataURI = "" +} + +func (thumbnail *LinkPreviewThumbnail) validateForProto() error { + if thumbnail.DataURI == "" { + if thumbnail.Width == 0 && thumbnail.Height == 0 { + return nil + } + return fmt.Errorf("dataUri is empty, but width/height are not zero") + } + + if thumbnail.Width == 0 || thumbnail.Height == 0 { + return fmt.Errorf("dataUri is not empty, but width/heigth are zero") + } + + return nil +} + +func (thumbnail *LinkPreviewThumbnail) convertToProto() (*protobuf.UnfurledLinkThumbnail, error) { + var payload []byte + var err error + if thumbnail.DataURI != "" { + payload, err = images.GetPayloadFromURI(thumbnail.DataURI) + if err != nil { + return nil, fmt.Errorf("could not get data URI payload, url='%s': %w", thumbnail.URL, err) + } + } + + return &protobuf.UnfurledLinkThumbnail{ + Width: uint32(thumbnail.Width), + Height: uint32(thumbnail.Height), + Payload: payload, + }, nil +} + +func (thumbnail *LinkPreviewThumbnail) loadFromProto( + input *protobuf.UnfurledLinkThumbnail, + URL string, + imageID MediaServerImageID, + makeMediaServerURL MakeMediaServerURLMessageWrapperType) { + + thumbnail.clear() + thumbnail.Width = int(input.Width) + thumbnail.Height = int(input.Height) + + if len(input.Payload) > 0 { + thumbnail.URL = makeMediaServerURL(URL, imageID) + } +} + +func (preview *LinkPreview) validateForProto() error { + switch preview.Type { + case protobuf.UnfurledLink_IMAGE: + if preview.URL == "" { + return fmt.Errorf("empty url") + } + if err := preview.Thumbnail.validateForProto(); err != nil { + return fmt.Errorf("thumbnail is not valid for proto: %w", err) + } + return nil + default: // Validate as a link type by default. + if preview.Title == "" { + return fmt.Errorf("title is empty") + } + if preview.URL == "" { + return fmt.Errorf("url is empty") + } + if err := preview.Thumbnail.validateForProto(); err != nil { + return fmt.Errorf("thumbnail is not valid for proto: %w", err) + } + return nil + } +} + +func (preview *StatusLinkPreview) validateForProto() error { + if preview.URL == "" { + return fmt.Errorf("url can't be empty") + } + + // At least and only one of Contact/Community/Channel should be present in the preview + if preview.Contact != nil && preview.Community != nil { + return fmt.Errorf("both contact and community are set at the same time") + } + if preview.Community != nil && preview.Channel != nil { + return fmt.Errorf("both community and channel are set at the same time") + } + if preview.Channel != nil && preview.Contact != nil { + return fmt.Errorf("both contact and channel are set at the same time") + } + if preview.Contact == nil && preview.Community == nil && preview.Channel == nil { + return fmt.Errorf("none of contact/community/channel are set") + } + + if preview.Contact != nil { + if preview.Contact.PublicKey == "" { + return fmt.Errorf("contact publicKey is empty") + } + if err := preview.Contact.Icon.validateForProto(); err != nil { + return fmt.Errorf("contact icon invalid: %w", err) + } + return nil + } + + if preview.Community != nil { + return preview.Community.validateForProto() + } + + if preview.Channel != nil { + if preview.Channel.ChannelUUID == "" { + return fmt.Errorf("channelUuid is empty") + } + if preview.Channel.Community == nil { + return fmt.Errorf("channel community is nil") + } + if err := preview.Channel.Community.validateForProto(); err != nil { + return fmt.Errorf("channel community is not valid: %w", err) + } + return nil + } + return nil +} + +func (preview *StatusCommunityLinkPreview) validateForProto() error { + if preview == nil { + return fmt.Errorf("community preview is empty") + } + if preview.CommunityID == "" { + return fmt.Errorf("communityId is empty") + } + if err := preview.Icon.validateForProto(); err != nil { + return fmt.Errorf("community icon is invalid: %w", err) + } + if err := preview.Banner.validateForProto(); err != nil { + return fmt.Errorf("community banner is invalid: %w", err) + } + return nil +} + +func (preview *StatusCommunityLinkPreview) convertToProto() (*protobuf.UnfurledStatusCommunityLink, error) { + if preview == nil { + return nil, nil + } + + icon, err := preview.Icon.convertToProto() + if err != nil { + return nil, err + } + + banner, err := preview.Banner.convertToProto() + if err != nil { + return nil, err + } + + community := &protobuf.UnfurledStatusCommunityLink{ + CommunityId: []byte(preview.CommunityID), + DisplayName: preview.DisplayName, + Description: preview.Description, + MembersCount: preview.MembersCount, + Color: preview.Color, + Icon: icon, + Banner: banner, + } + + return community, nil +} + +func (preview *StatusCommunityLinkPreview) loadFromProto(c *protobuf.UnfurledStatusCommunityLink, + URL string, thumbnailPrefix MediaServerImageIDPrefix, + makeMediaServerURL MakeMediaServerURLMessageWrapperType) { + + preview.CommunityID = string(c.CommunityId) + preview.DisplayName = c.DisplayName + preview.Description = c.Description + preview.MembersCount = c.MembersCount + preview.Color = c.Color + preview.Icon.clear() + preview.Banner.clear() + + if icon := c.GetIcon(); icon != nil { + preview.Icon.loadFromProto(icon, URL, CreateImageID(thumbnailPrefix, MediaServerIconPostfix), makeMediaServerURL) + } + if banner := c.GetBanner(); banner != nil { + preview.Banner.loadFromProto(banner, URL, CreateImageID(thumbnailPrefix, MediaServerBannerPostfix), makeMediaServerURL) + } +} + +// ConvertLinkPreviewsToProto expects previews to be correctly sent by the +// client because we can't attempt to re-unfurl URLs at this point (it's +// actually undesirable). We run a basic validation as an additional safety net. +func (m *Message) ConvertLinkPreviewsToProto() ([]*protobuf.UnfurledLink, error) { + if len(m.LinkPreviews) == 0 { + return nil, nil + } + + unfurledLinks := make([]*protobuf.UnfurledLink, 0, len(m.LinkPreviews)) + + for _, preview := range m.LinkPreviews { + // Do not process subsequent previews because we do expect all previews to + // be valid at this stage. + if err := preview.validateForProto(); err != nil { + return nil, fmt.Errorf("invalid link preview, url='%s': %w", preview.URL, err) + } + + var payload []byte + var err error + if preview.Thumbnail.DataURI != "" { + payload, err = images.GetPayloadFromURI(preview.Thumbnail.DataURI) + if err != nil { + return nil, fmt.Errorf("could not get data URI payload, url='%s': %w", preview.URL, err) + } + } + + ul := &protobuf.UnfurledLink{ + Type: preview.Type, + Url: preview.URL, + Title: preview.Title, + Description: preview.Description, + ThumbnailWidth: uint32(preview.Thumbnail.Width), + ThumbnailHeight: uint32(preview.Thumbnail.Height), + ThumbnailPayload: payload, + } + unfurledLinks = append(unfurledLinks, ul) + } + + return unfurledLinks, nil +} + +func (m *Message) ConvertFromProtoToLinkPreviews(makeMediaServerURL func(msgID string, previewURL string) string) []LinkPreview { + var links []*protobuf.UnfurledLink + + if links = m.GetUnfurledLinks(); links == nil { + return nil + } + + previews := make([]LinkPreview, 0, len(links)) + for _, link := range links { + parsedURL, err := url.Parse(link.Url) + var hostname string + // URL parsing in Go can fail with URLs that weren't correctly URL encoded. + // This shouldn't happen in general, but if an error happens we just reuse + // the full URL. + if err != nil { + hostname = link.Url + } else { + hostname = parsedURL.Hostname() + } + lp := LinkPreview{ + Description: link.Description, + Hostname: hostname, + Title: link.Title, + Type: link.Type, + URL: link.Url, + } + mediaURL := "" + if len(link.ThumbnailPayload) > 0 { + mediaURL = makeMediaServerURL(m.ID, link.Url) + } + if link.GetThumbnailPayload() != nil { + lp.Thumbnail.Width = int(link.ThumbnailWidth) + lp.Thumbnail.Height = int(link.ThumbnailHeight) + lp.Thumbnail.URL = mediaURL + } + previews = append(previews, lp) + } + + return previews +} + +func (m *Message) ConvertStatusLinkPreviewsToProto() (*protobuf.UnfurledStatusLinks, error) { + if len(m.StatusLinkPreviews) == 0 { + return nil, nil + } + + unfurledLinks := make([]*protobuf.UnfurledStatusLink, 0, len(m.StatusLinkPreviews)) + + for _, preview := range m.StatusLinkPreviews { + // We expect all previews to be valid at this stage + if err := preview.validateForProto(); err != nil { + return nil, fmt.Errorf("invalid status link preview, url='%s': %w", preview.URL, err) + } + + ul := &protobuf.UnfurledStatusLink{ + Url: preview.URL, + } + + if preview.Contact != nil { + icon, err := preview.Contact.Icon.convertToProto() + if err != nil { + return nil, err + } + ul.Payload = &protobuf.UnfurledStatusLink_Contact{ + Contact: &protobuf.UnfurledStatusContactLink{ + PublicKey: []byte(preview.Contact.PublicKey), + DisplayName: preview.Contact.DisplayName, + Description: preview.Contact.Description, + Icon: icon, + }, + } + } + + if preview.Community != nil { + communityPreview, err := preview.Community.convertToProto() + if err != nil { + return nil, err + } + ul.Payload = &protobuf.UnfurledStatusLink_Community{ + Community: communityPreview, + } + } + + if preview.Channel != nil { + communityPreview, err := preview.Channel.Community.convertToProto() + if err != nil { + return nil, err + } + + ul.Payload = &protobuf.UnfurledStatusLink_Channel{ + Channel: &protobuf.UnfurledStatusChannelLink{ + ChannelUuid: []byte(preview.Channel.ChannelUUID), + Emoji: preview.Channel.Emoji, + DisplayName: preview.Channel.DisplayName, + Description: preview.Channel.Description, + Color: preview.Channel.Color, + Community: communityPreview, + }, + } + + } + + unfurledLinks = append(unfurledLinks, ul) + } + + return &protobuf.UnfurledStatusLinks{UnfurledStatusLinks: unfurledLinks}, nil +} + +func (m *Message) ConvertFromProtoToStatusLinkPreviews(makeMediaServerURL func(msgID string, previewURL string, imageID MediaServerImageID) string) []StatusLinkPreview { + if m.GetUnfurledStatusLinks() == nil { + return nil + } + + links := m.UnfurledStatusLinks.GetUnfurledStatusLinks() + + if links == nil { + return nil + } + + // This wrapper adds the messageID to the callback + makeMediaServerURLMessageWrapper := func(previewURL string, imageID MediaServerImageID) string { + return makeMediaServerURL(m.ID, previewURL, imageID) + } + + previews := make([]StatusLinkPreview, 0, len(links)) + + for _, link := range links { + lp := StatusLinkPreview{ + URL: link.Url, + } + + if c := link.GetContact(); c != nil { + lp.Contact = &StatusContactLinkPreview{ + PublicKey: string(c.PublicKey), + DisplayName: c.DisplayName, + Description: c.Description, + } + if icon := c.GetIcon(); icon != nil { + lp.Contact.Icon.loadFromProto(icon, link.Url, MediaServerContactIcon, makeMediaServerURLMessageWrapper) + } + } + + if c := link.GetCommunity(); c != nil { + lp.Community = new(StatusCommunityLinkPreview) + lp.Community.loadFromProto(c, link.Url, MediaServerCommunityPrefix, makeMediaServerURLMessageWrapper) + } + + if c := link.GetChannel(); c != nil { + lp.Channel = &StatusCommunityChannelLinkPreview{ + ChannelUUID: string(c.ChannelUuid), + Emoji: c.Emoji, + DisplayName: c.DisplayName, + Description: c.Description, + Color: c.Color, + } + if c.Community != nil { + lp.Channel.Community = new(StatusCommunityLinkPreview) + lp.Channel.Community.loadFromProto(c.Community, link.Url, MediaServerChannelCommunityPrefix, makeMediaServerURLMessageWrapper) + } + } + + previews = append(previews, lp) + } + + return previews +} diff --git a/protocol/common/message_test.go b/protocol/common/message_test.go index 15174ec5c..e68d07a02 100644 --- a/protocol/common/message_test.go +++ b/protocol/common/message_test.go @@ -193,12 +193,16 @@ func TestConvertLinkPreviewsToProto(t *testing.T) { } func TestConvertFromProtoToLinkPreviews(t *testing.T) { + + thumbnailPayload, err := base64.StdEncoding.DecodeString("iVBORw0KGgoAAAANSUg=") + require.NoError(t, err) + l := &protobuf.UnfurledLink{ Description: "GitHub is where people build software.", Title: "Build software better, together", Type: protobuf.UnfurledLink_LINK, Url: "https://github.com", - ThumbnailPayload: []byte(""), + ThumbnailPayload: thumbnailPayload, ThumbnailWidth: 100, ThumbnailHeight: 200, } @@ -250,6 +254,335 @@ func TestConvertFromProtoToLinkPreviews(t *testing.T) { require.Equal(t, "", p.Thumbnail.URL) } +func TestConvertStatusLinkPreviewsToProto(t *testing.T) { + contact := &StatusContactLinkPreview{ + PublicKey: "PublicKey_1", + DisplayName: "DisplayName_2", + Description: "Description_3", + Icon: LinkPreviewThumbnail{ + Width: 10, + Height: 20, + DataURI: "data:image/png;base64,iVBORw0KGgoAAAANSUg=", + }, + } + + community := &StatusCommunityLinkPreview{ + CommunityID: "CommunityID_4", + DisplayName: "DisplayName_5", + Description: "Description_6", + MembersCount: 7, + Color: "Color_8", + Icon: LinkPreviewThumbnail{ + Width: 30, + Height: 40, + DataURI: "data:image/png;base64,iVBORw0KGgoAAAANSUg=", + }, + Banner: LinkPreviewThumbnail{ + Width: 50, + Height: 60, + DataURI: "data:image/png;base64,iVBORw0KGgoAAAANSUg=", + }, + } + + channel := &StatusCommunityChannelLinkPreview{ + ChannelUUID: "ChannelUUID_11", + Emoji: "Emoji_12", + DisplayName: "DisplayName_13", + Description: "Description_14", + Color: "Color_15", + Community: &StatusCommunityLinkPreview{ + CommunityID: "CommunityID_16", + DisplayName: "DisplayName_17", + Description: "Description_18", + MembersCount: 19, + Color: "Color_20", + Icon: LinkPreviewThumbnail{ + Width: 70, + Height: 80, + DataURI: "data:image/png;base64,iVBORw0KGgoAAAANSUg=", + }, + Banner: LinkPreviewThumbnail{ + Width: 90, + Height: 100, + DataURI: "data:image/png;base64,iVBORw0KGgoAAAANSUg=", + }, + }, + } + + message := Message{ + StatusLinkPreviews: []StatusLinkPreview{ + { + URL: "https://status.app/u/", + Contact: contact, + }, + { + URL: "https://status.app/c/", + Community: community, + }, + { + URL: "https://status.app/cc/", + Channel: channel, + }, + }, + } + + expectedThumbnailPayload, err := base64.StdEncoding.DecodeString("iVBORw0KGgoAAAANSUg=") + require.NoError(t, err) + + unfurledLinks, err := message.ConvertStatusLinkPreviewsToProto() + require.NoError(t, err) + require.Len(t, unfurledLinks.UnfurledStatusLinks, 3) + + // Contact link + + l1 := unfurledLinks.UnfurledStatusLinks[0] + require.Equal(t, "https://status.app/u/", l1.Url) + require.NotNil(t, l1.GetContact()) + require.Nil(t, l1.GetCommunity()) + require.Nil(t, l1.GetChannel()) + c1 := l1.GetContact() + require.Equal(t, contact.PublicKey, string(c1.PublicKey)) + require.Equal(t, contact.DisplayName, c1.DisplayName) + require.Equal(t, contact.Description, c1.Description) + require.NotNil(t, c1.Icon) + require.Equal(t, uint32(contact.Icon.Width), c1.Icon.Width) + require.Equal(t, uint32(contact.Icon.Height), c1.Icon.Height) + require.Equal(t, expectedThumbnailPayload, c1.Icon.Payload) + + // Community link + + l2 := unfurledLinks.UnfurledStatusLinks[1] + require.Equal(t, "https://status.app/c/", l2.Url) + require.NotNil(t, l2.GetCommunity()) + require.Nil(t, l2.GetContact()) + require.Nil(t, l2.GetChannel()) + c2 := l2.GetCommunity() + require.Equal(t, community.CommunityID, string(c2.CommunityId)) + require.Equal(t, community.DisplayName, c2.DisplayName) + require.Equal(t, community.Description, c2.Description) + require.Equal(t, community.MembersCount, c2.MembersCount) + require.Equal(t, community.Color, c2.Color) + require.NotNil(t, c2.Icon) + require.Equal(t, uint32(community.Icon.Width), c2.Icon.Width) + require.Equal(t, uint32(community.Icon.Height), c2.Icon.Height) + require.Equal(t, expectedThumbnailPayload, c2.Icon.Payload) + require.NotNil(t, c2.Banner) + require.Equal(t, uint32(community.Banner.Width), c2.Banner.Width) + require.Equal(t, uint32(community.Banner.Height), c2.Banner.Height) + require.Equal(t, expectedThumbnailPayload, c2.Banner.Payload) + + // Channel link + + l3 := unfurledLinks.UnfurledStatusLinks[2] + require.Equal(t, "https://status.app/cc/", l3.Url) + require.NotNil(t, l3.GetChannel()) + require.Nil(t, l3.GetContact()) + require.Nil(t, l3.GetCommunity()) + + c3 := l3.GetChannel() + require.Equal(t, channel.ChannelUUID, string(c3.ChannelUuid)) + require.Equal(t, channel.Emoji, c3.Emoji) + require.Equal(t, channel.DisplayName, c3.DisplayName) + require.Equal(t, channel.Description, c3.Description) + require.Equal(t, channel.Color, c3.Color) + + require.NotNil(t, c3.Community) + require.Equal(t, channel.Community.CommunityID, string(c3.Community.CommunityId)) + require.Equal(t, channel.Community.DisplayName, c3.Community.DisplayName) + require.Equal(t, channel.Community.Color, c3.Community.Color) + require.Equal(t, channel.Community.Description, c3.Community.Description) + require.Equal(t, channel.Community.MembersCount, c3.Community.MembersCount) + require.NotNil(t, c3.Community.Icon) + require.Equal(t, uint32(channel.Community.Icon.Width), c3.Community.Icon.Width) + require.Equal(t, uint32(channel.Community.Icon.Height), c3.Community.Icon.Height) + require.Equal(t, expectedThumbnailPayload, c3.Community.Icon.Payload) + require.NotNil(t, c3.Community.Banner) + require.Equal(t, uint32(channel.Community.Banner.Width), c3.Community.Banner.Width) + require.Equal(t, uint32(channel.Community.Banner.Height), c3.Community.Banner.Height) + require.Equal(t, expectedThumbnailPayload, c3.Community.Banner.Payload) + + // Test any invalid link preview causes an early return. + invalidContactPreview := contact + invalidContactPreview.PublicKey = "" + invalidPreview := message.StatusLinkPreviews[0] + invalidPreview.Contact = invalidContactPreview + message.StatusLinkPreviews = []StatusLinkPreview{invalidPreview} + _, err = message.ConvertStatusLinkPreviewsToProto() + require.ErrorContains(t, err, "invalid status link preview, url='https://status.app/u/'") +} + +func TestConvertFromProtoToStatusLinkPreviews(t *testing.T) { + + thumbnailPayload, err := base64.StdEncoding.DecodeString("iVBORw0KGgoAAAANSUg=") + require.NoError(t, err) + + contact := &protobuf.UnfurledStatusContactLink{ + PublicKey: []byte("PublicKey_1"), + DisplayName: "DisplayName_2", + Description: "Description_3", + Icon: &protobuf.UnfurledLinkThumbnail{ + Width: 10, + Height: 20, + Payload: thumbnailPayload, + }, + } + + community := &protobuf.UnfurledStatusCommunityLink{ + CommunityId: []byte("CommunityId_4"), + DisplayName: "DisplayName_5", + Description: "Description_6", + MembersCount: 7, + Color: "Color_8", + Icon: &protobuf.UnfurledLinkThumbnail{ + Width: 30, + Height: 40, + Payload: thumbnailPayload, + }, + Banner: &protobuf.UnfurledLinkThumbnail{ + Width: 50, + Height: 60, + Payload: thumbnailPayload, + }, + } + + channel := &protobuf.UnfurledStatusChannelLink{ + ChannelUuid: []byte("ChannelUuid_11"), + Emoji: "Emoji_12", + DisplayName: "DisplayName_13", + Description: "Description_14", + Color: "Color_15", + Community: &protobuf.UnfurledStatusCommunityLink{ + CommunityId: []byte("CommunityId_16"), + DisplayName: "DisplayName_17", + Description: "Description_18", + MembersCount: 19, + Color: "Color_20", + Icon: &protobuf.UnfurledLinkThumbnail{ + Width: 70, + Height: 80, + Payload: thumbnailPayload, + }, + Banner: &protobuf.UnfurledLinkThumbnail{ + Width: 90, + Height: 100, + Payload: thumbnailPayload, + }, + }, + } + + msg := Message{ + ID: "42", + ChatMessage: &protobuf.ChatMessage{ + UnfurledStatusLinks: &protobuf.UnfurledStatusLinks{ + UnfurledStatusLinks: []*protobuf.UnfurledStatusLink{ + { + Url: "https://status.app/u/", + Payload: &protobuf.UnfurledStatusLink_Contact{ + Contact: contact, + }, + }, + { + Url: "https://status.app/c/", + Payload: &protobuf.UnfurledStatusLink_Community{ + Community: community, + }, + }, + { + Url: "https://status.app/cc/", + Payload: &protobuf.UnfurledStatusLink_Channel{ + Channel: channel, + }, + }, + }, + }, + }, + } + + urlMaker := func(msgID string, linkURL string, imageID MediaServerImageID) string { + return "https://localhost:6666/" + msgID + "-" + linkURL + "-" + string(imageID) + } + + previews := msg.ConvertFromProtoToStatusLinkPreviews(urlMaker) + require.Len(t, previews, 3) + + // Contact preview + + p1 := previews[0] + require.Equal(t, "https://status.app/u/", p1.URL) + require.NotNil(t, p1.Contact) + require.Nil(t, p1.Community) + require.Nil(t, p1.Channel) + + c1 := p1.Contact + require.NotNil(t, c1) + require.Equal(t, contact.PublicKey, []byte(c1.PublicKey)) + require.Equal(t, contact.DisplayName, c1.DisplayName) + require.Equal(t, contact.Description, c1.Description) + require.NotNil(t, c1.Icon) + require.Equal(t, int(contact.Icon.Width), c1.Icon.Width) + require.Equal(t, int(contact.Icon.Height), c1.Icon.Height) + require.Equal(t, "", c1.Icon.DataURI) + require.Equal(t, "https://localhost:6666/42-https://status.app/u/-contact-icon", c1.Icon.URL) + + // Community preview + + p2 := previews[1] + require.Equal(t, "https://status.app/c/", p2.URL) + require.NotNil(t, p2.Community) + require.Nil(t, p2.Contact) + require.Nil(t, p2.Channel) + + c2 := p2.Community + require.Equal(t, community.CommunityId, []byte(c2.CommunityID)) + require.Equal(t, community.DisplayName, c2.DisplayName) + require.Equal(t, community.Description, c2.Description) + require.Equal(t, community.MembersCount, c2.MembersCount) + require.Equal(t, community.Color, c2.Color) + require.NotNil(t, c2.Icon) + require.Equal(t, int(community.Icon.Width), c2.Icon.Width) + require.Equal(t, int(community.Icon.Height), c2.Icon.Height) + require.Equal(t, "", c2.Icon.DataURI) + require.Equal(t, "https://localhost:6666/42-https://status.app/c/-community-icon", c2.Icon.URL) + require.NotNil(t, c2.Banner) + require.Equal(t, int(community.Banner.Width), c2.Banner.Width) + require.Equal(t, int(community.Banner.Height), c2.Banner.Height) + require.Equal(t, "", c2.Banner.DataURI) + require.Equal(t, "https://localhost:6666/42-https://status.app/c/-community-banner", c2.Banner.URL) + + // Channel preview + + p3 := previews[2] + require.Equal(t, "https://status.app/cc/", p3.URL) + require.NotNil(t, p3.Channel) + require.Nil(t, p3.Contact) + require.Nil(t, p3.Community) + + c3 := previews[2].Channel + require.Equal(t, channel.ChannelUuid, []byte(c3.ChannelUUID)) + require.Equal(t, channel.Emoji, c3.Emoji) + require.Equal(t, channel.DisplayName, c3.DisplayName) + require.Equal(t, channel.Description, c3.Description) + require.Equal(t, channel.Color, c3.Color) + + require.NotNil(t, p3.Channel.Community) + require.Equal(t, channel.Community.CommunityId, []byte(c3.Community.CommunityID)) + require.Equal(t, channel.Community.DisplayName, c3.Community.DisplayName) + require.Equal(t, channel.Community.Color, c3.Community.Color) + require.Equal(t, channel.Community.Description, c3.Community.Description) + require.Equal(t, channel.Community.MembersCount, c3.Community.MembersCount) + require.NotNil(t, c3.Community.Icon) + require.Equal(t, int(channel.Community.Icon.Width), c3.Community.Icon.Width) + require.Equal(t, int(channel.Community.Icon.Height), c3.Community.Icon.Height) + require.Equal(t, "", c3.Community.Icon.DataURI) + require.Equal(t, "https://localhost:6666/42-https://status.app/cc/-community-channel-icon", c3.Community.Icon.URL) + require.NotNil(t, c3.Community.Banner) + require.Equal(t, int(channel.Community.Banner.Width), c3.Community.Banner.Width) + require.Equal(t, int(channel.Community.Banner.Height), c3.Community.Banner.Height) + require.Equal(t, "", c3.Community.Banner.DataURI) + require.Equal(t, "https://localhost:6666/42-https://status.app/cc/-community-channel-banner", c3.Community.Banner.URL) + +} + func assertMarshalAndUnmarshalJSON[T any](t *testing.T, obj *T, msgAndArgs ...any) { rawJSON, err := json.Marshal(obj) require.NoError(t, err, msgAndArgs...) diff --git a/protocol/encryption/migrations/migrations.go b/protocol/encryption/migrations/migrations.go index f8b6f78e3..dabedfa35 100644 --- a/protocol/encryption/migrations/migrations.go +++ b/protocol/encryption/migrations/migrations.go @@ -103,7 +103,7 @@ func _1536754952_initial_schemaDownSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1536754952_initial_schema.down.sql", size: 83, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} + info := bindataFileInfo{name: "1536754952_initial_schema.down.sql", size: 83, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -123,7 +123,7 @@ func _1536754952_initial_schemaUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1536754952_initial_schema.up.sql", size: 962, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} + info := bindataFileInfo{name: "1536754952_initial_schema.up.sql", size: 962, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -143,7 +143,7 @@ func _1539249977_update_ratchet_infoDownSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1539249977_update_ratchet_info.down.sql", size: 311, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} + info := bindataFileInfo{name: "1539249977_update_ratchet_info.down.sql", size: 311, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -163,7 +163,7 @@ func _1539249977_update_ratchet_infoUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1539249977_update_ratchet_info.up.sql", size: 368, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} + info := bindataFileInfo{name: "1539249977_update_ratchet_info.up.sql", size: 368, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -183,7 +183,7 @@ func _1540715431_add_versionDownSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1540715431_add_version.down.sql", size: 127, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} + info := bindataFileInfo{name: "1540715431_add_version.down.sql", size: 127, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -203,7 +203,7 @@ func _1540715431_add_versionUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1540715431_add_version.up.sql", size: 265, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} + info := bindataFileInfo{name: "1540715431_add_version.up.sql", size: 265, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -223,7 +223,7 @@ func _1541164797_add_installationsDownSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1541164797_add_installations.down.sql", size: 26, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} + info := bindataFileInfo{name: "1541164797_add_installations.down.sql", size: 26, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -243,7 +243,7 @@ func _1541164797_add_installationsUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1541164797_add_installations.up.sql", size: 216, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} + info := bindataFileInfo{name: "1541164797_add_installations.up.sql", size: 216, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -263,7 +263,7 @@ func _1558084410_add_secretDownSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1558084410_add_secret.down.sql", size: 56, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} + info := bindataFileInfo{name: "1558084410_add_secret.down.sql", size: 56, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -283,7 +283,7 @@ func _1558084410_add_secretUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1558084410_add_secret.up.sql", size: 301, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} + info := bindataFileInfo{name: "1558084410_add_secret.up.sql", size: 301, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -303,7 +303,7 @@ func _1558588866_add_versionDownSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1558588866_add_version.down.sql", size: 47, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} + info := bindataFileInfo{name: "1558588866_add_version.down.sql", size: 47, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -323,7 +323,7 @@ func _1558588866_add_versionUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1558588866_add_version.up.sql", size: 57, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} + info := bindataFileInfo{name: "1558588866_add_version.up.sql", size: 57, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -343,7 +343,7 @@ func _1559627659_add_contact_codeDownSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1559627659_add_contact_code.down.sql", size: 32, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} + info := bindataFileInfo{name: "1559627659_add_contact_code.down.sql", size: 32, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -363,7 +363,7 @@ func _1559627659_add_contact_codeUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1559627659_add_contact_code.up.sql", size: 198, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} + info := bindataFileInfo{name: "1559627659_add_contact_code.up.sql", size: 198, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -383,7 +383,7 @@ func _1561368210_add_installation_metadataDownSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1561368210_add_installation_metadata.down.sql", size: 35, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} + info := bindataFileInfo{name: "1561368210_add_installation_metadata.down.sql", size: 35, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -403,7 +403,7 @@ func _1561368210_add_installation_metadataUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1561368210_add_installation_metadata.up.sql", size: 267, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} + info := bindataFileInfo{name: "1561368210_add_installation_metadata.up.sql", size: 267, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -423,7 +423,7 @@ func _1632236298_add_communitiesDownSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1632236298_add_communities.down.sql", size: 151, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} + info := bindataFileInfo{name: "1632236298_add_communities.down.sql", size: 151, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -443,7 +443,7 @@ func _1632236298_add_communitiesUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1632236298_add_communities.up.sql", size: 584, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} + info := bindataFileInfo{name: "1632236298_add_communities.up.sql", size: 584, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -463,7 +463,7 @@ func _1636536507_add_index_bundlesUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1636536507_add_index_bundles.up.sql", size: 347, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} + info := bindataFileInfo{name: "1636536507_add_index_bundles.up.sql", size: 347, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -483,7 +483,7 @@ func docGo() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "doc.go", size: 377, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} + info := bindataFileInfo{name: "doc.go", size: 377, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } diff --git a/protocol/linkpreview/unfurlers/unfurler.go b/protocol/linkpreview_unfurler.go similarity index 92% rename from protocol/linkpreview/unfurlers/unfurler.go rename to protocol/linkpreview_unfurler.go index 723488050..39e4383ec 100644 --- a/protocol/linkpreview/unfurlers/unfurler.go +++ b/protocol/linkpreview_unfurler.go @@ -1,4 +1,4 @@ -package unfurlers +package protocol import ( "context" @@ -34,11 +34,11 @@ const ( type Headers map[string]string type Unfurler interface { - Unfurl() (common.LinkPreview, error) + Unfurl() (*common.LinkPreview, error) } -func newDefaultLinkPreview(url *neturl.URL) common.LinkPreview { - return common.LinkPreview{ +func newDefaultLinkPreview(url *neturl.URL) *common.LinkPreview { + return &common.LinkPreview{ URL: url.String(), Hostname: url.Hostname(), } diff --git a/protocol/linkpreview/unfurlers/image_unfurler.go b/protocol/linkpreview_unfurler_image.go similarity index 97% rename from protocol/linkpreview/unfurlers/image_unfurler.go rename to protocol/linkpreview_unfurler_image.go index f400b5734..61748fe08 100644 --- a/protocol/linkpreview/unfurlers/image_unfurler.go +++ b/protocol/linkpreview_unfurler_image.go @@ -1,4 +1,4 @@ -package unfurlers +package protocol import ( "bytes" @@ -76,7 +76,7 @@ func isSupportedImage(payload []byte) bool { return images.IsJpeg(payload) || images.IsPng(payload) || images.IsWebp(payload) } -func (u *ImageUnfurler) Unfurl() (common.LinkPreview, error) { +func (u *ImageUnfurler) Unfurl() (*common.LinkPreview, error) { preview := newDefaultLinkPreview(u.url) preview.Type = protobuf.UnfurledLink_IMAGE diff --git a/protocol/linkpreview/unfurlers/oembed_unfurler.go b/protocol/linkpreview_unfurler_oembed.go similarity index 96% rename from protocol/linkpreview/unfurlers/oembed_unfurler.go rename to protocol/linkpreview_unfurler_oembed.go index d9b05f01f..c44c11d6d 100644 --- a/protocol/linkpreview/unfurlers/oembed_unfurler.go +++ b/protocol/linkpreview_unfurler_oembed.go @@ -1,4 +1,4 @@ -package unfurlers +package protocol import ( "encoding/json" @@ -56,7 +56,7 @@ func (u *OEmbedUnfurler) newOEmbedURL() (*neturl.URL, error) { return oembedURL, nil } -func (u OEmbedUnfurler) Unfurl() (common.LinkPreview, error) { +func (u OEmbedUnfurler) Unfurl() (*common.LinkPreview, error) { preview := newDefaultLinkPreview(u.url) preview.Type = protobuf.UnfurledLink_LINK diff --git a/protocol/linkpreview/unfurlers/opengraph_unfurler.go b/protocol/linkpreview_unfurler_opengraph.go similarity index 97% rename from protocol/linkpreview/unfurlers/opengraph_unfurler.go rename to protocol/linkpreview_unfurler_opengraph.go index 19b32e430..21d9053b3 100644 --- a/protocol/linkpreview/unfurlers/opengraph_unfurler.go +++ b/protocol/linkpreview_unfurler_opengraph.go @@ -1,4 +1,4 @@ -package unfurlers +package protocol import ( "bytes" @@ -38,7 +38,7 @@ func NewOpenGraphUnfurler(URL *neturl.URL, logger *zap.Logger, httpClient *http. } } -func (u *OpenGraphUnfurler) Unfurl() (common.LinkPreview, error) { +func (u *OpenGraphUnfurler) Unfurl() (*common.LinkPreview, error) { preview := newDefaultLinkPreview(u.url) preview.Type = protobuf.UnfurledLink_LINK diff --git a/protocol/linkpreview_unfurler_status.go b/protocol/linkpreview_unfurler_status.go new file mode 100644 index 000000000..2bb58e27c --- /dev/null +++ b/protocol/linkpreview_unfurler_status.go @@ -0,0 +1,186 @@ +package protocol + +import ( + "fmt" + + "go.uber.org/zap" + + "github.com/status-im/status-go/api/multiformat" + "github.com/status-im/status-go/images" + "github.com/status-im/status-go/protocol/common" + "github.com/status-im/status-go/protocol/communities" +) + +type StatusUnfurler struct { + m *Messenger + logger *zap.Logger + url string +} + +func NewStatusUnfurler(URL string, messenger *Messenger, logger *zap.Logger) *StatusUnfurler { + return &StatusUnfurler{ + m: messenger, + logger: logger, + url: URL, + } +} + +func updateThumbnail(image *images.IdentityImage, thumbnail *common.LinkPreviewThumbnail) error { + if image.IsEmpty() { + return nil + } + + var err error + + thumbnail.Width, thumbnail.Height, err = images.GetImageDimensions(image.Payload) + if err != nil { + return fmt.Errorf("failed to get image dimensions: %w", err) + } + + thumbnail.DataURI, err = image.GetDataURI() + if err != nil { + return fmt.Errorf("failed to get data uri: %w", err) + } + + return nil +} + +func (u *StatusUnfurler) buildContactData(publicKey string) (*common.StatusContactLinkPreview, error) { + contactID, err := multiformat.DeserializeCompressedKey(publicKey) + if err != nil { + return nil, err + } + + contact := u.m.GetContactByID(contactID) + + // If no contact found locally, fetch it from waku + if contact == nil { + if contact, err = u.m.RequestContactInfoFromMailserver(contactID, true); err != nil { + return nil, fmt.Errorf("failed to request contact info from mailserver for public key '%s': %w", publicKey, err) + } + } + + c := new(common.StatusContactLinkPreview) + c.PublicKey = publicKey + c.DisplayName = contact.DisplayName + c.Description = contact.Bio + + if image, ok := contact.Images[images.SmallDimName]; ok { + if err = updateThumbnail(&image, &c.Icon); err != nil { + return nil, fmt.Errorf("failed to set thumbnail: %w", err) + } + } + + return c, nil +} + +func (u *StatusUnfurler) fillCommunityImages(community *communities.Community, icon *common.LinkPreviewThumbnail, banner *common.LinkPreviewThumbnail) error { + if image, ok := community.Images()[images.SmallDimName]; ok { + if err := updateThumbnail(&images.IdentityImage{Payload: image.Payload}, icon); err != nil { + u.logger.Warn("unfurling status link: failed to set community thumbnail", zap.Error(err)) + } + } + + if image, ok := community.Images()[images.BannerIdentityName]; ok { + if err := updateThumbnail(&images.IdentityImage{Payload: image.Payload}, banner); err != nil { + u.logger.Warn("unfurling status link: failed to set community banner", zap.Error(err)) + } + } + + return nil +} + +func (u *StatusUnfurler) buildCommunityData(communityID string) (*communities.Community, *common.StatusCommunityLinkPreview, error) { + // This automatically checks the database + community, err := u.m.RequestCommunityInfoFromMailserver(communityID, nil, true) + + if err != nil { + return nil, nil, fmt.Errorf("failed to get community info for communityID '%s': %w", communityID, err) + } + + if community == nil { + return community, nil, fmt.Errorf("community info fetched, but it is empty") + } + + c := &common.StatusCommunityLinkPreview{ + CommunityID: community.IDString(), + DisplayName: community.Name(), + Description: community.DescriptionText(), + MembersCount: uint32(community.MembersCount()), + Color: community.Color(), + } + + err = u.fillCommunityImages(community, &c.Icon, &c.Banner) + if err != nil { + return community, c, err + } + + return community, c, nil +} + +func (u *StatusUnfurler) buildChannelData(channelUUID string, communityID string) (*common.StatusCommunityChannelLinkPreview, error) { + community, communityData, err := u.buildCommunityData(communityID) + if err != nil { + return nil, fmt.Errorf("failed to build channel community data: %w", err) + } + + channel, ok := community.Chats()[channelUUID] + if !ok { + return nil, fmt.Errorf("channel with channelID '%s' not found in community '%s'", channelUUID, communityID) + } + + return &common.StatusCommunityChannelLinkPreview{ + ChannelUUID: channelUUID, + Emoji: channel.Identity.Emoji, + DisplayName: channel.Identity.DisplayName, + Description: channel.Identity.Description, + Color: channel.Identity.Color, + Community: communityData, + }, nil +} + +func (u *StatusUnfurler) Unfurl() (*common.StatusLinkPreview, error) { + preview := new(common.StatusLinkPreview) + preview.URL = u.url + + resp, err := u.m.ParseSharedURL(u.url) + if err != nil { + return nil, fmt.Errorf("failed to parse shared url: %w", err) + } + + // If a URL has been successfully parsed, + // any further errors should not be returned, only logged. + + if resp.Contact != nil { + preview.Contact, err = u.buildContactData(resp.Contact.PublicKey) + if err != nil { + return nil, fmt.Errorf("error when building contact data: %w", err) + } + return preview, nil + } + + // NOTE: Currently channel data comes together with community data, + // both `Community` and `Channel` fields will be present. + // So we check for Channel first, then Community. + + if resp.Channel != nil { + if resp.Community == nil { + return preview, fmt.Errorf("channel community can't be empty") + } + preview.Channel, err = u.buildChannelData(resp.Channel.ChannelUUID, resp.Community.CommunityID) + if err != nil { + return nil, fmt.Errorf("error when building channel data: %w", err) + } + return preview, nil + } + + if resp.Community != nil { + _, preview.Community, err = u.buildCommunityData(resp.Community.CommunityID) + if err != nil { + return nil, fmt.Errorf("error when building community data: %w", err) + } + return preview, nil + } + + return nil, fmt.Errorf("shared url does not contain contact, community or channel data") +} diff --git a/protocol/message_persistence.go b/protocol/message_persistence.go index 3c83890e9..73fdd9f01 100644 --- a/protocol/message_persistence.go +++ b/protocol/message_persistence.go @@ -8,6 +8,7 @@ import ( "sort" "strings" + "github.com/golang/protobuf/proto" "github.com/lib/pq" "github.com/status-im/status-go/protocol/common" @@ -83,6 +84,7 @@ func (db sqlitePersistence) tableUserMessagesAllFields() string { mentions, links, unfurled_links, + unfurled_status_links, command_id, command_value, command_from, @@ -136,6 +138,7 @@ func (db sqlitePersistence) tableUserMessagesAllFieldsJoin() string { m1.mentions, m1.links, m1.unfurled_links, + m1.unfurled_status_links, m1.command_id, m1.command_value, m1.command_from, @@ -215,6 +218,7 @@ func (db sqlitePersistence) tableUserMessagesScanAllFields(row scanner, message var serializedMentions []byte var serializedLinks []byte var serializedUnfurledLinks []byte + var serializedUnfurledStatusLinks []byte var alias sql.NullString var identicon sql.NullString var communityID sql.NullString @@ -271,6 +275,7 @@ func (db sqlitePersistence) tableUserMessagesScanAllFields(row scanner, message &serializedMentions, &serializedLinks, &serializedUnfurledLinks, + &serializedUnfurledStatusLinks, &command.ID, &command.Value, &command.From, @@ -414,6 +419,16 @@ func (db sqlitePersistence) tableUserMessagesScanAllFields(row scanner, message } } + if serializedUnfurledStatusLinks != nil { + // use proto.Marshal, because json.Marshal doesn't support `oneof` fields + var links protobuf.UnfurledStatusLinks + err = proto.Unmarshal(serializedUnfurledStatusLinks, &links) + if err != nil { + return err + } + message.UnfurledStatusLinks = &links + } + if attachment.Id != "" { discordMessage.Attachments = append(discordMessage.Attachments, attachment) } @@ -502,6 +517,15 @@ func (db sqlitePersistence) tableUserMessagesAllValues(message *common.Message) } } + var serializedUnfurledStatusLinks []byte + if links := message.GetUnfurledStatusLinks(); links != nil { + // use proto.Marshal, because json.Marshal doesn't support `oneof` fields + serializedUnfurledStatusLinks, err = proto.Marshal(links) + if err != nil { + return nil, err + } + } + return []interface{}{ message.ID, message.WhisperTimestamp, @@ -534,6 +558,7 @@ func (db sqlitePersistence) tableUserMessagesAllValues(message *common.Message) serializedMentions, serializedLinks, serializedUnfurledLinks, + serializedUnfurledStatusLinks, command.ID, command.Value, command.From, @@ -2465,12 +2490,12 @@ func (db sqlitePersistence) SaveEdit(editMessage *EditMessage) error { return nil } - _, err := db.db.Exec(`INSERT INTO user_messages_edits (clock, chat_id, message_id, text, source, id, unfurled_links) VALUES(?,?,?,?,?,?,?)`, editMessage.Clock, editMessage.ChatId, editMessage.MessageId, editMessage.Text, editMessage.From, editMessage.ID, pq.Array(editMessage.UnfurledLinks)) + _, err := db.db.Exec(`INSERT INTO user_messages_edits (clock, chat_id, message_id, text, source, id, unfurled_links, unfurled_status_links) VALUES(?,?,?,?,?,?,?,?)`, editMessage.Clock, editMessage.ChatId, editMessage.MessageId, editMessage.Text, editMessage.From, editMessage.ID, pq.Array(editMessage.UnfurledLinks), editMessage.UnfurledStatusLinks) return err } func (db sqlitePersistence) GetEdits(messageID string, from string) ([]*EditMessage, error) { - rows, err := db.db.Query(`SELECT clock, chat_id, message_id, source, text, id, unfurled_links FROM user_messages_edits WHERE message_id = ? AND source = ? ORDER BY CLOCK DESC`, messageID, from) + rows, err := db.db.Query(`SELECT clock, chat_id, message_id, source, text, id, unfurled_links, unfurled_status_links FROM user_messages_edits WHERE message_id = ? AND source = ? ORDER BY CLOCK DESC`, messageID, from) if err != nil { return nil, err } @@ -2479,7 +2504,7 @@ func (db sqlitePersistence) GetEdits(messageID string, from string) ([]*EditMess var messages []*EditMessage for rows.Next() { e := NewEditMessage() - err := rows.Scan(&e.Clock, &e.ChatId, &e.MessageId, &e.From, &e.Text, &e.ID, pq.Array(&e.UnfurledLinks)) + err := rows.Scan(&e.Clock, &e.ChatId, &e.MessageId, &e.From, &e.Text, &e.ID, pq.Array(&e.UnfurledLinks), &e.UnfurledStatusLinks) if err != nil { return nil, err } diff --git a/protocol/messenger.go b/protocol/messenger.go index 06a8b63dd..4beaddc46 100644 --- a/protocol/messenger.go +++ b/protocol/messenger.go @@ -2299,6 +2299,13 @@ func (m *Messenger) sendChatMessage(ctx context.Context, message *common.Message message.UnfurledLinks = unfurledLinks } + unfurledStatusLinks, err := message.ConvertStatusLinkPreviewsToProto() + if err != nil { + m.logger.Error("failed to convert status link previews", zap.Error(err)) + } else { + message.UnfurledStatusLinks = unfurledStatusLinks + } + var response MessengerResponse // A valid added chat is required. @@ -4057,6 +4064,7 @@ func (m *Messenger) prepareMessage(msg *common.Message, s *server.MediaServer) { } msg.LinkPreviews = msg.ConvertFromProtoToLinkPreviews(s.MakeLinkPreviewThumbnailURL) + msg.StatusLinkPreviews = msg.ConvertFromProtoToStatusLinkPreviews(s.MakeStatusLinkPreviewThumbnailURL) } func (m *Messenger) AllMessageByChatIDWhichMatchTerm(chatID string, searchTerm string, caseSensitive bool) ([]*common.Message, error) { diff --git a/protocol/messenger_edit_message_test.go b/protocol/messenger_edit_message_test.go index fac5b7d5d..67253c082 100644 --- a/protocol/messenger_edit_message_test.go +++ b/protocol/messenger_edit_message_test.go @@ -498,13 +498,30 @@ func (s *MessengerEditMessageSuite) TestEditMessageWithLinkPreviews() { DataURI: "data:image/png;base64,iVBORw0KGgoAAAANSUg=", }}, }, + StatusLinkPreviews: []common.StatusLinkPreview{ + { + URL: "https://status.app/u/TestUrl", + Contact: &common.StatusContactLinkPreview{ + PublicKey: "TestPublicKey", + DisplayName: "TestDisplayName", + Description: "Test description", + Icon: common.LinkPreviewThumbnail{ + Width: 100, + Height: 200, + DataURI: "data:image/png;base64,iVBORw0KGgoAAAANSUg=", + }, + }, + }, + }, } sendResponse, err = theirMessenger.EditMessage(context.Background(), editedMessage) s.Require().NoError(err) s.Require().Len(sendResponse.Messages(), 1) - s.Require().NotEmpty(sendResponse.Messages()[0].LinkPreviews) + s.Require().Len(sendResponse.Messages()[0].LinkPreviews, 1) + s.Require().NotNil(sendResponse.Messages()[0].UnfurledStatusLinks) + s.Require().Len(sendResponse.Messages()[0].UnfurledStatusLinks.UnfurledStatusLinks, 1) response, err = WaitOnMessengerResponse( s.m, func(r *MessengerResponse) bool { return len(r.messages) == 1 }, @@ -514,7 +531,11 @@ func (s *MessengerEditMessageSuite) TestEditMessageWithLinkPreviews() { s.Require().Len(response.Chats(), 1) s.Require().Len(response.Messages(), 1) - s.Require().NotEmpty(response.Messages()[0].EditedAt) - s.Require().NotEmpty(response.Messages()[0].UnfurledLinks) - s.Require().False(response.Messages()[0].New) + + responseMessage := response.Messages()[0] + s.Require().NotEmpty(responseMessage.EditedAt) + s.Require().Len(responseMessage.UnfurledLinks, 1) + s.Require().NotNil(responseMessage.UnfurledStatusLinks) + s.Require().Len(responseMessage.UnfurledStatusLinks.UnfurledStatusLinks, 1) + s.Require().False(responseMessage.New) } diff --git a/protocol/messenger_linkpreview.go b/protocol/messenger_linkpreview.go index 88135e5ad..d8a951a60 100644 --- a/protocol/messenger_linkpreview.go +++ b/protocol/messenger_linkpreview.go @@ -14,11 +14,11 @@ import ( "github.com/status-im/markdown" "github.com/status-im/status-go/protocol/common" - "github.com/status-im/status-go/protocol/linkpreview/unfurlers" ) -type LinkPreview struct { - common.LinkPreview +type UnfurlURLsResponse struct { + LinkPreviews []*common.LinkPreview `json:"linkPreviews,omitempty"` + StatusLinkPreviews []*common.StatusLinkPreview `json:"statusLinkPreviews,omitempty"` } func normalizeHostname(hostname string) string { @@ -27,9 +27,10 @@ func normalizeHostname(hostname string) string { return re.ReplaceAllString(hostname, "$1") } -func (m *Messenger) newURLUnfurler(httpClient *http.Client, url *neturl.URL) unfurlers.Unfurler { - if unfurlers.IsSupportedImageURL(url) { - return unfurlers.NewImageUnfurler( +func (m *Messenger) newURLUnfurler(httpClient *http.Client, url *neturl.URL) Unfurler { + + if IsSupportedImageURL(url) { + return NewImageUnfurler( url, m.logger, httpClient) @@ -37,21 +38,21 @@ func (m *Messenger) newURLUnfurler(httpClient *http.Client, url *neturl.URL) unf switch normalizeHostname(url.Hostname()) { case "reddit.com": - return unfurlers.NewOEmbedUnfurler( + return NewOEmbedUnfurler( "https://www.reddit.com/oembed", url, m.logger, httpClient) default: - return unfurlers.NewOpenGraphUnfurler( + return NewOpenGraphUnfurler( url, m.logger, httpClient) } } -func (m *Messenger) unfurlURL(httpClient *http.Client, url string) (common.LinkPreview, error) { - var preview common.LinkPreview +func (m *Messenger) unfurlURL(httpClient *http.Client, url string) (*common.LinkPreview, error) { + preview := new(common.LinkPreview) parsedURL, err := neturl.Parse(url) if err != nil { @@ -127,27 +128,42 @@ func GetURLs(text string) []string { } func NewDefaultHTTPClient() *http.Client { - return &http.Client{Timeout: unfurlers.DefaultRequestTimeout} + return &http.Client{Timeout: DefaultRequestTimeout} } // UnfurlURLs assumes clients pass URLs verbatim that were validated and // processed by GetURLs. -func (m *Messenger) UnfurlURLs(httpClient *http.Client, urls []string) ([]common.LinkPreview, error) { +func (m *Messenger) UnfurlURLs(httpClient *http.Client, urls []string) (UnfurlURLsResponse, error) { if httpClient == nil { httpClient = NewDefaultHTTPClient() } - previews := make([]common.LinkPreview, 0, len(urls)) + r := UnfurlURLsResponse{ + LinkPreviews: make([]*common.LinkPreview, 0, len(urls)), + StatusLinkPreviews: make([]*common.StatusLinkPreview, 0, len(urls)), + } for _, url := range urls { m.logger.Debug("unfurling", zap.String("url", url)) - p, err := m.unfurlURL(httpClient, url) - if err != nil { - m.logger.Info("failed to unfurl", zap.String("url", url), zap.Error(err)) + + if m.IsStatusSharedURL(url) { + unfurler := NewStatusUnfurler(url, m, m.logger) + preview, err := unfurler.Unfurl() + if err != nil { + m.logger.Warn("failed to unfurl status link", zap.String("url", url), zap.Error(err)) + continue + } + r.StatusLinkPreviews = append(r.StatusLinkPreviews, preview) continue } - previews = append(previews, p) + + p, err := m.unfurlURL(httpClient, url) + if err != nil { + m.logger.Warn("failed to unfurl", zap.String("url", url), zap.Error(err)) + continue + } + r.LinkPreviews = append(r.LinkPreviews, p) } - return previews, nil + return r, nil } diff --git a/protocol/messenger_linkpreview_test.go b/protocol/messenger_linkpreview_test.go index 7df835ed2..0951ebe70 100644 --- a/protocol/messenger_linkpreview_test.go +++ b/protocol/messenger_linkpreview_test.go @@ -13,9 +13,11 @@ import ( "github.com/stretchr/testify/suite" + "github.com/status-im/status-go/eth-node/crypto" + "github.com/status-im/status-go/images" "github.com/status-im/status-go/protocol/common" - "github.com/status-im/status-go/protocol/linkpreview/unfurlers" "github.com/status-im/status-go/protocol/protobuf" + "github.com/status-im/status-go/protocol/requests" ) func TestMessengerLinkPreviews(t *testing.T) { @@ -26,21 +28,6 @@ type MessengerLinkPreviewsTestSuite struct { MessengerBaseTestSuite } -//func (s *MessengerLinkPreviewsTestSuite) SetupTest() { -// s.logger = tt.MustCreateTestLogger() -// -// c := waku.DefaultConfig -// c.MinimumAcceptedPoW = 0 -// shh := waku.New(&c, s.logger) -// s.shh = gethbridge.NewGethWakuWrapper(shh) -// s.Require().NoError(shh.Start()) -// -// s.m = s.newMessenger() -// s.privateKey = s.m.identity -// _, err := s.m.Start() -// s.Require().NoError(err) -//} - // StubMatcher should either return an http.Response or nil in case the request // doesn't match. type StubMatcher func(req *http.Request) *http.Response @@ -229,10 +216,11 @@ func (s *MessengerLinkPreviewsTestSuite) Test_UnfurlURLs_YouTube() { transport.AddURLMatcher(thumbnailURL, s.readAsset("1.jpg"), nil) stubbedClient := http.Client{Transport: &transport} - previews, err := s.m.UnfurlURLs(&stubbedClient, []string{u}) + response, err := s.m.UnfurlURLs(&stubbedClient, []string{u}) s.Require().NoError(err) - s.Require().Len(previews, 1) - preview := previews[0] + s.Require().Len(response.StatusLinkPreviews, 0) + s.Require().Len(response.LinkPreviews, 1) + preview := response.LinkPreviews[0] s.Require().Equal(expected.Type, preview.Type) s.Require().Equal(expected.URL, preview.URL) @@ -273,10 +261,11 @@ func (s *MessengerLinkPreviewsTestSuite) Test_UnfurlURLs_Reddit() { ) stubbedClient := http.Client{Transport: &transport} - previews, err := s.m.UnfurlURLs(&stubbedClient, []string{u}) + response, err := s.m.UnfurlURLs(&stubbedClient, []string{u}) s.Require().NoError(err) - s.Require().Len(previews, 1) - preview := previews[0] + s.Require().Len(response.StatusLinkPreviews, 0) + s.Require().Len(response.LinkPreviews, 1) + preview := response.LinkPreviews[0] s.Require().Equal(expected.Type, preview.Type) s.Require().Equal(expected.URL, preview.URL) @@ -288,9 +277,10 @@ func (s *MessengerLinkPreviewsTestSuite) Test_UnfurlURLs_Reddit() { func (s *MessengerLinkPreviewsTestSuite) Test_UnfurlURLs_Timeout() { httpClient := http.Client{Timeout: time.Nanosecond} - previews, err := s.m.UnfurlURLs(&httpClient, []string{"https://status.im"}) + response, err := s.m.UnfurlURLs(&httpClient, []string{"https://status.im"}) s.Require().NoError(err) - s.Require().Empty(previews) + s.Require().Len(response.StatusLinkPreviews, 0) + s.Require().Empty(response.LinkPreviews) } func (s *MessengerLinkPreviewsTestSuite) Test_UnfurlURLs_CommonFailures() { @@ -304,19 +294,22 @@ func (s *MessengerLinkPreviewsTestSuite) Test_UnfurlURLs_CommonFailures() { nil, ) stubbedClient := http.Client{Transport: &transport} - previews, err := s.m.UnfurlURLs(&stubbedClient, []string{"https://wikipedia.org"}) + response, err := s.m.UnfurlURLs(&stubbedClient, []string{"https://wikipedia.org"}) s.Require().NoError(err) - s.Require().Empty(previews) + s.Require().Len(response.StatusLinkPreviews, 0) + s.Require().Empty(response.LinkPreviews) // Test 404. - previews, err = s.m.UnfurlURLs(&httpClient, []string{"https://github.com/status-im/i_do_not_exist"}) + response, err = s.m.UnfurlURLs(&httpClient, []string{"https://github.com/status-im/i_do_not_exist"}) s.Require().NoError(err) - s.Require().Empty(previews) + s.Require().Len(response.StatusLinkPreviews, 0) + s.Require().Empty(response.LinkPreviews) // Test no response when trying to get OpenGraph metadata. - previews, err = s.m.UnfurlURLs(&httpClient, []string{"https://wikipedia.o"}) + response, err = s.m.UnfurlURLs(&httpClient, []string{"https://wikipedia.o"}) s.Require().NoError(err) - s.Require().Empty(previews) + s.Require().Len(response.StatusLinkPreviews, 0) + s.Require().Empty(response.LinkPreviews) } func (s *MessengerLinkPreviewsTestSuite) Test_isSupportedImageURL() { @@ -339,7 +332,7 @@ func (s *MessengerLinkPreviewsTestSuite) Test_isSupportedImageURL() { for _, e := range examples { parsedURL, err := url.Parse(e.url) s.Require().NoError(err, e) - s.Require().Equal(e.expected, unfurlers.IsSupportedImageURL(parsedURL), e.url) + s.Require().Equal(e.expected, IsSupportedImageURL(parsedURL), e.url) } } @@ -363,10 +356,11 @@ func (s *MessengerLinkPreviewsTestSuite) Test_UnfurlURLs_Image() { transport.AddURLMatcher(u, s.readAsset("IMG_1205.HEIC.jpg"), nil) stubbedClient := http.Client{Transport: &transport} - previews, err := s.m.UnfurlURLs(&stubbedClient, []string{u}) + response, err := s.m.UnfurlURLs(&stubbedClient, []string{u}) s.Require().NoError(err) - s.Require().Len(previews, 1) - preview := previews[0] + s.Require().Len(response.StatusLinkPreviews, 0) + s.Require().Len(response.LinkPreviews, 1) + preview := response.LinkPreviews[0] s.Require().Equal(expected.Type, preview.Type) s.Require().Equal(expected.URL, preview.URL) @@ -378,3 +372,138 @@ func (s *MessengerLinkPreviewsTestSuite) Test_UnfurlURLs_Image() { s.Require().Equal(expected.Thumbnail.URL, preview.Thumbnail.URL) s.assertContainsLongString(expected.Thumbnail.DataURI, preview.Thumbnail.DataURI, 100) } + +func (s *MessengerLinkPreviewsTestSuite) Test_UnfurlURLs_StatusContactAdded() { + identity, err := crypto.GenerateKey() + s.Require().NoError(err) + + c, err := BuildContactFromPublicKey(&identity.PublicKey) + s.Require().NoError(err) + s.Require().NotNil(c) + + pubkey, err := c.PublicKey() + s.Require().NoError(err) + + shortKey, err := s.m.SerializePublicKey(crypto.CompressPubkey(pubkey)) + s.Require().NoError(err) + + payload, err := images.GetPayloadFromURI("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixA" + + "AAAiklEQVR4nOzWwQmFQAwG4ffEXmzLIizDImzLarQBhSwSGH7mO+9hh0DI9AthCI0hNIbQGEJjCI0hNIbQxITM1YfHfl69X3m2bsu/8i5mI" + + "obQGEJjCI0hNIbQlG+tUW83UtfNFjMRQ2gMofm8tUa3U9c2i5mIITSGqEnMRAyhMYTGEBpDaO4AAAD//5POEGncqtj1AAAAAElFTkSuQmCC") + s.Require().NoError(err) + + icon := images.IdentityImage{ + Width: 50, + Height: 50, + Payload: payload, + } + + c.Bio = "TestBio_1" + c.DisplayName = "TestDisplayName_2" + c.Images = map[string]images.IdentityImage{} + c.Images[images.SmallDimName] = icon + s.m.allContacts.Store(c.ID, c) + + // Generate a shared URL + u, err := s.m.ShareUserURLWithData(c.ID) + s.Require().NoError(err) + + // Update contact info locally after creating the shared URL + // This is required to test that URL-decoded data is not used in the preview. + c.Bio = "TestBio_2" + c.DisplayName = "TestDisplayName_2" + s.m.allContacts.Store(c.ID, c) + + r, err := s.m.UnfurlURLs(nil, []string{u}) + s.Require().NoError(err) + s.Require().Len(r.StatusLinkPreviews, 1) + s.Require().Len(r.LinkPreviews, 0) + + preview := r.StatusLinkPreviews[0] + s.Require().Equal(u, preview.URL) + s.Require().Nil(preview.Community) + s.Require().Nil(preview.Channel) + s.Require().NotNil(preview.Contact) + s.Require().Equal(shortKey, preview.Contact.PublicKey) + s.Require().Equal(c.DisplayName, preview.Contact.DisplayName) + s.Require().Equal(c.Bio, preview.Contact.Description) + s.Require().Equal(icon.Width, preview.Contact.Icon.Width) + s.Require().Equal(icon.Height, preview.Contact.Icon.Height) + s.Require().Equal("", preview.Contact.Icon.URL) + + expectedDataURI, err := images.GetPayloadDataURI(icon.Payload) + s.Require().NoError(err) + s.Require().Equal(expectedDataURI, preview.Contact.Icon.DataURI) +} + +func (s *MessengerLinkPreviewsTestSuite) Test_UnfurlURLs_StatusCommunityJoined() { + + description := &requests.CreateCommunity{ + Membership: protobuf.CommunityPermissions_NO_MEMBERSHIP, + Name: "status", + Description: "status community description", + Color: "#123456", + Image: "../_assets/tests/status.png", // 256*256 px + ImageAx: 0, + ImageAy: 0, + ImageBx: 256, + ImageBy: 256, + Banner: images.CroppedImage{ + ImagePath: "../_assets/tests/IMG_1205.HEIC.jpg", // 2282*3352 px + X: 0, + Y: 0, + Width: 160, + Height: 90, + }, + } + + response, err := s.m.CreateCommunity(description, false) + s.Require().NoError(err) + s.Require().NotNil(response) + + community := response.Communities()[0] + communityImages := community.Images() + s.Require().Len(communityImages, 3) + + // Get icon data + icon, ok := communityImages[images.SmallDimName] + s.Require().True(ok) + iconWidth, iconHeight, err := images.GetImageDimensions(icon.Payload) + s.Require().NoError(err) + iconDataURI, err := images.GetPayloadDataURI(icon.Payload) + s.Require().NoError(err) + + // Get banner data + banner, ok := communityImages[images.BannerIdentityName] + s.Require().True(ok) + bannerWidth, bannerHeight, err := images.GetImageDimensions(banner.Payload) + s.Require().NoError(err) + bannerDataURI, err := images.GetPayloadDataURI(banner.Payload) + s.Require().NoError(err) + + // Create shared URL + u, err := s.m.ShareCommunityURLWithData(community.ID()) + s.Require().NoError(err) + + // Unfurl community shared URL + r, err := s.m.UnfurlURLs(nil, []string{u}) + s.Require().NoError(err) + s.Require().Len(r.StatusLinkPreviews, 1) + s.Require().Len(r.LinkPreviews, 0) + + preview := r.StatusLinkPreviews[0] + s.Require().Equal(u, preview.URL) + s.Require().NotNil(preview.Community) + s.Require().Nil(preview.Channel) + s.Require().Nil(preview.Contact) + + s.Require().Equal(community.IDString(), preview.Community.CommunityID) + s.Require().Equal(community.Name(), preview.Community.DisplayName) + s.Require().Equal(community.Identity().Description, preview.Community.Description) + s.Require().Equal(iconWidth, preview.Community.Icon.Width) + s.Require().Equal(iconHeight, preview.Community.Icon.Height) + s.Require().Equal(iconDataURI, preview.Community.Icon.DataURI) + s.Require().Equal(bannerWidth, preview.Community.Banner.Width) + s.Require().Equal(bannerHeight, preview.Community.Banner.Height) + s.Require().Equal(bannerDataURI, preview.Community.Banner.DataURI) +} diff --git a/protocol/messenger_messages.go b/protocol/messenger_messages.go index 8178470a2..f0907435d 100644 --- a/protocol/messenger_messages.go +++ b/protocol/messenger_messages.go @@ -55,6 +55,9 @@ func (m *Messenger) EditMessage(ctx context.Context, request *requests.EditMessa if len(request.LinkPreviews) > 0 { message.LinkPreviews = request.LinkPreviews } + if len(request.StatusLinkPreviews) > 0 { + message.StatusLinkPreviews = request.StatusLinkPreviews + } clock, _ := chat.NextClockAndTimestamp(m.getTimesource()) @@ -65,12 +68,19 @@ func (m *Messenger) EditMessage(ctx context.Context, request *requests.EditMessa editMessage.ChatId = message.ChatId editMessage.MessageId = message.ID editMessage.Clock = clock + unfurledLinks, err := message.ConvertLinkPreviewsToProto() if err != nil { return nil, err } editMessage.UnfurledLinks = unfurledLinks + unfurledStatusLinks, err := message.ConvertStatusLinkPreviewsToProto() + if err != nil { + return nil, err + } + editMessage.UnfurledStatusLinks = unfurledStatusLinks + err = m.applyEditMessage(editMessage.EditMessage, message) if err != nil { return nil, err @@ -346,6 +356,7 @@ func (m *Messenger) applyEditMessage(editMessage *protobuf.EditMessage, message message.Text = editMessage.Text message.EditedAt = editMessage.Clock message.UnfurledLinks = editMessage.UnfurledLinks + message.UnfurledStatusLinks = editMessage.UnfurledStatusLinks if editMessage.ContentType != protobuf.ChatMessage_UNKNOWN_CONTENT_TYPE { message.ContentType = editMessage.ContentType } @@ -360,6 +371,7 @@ func (m *Messenger) applyEditMessage(editMessage *protobuf.EditMessage, message originalEdit.ContentType = message.ContentType originalEdit.From = message.From originalEdit.UnfurledLinks = message.UnfurledLinks + originalEdit.UnfurledStatusLinks = message.UnfurledStatusLinks err := m.persistence.SaveEdit(originalEdit) if err != nil { return err diff --git a/protocol/messenger_share_urls.go b/protocol/messenger_share_urls.go index 94f37ab48..6ac5c44fa 100644 --- a/protocol/messenger_share_urls.go +++ b/protocol/messenger_share_urls.go @@ -41,10 +41,10 @@ type ContactURLData struct { } type URLDataResponse struct { - Community CommunityURLData `json:"community"` - Channel CommunityChannelURLData `json:"channel"` - Contact ContactURLData `json:"contact"` - Shard *common.Shard `json:"shard,omitempty"` + Community *CommunityURLData `json:"community"` + Channel *CommunityChannelURLData `json:"channel"` + Contact *ContactURLData `json:"contact"` + Shard *common.Shard `json:"shard,omitempty"` } const baseShareURL = "https://status.app" @@ -92,8 +92,8 @@ func (m *Messenger) ShareCommunityURLWithChatKey(communityID types.HexBytes) (st return fmt.Sprintf("%s/c#%s", baseShareURL, shortKey), nil } -func (m *Messenger) prepareCommunityData(community *communities.Community) CommunityURLData { - return CommunityURLData{ +func (m *Messenger) prepareCommunityData(community *communities.Community) *CommunityURLData { + return &CommunityURLData{ DisplayName: community.Identity().DisplayName, Description: community.DescriptionText(), MembersCount: uint32(community.MembersCount()), @@ -203,7 +203,7 @@ func (m *Messenger) parseCommunityURLWithData(data string, chatKey string) (*URL } return &URLDataResponse{ - Community: CommunityURLData{ + Community: &CommunityURLData{ DisplayName: communityProto.DisplayName, Description: communityProto.Description, MembersCount: communityProto.MembersCount, @@ -237,8 +237,8 @@ func (m *Messenger) ShareCommunityChannelURLWithChatKey(request *requests.Commun return fmt.Sprintf("%s/cc/%s#%s", baseShareURL, request.ChannelID, shortKey), nil } -func (m *Messenger) prepareCommunityChannelData(channel *protobuf.CommunityChat) CommunityChannelURLData { - return CommunityChannelURLData{ +func (m *Messenger) prepareCommunityChannelData(channel *protobuf.CommunityChat) *CommunityChannelURLData { + return &CommunityChannelURLData{ Emoji: channel.Identity.Emoji, DisplayName: channel.Identity.DisplayName, Description: channel.Identity.Description, @@ -383,7 +383,7 @@ func (m *Messenger) parseCommunityChannelURLWithData(data string, chatKey string } return &URLDataResponse{ - Community: CommunityURLData{ + Community: &CommunityURLData{ DisplayName: channelProto.Community.DisplayName, Description: channelProto.Community.Description, MembersCount: channelProto.Community.MembersCount, @@ -391,7 +391,7 @@ func (m *Messenger) parseCommunityChannelURLWithData(data string, chatKey string TagIndices: channelProto.Community.TagIndices, CommunityID: types.EncodeHex(communityID), }, - Channel: CommunityChannelURLData{ + Channel: &CommunityChannelURLData{ Emoji: channelProto.Emoji, DisplayName: channelProto.DisplayName, Description: channelProto.Description, @@ -416,8 +416,8 @@ func (m *Messenger) ShareUserURLWithChatKey(contactID string) (string, error) { return fmt.Sprintf("%s/u#%s", baseShareURL, shortKey), nil } -func (m *Messenger) prepareContactData(contact *Contact) ContactURLData { - return ContactURLData{ +func (m *Messenger) prepareContactData(contact *Contact) *ContactURLData { + return &ContactURLData{ DisplayName: contact.DisplayName, } } @@ -471,6 +471,7 @@ func (m *Messenger) prepareEncodedUserData(contact *Contact) (string, string, er userProto := &protobuf.User{ DisplayName: contact.DisplayName, + Description: contact.Bio, } userData, err := proto.Marshal(userProto) @@ -528,7 +529,7 @@ func (m *Messenger) parseUserURLWithData(data string, chatKey string) (*URLDataR } return &URLDataResponse{ - Contact: ContactURLData{ + Contact: &ContactURLData{ DisplayName: userProto.DisplayName, Description: userProto.Description, PublicKey: chatKey, @@ -536,8 +537,12 @@ func (m *Messenger) parseUserURLWithData(data string, chatKey string) (*URLDataR }, nil } +func (m *Messenger) IsStatusSharedURL(url string) bool { + return strings.HasPrefix(url, baseShareURL) +} + func (m *Messenger) ParseSharedURL(url string) (*URLDataResponse, error) { - if !strings.HasPrefix(url, baseShareURL) { + if !m.IsStatusSharedURL(url) { return nil, fmt.Errorf("url should start with '%s'", baseShareURL) } diff --git a/protocol/messenger_share_urls_test.go b/protocol/messenger_share_urls_test.go index 76b9d19a5..1a6f6864d 100644 --- a/protocol/messenger_share_urls_test.go +++ b/protocol/messenger_share_urls_test.go @@ -205,6 +205,7 @@ func (s *MessengerShareUrlsSuite) TestParseCommunityURLWithData() { s.Require().NotNil(urlData) s.Require().NotNil(urlData.Community) + s.Require().Equal("0x02a3d2fdb9ac335917bf9d46b38d7496c00bbfadbaf832e8aa61d13ac2b4452084", urlData.Community.CommunityID) s.Require().Equal("Doodles", urlData.Community.DisplayName) s.Require().Equal("Coloring the world with joy • ᴗ •", urlData.Community.Description) s.Require().Equal(uint32(446744), urlData.Community.MembersCount) @@ -362,7 +363,7 @@ func (s *MessengerShareUrlsSuite) TestParseUserURLWithChatKey() { s.Require().NotNil(urlData.Contact) s.Require().Equal(contact.DisplayName, urlData.Contact.DisplayName) - s.Require().Equal(contact.Bio, urlData.Contact.DisplayName) + s.Require().Equal(contact.Bio, urlData.Contact.Description) } func (s *MessengerShareUrlsSuite) TestShareUserURLWithENS() { diff --git a/protocol/messenger_test.go b/protocol/messenger_test.go index 6fba769fe..6a3bad472 100644 --- a/protocol/messenger_test.go +++ b/protocol/messenger_test.go @@ -2312,6 +2312,21 @@ func (s *MessengerSuite) TestSendMessageWithPreviews() { } inputMsg.LinkPreviews = []common.LinkPreview{preview} + sentContactPreview := common.StatusLinkPreview{ + URL: "https://status.app/u/TestUrl", + Contact: &common.StatusContactLinkPreview{ + PublicKey: "TestPublicKey", + DisplayName: "TestDisplayName", + Description: "Test description", + Icon: common.LinkPreviewThumbnail{ + Width: 100, + Height: 200, + DataURI: "data:image/png;base64,iVBORw0KGgoAAAANSUg=", + }, + }, + } + inputMsg.StatusLinkPreviews = []common.StatusLinkPreview{sentContactPreview} + _, err = s.m.SendChatMessage(context.Background(), inputMsg) s.NoError(err) @@ -2322,14 +2337,14 @@ func (s *MessengerSuite) TestSendMessageWithPreviews() { // Test unfurled links have been saved. s.Require().Len(savedMsg.UnfurledLinks, 1) - unfurledLink := savedMsg.UnfurledLinks[0] - s.Require().Equal(preview.Type, unfurledLink.Type) - s.Require().Equal(preview.URL, unfurledLink.Url) - s.Require().Equal(preview.Title, unfurledLink.Title) - s.Require().Equal(preview.Description, unfurledLink.Description) + savedLinkProto := savedMsg.UnfurledLinks[0] + s.Require().Equal(preview.Type, savedLinkProto.Type) + s.Require().Equal(preview.URL, savedLinkProto.Url) + s.Require().Equal(preview.Title, savedLinkProto.Title) + s.Require().Equal(preview.Description, savedLinkProto.Description) // Test the saved link thumbnail can be encoded as a data URI. - expectedDataURI, err := images.GetPayloadDataURI(unfurledLink.ThumbnailPayload) + expectedDataURI, err := images.GetPayloadDataURI(savedLinkProto.ThumbnailPayload) s.Require().NoError(err) s.Require().Equal(preview.Thumbnail.DataURI, expectedDataURI) @@ -2337,6 +2352,43 @@ func (s *MessengerSuite) TestSendMessageWithPreviews() { httpServer.MakeLinkPreviewThumbnailURL(inputMsg.ID, preview.URL), savedMsg.LinkPreviews[0].Thumbnail.URL, ) + + // Check saved message protobuf fields + s.Require().NotNil(savedMsg.UnfurledStatusLinks) + s.Require().Len(savedMsg.UnfurledStatusLinks.UnfurledStatusLinks, 1) + savedStatusLinkProto := savedMsg.UnfurledStatusLinks.UnfurledStatusLinks[0] + s.Require().Equal(sentContactPreview.URL, savedStatusLinkProto.Url) + s.Require().NotNil(savedStatusLinkProto.GetContact()) + s.Require().Nil(savedStatusLinkProto.GetCommunity()) + s.Require().Nil(savedStatusLinkProto.GetChannel()) + + savedContactProto := savedStatusLinkProto.GetContact() + s.Require().Equal(sentContactPreview.Contact.PublicKey, string(savedContactProto.PublicKey)) + s.Require().Equal(sentContactPreview.Contact.DisplayName, savedContactProto.DisplayName) + s.Require().Equal(sentContactPreview.Contact.Description, savedContactProto.Description) + s.Require().NotNil(savedContactProto.Icon) + s.Require().Equal(sentContactPreview.Contact.Icon.Width, int(savedContactProto.Icon.Width)) + s.Require().Equal(sentContactPreview.Contact.Icon.Height, int(savedContactProto.Icon.Height)) + + iconDataURI, err := images.GetPayloadDataURI(savedContactProto.Icon.Payload) + s.Require().NoError(err) + s.Require().Equal(sentContactPreview.Contact.Icon.DataURI, iconDataURI) + + // Check message `StatusLinkPreviews` properties + s.Require().Len(savedMsg.StatusLinkPreviews, 1) + savedStatusLinkPreview := savedMsg.StatusLinkPreviews[0] + s.Require().Equal(sentContactPreview.URL, savedStatusLinkPreview.URL) + s.Require().NotNil(savedStatusLinkPreview.Contact) + + savedContact := savedStatusLinkPreview.Contact + s.Require().Equal(sentContactPreview.Contact.PublicKey, savedContact.PublicKey) + s.Require().Equal(sentContactPreview.Contact.DisplayName, savedContact.DisplayName) + s.Require().Equal(sentContactPreview.Contact.Description, savedContact.Description) + s.Require().NotNil(savedContact.Icon) + s.Require().Equal(sentContactPreview.Contact.Icon.Width, savedContact.Icon.Width) + s.Require().Equal(sentContactPreview.Contact.Icon.Height, savedContact.Icon.Height) + expectedIconURL := httpServer.MakeStatusLinkPreviewThumbnailURL(inputMsg.ID, sentContactPreview.URL, "contact-icon") + s.Require().Equal(expectedIconURL, savedContact.Icon.URL) } func (s *MessengerSuite) TestMessageSent() { diff --git a/protocol/migrations/migrations.go b/protocol/migrations/migrations.go index e297adc77..4dae557de 100644 --- a/protocol/migrations/migrations.go +++ b/protocol/migrations/migrations.go @@ -102,6 +102,7 @@ // 1689931300_add_community_tokens_deployer_and_priv_level.up.sql (156B) // 1693311881_add_unfurled_links_to_message_edits.up.sql (64B) // 1693311981_community_shard.up.sql (156B) +// 1695331492_add_status_link_previews.up.sql (136B) // README.md (554B) // doc.go (850B) @@ -187,7 +188,7 @@ func _000001_initDownDbSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "000001_init.down.db.sql", size: 65, mode: os.FileMode(0664), modTime: time.Unix(1663713040, 0)} + info := bindataFileInfo{name: "000001_init.down.db.sql", size: 65, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x5e, 0xbb, 0x3f, 0x1, 0x75, 0x19, 0x70, 0x86, 0xa7, 0x34, 0x40, 0x17, 0x34, 0x3e, 0x18, 0x51, 0x79, 0xd4, 0x22, 0xad, 0x8f, 0x80, 0xcc, 0xa6, 0xcc, 0x6, 0x2b, 0x62, 0x2, 0x47, 0xba, 0xf9}} return a, nil } @@ -207,7 +208,7 @@ func _000001_initUpDbSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "000001_init.up.db.sql", size: 2719, mode: os.FileMode(0664), modTime: time.Unix(1663713040, 0)} + info := bindataFileInfo{name: "000001_init.up.db.sql", size: 2719, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x60, 0xdc, 0xeb, 0xe, 0xc2, 0x4f, 0x75, 0xa, 0xf6, 0x3e, 0xc7, 0xc4, 0x4, 0xe2, 0xe1, 0xa4, 0x73, 0x2f, 0x4a, 0xad, 0x1a, 0x0, 0xc3, 0x93, 0x9d, 0x77, 0x3e, 0x31, 0x91, 0x77, 0x2e, 0xc8}} return a, nil } @@ -227,7 +228,7 @@ func _000002_add_last_ens_clock_valueUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "000002_add_last_ens_clock_value.up.sql", size: 77, mode: os.FileMode(0664), modTime: time.Unix(1663713040, 0)} + info := bindataFileInfo{name: "000002_add_last_ens_clock_value.up.sql", size: 77, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x4d, 0x3, 0x8f, 0xd5, 0x85, 0x83, 0x47, 0xbe, 0xf9, 0x82, 0x7e, 0x81, 0xa4, 0xbd, 0xaa, 0xd5, 0x98, 0x18, 0x5, 0x2d, 0x82, 0x42, 0x3b, 0x3, 0x50, 0xc3, 0x1e, 0x84, 0x35, 0xf, 0xb6, 0x2b}} return a, nil } @@ -247,7 +248,7 @@ func _1586358095_add_replaceUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1586358095_add_replace.up.sql", size: 224, mode: os.FileMode(0664), modTime: time.Unix(1663713040, 0)} + info := bindataFileInfo{name: "1586358095_add_replace.up.sql", size: 224, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xd2, 0xb3, 0xa9, 0xc7, 0x7f, 0x9d, 0x8f, 0x43, 0x8c, 0x9e, 0x58, 0x8d, 0x44, 0xbc, 0xfa, 0x6b, 0x5f, 0x3f, 0x5a, 0xbe, 0xe8, 0xb1, 0x16, 0xf, 0x91, 0x2a, 0xa0, 0x71, 0xbb, 0x8d, 0x6b, 0xcb}} return a, nil } @@ -267,7 +268,7 @@ func _1588665364_add_image_dataUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1588665364_add_image_data.up.sql", size: 186, mode: os.FileMode(0664), modTime: time.Unix(1663713040, 0)} + info := bindataFileInfo{name: "1588665364_add_image_data.up.sql", size: 186, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xd6, 0xc6, 0x35, 0xb4, 0x4c, 0x39, 0x96, 0x29, 0x30, 0xda, 0xf4, 0x8f, 0xcb, 0xf1, 0x9f, 0x84, 0xdc, 0x88, 0xd4, 0xd5, 0xbc, 0xb6, 0x5b, 0x46, 0x78, 0x67, 0x76, 0x1a, 0x5, 0x36, 0xdc, 0xe5}} return a, nil } @@ -287,7 +288,7 @@ func _1589365189_add_pow_targetUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1589365189_add_pow_target.up.sql", size: 66, mode: os.FileMode(0664), modTime: time.Unix(1663713040, 0)} + info := bindataFileInfo{name: "1589365189_add_pow_target.up.sql", size: 66, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x4e, 0x3a, 0xe2, 0x2e, 0x7d, 0xaf, 0xbb, 0xcc, 0x21, 0xa1, 0x7a, 0x41, 0x9a, 0xd0, 0xbb, 0xa9, 0xc8, 0x35, 0xf9, 0x32, 0x34, 0x46, 0x44, 0x9a, 0x86, 0x40, 0x7c, 0xb9, 0x23, 0xc7, 0x3, 0x3f}} return a, nil } @@ -307,7 +308,7 @@ func _1591277220_add_index_messagesUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1591277220_add_index_messages.up.sql", size: 240, mode: os.FileMode(0664), modTime: time.Unix(1663713040, 0)} + info := bindataFileInfo{name: "1591277220_add_index_messages.up.sql", size: 240, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x9c, 0xfe, 0xbe, 0xd5, 0xb8, 0x8f, 0xdd, 0xef, 0xbb, 0xa8, 0xad, 0x7f, 0xed, 0x5b, 0x5b, 0x2f, 0xe6, 0x82, 0x27, 0x78, 0x1f, 0xb9, 0x57, 0xdc, 0x8, 0xc2, 0xb2, 0xa9, 0x9a, 0x4, 0xe1, 0x7a}} return a, nil } @@ -327,7 +328,7 @@ func _1593087212_add_mute_chat_and_raw_message_fieldsUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1593087212_add_mute_chat_and_raw_message_fields.up.sql", size: 215, mode: os.FileMode(0664), modTime: time.Unix(1663713040, 0)} + info := bindataFileInfo{name: "1593087212_add_mute_chat_and_raw_message_fields.up.sql", size: 215, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x73, 0x99, 0x61, 0xd1, 0xaa, 0xb4, 0xbf, 0xaf, 0xd7, 0x20, 0x17, 0x40, 0xf9, 0x2, 0xfb, 0xcc, 0x40, 0x2a, 0xd, 0x86, 0x36, 0x30, 0x88, 0x89, 0x25, 0x80, 0x42, 0xb0, 0x5b, 0xe9, 0x73, 0x78}} return a, nil } @@ -347,7 +348,7 @@ func _1595862781_add_audio_dataUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1595862781_add_audio_data.up.sql", size: 246, mode: os.FileMode(0664), modTime: time.Unix(1663713040, 0)} + info := bindataFileInfo{name: "1595862781_add_audio_data.up.sql", size: 246, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xae, 0xd2, 0xee, 0x55, 0xfb, 0x36, 0xa4, 0x92, 0x66, 0xe, 0x81, 0x62, 0x1e, 0x7a, 0x69, 0xa, 0xd5, 0x4b, 0xa5, 0x6a, 0x8d, 0x1d, 0xce, 0xf3, 0x3e, 0xc0, 0x5f, 0x9c, 0x66, 0x1b, 0xb4, 0xed}} return a, nil } @@ -367,7 +368,7 @@ func _1595865249_create_emoji_reactions_tableUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1595865249_create_emoji_reactions_table.up.sql", size: 300, mode: os.FileMode(0664), modTime: time.Unix(1663713040, 0)} + info := bindataFileInfo{name: "1595865249_create_emoji_reactions_table.up.sql", size: 300, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x3e, 0xc5, 0x43, 0x5c, 0x3d, 0x53, 0x43, 0x2c, 0x1a, 0xa5, 0xb6, 0xbf, 0x7, 0x4, 0x5a, 0x3e, 0x40, 0x8b, 0xa4, 0x57, 0x12, 0x58, 0xbc, 0x42, 0xe2, 0xc3, 0xde, 0x76, 0x98, 0x80, 0xe2, 0xbe}} return a, nil } @@ -387,7 +388,7 @@ func _1596805115_create_group_chat_invitations_tableUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1596805115_create_group_chat_invitations_table.up.sql", size: 231, mode: os.FileMode(0664), modTime: time.Unix(1663713040, 0)} + info := bindataFileInfo{name: "1596805115_create_group_chat_invitations_table.up.sql", size: 231, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x6d, 0xb1, 0x14, 0x6d, 0x54, 0x28, 0x67, 0xc3, 0x23, 0x6a, 0xfc, 0x80, 0xdf, 0x9e, 0x4c, 0x35, 0x36, 0xf, 0xf8, 0xf3, 0x5f, 0xae, 0xad, 0xb, 0xc1, 0x51, 0x8e, 0x17, 0x7, 0xe5, 0x7f, 0x91}} return a, nil } @@ -407,7 +408,7 @@ func _1597322655_add_invitation_admin_chat_fieldUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1597322655_add_invitation_admin_chat_field.up.sql", size: 54, mode: os.FileMode(0664), modTime: time.Unix(1663713040, 0)} + info := bindataFileInfo{name: "1597322655_add_invitation_admin_chat_field.up.sql", size: 54, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xa9, 0x7a, 0xa0, 0xf2, 0xdb, 0x13, 0x91, 0x91, 0xa8, 0x34, 0x1a, 0xa1, 0x49, 0x68, 0xd5, 0xae, 0x2c, 0xd8, 0xd5, 0xea, 0x8f, 0x8c, 0xc7, 0x2, 0x4e, 0x58, 0x2c, 0x3a, 0x14, 0xd4, 0x4f, 0x2c}} return a, nil } @@ -427,7 +428,7 @@ func _1597757544_add_nicknameUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1597757544_add_nickname.up.sql", size: 52, mode: os.FileMode(0664), modTime: time.Unix(1663713040, 0)} + info := bindataFileInfo{name: "1597757544_add_nickname.up.sql", size: 52, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xf4, 0xa2, 0x64, 0x50, 0xc5, 0x4, 0xb9, 0x8b, 0xd1, 0x18, 0x9b, 0xc3, 0x91, 0x36, 0x2a, 0x1f, 0xc3, 0x6c, 0x2d, 0x92, 0xf8, 0x5e, 0xff, 0xb1, 0x59, 0x61, 0x2, 0x1c, 0xe1, 0x85, 0x90, 0xa4}} return a, nil } @@ -447,7 +448,7 @@ func _1598955122_add_mentionsUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1598955122_add_mentions.up.sql", size: 52, mode: os.FileMode(0664), modTime: time.Unix(1663713040, 0)} + info := bindataFileInfo{name: "1598955122_add_mentions.up.sql", size: 52, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x8d, 0x22, 0x17, 0x92, 0xd2, 0x11, 0x4e, 0x7, 0x93, 0x9a, 0x55, 0xfd, 0xb, 0x97, 0xc4, 0x63, 0x6a, 0x81, 0x97, 0xcd, 0xb2, 0xf8, 0x4b, 0x5f, 0x3c, 0xfa, 0x3a, 0x38, 0x53, 0x10, 0xed, 0x9d}} return a, nil } @@ -467,7 +468,7 @@ func _1599641390_add_emoji_reactions_indexUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1599641390_add_emoji_reactions_index.up.sql", size: 126, mode: os.FileMode(0664), modTime: time.Unix(1663713040, 0)} + info := bindataFileInfo{name: "1599641390_add_emoji_reactions_index.up.sql", size: 126, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xf9, 0xd8, 0xdc, 0xa7, 0xb, 0x92, 0x7a, 0x61, 0x37, 0x24, 0x1c, 0x77, 0x5e, 0xe, 0x7e, 0xfc, 0x9f, 0x98, 0x7b, 0x65, 0xe7, 0xf9, 0x71, 0x57, 0x89, 0x2d, 0x90, 0x1b, 0xf6, 0x5e, 0x37, 0xe8}} return a, nil } @@ -487,7 +488,7 @@ func _1599720851_add_seen_index_remove_long_messagesUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1599720851_add_seen_index_remove_long_messages.up.sql", size: 150, mode: os.FileMode(0664), modTime: time.Unix(1663713040, 0)} + info := bindataFileInfo{name: "1599720851_add_seen_index_remove_long_messages.up.sql", size: 150, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x24, 0x1c, 0xc4, 0x78, 0x91, 0xc7, 0xeb, 0xfe, 0xc8, 0xa0, 0xd8, 0x13, 0x27, 0x97, 0xc8, 0x96, 0x56, 0x97, 0x33, 0x2c, 0x1e, 0x16, 0x8a, 0xd3, 0x49, 0x99, 0x3, 0xe9, 0xbb, 0xc4, 0x5, 0x3c}} return a, nil } @@ -507,7 +508,7 @@ func _1603198582_add_profile_chat_fieldUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1603198582_add_profile_chat_field.up.sql", size: 45, mode: os.FileMode(0664), modTime: time.Unix(1663713040, 0)} + info := bindataFileInfo{name: "1603198582_add_profile_chat_field.up.sql", size: 45, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xaa, 0xca, 0xe, 0x46, 0xa0, 0x9, 0x9d, 0x47, 0x57, 0xe9, 0xfb, 0x17, 0xeb, 0x9c, 0xf6, 0xb8, 0x1d, 0xe9, 0xd, 0x0, 0xd5, 0xe5, 0xd8, 0x9e, 0x60, 0xa, 0xbf, 0x32, 0x2c, 0x52, 0x7f, 0x6a}} return a, nil } @@ -527,7 +528,7 @@ func _1603816533_add_linksUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1603816533_add_links.up.sql", size: 48, mode: os.FileMode(0664), modTime: time.Unix(1663713040, 0)} + info := bindataFileInfo{name: "1603816533_add_links.up.sql", size: 48, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xc9, 0x24, 0xd6, 0x1d, 0xa, 0x83, 0x1e, 0x4d, 0xf, 0xae, 0x4d, 0x8c, 0x51, 0x32, 0xa8, 0x37, 0xb0, 0x14, 0xfb, 0x32, 0x34, 0xc8, 0xc, 0x4e, 0x5b, 0xc5, 0x15, 0x65, 0x73, 0x0, 0x0, 0x1d}} return a, nil } @@ -547,7 +548,7 @@ func _1603888149_create_chat_identity_last_published_tableUpSql() (*asset, error return nil, err } - info := bindataFileInfo{name: "1603888149_create_chat_identity_last_published_table.up.sql", size: 407, mode: os.FileMode(0664), modTime: time.Unix(1663713040, 0)} + info := bindataFileInfo{name: "1603888149_create_chat_identity_last_published_table.up.sql", size: 407, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x7f, 0x9, 0xf, 0xfb, 0xdb, 0x3c, 0x86, 0x70, 0x82, 0xda, 0x10, 0x25, 0xe2, 0x4e, 0x40, 0x45, 0xab, 0x8b, 0x1c, 0x91, 0x7c, 0xf1, 0x70, 0x2e, 0x81, 0xf3, 0x71, 0x45, 0xda, 0xe2, 0xa4, 0x57}} return a, nil } @@ -567,7 +568,7 @@ func _1605075346_add_communitiesUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1605075346_add_communities.up.sql", size: 6971, mode: os.FileMode(0664), modTime: time.Unix(1663713040, 0)} + info := bindataFileInfo{name: "1605075346_add_communities.up.sql", size: 6971, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x1f, 0x64, 0xea, 0xb4, 0xae, 0x9e, 0xdb, 0x9, 0x58, 0xb6, 0x5c, 0x7a, 0x50, 0xc5, 0xfe, 0x93, 0x5d, 0x36, 0x85, 0x5d, 0x6a, 0xba, 0xc9, 0x7e, 0x84, 0xd7, 0xbf, 0x2a, 0x53, 0xf3, 0x97, 0xf1}} return a, nil } @@ -587,7 +588,7 @@ func _1610117927_add_message_cacheUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1610117927_add_message_cache.up.sql", size: 142, mode: os.FileMode(0664), modTime: time.Unix(1663713040, 0)} + info := bindataFileInfo{name: "1610117927_add_message_cache.up.sql", size: 142, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x34, 0xf1, 0xf0, 0x82, 0x79, 0x28, 0x19, 0xc2, 0x39, 0x6a, 0xa5, 0x96, 0x59, 0x23, 0xa0, 0xed, 0x60, 0x58, 0x86, 0x9, 0xb9, 0xad, 0xfb, 0xa, 0xe3, 0x47, 0x6e, 0xa1, 0x18, 0xe8, 0x39, 0x2c}} return a, nil } @@ -607,7 +608,7 @@ func _1610959908_add_dont_wrap_to_raw_messagesUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1610959908_add_dont_wrap_to_raw_messages.up.sql", size: 83, mode: os.FileMode(0664), modTime: time.Unix(1663713040, 0)} + info := bindataFileInfo{name: "1610959908_add_dont_wrap_to_raw_messages.up.sql", size: 83, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x71, 0x2, 0x9a, 0xca, 0xd4, 0x38, 0x44, 0x30, 0x2b, 0xa8, 0x27, 0x32, 0x63, 0x53, 0x22, 0x60, 0x59, 0x84, 0x23, 0x96, 0x77, 0xf0, 0x56, 0xd7, 0x94, 0xe0, 0x95, 0x28, 0x6, 0x1d, 0x4e, 0xb1}} return a, nil } @@ -627,7 +628,7 @@ func _1610960912_add_send_on_personal_topicUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1610960912_add_send_on_personal_topic.up.sql", size: 82, mode: os.FileMode(0664), modTime: time.Unix(1663713040, 0)} + info := bindataFileInfo{name: "1610960912_add_send_on_personal_topic.up.sql", size: 82, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x77, 0xac, 0x2f, 0xc4, 0xd, 0xa7, 0x1b, 0x37, 0x30, 0xc2, 0x68, 0xee, 0xde, 0x54, 0x5e, 0xbf, 0x3f, 0xa0, 0xd6, 0xc6, 0x9f, 0xd4, 0x34, 0x12, 0x76, 0x1e, 0x66, 0x4a, 0xfc, 0xf, 0xee, 0xc9}} return a, nil } @@ -647,7 +648,7 @@ func _1612870480_add_datasync_idUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1612870480_add_datasync_id.up.sql", size: 111, mode: os.FileMode(0664), modTime: time.Unix(1663713040, 0)} + info := bindataFileInfo{name: "1612870480_add_datasync_id.up.sql", size: 111, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x34, 0x9a, 0xbc, 0xfa, 0xaa, 0x8c, 0x9c, 0x37, 0x67, 0x15, 0x9c, 0x7e, 0x78, 0x75, 0x66, 0x82, 0x18, 0x72, 0x10, 0xbc, 0xd4, 0xab, 0x44, 0xfe, 0x57, 0x85, 0x6d, 0x19, 0xf5, 0x96, 0x8a, 0xbe}} return a, nil } @@ -667,7 +668,7 @@ func _1614152139_add_communities_request_to_joinUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1614152139_add_communities_request_to_join.up.sql", size: 831, mode: os.FileMode(0664), modTime: time.Unix(1663713040, 0)} + info := bindataFileInfo{name: "1614152139_add_communities_request_to_join.up.sql", size: 831, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x11, 0x3, 0x26, 0xf9, 0x29, 0x50, 0x4f, 0xcd, 0x46, 0xe5, 0xb1, 0x6b, 0xb9, 0x2, 0x40, 0xb1, 0xdf, 0x4a, 0x4c, 0x7a, 0xda, 0x3, 0x35, 0xcd, 0x2d, 0xcc, 0x80, 0x7d, 0x57, 0x5f, 0x3, 0x5c}} return a, nil } @@ -687,7 +688,7 @@ func _1615374373_add_confirmationsUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1615374373_add_confirmations.up.sql", size: 227, mode: os.FileMode(0664), modTime: time.Unix(1663713040, 0)} + info := bindataFileInfo{name: "1615374373_add_confirmations.up.sql", size: 227, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xdd, 0xa6, 0x65, 0xc5, 0x1d, 0xb2, 0x77, 0x36, 0xe3, 0x79, 0xda, 0xe8, 0x7a, 0xa4, 0xdf, 0x45, 0xae, 0xd8, 0xb4, 0xba, 0x90, 0xfd, 0x74, 0x71, 0x14, 0x75, 0x73, 0x72, 0xb9, 0x9e, 0x1, 0x81}} return a, nil } @@ -707,7 +708,7 @@ func _1617694931_add_notification_centerUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1617694931_add_notification_center.up.sql", size: 572, mode: os.FileMode(0664), modTime: time.Unix(1663713040, 0)} + info := bindataFileInfo{name: "1617694931_add_notification_center.up.sql", size: 572, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x10, 0x45, 0xc6, 0xc9, 0x73, 0xbb, 0x1f, 0xda, 0xa3, 0x4d, 0x19, 0x98, 0x85, 0x2d, 0xca, 0xda, 0xcc, 0x3b, 0x32, 0xff, 0xc7, 0x7b, 0xe3, 0x9f, 0x9b, 0x2a, 0x93, 0xf5, 0xdf, 0x65, 0x38, 0x91}} return a, nil } @@ -727,7 +728,7 @@ func _1618923660_create_pin_messagesUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1618923660_create_pin_messages.up.sql", size: 265, mode: os.FileMode(0664), modTime: time.Unix(1663713040, 0)} + info := bindataFileInfo{name: "1618923660_create_pin_messages.up.sql", size: 265, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x61, 0x44, 0x3a, 0xbe, 0x30, 0xd2, 0x7e, 0xc0, 0xe2, 0x8e, 0x65, 0x53, 0x54, 0xbb, 0x7a, 0x1c, 0xb3, 0x5d, 0xd2, 0xa6, 0xa9, 0x28, 0xb7, 0xa4, 0x5f, 0x8b, 0x9, 0x5f, 0x17, 0xc1, 0x85, 0x21}} return a, nil } @@ -747,7 +748,7 @@ func _1619094007_add_joined_chat_fieldUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1619094007_add_joined_chat_field.up.sql", size: 101, mode: os.FileMode(0664), modTime: time.Unix(1663713040, 0)} + info := bindataFileInfo{name: "1619094007_add_joined_chat_field.up.sql", size: 101, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xfa, 0x30, 0x81, 0x3a, 0x2f, 0x9f, 0xb3, 0x0, 0x55, 0x8e, 0x1d, 0xa8, 0xb0, 0x68, 0xf0, 0x40, 0x1a, 0x6c, 0xaa, 0xfc, 0x33, 0xd1, 0xd1, 0x55, 0x3f, 0xf2, 0xbd, 0x54, 0xa1, 0x2b, 0x40, 0x95}} return a, nil } @@ -767,7 +768,7 @@ func _1619099821_add_last_synced_fieldUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1619099821_add_last_synced_field.up.sql", size: 226, mode: os.FileMode(0664), modTime: time.Unix(1663713040, 0)} + info := bindataFileInfo{name: "1619099821_add_last_synced_field.up.sql", size: 226, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xf, 0x52, 0x22, 0xe, 0x2f, 0xd7, 0x93, 0x5f, 0x42, 0xc2, 0x93, 0x4, 0x35, 0x6f, 0xc9, 0x19, 0xed, 0x6b, 0x52, 0x6f, 0xae, 0x99, 0xe2, 0x68, 0x3d, 0x4f, 0x40, 0xe, 0xe1, 0xa, 0x47, 0x21}} return a, nil } @@ -787,7 +788,7 @@ func _1621933219_add_mentionedUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1621933219_add_mentioned.up.sql", size: 70, mode: os.FileMode(0664), modTime: time.Unix(1663713040, 0)} + info := bindataFileInfo{name: "1621933219_add_mentioned.up.sql", size: 70, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x36, 0x76, 0x8a, 0xc9, 0x7, 0x8f, 0xa5, 0xcb, 0x12, 0x21, 0x4e, 0xfe, 0x96, 0x77, 0xcf, 0x7f, 0x76, 0x75, 0x36, 0x2c, 0xf8, 0x1d, 0x13, 0xcb, 0xcd, 0x6e, 0x70, 0xbf, 0xf5, 0x93, 0x67, 0xd1}} return a, nil } @@ -807,7 +808,7 @@ func _1622010048_add_unviewed_mentions_countUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1622010048_add_unviewed_mentions_count.up.sql", size: 114, mode: os.FileMode(0664), modTime: time.Unix(1663713040, 0)} + info := bindataFileInfo{name: "1622010048_add_unviewed_mentions_count.up.sql", size: 114, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x7c, 0x16, 0x85, 0xa6, 0x5b, 0xe1, 0x66, 0xb9, 0x84, 0xbe, 0x7f, 0xa, 0x77, 0x23, 0xb9, 0xef, 0x8e, 0x2, 0x8, 0xfc, 0x61, 0xb2, 0x43, 0xa9, 0x63, 0xae, 0xb4, 0xdf, 0x30, 0xb1, 0x61, 0x4b}} return a, nil } @@ -827,7 +828,7 @@ func _1622061278_add_message_activity_center_notification_fieldUpSql() (*asset, return nil, err } - info := bindataFileInfo{name: "1622061278_add_message_activity_center_notification_field.up.sql", size: 80, mode: os.FileMode(0664), modTime: time.Unix(1663713040, 0)} + info := bindataFileInfo{name: "1622061278_add_message_activity_center_notification_field.up.sql", size: 80, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x8, 0xc, 0xa6, 0x1f, 0xa5, 0xc6, 0x7c, 0x6f, 0xab, 0x2c, 0x2d, 0xb5, 0xa4, 0xdd, 0xc1, 0xd6, 0x44, 0x83, 0xf9, 0xb1, 0xa5, 0xce, 0x34, 0x3d, 0x2, 0xa9, 0x35, 0xcf, 0xc6, 0xb2, 0x43, 0x37}} return a, nil } @@ -847,7 +848,7 @@ func _1622464518_set_synced_to_fromUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1622464518_set_synced_to_from.up.sql", size: 105, mode: os.FileMode(0664), modTime: time.Unix(1663713040, 0)} + info := bindataFileInfo{name: "1622464518_set_synced_to_from.up.sql", size: 105, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x33, 0x3e, 0x2b, 0xa, 0x1e, 0xc7, 0x6d, 0x6f, 0xd1, 0x1d, 0xe8, 0x4b, 0xdd, 0x92, 0x76, 0xea, 0xf2, 0x3e, 0x15, 0x85, 0xc4, 0xc3, 0x31, 0xf1, 0xc0, 0xa2, 0xd7, 0x47, 0xde, 0x4e, 0xfd, 0xc6}} return a, nil } @@ -867,7 +868,7 @@ func _1622464519_add_chat_descriptionUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1622464519_add_chat_description.up.sql", size: 93, mode: os.FileMode(0664), modTime: time.Unix(1663713040, 0)} + info := bindataFileInfo{name: "1622464519_add_chat_description.up.sql", size: 93, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x36, 0x2e, 0x89, 0x31, 0xec, 0xef, 0xeb, 0x43, 0xf5, 0x96, 0x6d, 0xce, 0x91, 0x8a, 0x37, 0x2a, 0x11, 0x7a, 0x3f, 0xd9, 0x10, 0xbb, 0xa1, 0xbc, 0x7, 0xe0, 0x3b, 0xa5, 0xf4, 0xa6, 0xf4, 0xa1}} return a, nil } @@ -887,7 +888,7 @@ func _1622622253_add_pinned_by_to_pin_messagesUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1622622253_add_pinned_by_to_pin_messages.up.sql", size: 52, mode: os.FileMode(0664), modTime: time.Unix(1663713040, 0)} + info := bindataFileInfo{name: "1622622253_add_pinned_by_to_pin_messages.up.sql", size: 52, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x9b, 0x94, 0xa3, 0x45, 0x91, 0x1e, 0x66, 0xd1, 0x96, 0x5a, 0xaf, 0xfa, 0x29, 0x39, 0xa8, 0x3a, 0x97, 0x4c, 0x65, 0x6, 0x96, 0x90, 0x4c, 0xfe, 0xce, 0x7d, 0x5d, 0xd4, 0xb3, 0x8, 0x6d, 0x5f}} return a, nil } @@ -907,7 +908,7 @@ func _1623938329_add_author_activity_center_notification_fieldUpSql() (*asset, e return nil, err } - info := bindataFileInfo{name: "1623938329_add_author_activity_center_notification_field.up.sql", size: 66, mode: os.FileMode(0664), modTime: time.Unix(1663713040, 0)} + info := bindataFileInfo{name: "1623938329_add_author_activity_center_notification_field.up.sql", size: 66, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x36, 0xe6, 0xa7, 0xd5, 0x26, 0xff, 0xab, 0x92, 0x88, 0xf0, 0xd3, 0x34, 0xd9, 0x2f, 0xe7, 0x18, 0x1a, 0x40, 0xf9, 0xbe, 0x8e, 0xfc, 0xd0, 0x4f, 0x1f, 0x4a, 0xb9, 0x83, 0x3f, 0xa9, 0xde, 0xb}} return a, nil } @@ -927,7 +928,7 @@ func _1623938330_add_edit_messagesUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1623938330_add_edit_messages.up.sql", size: 369, mode: os.FileMode(0664), modTime: time.Unix(1663713040, 0)} + info := bindataFileInfo{name: "1623938330_add_edit_messages.up.sql", size: 369, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x7e, 0xd2, 0xce, 0xe, 0x5c, 0x19, 0xbe, 0x5e, 0x29, 0xbe, 0x9b, 0x31, 0x53, 0x76, 0xb2, 0xc8, 0x56, 0xf0, 0x82, 0xfe, 0x7d, 0x6c, 0xe8, 0x5c, 0xe9, 0x7a, 0x5d, 0x5, 0xc4, 0x92, 0x38, 0xe3}} return a, nil } @@ -947,7 +948,7 @@ func _1624978434_add_muted_communityUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1624978434_add_muted_community.up.sql", size: 82, mode: os.FileMode(0664), modTime: time.Unix(1663713040, 0)} + info := bindataFileInfo{name: "1624978434_add_muted_community.up.sql", size: 82, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x6, 0xdc, 0x6e, 0x6f, 0x97, 0xc7, 0x3d, 0x50, 0xab, 0x80, 0x87, 0x44, 0x43, 0x38, 0xe6, 0xc5, 0xc1, 0x91, 0x26, 0xf, 0x16, 0xe, 0xd9, 0x32, 0x37, 0x25, 0x96, 0x25, 0x6, 0xc8, 0xb5, 0x4a}} return a, nil } @@ -967,7 +968,7 @@ func _1625018910_add_repply_message_activity_center_notification_fieldUpSql() (* return nil, err } - info := bindataFileInfo{name: "1625018910_add_repply_message_activity_center_notification_field.up.sql", size: 86, mode: os.FileMode(0664), modTime: time.Unix(1663713040, 0)} + info := bindataFileInfo{name: "1625018910_add_repply_message_activity_center_notification_field.up.sql", size: 86, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xf2, 0x52, 0x12, 0x40, 0xd8, 0x6f, 0x71, 0x97, 0x46, 0x39, 0xaa, 0x74, 0x41, 0xcd, 0x45, 0x4c, 0xe8, 0xd9, 0xe2, 0x56, 0x8e, 0x78, 0x18, 0x62, 0xf6, 0xa8, 0x36, 0xe9, 0x9a, 0x1f, 0xc, 0xb1}} return a, nil } @@ -987,7 +988,7 @@ func _1625762506_add_deleted_messagesUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1625762506_add_deleted_messages.up.sql", size: 357, mode: os.FileMode(0664), modTime: time.Unix(1663713040, 0)} + info := bindataFileInfo{name: "1625762506_add_deleted_messages.up.sql", size: 357, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xd5, 0x61, 0x42, 0xb6, 0x8c, 0x7f, 0x2d, 0xec, 0xa9, 0x6d, 0x3d, 0x0, 0xa3, 0x32, 0xd8, 0x4a, 0x38, 0x5c, 0x97, 0xfc, 0x68, 0xde, 0xa9, 0xb7, 0xd8, 0xde, 0xb, 0x29, 0x93, 0xdc, 0x81, 0xf8}} return a, nil } @@ -1007,7 +1008,7 @@ func _1627388946_add_communities_synced_atUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1627388946_add_communities_synced_at.up.sql", size: 87, mode: os.FileMode(0664), modTime: time.Unix(1663713040, 0)} + info := bindataFileInfo{name: "1627388946_add_communities_synced_at.up.sql", size: 87, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xc1, 0xbd, 0x9b, 0x6a, 0xc9, 0x1a, 0x7a, 0x34, 0xcf, 0x5f, 0x80, 0x9e, 0x8c, 0x1c, 0xc0, 0xec, 0x4e, 0x78, 0xb0, 0x2d, 0x15, 0x77, 0x38, 0x4a, 0x6a, 0x5, 0x84, 0xf5, 0x8d, 0x8b, 0xbe, 0x9}} return a, nil } @@ -1027,7 +1028,7 @@ func _1628280060_createUsermessagesIndexSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1628280060_create-usermessages-index.sql", size: 80, mode: os.FileMode(0664), modTime: time.Unix(1663713040, 0)} + info := bindataFileInfo{name: "1628280060_create-usermessages-index.sql", size: 80, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x10, 0x6f, 0x70, 0x47, 0x40, 0xab, 0xa8, 0x60, 0xe0, 0xf9, 0x8, 0x7e, 0x19, 0x9d, 0xba, 0x33, 0x16, 0xfc, 0x3c, 0xdc, 0xa8, 0xa6, 0x53, 0x61, 0x39, 0x82, 0x91, 0xcf, 0x69, 0xd8, 0xf2, 0xcf}} return a, nil } @@ -1047,7 +1048,7 @@ func _1632303896_modify_contacts_tableUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1632303896_modify_contacts_table.up.sql", size: 1574, mode: os.FileMode(0664), modTime: time.Unix(1663713040, 0)} + info := bindataFileInfo{name: "1632303896_modify_contacts_table.up.sql", size: 1574, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x81, 0x1e, 0x6c, 0x3c, 0xd, 0xd7, 0x7d, 0xbb, 0x19, 0xbc, 0xe4, 0x7, 0xfd, 0xf8, 0x66, 0x6d, 0x78, 0xf6, 0x4, 0xe6, 0x51, 0xe4, 0xe6, 0xdc, 0xe, 0x5a, 0x2e, 0xac, 0xe6, 0xe7, 0x24, 0x69}} return a, nil } @@ -1067,7 +1068,7 @@ func _1633349838_add_emoji_column_in_chatsUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1633349838_add_emoji_column_in_chats.up.sql", size: 52, mode: os.FileMode(0664), modTime: time.Unix(1663713040, 0)} + info := bindataFileInfo{name: "1633349838_add_emoji_column_in_chats.up.sql", size: 52, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xcb, 0x33, 0xcb, 0x3b, 0xa9, 0x99, 0x77, 0x6a, 0xea, 0xc4, 0x39, 0xd7, 0xa1, 0x49, 0xa7, 0xdf, 0xff, 0x72, 0xda, 0x34, 0x21, 0x67, 0x66, 0xca, 0x65, 0x46, 0x1, 0xa6, 0x4e, 0xf9, 0x38, 0x86}} return a, nil } @@ -1087,7 +1088,7 @@ func _1634831235_add_highlight_column_in_chatsUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1634831235_add_highlight_column_in_chats.up.sql", size: 62, mode: os.FileMode(0664), modTime: time.Unix(1663713040, 0)} + info := bindataFileInfo{name: "1634831235_add_highlight_column_in_chats.up.sql", size: 62, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xaa, 0x63, 0x5c, 0x73, 0x19, 0x83, 0xbd, 0x35, 0x80, 0x9f, 0x66, 0xec, 0x4c, 0xbc, 0x9d, 0x2d, 0x52, 0x91, 0x6d, 0xb3, 0x2b, 0x87, 0xde, 0x24, 0x46, 0x5c, 0xd, 0xfd, 0x78, 0xf5, 0xe3, 0xe9}} return a, nil } @@ -1107,7 +1108,7 @@ func _1634896007_add_last_updated_locally_and_removedUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1634896007_add_last_updated_locally_and_removed.up.sql", size: 131, mode: os.FileMode(0664), modTime: time.Unix(1663713040, 0)} + info := bindataFileInfo{name: "1634896007_add_last_updated_locally_and_removed.up.sql", size: 131, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x2e, 0xa8, 0x34, 0xe2, 0xc0, 0x62, 0xc8, 0xd6, 0x5a, 0x87, 0xe3, 0x70, 0xe1, 0xc4, 0x16, 0x9c, 0x60, 0x2e, 0x98, 0xf0, 0x91, 0x84, 0xbe, 0xe0, 0xdf, 0x3e, 0x4d, 0x24, 0xc4, 0x6c, 0x40, 0x17}} return a, nil } @@ -1127,7 +1128,7 @@ func _1635840039_add_clock_read_at_column_in_chatsUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1635840039_add_clock_read_at_column_in_chats.up.sql", size: 245, mode: os.FileMode(0664), modTime: time.Unix(1663713040, 0)} + info := bindataFileInfo{name: "1635840039_add_clock_read_at_column_in_chats.up.sql", size: 245, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x6c, 0xba, 0x3f, 0xba, 0x1a, 0x71, 0xa8, 0x9, 0x19, 0xbe, 0x1e, 0x38, 0x50, 0x30, 0x3a, 0x52, 0x15, 0x29, 0xee, 0x49, 0x19, 0x6f, 0x53, 0xc2, 0xc6, 0x6c, 0xd9, 0x80, 0x7e, 0xb9, 0x58, 0x7a}} return a, nil } @@ -1147,7 +1148,7 @@ func _1637852321_add_received_invitation_admin_column_in_chatsUpSql() (*asset, e return nil, err } - info := bindataFileInfo{name: "1637852321_add_received_invitation_admin_column_in_chats.up.sql", size: 72, mode: os.FileMode(0664), modTime: time.Unix(1663713040, 0)} + info := bindataFileInfo{name: "1637852321_add_received_invitation_admin_column_in_chats.up.sql", size: 72, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x70, 0x8b, 0x92, 0x56, 0x83, 0x70, 0x7f, 0x6, 0xb2, 0xd, 0x1c, 0x2f, 0xcc, 0x93, 0xc3, 0x85, 0x8c, 0xc2, 0x38, 0x94, 0x7e, 0x88, 0x3f, 0x39, 0x34, 0xf8, 0x90, 0xcf, 0x83, 0x68, 0x3d, 0xe5}} return a, nil } @@ -1167,7 +1168,7 @@ func _1645034601_display_nameUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1645034601_display_name.up.sql", size: 110, mode: os.FileMode(0664), modTime: time.Unix(1663713040, 0)} + info := bindataFileInfo{name: "1645034601_display_name.up.sql", size: 110, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x15, 0xfc, 0xda, 0x70, 0x53, 0x19, 0x90, 0x20, 0x4, 0x1c, 0x99, 0x42, 0x53, 0x1a, 0xd6, 0xb8, 0xbb, 0x8a, 0xe8, 0xbe, 0xcc, 0xb7, 0xc, 0x7f, 0x73, 0x50, 0x18, 0xf1, 0x8b, 0x18, 0x54, 0x64}} return a, nil } @@ -1187,7 +1188,7 @@ func _1645034602_add_mutual_contact_requestUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1645034602_add_mutual_contact_request.up.sql", size: 454, mode: os.FileMode(0664), modTime: time.Unix(1663713040, 0)} + info := bindataFileInfo{name: "1645034602_add_mutual_contact_request.up.sql", size: 454, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x1a, 0xe0, 0x5d, 0x68, 0xb8, 0x50, 0xa4, 0xbb, 0x3e, 0x4f, 0x2, 0x87, 0xad, 0x87, 0x6e, 0x38, 0xdf, 0xc8, 0x4c, 0xe2, 0x5f, 0xd1, 0x6, 0xdc, 0xe7, 0xbd, 0x4a, 0x9c, 0xf3, 0x91, 0xa1, 0x51}} return a, nil } @@ -1207,7 +1208,7 @@ func _1650373957_add_contact_request_stateUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1650373957_add_contact_request_state.up.sql", size: 59, mode: os.FileMode(0664), modTime: time.Unix(1663713040, 0)} + info := bindataFileInfo{name: "1650373957_add_contact_request_state.up.sql", size: 59, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x5e, 0xc1, 0x3f, 0x29, 0xe, 0x19, 0x86, 0x1a, 0x4c, 0x6c, 0x2a, 0x90, 0x9d, 0xdf, 0xb1, 0xb, 0x72, 0x25, 0xcd, 0x6c, 0x5f, 0xd, 0x51, 0x9e, 0x85, 0xc0, 0x9, 0xb7, 0xbc, 0x87, 0x23, 0xec}} return a, nil } @@ -1227,7 +1228,7 @@ func _1656958989_contact_verificationUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1656958989_contact_verification.up.sql", size: 624, mode: os.FileMode(0664), modTime: time.Unix(1663713040, 0)} + info := bindataFileInfo{name: "1656958989_contact_verification.up.sql", size: 624, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x3a, 0x3f, 0x28, 0x38, 0x33, 0xdb, 0xe9, 0x4d, 0xc0, 0x54, 0x8c, 0x2a, 0x73, 0xc4, 0xdd, 0x5c, 0xc5, 0x1a, 0x93, 0x4b, 0x6, 0x13, 0xbe, 0x42, 0xd2, 0x7f, 0xd4, 0xc, 0xc5, 0x4e, 0x6d, 0xce}} return a, nil } @@ -1247,7 +1248,7 @@ func _1658236268_add_discord_message_authors_tableUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1658236268_add_discord_message_authors_table.up.sql", size: 191, mode: os.FileMode(0664), modTime: time.Unix(1667843815, 0)} + info := bindataFileInfo{name: "1658236268_add_discord_message_authors_table.up.sql", size: 191, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x3d, 0xb7, 0xdb, 0x79, 0x1, 0x15, 0xe7, 0x76, 0x5d, 0x22, 0x54, 0x82, 0x9a, 0xbe, 0x24, 0xc1, 0x82, 0xcf, 0x67, 0x91, 0x53, 0xcc, 0xac, 0x74, 0x18, 0x61, 0x69, 0x68, 0x19, 0xca, 0x2b, 0xa8}} return a, nil } @@ -1267,7 +1268,7 @@ func _1659619997_add_discord_messages_tableUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1659619997_add_discord_messages_table.up.sql", size: 371, mode: os.FileMode(0664), modTime: time.Unix(1667843815, 0)} + info := bindataFileInfo{name: "1659619997_add_discord_messages_table.up.sql", size: 371, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xde, 0x12, 0x9c, 0x96, 0xe2, 0x42, 0x3f, 0x94, 0x62, 0xc2, 0x76, 0xab, 0x3b, 0x4c, 0x85, 0x36, 0x48, 0xcc, 0x73, 0x60, 0x93, 0x5a, 0xd6, 0x7, 0xd6, 0x0, 0xee, 0x1b, 0x1e, 0x34, 0x58, 0x99}} return a, nil } @@ -1287,7 +1288,7 @@ func _1660226788_create_chat_identity_social_linksUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1660226788_create_chat_identity_social_links.up.sql", size: 318, mode: os.FileMode(0664), modTime: time.Unix(1667843815, 0)} + info := bindataFileInfo{name: "1660226788_create_chat_identity_social_links.up.sql", size: 318, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x3c, 0x76, 0x40, 0xe9, 0x85, 0xc4, 0x38, 0xf8, 0xe5, 0x5d, 0xe8, 0x13, 0x46, 0x1b, 0xc, 0x1, 0xe9, 0x2f, 0x74, 0xd1, 0x79, 0x59, 0xa4, 0xdb, 0x4a, 0x4a, 0xf4, 0x98, 0x58, 0x3c, 0x57, 0xd3}} return a, nil } @@ -1307,7 +1308,7 @@ func _1660226789_add_walletconnectsessions_tableUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1660226789_add_walletconnectsessions_table.up.sql", size: 215, mode: os.FileMode(0664), modTime: time.Unix(1667843815, 0)} + info := bindataFileInfo{name: "1660226789_add_walletconnectsessions_table.up.sql", size: 215, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xf8, 0x5c, 0x72, 0x2, 0xed, 0x36, 0x19, 0x91, 0x4d, 0x1a, 0xc1, 0xab, 0x84, 0xfa, 0x41, 0xb1, 0x46, 0xa5, 0xdb, 0x3f, 0x76, 0x47, 0xd3, 0x75, 0x3c, 0x6a, 0x8e, 0x78, 0xe6, 0x41, 0xdc, 0x7f}} return a, nil } @@ -1327,7 +1328,7 @@ func _1661242854_add_communities_requests_to_leaveUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1661242854_add_communities_requests_to_leave.up.sql", size: 204, mode: os.FileMode(0664), modTime: time.Unix(1667843815, 0)} + info := bindataFileInfo{name: "1661242854_add_communities_requests_to_leave.up.sql", size: 204, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x49, 0x2e, 0x7d, 0x14, 0xef, 0x6e, 0x95, 0x4b, 0x6, 0x70, 0x2e, 0xd1, 0xf6, 0x59, 0xf9, 0xe, 0x56, 0xa, 0x9c, 0x80, 0x18, 0xca, 0xb9, 0x49, 0x19, 0xf, 0x89, 0x94, 0x36, 0x6d, 0x93, 0x9a}} return a, nil } @@ -1347,7 +1348,7 @@ func _1662044232_add_chat_imageUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1662044232_add_chat_image.up.sql", size: 49, mode: os.FileMode(0664), modTime: time.Unix(1667843815, 0)} + info := bindataFileInfo{name: "1662044232_add_chat_image.up.sql", size: 49, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xb3, 0x74, 0xdf, 0x50, 0x79, 0x73, 0x9e, 0xd0, 0xff, 0xa4, 0xd3, 0x87, 0xc3, 0x48, 0x31, 0x6c, 0xdf, 0xa6, 0x20, 0x85, 0xe6, 0x4e, 0x19, 0x9d, 0xef, 0xcc, 0x84, 0x2b, 0x5d, 0x44, 0x34, 0x6}} return a, nil } @@ -1367,7 +1368,7 @@ func _1662106895_add_chat_first_message_timestampUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1662106895_add_chat_first_message_timestamp.up.sql", size: 113, mode: os.FileMode(0664), modTime: time.Unix(1667843815, 0)} + info := bindataFileInfo{name: "1662106895_add_chat_first_message_timestamp.up.sql", size: 113, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x8b, 0x55, 0x74, 0xfa, 0xf5, 0x51, 0x85, 0x19, 0xfd, 0xfb, 0x6, 0x79, 0x4d, 0x1d, 0xd, 0x3, 0x46, 0x66, 0x34, 0x1e, 0xce, 0x91, 0x21, 0x29, 0xf6, 0x71, 0xe7, 0x31, 0x39, 0x8f, 0x9d, 0x5}} return a, nil } @@ -1387,7 +1388,7 @@ func _1662723928_add_discord_author_image_fieldsUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1662723928_add_discord_author_image_fields.up.sql", size: 75, mode: os.FileMode(0664), modTime: time.Unix(1667843815, 0)} + info := bindataFileInfo{name: "1662723928_add_discord_author_image_fields.up.sql", size: 75, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x1e, 0x5b, 0x48, 0x57, 0x98, 0x55, 0x9a, 0xf1, 0x75, 0xf7, 0xb5, 0x41, 0x5e, 0x96, 0xc5, 0xce, 0xfc, 0x30, 0x5c, 0x15, 0x35, 0x9e, 0x4e, 0x4a, 0x3b, 0x38, 0x42, 0xc4, 0x27, 0x3c, 0x87, 0xbf}} return a, nil } @@ -1407,7 +1408,7 @@ func _1664195977_add_deleted_for_mesUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1664195977_add_deleted_for_mes.up.sql", size: 352, mode: os.FileMode(0664), modTime: time.Unix(1667843815, 0)} + info := bindataFileInfo{name: "1664195977_add_deleted_for_mes.up.sql", size: 352, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x7d, 0x9d, 0x13, 0x9, 0xaa, 0x44, 0x14, 0x93, 0xe2, 0xf5, 0x53, 0xb7, 0x79, 0xa8, 0x18, 0xf0, 0x6c, 0xa4, 0x9c, 0x73, 0xc1, 0xaa, 0xc5, 0x2e, 0xc5, 0x41, 0xd7, 0x24, 0xb0, 0xd7, 0xb8, 0xdf}} return a, nil } @@ -1427,7 +1428,7 @@ func _1664367420_add_discord_attachments_tableUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1664367420_add_discord_attachments_table.up.sql", size: 350, mode: os.FileMode(0664), modTime: time.Unix(1667843815, 0)} + info := bindataFileInfo{name: "1664367420_add_discord_attachments_table.up.sql", size: 350, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x48, 0xe1, 0xb6, 0x4f, 0x6f, 0x92, 0x0, 0xb4, 0xf, 0x55, 0x12, 0x1c, 0x98, 0x6d, 0xbc, 0x1e, 0xfd, 0xae, 0x1c, 0xce, 0xd1, 0x3d, 0x2, 0x21, 0x2e, 0xc0, 0x13, 0xa, 0xb2, 0xec, 0x81, 0x13}} return a, nil } @@ -1447,7 +1448,7 @@ func _1665079662_add_spectated_column_in_communitiesUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1665079662_add_spectated_column_in_communities.up.sql", size: 86, mode: os.FileMode(0664), modTime: time.Unix(1667843815, 0)} + info := bindataFileInfo{name: "1665079662_add_spectated_column_in_communities.up.sql", size: 86, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xa0, 0x5d, 0xfe, 0xe2, 0xbe, 0xdf, 0xba, 0x45, 0xe9, 0xfc, 0xa7, 0x5f, 0xda, 0x19, 0xdb, 0x40, 0x96, 0x59, 0x78, 0xa, 0xd7, 0x4a, 0xca, 0x1a, 0x93, 0xfb, 0xae, 0x6d, 0x74, 0x7, 0x36, 0xdd}} return a, nil } @@ -1467,7 +1468,7 @@ func _1665479047_add_community_id_in_notificationsUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1665479047_add_community_id_in_notifications.up.sql", size: 169, mode: os.FileMode(0664), modTime: time.Unix(1667843815, 0)} + info := bindataFileInfo{name: "1665479047_add_community_id_in_notifications.up.sql", size: 169, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xd9, 0x8f, 0x8b, 0x1c, 0xaa, 0x6a, 0x56, 0xd6, 0xa5, 0x88, 0x57, 0x13, 0x8f, 0xea, 0xb9, 0x23, 0x82, 0x50, 0xb7, 0x65, 0x1f, 0xab, 0xfa, 0x23, 0x6f, 0x0, 0x7, 0xb6, 0x6e, 0xb5, 0x85, 0x44}} return a, nil } @@ -1487,7 +1488,7 @@ func _1665484435_add_encrypted_messagesUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1665484435_add_encrypted_messages.up.sql", size: 402, mode: os.FileMode(0664), modTime: time.Unix(1667843815, 0)} + info := bindataFileInfo{name: "1665484435_add_encrypted_messages.up.sql", size: 402, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x8f, 0x5c, 0x1e, 0x1c, 0x7f, 0xae, 0x5f, 0xeb, 0x3c, 0x6c, 0xcd, 0xc2, 0x99, 0x48, 0x5c, 0x83, 0xa0, 0xa2, 0x97, 0x5, 0x39, 0x82, 0x71, 0x90, 0x47, 0x21, 0x84, 0x29, 0x19, 0xa4, 0x7a, 0x90}} return a, nil } @@ -1507,7 +1508,7 @@ func _1665560200_add_contact_verification_individualUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1665560200_add_contact_verification_individual.up.sql", size: 509, mode: os.FileMode(0664), modTime: time.Unix(1667843815, 0)} + info := bindataFileInfo{name: "1665560200_add_contact_verification_individual.up.sql", size: 509, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xc5, 0xbb, 0x61, 0xfd, 0xbf, 0x33, 0x1d, 0x4e, 0x5f, 0xbd, 0x86, 0x42, 0xb0, 0x6c, 0xf7, 0x39, 0x19, 0x6e, 0x72, 0x35, 0xfd, 0x1b, 0xd6, 0xbd, 0xf6, 0x81, 0x21, 0xc4, 0xaa, 0x6, 0x62, 0x40}} return a, nil } @@ -1527,7 +1528,7 @@ func _1670921937_add_album_idUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1670921937_add_album_id.up.sql", size: 55, mode: os.FileMode(0664), modTime: time.Unix(1671559305, 0)} + info := bindataFileInfo{name: "1670921937_add_album_id.up.sql", size: 55, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x7e, 0xae, 0x83, 0x58, 0xb7, 0x77, 0x5, 0xca, 0xe3, 0xda, 0x32, 0x8f, 0x7b, 0xa4, 0x2f, 0x4c, 0xaf, 0x5f, 0xfa, 0x94, 0x36, 0xe4, 0xf9, 0x7, 0xc6, 0xd6, 0xb7, 0x90, 0xf3, 0xe5, 0xb5, 0x3}} return a, nil } @@ -1547,7 +1548,7 @@ func _1673373000_add_repliedUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1673373000_add_replied.up.sql", size: 67, mode: os.FileMode(0664), modTime: time.Unix(1673398499, 0)} + info := bindataFileInfo{name: "1673373000_add_replied.up.sql", size: 67, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xd5, 0x1c, 0xae, 0xf2, 0xf, 0xb4, 0xc2, 0xba, 0x3c, 0xfe, 0x7b, 0xb0, 0xf, 0xf, 0xd5, 0xbc, 0xe2, 0xa7, 0xad, 0x50, 0xd9, 0x5a, 0xe8, 0x96, 0x22, 0x65, 0x89, 0xcf, 0x4a, 0x9a, 0x1b, 0x94}} return a, nil } @@ -1567,7 +1568,7 @@ func _1673428910_add_image_width_heightUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1673428910_add_image_width_height.up.sql", size: 117, mode: os.FileMode(0664), modTime: time.Unix(1673527384, 0)} + info := bindataFileInfo{name: "1673428910_add_image_width_height.up.sql", size: 117, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x74, 0xda, 0x93, 0x2a, 0x9b, 0x6b, 0xb7, 0x96, 0xcd, 0xac, 0xf, 0xaf, 0x54, 0x89, 0x9e, 0x91, 0x5b, 0xd0, 0x4a, 0xa, 0x8d, 0x9e, 0x80, 0x66, 0x26, 0x9e, 0xb5, 0xa9, 0x8, 0xec, 0x2d, 0x6c}} return a, nil } @@ -1587,7 +1588,7 @@ func _1674210659_add_contact_request_local_clockUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1674210659_add_contact_request_local_clock.up.sql", size: 691, mode: os.FileMode(0664), modTime: time.Unix(1675294606, 0)} + info := bindataFileInfo{name: "1674210659_add_contact_request_local_clock.up.sql", size: 691, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x92, 0x72, 0x39, 0xfe, 0x72, 0x98, 0xfc, 0x91, 0x20, 0x10, 0xe8, 0xf5, 0xac, 0x79, 0xa8, 0x1c, 0xca, 0x7b, 0x35, 0xa, 0xc1, 0x56, 0x49, 0x9a, 0xfc, 0xbd, 0x64, 0x9d, 0xdf, 0xd2, 0x60, 0x70}} return a, nil } @@ -1607,7 +1608,7 @@ func _1675212323_add_deleted_byUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1675212323_add_deleted_by.up.sql", size: 57, mode: os.FileMode(0664), modTime: time.Unix(1675294606, 0)} + info := bindataFileInfo{name: "1675212323_add_deleted_by.up.sql", size: 57, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x85, 0x37, 0x29, 0x2f, 0xd, 0x5a, 0xb6, 0xdb, 0xa7, 0x8, 0x86, 0xfc, 0x7a, 0x70, 0xd8, 0x4d, 0xe6, 0xf0, 0x57, 0xe7, 0xd1, 0x95, 0xd5, 0x4, 0x40, 0x2f, 0x7a, 0x5, 0x4f, 0xc2, 0x97, 0xbc}} return a, nil } @@ -1627,7 +1628,7 @@ func _1675247084_add_activity_center_statesUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1675247084_add_activity_center_states.up.sql", size: 136, mode: os.FileMode(0664), modTime: time.Unix(1676987564, 0)} + info := bindataFileInfo{name: "1675247084_add_activity_center_states.up.sql", size: 136, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xba, 0x90, 0x7d, 0x55, 0xc7, 0x40, 0x29, 0x26, 0x97, 0x45, 0x5c, 0xdf, 0xba, 0x61, 0xb, 0xfc, 0x3d, 0x7a, 0x6c, 0x42, 0xe4, 0x95, 0x78, 0xb0, 0xc5, 0x1f, 0x73, 0xe9, 0x33, 0x51, 0xc8, 0x81}} return a, nil } @@ -1647,7 +1648,7 @@ func _1675272329_fix_protocol_migrationUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1675272329_fix_protocol_migration.up.sql", size: 183, mode: os.FileMode(0664), modTime: time.Unix(1675294606, 0)} + info := bindataFileInfo{name: "1675272329_fix_protocol_migration.up.sql", size: 183, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xb6, 0xe0, 0x11, 0x4c, 0x66, 0x55, 0x72, 0xd3, 0xe6, 0x98, 0xa4, 0xe7, 0x44, 0xf9, 0x3b, 0x3a, 0x3f, 0xd9, 0x91, 0x1e, 0x4f, 0xfc, 0x56, 0x63, 0xe5, 0xa4, 0x83, 0xfc, 0x7c, 0xcf, 0x18, 0x99}} return a, nil } @@ -1667,7 +1668,7 @@ func _1676998418_fix_activity_center_migrationUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1676998418_fix_activity_center_migration.up.sql", size: 178, mode: os.FileMode(0664), modTime: time.Unix(1677251785, 0)} + info := bindataFileInfo{name: "1676998418_fix_activity_center_migration.up.sql", size: 178, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x8a, 0xdc, 0x64, 0xb1, 0x47, 0x67, 0xda, 0x2c, 0x26, 0x29, 0x6b, 0x6f, 0xb, 0xfa, 0x45, 0xf3, 0xad, 0x8b, 0x1a, 0x5f, 0x1c, 0xed, 0xd7, 0xea, 0x54, 0xf5, 0x3f, 0xb8, 0xf6, 0xf9, 0x44, 0x53}} return a, nil } @@ -1687,7 +1688,7 @@ func _1677278861_add_deleted_column_to_activity_center_notifications_tableUpSql( return nil, err } - info := bindataFileInfo{name: "1677278861_add_deleted_column_to_activity_center_notifications_table.up.sql", size: 381, mode: os.FileMode(0664), modTime: time.Unix(1677714914, 0)} + info := bindataFileInfo{name: "1677278861_add_deleted_column_to_activity_center_notifications_table.up.sql", size: 381, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x38, 0x3a, 0x95, 0xaf, 0x81, 0xb0, 0x85, 0x8d, 0x73, 0xda, 0x7b, 0x2a, 0x35, 0xa6, 0xaa, 0xcc, 0x4c, 0x35, 0xa3, 0xa8, 0xbd, 0xd1, 0x37, 0xe8, 0x5d, 0x83, 0xa4, 0x33, 0x1f, 0x10, 0xe4, 0xe6}} return a, nil } @@ -1707,7 +1708,7 @@ func _1677486338_add_community_tokens_tableUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1677486338_add_community_tokens_table.up.sql", size: 527, mode: os.FileMode(0664), modTime: time.Unix(1677714914, 0)} + info := bindataFileInfo{name: "1677486338_add_community_tokens_table.up.sql", size: 527, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xfb, 0x7b, 0x3d, 0x7e, 0x79, 0xc4, 0x3a, 0xf1, 0xda, 0x4b, 0xc6, 0xd1, 0xd, 0xfb, 0xb2, 0xb9, 0x7f, 0x81, 0x29, 0xab, 0xd8, 0x1, 0x20, 0xd7, 0xe1, 0xaf, 0x3e, 0x67, 0x1b, 0xdb, 0xf9, 0xd5}} return a, nil } @@ -1727,7 +1728,7 @@ func _1678292329_add_collapsed_categoriesUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1678292329_add_collapsed_categories.up.sql", size: 170, mode: os.FileMode(0664), modTime: time.Unix(1679924157, 0)} + info := bindataFileInfo{name: "1678292329_add_collapsed_categories.up.sql", size: 170, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x46, 0x63, 0x86, 0xd5, 0x7, 0xe2, 0x25, 0x15, 0x1b, 0xfe, 0xf3, 0xe, 0x50, 0x48, 0x11, 0x3c, 0x7c, 0xc6, 0xe5, 0xab, 0x8d, 0x1f, 0xe8, 0x3c, 0xcb, 0xf0, 0x8d, 0xa7, 0x49, 0x4c, 0x16, 0x4f}} return a, nil } @@ -1747,7 +1748,7 @@ func _1678800760_add_index_to_raw_messagesUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1678800760_add_index_to_raw_messages.up.sql", size: 88, mode: os.FileMode(0664), modTime: time.Unix(1679924157, 0)} + info := bindataFileInfo{name: "1678800760_add_index_to_raw_messages.up.sql", size: 88, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x9d, 0xd9, 0x8d, 0x22, 0x46, 0xae, 0x7b, 0x53, 0x3e, 0x51, 0x39, 0xad, 0xad, 0x38, 0x50, 0x6, 0xfa, 0xb9, 0xc4, 0x9f, 0x8d, 0xd2, 0x67, 0x0, 0xef, 0x58, 0x13, 0xab, 0x6a, 0x67, 0xf3, 0x7e}} return a, nil } @@ -1767,7 +1768,7 @@ func _1678877478_add_communities_requests_to_join_revealed_addresses_tableUpSql( return nil, err } - info := bindataFileInfo{name: "1678877478_add_communities_requests_to_join_revealed_addresses_table.up.sql", size: 168, mode: os.FileMode(0664), modTime: time.Unix(1679924157, 0)} + info := bindataFileInfo{name: "1678877478_add_communities_requests_to_join_revealed_addresses_table.up.sql", size: 168, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x82, 0x1, 0xb4, 0xb2, 0x94, 0x25, 0xd5, 0x2e, 0x45, 0xc3, 0xb1, 0x2c, 0xeb, 0x1a, 0x52, 0xe0, 0x4b, 0x9b, 0x46, 0xf4, 0xc, 0xac, 0x1, 0x1e, 0x90, 0xbc, 0x64, 0x38, 0x10, 0xf1, 0xaf, 0xac}} return a, nil } @@ -1787,7 +1788,7 @@ func _1679326850_add_community_token_ownersUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1679326850_add_community_token_owners.up.sql", size: 206, mode: os.FileMode(0664), modTime: time.Unix(1680094975, 0)} + info := bindataFileInfo{name: "1679326850_add_community_token_owners.up.sql", size: 206, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xe9, 0xe6, 0x25, 0x67, 0xd1, 0xd6, 0x54, 0x88, 0xb1, 0x80, 0x1e, 0x2d, 0x9c, 0xfa, 0x1c, 0xc7, 0x63, 0x6e, 0xf9, 0x66, 0xb1, 0x68, 0xc6, 0xf8, 0x51, 0xb6, 0xd5, 0x4e, 0x93, 0x39, 0x5e, 0xc0}} return a, nil } @@ -1807,7 +1808,7 @@ func _1680011500_add_album_images_countUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1680011500_add_album_images_count.up.sql", size: 71, mode: os.FileMode(0664), modTime: time.Unix(1681392552, 0)} + info := bindataFileInfo{name: "1680011500_add_album_images_count.up.sql", size: 71, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x2e, 0x55, 0x99, 0x31, 0xcc, 0x80, 0x78, 0xc3, 0x51, 0x13, 0x63, 0x6f, 0x1a, 0xfd, 0x53, 0xd2, 0xf4, 0x13, 0x4b, 0xb2, 0x4f, 0x99, 0xb8, 0x7b, 0x7, 0x99, 0xb6, 0xab, 0x88, 0x2e, 0x7, 0x8}} return a, nil } @@ -1827,7 +1828,7 @@ func _1680114896_add_index_on_album_idUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1680114896_add_index_on_album_id.up.sql", size: 83, mode: os.FileMode(0664), modTime: time.Unix(1681392552, 0)} + info := bindataFileInfo{name: "1680114896_add_index_on_album_id.up.sql", size: 83, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xb3, 0x7e, 0xd5, 0xcd, 0x2d, 0xab, 0xd4, 0x32, 0x26, 0x50, 0x3a, 0x5b, 0x8e, 0x1c, 0xcc, 0x35, 0xf8, 0xa1, 0x2a, 0xc1, 0x23, 0xf6, 0x90, 0xfe, 0x84, 0x3, 0xde, 0x5a, 0xee, 0xc6, 0xfc, 0x2a}} return a, nil } @@ -1847,7 +1848,7 @@ func _1681655289_add_mute_tillUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1681655289_add_mute_till.up.sql", size: 51, mode: os.FileMode(0664), modTime: time.Unix(1683581866, 0)} + info := bindataFileInfo{name: "1681655289_add_mute_till.up.sql", size: 51, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xd1, 0xbe, 0xce, 0xb8, 0xe1, 0x30, 0xe7, 0xa7, 0xe0, 0x7d, 0x97, 0xf4, 0x26, 0xb8, 0x57, 0x1d, 0x2a, 0xed, 0x18, 0xf2, 0xa, 0xe3, 0x77, 0x29, 0x18, 0x55, 0x9, 0x74, 0x2c, 0x24, 0x5a, 0x19}} return a, nil } @@ -1867,7 +1868,7 @@ func _1681934966_add_index_response_toUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1681934966_add_index_response_to.up.sql", size: 70, mode: os.FileMode(0664), modTime: time.Unix(1683581866, 0)} + info := bindataFileInfo{name: "1681934966_add_index_response_to.up.sql", size: 70, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x3b, 0xed, 0xa6, 0x7e, 0x51, 0xf2, 0xa1, 0x3c, 0x78, 0x9a, 0xa7, 0x7a, 0x51, 0x25, 0x7d, 0xdd, 0x4b, 0xf3, 0x45, 0xeb, 0x3f, 0xad, 0x23, 0x3e, 0xac, 0x16, 0x28, 0x62, 0x7, 0x8c, 0xe0, 0xa0}} return a, nil } @@ -1887,7 +1888,7 @@ func _1682528339_add_index_user_messages_unseenUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1682528339_add_index_user_messages_unseen.up.sql", size: 104, mode: os.FileMode(0664), modTime: time.Unix(1683581871, 0)} + info := bindataFileInfo{name: "1682528339_add_index_user_messages_unseen.up.sql", size: 104, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x35, 0xfa, 0x98, 0xdd, 0x74, 0x5e, 0x21, 0x1f, 0xf2, 0x56, 0x17, 0x96, 0xfe, 0xbb, 0x44, 0x4c, 0xa1, 0xd8, 0x9f, 0x2e, 0x6, 0x2f, 0xd8, 0x23, 0xec, 0x94, 0x8c, 0x53, 0xf3, 0xf0, 0x40, 0xe7}} return a, nil } @@ -1907,7 +1908,7 @@ func _1683707289_recreate_deleted_for_mesUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1683707289_recreate_deleted_for_mes.up.sql", size: 408, mode: os.FileMode(0664), modTime: time.Unix(1683894948, 0)} + info := bindataFileInfo{name: "1683707289_recreate_deleted_for_mes.up.sql", size: 408, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x5b, 0x9d, 0xd6, 0x45, 0x41, 0x29, 0x44, 0xf6, 0x14, 0x38, 0xeb, 0xdf, 0x6b, 0x5d, 0x9c, 0x45, 0x4b, 0xc3, 0xa8, 0xbd, 0x38, 0x14, 0xd9, 0x73, 0xf1, 0x51, 0xbb, 0x9f, 0x14, 0x36, 0xf2, 0x11}} return a, nil } @@ -1927,7 +1928,7 @@ func _1683725607_mark_discord_messages_as_seenUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1683725607_mark_discord_messages_as_seen.up.sql", size: 108, mode: os.FileMode(0664), modTime: time.Unix(1683894948, 0)} + info := bindataFileInfo{name: "1683725607_mark_discord_messages_as_seen.up.sql", size: 108, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xd7, 0x2a, 0xc3, 0x43, 0xea, 0x5e, 0x3, 0x2e, 0xce, 0x79, 0xea, 0xa5, 0x67, 0x61, 0x8c, 0xe4, 0xb9, 0xb7, 0x4d, 0xd5, 0xd5, 0xb0, 0x35, 0xc8, 0x2b, 0xa0, 0x3f, 0xd8, 0xde, 0xea, 0x4e, 0x16}} return a, nil } @@ -1947,7 +1948,7 @@ func _1684174617_add_url_previews_to_user_messagesUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1684174617_add_url_previews_to_user_messages.up.sql", size: 58, mode: os.FileMode(0664), modTime: time.Unix(1685365190, 0)} + info := bindataFileInfo{name: "1684174617_add_url_previews_to_user_messages.up.sql", size: 58, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xdc, 0xb0, 0x72, 0xe3, 0xe4, 0xa9, 0x63, 0x82, 0xea, 0x52, 0x70, 0xb6, 0xa0, 0x73, 0x55, 0x7a, 0x78, 0xa8, 0xd2, 0xb0, 0xf4, 0x78, 0x8a, 0xd, 0x5a, 0xa2, 0x9d, 0x92, 0xdc, 0xce, 0x1c, 0x71}} return a, nil } @@ -1967,7 +1968,7 @@ func _1684175608_add_token_balancesUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1684175608_add_token_balances.up.sql", size: 467, mode: os.FileMode(0664), modTime: time.Unix(1685365190, 0)} + info := bindataFileInfo{name: "1684175608_add_token_balances.up.sql", size: 467, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x1b, 0x4e, 0xe0, 0x48, 0x34, 0x1, 0x4d, 0x88, 0x11, 0x54, 0x20, 0x52, 0x5c, 0x57, 0x14, 0xa9, 0xa9, 0x36, 0xa4, 0x28, 0x59, 0x48, 0xa8, 0xa, 0x76, 0xec, 0x37, 0xee, 0x9e, 0xd2, 0x20, 0xaa}} return a, nil } @@ -1987,7 +1988,7 @@ func _1684979808_sync_activity_center_notificationsUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1684979808_sync_activity_center_notifications.up.sql", size: 169, mode: os.FileMode(0664), modTime: time.Unix(1687991048, 0)} + info := bindataFileInfo{name: "1684979808_sync_activity_center_notifications.up.sql", size: 169, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xd8, 0xf5, 0xf7, 0x94, 0xa9, 0xa1, 0x60, 0x26, 0x9d, 0xca, 0x31, 0xf, 0x14, 0xd, 0x70, 0xf8, 0xab, 0x40, 0x29, 0x73, 0x61, 0xbd, 0x1b, 0xb6, 0xc4, 0x31, 0x77, 0x9e, 0x32, 0xa8, 0xce, 0x6d}} return a, nil } @@ -2007,7 +2008,7 @@ func _1685383829_add_communities_mute_tillUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1685383829_add_communities_mute_till.up.sql", size: 69, mode: os.FileMode(0664), modTime: time.Unix(1692114327, 0)} + info := bindataFileInfo{name: "1685383829_add_communities_mute_till.up.sql", size: 69, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xbf, 0x58, 0x96, 0xe5, 0x66, 0xcb, 0xde, 0xed, 0x76, 0xb8, 0x5a, 0x86, 0x81, 0x9a, 0x60, 0x51, 0x12, 0x37, 0x54, 0x9a, 0x36, 0x3e, 0xd1, 0x4a, 0xbe, 0x9a, 0xab, 0x20, 0x7f, 0x1d, 0xf4, 0x73}} return a, nil } @@ -2027,7 +2028,7 @@ func _1685964183_add_chainids_to_revealed_addressesUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1685964183_add_chainids_to_revealed_addresses.up.sql", size: 88, mode: os.FileMode(0664), modTime: time.Unix(1687991048, 0)} + info := bindataFileInfo{name: "1685964183_add_chainids_to_revealed_addresses.up.sql", size: 88, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xc, 0xb5, 0xa8, 0xd7, 0xad, 0x9c, 0x54, 0xa5, 0xe9, 0xdb, 0x42, 0x2d, 0xd0, 0xd7, 0x22, 0x1, 0x93, 0xf3, 0x4f, 0x53, 0xf7, 0x1e, 0xbe, 0x4b, 0xac, 0xc7, 0x63, 0x15, 0xdf, 0xe0, 0x6, 0xf8}} return a, nil } @@ -2047,7 +2048,7 @@ func _1687370421_add_communities_muted_till_newUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1687370421_add_communities_muted_till_new.up.sql", size: 635, mode: os.FileMode(0664), modTime: time.Unix(1692114327, 0)} + info := bindataFileInfo{name: "1687370421_add_communities_muted_till_new.up.sql", size: 635, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x65, 0x73, 0x96, 0x1d, 0xc8, 0x3e, 0xca, 0xf5, 0xdc, 0xe3, 0xac, 0x3f, 0x9c, 0xc3, 0x67, 0x12, 0x9c, 0x19, 0x1, 0x4, 0x2b, 0xea, 0x6b, 0xe1, 0x59, 0x59, 0x89, 0x3d, 0xef, 0x4a, 0x6e, 0xbe}} return a, nil } @@ -2067,7 +2068,7 @@ func _1687416607_add_communities_check_channel_permission_responses_tableUpSql() return nil, err } - info := bindataFileInfo{name: "1687416607_add_communities_check_channel_permission_responses_table.up.sql", size: 739, mode: os.FileMode(0664), modTime: time.Unix(1692114327, 0)} + info := bindataFileInfo{name: "1687416607_add_communities_check_channel_permission_responses_table.up.sql", size: 739, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xc2, 0x6, 0x3, 0x1a, 0xde, 0x9d, 0xbc, 0x50, 0x9d, 0xf1, 0x6d, 0x5a, 0x1c, 0x28, 0x92, 0x19, 0x89, 0x76, 0x4e, 0x8b, 0x60, 0xa9, 0xf, 0xe9, 0x76, 0xf1, 0xee, 0x75, 0x92, 0xbd, 0xda, 0x72}} return a, nil } @@ -2087,7 +2088,7 @@ func _1687856939_add_community_tokens_decimalsUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1687856939_add_community_tokens_decimals.up.sql", size: 65, mode: os.FileMode(0664), modTime: time.Unix(1692114327, 0)} + info := bindataFileInfo{name: "1687856939_add_community_tokens_decimals.up.sql", size: 65, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x59, 0x76, 0x42, 0x70, 0xc9, 0x7b, 0x16, 0xf6, 0xfe, 0x7, 0x1c, 0x99, 0xe5, 0x38, 0xfd, 0xa0, 0x3b, 0x93, 0x40, 0xbc, 0x66, 0xc2, 0xd1, 0xdd, 0xe9, 0xc7, 0xbf, 0xae, 0x36, 0xcc, 0x46, 0x57}} return a, nil } @@ -2107,7 +2108,7 @@ func _1687959987_modify_community_tokens_supply_as_stringUpSql() (*asset, error) return nil, err } - info := bindataFileInfo{name: "1687959987_modify_community_tokens_supply_as_string.up.sql", size: 77, mode: os.FileMode(0664), modTime: time.Unix(1692114327, 0)} + info := bindataFileInfo{name: "1687959987_modify_community_tokens_supply_as_string.up.sql", size: 77, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x57, 0x89, 0xbf, 0x9b, 0xed, 0x9b, 0x18, 0x3f, 0x84, 0xb5, 0x3c, 0x78, 0x40, 0x60, 0xea, 0x33, 0x26, 0x50, 0x3, 0xda, 0x28, 0x92, 0xd3, 0xb6, 0xff, 0x40, 0xa7, 0x19, 0x2, 0xa7, 0x17, 0xf9}} return a, nil } @@ -2127,7 +2128,7 @@ func _1689258900_add_airdrop_address_to_revealed_addressesUpSql() (*asset, error return nil, err } - info := bindataFileInfo{name: "1689258900_add_airdrop_address_to_revealed_addresses.up.sql", size: 99, mode: os.FileMode(0664), modTime: time.Unix(1692114327, 0)} + info := bindataFileInfo{name: "1689258900_add_airdrop_address_to_revealed_addresses.up.sql", size: 99, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xea, 0x7e, 0xaf, 0x5c, 0xd, 0xe5, 0x1e, 0x67, 0x1a, 0x6d, 0xd, 0x28, 0x20, 0x7a, 0x1a, 0x45, 0x6e, 0xba, 0x80, 0x91, 0xb0, 0xd6, 0xfd, 0xc2, 0xb9, 0x42, 0x5c, 0x8d, 0x6e, 0x3e, 0x6e, 0xb2}} return a, nil } @@ -2147,7 +2148,7 @@ func _1689266326_create_communities_events_tableUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1689266326_create_communities_events_table.up.sql", size: 164, mode: os.FileMode(0664), modTime: time.Unix(1692814344, 0)} + info := bindataFileInfo{name: "1689266326_create_communities_events_table.up.sql", size: 164, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xf5, 0x4e, 0xe, 0xba, 0x29, 0x16, 0x46, 0x38, 0x19, 0xa4, 0x5, 0x40, 0x46, 0xaf, 0x9a, 0x6, 0x89, 0xe0, 0x9c, 0xcc, 0xec, 0x8a, 0xb, 0x40, 0x85, 0x6f, 0xcc, 0x5, 0x24, 0x2a, 0x33, 0xfa}} return a, nil } @@ -2167,7 +2168,7 @@ func _1689931300_add_community_tokens_deployer_and_priv_levelUpSql() (*asset, er return nil, err } - info := bindataFileInfo{name: "1689931300_add_community_tokens_deployer_and_priv_level.up.sql", size: 156, mode: os.FileMode(0664), modTime: time.Unix(1692814344, 0)} + info := bindataFileInfo{name: "1689931300_add_community_tokens_deployer_and_priv_level.up.sql", size: 156, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x3f, 0x24, 0xd9, 0x4d, 0xe, 0x4b, 0xe3, 0x4c, 0xd1, 0xc, 0x72, 0xd4, 0x99, 0xe4, 0xb9, 0xb8, 0xe9, 0x38, 0x9e, 0x11, 0x48, 0xea, 0xe3, 0x5d, 0xd9, 0xd0, 0xef, 0x96, 0x38, 0x5a, 0xd4, 0xa5}} return a, nil } @@ -2187,7 +2188,7 @@ func _1693311881_add_unfurled_links_to_message_editsUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1693311881_add_unfurled_links_to_message_edits.up.sql", size: 64, mode: os.FileMode(0664), modTime: time.Unix(1694098269, 0)} + info := bindataFileInfo{name: "1693311881_add_unfurled_links_to_message_edits.up.sql", size: 64, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x6b, 0xc7, 0x7c, 0xe4, 0x80, 0x6f, 0xf8, 0x96, 0xb, 0x37, 0xff, 0xa2, 0xab, 0x1c, 0xbd, 0x25, 0x8d, 0x1e, 0x9a, 0x65, 0xe9, 0x45, 0xaf, 0x7f, 0x77, 0x84, 0x1b, 0x10, 0x1b, 0x1a, 0x5, 0xcc}} return a, nil } @@ -2207,11 +2208,31 @@ func _1693311981_community_shardUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1693311981_community_shard.up.sql", size: 156, mode: os.FileMode(0664), modTime: time.Unix(1694098617, 0)} + info := bindataFileInfo{name: "1693311981_community_shard.up.sql", size: 156, mode: os.FileMode(0644), modTime: time.Unix(1697196255, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xc9, 0x12, 0xf9, 0xde, 0x49, 0x9f, 0x95, 0xaa, 0x22, 0x5e, 0x54, 0x5a, 0x1, 0xd, 0xc6, 0x1f, 0x42, 0x93, 0xe8, 0x69, 0x30, 0x11, 0x69, 0x41, 0x7f, 0x87, 0x57, 0x56, 0x2a, 0x32, 0xb9, 0x3e}} return a, nil } +var __1695331492_add_status_link_previewsUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x72\xf4\x09\x71\x0d\x52\x08\x71\x74\xf2\x71\x55\x28\x2d\x4e\x2d\x8a\xcf\x4d\x2d\x2e\x4e\x4c\x4f\x2d\x56\x70\x74\x71\x51\x70\xf6\xf7\x09\xf5\xf5\x53\x28\xcd\x4b\x2b\x2d\xca\x49\x4d\x89\x2f\x2e\x49\x2c\x29\x2d\x8e\xcf\xc9\xcc\xcb\x2e\x56\x70\xf2\xf1\x77\xb2\xe6\xc2\x69\x40\x7c\x6a\x4a\x66\x09\xd1\xc6\x00\x02\x00\x00\xff\xff\x3c\xe3\x6f\xcd\x88\x00\x00\x00") + +func _1695331492_add_status_link_previewsUpSqlBytes() ([]byte, error) { + return bindataRead( + __1695331492_add_status_link_previewsUpSql, + "1695331492_add_status_link_previews.up.sql", + ) +} + +func _1695331492_add_status_link_previewsUpSql() (*asset, error) { + bytes, err := _1695331492_add_status_link_previewsUpSqlBytes() + if err != nil { + return nil, err + } + + info := bindataFileInfo{name: "1695331492_add_status_link_previews.up.sql", size: 136, mode: os.FileMode(0644), modTime: time.Unix(1697196265, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xb6, 0x7d, 0x6e, 0x86, 0xf0, 0xf8, 0x23, 0x4b, 0x16, 0x3d, 0xca, 0x8f, 0xfc, 0x8, 0x22, 0xd5, 0x70, 0x14, 0xbb, 0xdd, 0xa9, 0xb8, 0x3e, 0xc6, 0x20, 0xfb, 0x0, 0x26, 0x73, 0xcb, 0x92, 0xb2}} + return a, nil +} + var _readmeMd = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x54\x91\xc1\xce\xd3\x30\x10\x84\xef\x7e\x8a\x91\x7a\x01\xa9\x2a\x8f\xc0\x0d\x71\x82\x03\x48\x1c\xc9\x36\x9e\x36\x96\x1c\x6f\xf0\xae\x93\xe6\xed\x91\xa3\xc2\xdf\xff\x66\xed\xd8\x33\xdf\x78\x4f\xa7\x13\xbe\xea\x06\x57\x6c\x35\x39\x31\xa7\x7b\x15\x4f\x5a\xec\x73\x08\xbf\x08\x2d\x79\x7f\x4a\x43\x5b\x86\x17\xfd\x8c\x21\xea\x56\x5e\x47\x90\x4a\x14\x75\x48\xde\x64\x37\x2c\x6a\x96\xae\x99\x48\x05\xf6\x27\x77\x13\xad\x08\xae\x8a\x51\xe7\x25\xf3\xf1\xa9\x9f\xf9\x58\x58\x2c\xad\xbc\xe0\x8b\x56\xf0\x21\x5d\xeb\x4c\x95\xb3\xae\x84\x60\xd4\xdc\xe6\x82\x5d\x1b\x36\x6d\x39\x62\x92\xf5\xb8\x11\xdb\x92\xd3\x28\xce\xe0\x13\xe1\x72\xcd\x3c\x63\xd4\x65\x87\xae\xac\xe8\xc3\x28\x2e\x67\x44\x66\x3a\x21\x25\xa2\x72\xac\x14\x67\xbc\x84\x9f\x53\x32\x8c\x52\x70\x25\x56\xd6\xfd\x8d\x05\x37\xad\x30\x9d\x9f\xa6\x86\x0f\xcd\x58\x7f\xcf\x34\x93\x3b\xed\x90\x9f\xa4\x1f\xcf\x30\x85\x4d\x07\x58\xaf\x7f\x25\xc4\x9d\xf3\x72\x64\x84\xd0\x7f\xf9\x9b\x3a\x2d\x84\xef\x85\x48\x66\x8d\xd8\x88\x9b\x8c\x8c\x98\x5b\xf6\x74\x14\x4e\x33\x0d\xc9\xe0\x93\x38\xda\x12\xc5\x69\xbd\xe4\xf0\x2e\x7a\x78\x07\x1c\xfe\x13\x9f\x91\x29\x31\x95\x7b\x7f\x62\x59\x37\xb4\xe5\x5e\x25\xfe\x33\xee\xd5\x53\x71\xd6\xda\x3a\xd8\xcb\xde\x2e\xf8\xa1\x90\x55\x53\x0c\xc7\xaa\x0d\xe9\x76\x14\x29\x1c\x7b\x68\xdd\x2f\xe1\x6f\x00\x00\x00\xff\xff\x3c\x0a\xc2\xfe\x2a\x02\x00\x00") func readmeMdBytes() ([]byte, error) { @@ -2227,7 +2248,7 @@ func readmeMd() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "README.md", size: 554, mode: os.FileMode(0664), modTime: time.Unix(1663713040, 0)} + info := bindataFileInfo{name: "README.md", size: 554, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x1c, 0x6e, 0xfb, 0xcc, 0x81, 0x94, 0x4d, 0x8c, 0xa0, 0x3b, 0x5, 0xb0, 0x18, 0xd6, 0xbb, 0xb3, 0x79, 0xc8, 0x8f, 0xff, 0xc1, 0x10, 0xf9, 0xf, 0x20, 0x1b, 0x4a, 0x74, 0x96, 0x42, 0xd7, 0xa8}} return a, nil } @@ -2247,7 +2268,7 @@ func docGo() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "doc.go", size: 850, mode: os.FileMode(0664), modTime: time.Unix(1663713040, 0)} + info := bindataFileInfo{name: "doc.go", size: 850, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xa0, 0xcc, 0x41, 0xe1, 0x61, 0x12, 0x97, 0xe, 0x36, 0x8c, 0xa7, 0x9e, 0xe0, 0x6e, 0x59, 0x9e, 0xee, 0xd5, 0x4a, 0xcf, 0x1e, 0x60, 0xd6, 0xc3, 0x3a, 0xc9, 0x6c, 0xf2, 0x86, 0x5a, 0xb4, 0x1e}} return a, nil } @@ -2547,6 +2568,8 @@ var _bindata = map[string]func() (*asset, error){ "1693311981_community_shard.up.sql": _1693311981_community_shardUpSql, + "1695331492_add_status_link_previews.up.sql": _1695331492_add_status_link_previewsUpSql, + "README.md": readmeMd, "doc.go": docGo, @@ -2695,8 +2718,9 @@ var _bintree = &bintree{nil, map[string]*bintree{ "1689931300_add_community_tokens_deployer_and_priv_level.up.sql": &bintree{_1689931300_add_community_tokens_deployer_and_priv_levelUpSql, map[string]*bintree{}}, "1693311881_add_unfurled_links_to_message_edits.up.sql": &bintree{_1693311881_add_unfurled_links_to_message_editsUpSql, map[string]*bintree{}}, "1693311981_community_shard.up.sql": &bintree{_1693311981_community_shardUpSql, map[string]*bintree{}}, - "README.md": &bintree{readmeMd, map[string]*bintree{}}, - "doc.go": &bintree{docGo, map[string]*bintree{}}, + "1695331492_add_status_link_previews.up.sql": &bintree{_1695331492_add_status_link_previewsUpSql, map[string]*bintree{}}, + "README.md": &bintree{readmeMd, map[string]*bintree{}}, + "doc.go": &bintree{docGo, map[string]*bintree{}}, }} // RestoreAsset restores an asset under the given directory. diff --git a/protocol/migrations/sqlite/1695331492_add_status_link_previews.up.sql b/protocol/migrations/sqlite/1695331492_add_status_link_previews.up.sql new file mode 100644 index 000000000..8e4c2e631 --- /dev/null +++ b/protocol/migrations/sqlite/1695331492_add_status_link_previews.up.sql @@ -0,0 +1,2 @@ +ALTER TABLE user_messages ADD COLUMN unfurled_status_links BLOB; +ALTER TABLE user_messages_edits ADD COLUMN unfurled_status_links BLOB; diff --git a/protocol/protobuf/chat_message.pb.go b/protocol/protobuf/chat_message.pb.go index 864dc674a..788a34cbd 100644 --- a/protocol/protobuf/chat_message.pb.go +++ b/protocol/protobuf/chat_message.pb.go @@ -70,7 +70,7 @@ func (x UnfurledLink_LinkType) String() string { } func (UnfurledLink_LinkType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_263952f55fd35689, []int{10, 0} + return fileDescriptor_263952f55fd35689, []int{11, 0} } type ChatMessage_ContentType int32 @@ -149,7 +149,7 @@ func (x ChatMessage_ContentType) String() string { } func (ChatMessage_ContentType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_263952f55fd35689, []int{11, 0} + return fileDescriptor_263952f55fd35689, []int{17, 0} } type StickerMessage struct { @@ -345,6 +345,7 @@ type EditMessage struct { MessageType MessageType `protobuf:"varint,6,opt,name=message_type,json=messageType,proto3,enum=protobuf.MessageType" json:"message_type,omitempty"` ContentType ChatMessage_ContentType `protobuf:"varint,7,opt,name=content_type,json=contentType,proto3,enum=protobuf.ChatMessage_ContentType" json:"content_type,omitempty"` UnfurledLinks []*UnfurledLink `protobuf:"bytes,8,rep,name=unfurled_links,json=unfurledLinks,proto3" json:"unfurled_links,omitempty"` + UnfurledStatusLinks *UnfurledStatusLinks `protobuf:"bytes,9,opt,name=unfurled_status_links,json=unfurledStatusLinks,proto3" json:"unfurled_status_links,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -431,6 +432,13 @@ func (m *EditMessage) GetUnfurledLinks() []*UnfurledLink { return nil } +func (m *EditMessage) GetUnfurledStatusLinks() *UnfurledStatusLinks { + if m != nil { + return m.UnfurledStatusLinks + } + return nil +} + type DeleteMessage struct { Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` ChatId string `protobuf:"bytes,2,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"` @@ -891,6 +899,61 @@ func (m *DiscordMessageAttachment) GetLocalUrl() string { return "" } +type UnfurledLinkThumbnail struct { + Payload []byte `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` + Width uint32 `protobuf:"varint,2,opt,name=width,proto3" json:"width,omitempty"` + Height uint32 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UnfurledLinkThumbnail) Reset() { *m = UnfurledLinkThumbnail{} } +func (m *UnfurledLinkThumbnail) String() string { return proto.CompactTextString(m) } +func (*UnfurledLinkThumbnail) ProtoMessage() {} +func (*UnfurledLinkThumbnail) Descriptor() ([]byte, []int) { + return fileDescriptor_263952f55fd35689, []int{10} +} + +func (m *UnfurledLinkThumbnail) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UnfurledLinkThumbnail.Unmarshal(m, b) +} +func (m *UnfurledLinkThumbnail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UnfurledLinkThumbnail.Marshal(b, m, deterministic) +} +func (m *UnfurledLinkThumbnail) XXX_Merge(src proto.Message) { + xxx_messageInfo_UnfurledLinkThumbnail.Merge(m, src) +} +func (m *UnfurledLinkThumbnail) XXX_Size() int { + return xxx_messageInfo_UnfurledLinkThumbnail.Size(m) +} +func (m *UnfurledLinkThumbnail) XXX_DiscardUnknown() { + xxx_messageInfo_UnfurledLinkThumbnail.DiscardUnknown(m) +} + +var xxx_messageInfo_UnfurledLinkThumbnail proto.InternalMessageInfo + +func (m *UnfurledLinkThumbnail) GetPayload() []byte { + if m != nil { + return m.Payload + } + return nil +} + +func (m *UnfurledLinkThumbnail) GetWidth() uint32 { + if m != nil { + return m.Width + } + return 0 +} + +func (m *UnfurledLinkThumbnail) GetHeight() uint32 { + if m != nil { + return m.Height + } + return 0 +} + type UnfurledLink struct { // A valid URL which uniquely identifies this link. Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` @@ -912,7 +975,7 @@ func (m *UnfurledLink) Reset() { *m = UnfurledLink{} } func (m *UnfurledLink) String() string { return proto.CompactTextString(m) } func (*UnfurledLink) ProtoMessage() {} func (*UnfurledLink) Descriptor() ([]byte, []int) { - return fileDescriptor_263952f55fd35689, []int{10} + return fileDescriptor_263952f55fd35689, []int{11} } func (m *UnfurledLink) XXX_Unmarshal(b []byte) error { @@ -982,6 +1045,379 @@ func (m *UnfurledLink) GetType() UnfurledLink_LinkType { return UnfurledLink_LINK } +type UnfurledStatusContactLink struct { + PublicKey []byte `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` + DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` + Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` + Icon *UnfurledLinkThumbnail `protobuf:"bytes,4,opt,name=icon,proto3" json:"icon,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UnfurledStatusContactLink) Reset() { *m = UnfurledStatusContactLink{} } +func (m *UnfurledStatusContactLink) String() string { return proto.CompactTextString(m) } +func (*UnfurledStatusContactLink) ProtoMessage() {} +func (*UnfurledStatusContactLink) Descriptor() ([]byte, []int) { + return fileDescriptor_263952f55fd35689, []int{12} +} + +func (m *UnfurledStatusContactLink) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UnfurledStatusContactLink.Unmarshal(m, b) +} +func (m *UnfurledStatusContactLink) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UnfurledStatusContactLink.Marshal(b, m, deterministic) +} +func (m *UnfurledStatusContactLink) XXX_Merge(src proto.Message) { + xxx_messageInfo_UnfurledStatusContactLink.Merge(m, src) +} +func (m *UnfurledStatusContactLink) XXX_Size() int { + return xxx_messageInfo_UnfurledStatusContactLink.Size(m) +} +func (m *UnfurledStatusContactLink) XXX_DiscardUnknown() { + xxx_messageInfo_UnfurledStatusContactLink.DiscardUnknown(m) +} + +var xxx_messageInfo_UnfurledStatusContactLink proto.InternalMessageInfo + +func (m *UnfurledStatusContactLink) GetPublicKey() []byte { + if m != nil { + return m.PublicKey + } + return nil +} + +func (m *UnfurledStatusContactLink) GetDisplayName() string { + if m != nil { + return m.DisplayName + } + return "" +} + +func (m *UnfurledStatusContactLink) GetDescription() string { + if m != nil { + return m.Description + } + return "" +} + +func (m *UnfurledStatusContactLink) GetIcon() *UnfurledLinkThumbnail { + if m != nil { + return m.Icon + } + return nil +} + +type UnfurledStatusCommunityLink struct { + CommunityId []byte `protobuf:"bytes,1,opt,name=community_id,json=communityId,proto3" json:"community_id,omitempty"` + DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` + Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` + MembersCount uint32 `protobuf:"varint,4,opt,name=members_count,json=membersCount,proto3" json:"members_count,omitempty"` + Color string `protobuf:"bytes,5,opt,name=color,proto3" json:"color,omitempty"` + Icon *UnfurledLinkThumbnail `protobuf:"bytes,7,opt,name=icon,proto3" json:"icon,omitempty"` + Banner *UnfurledLinkThumbnail `protobuf:"bytes,8,opt,name=banner,proto3" json:"banner,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UnfurledStatusCommunityLink) Reset() { *m = UnfurledStatusCommunityLink{} } +func (m *UnfurledStatusCommunityLink) String() string { return proto.CompactTextString(m) } +func (*UnfurledStatusCommunityLink) ProtoMessage() {} +func (*UnfurledStatusCommunityLink) Descriptor() ([]byte, []int) { + return fileDescriptor_263952f55fd35689, []int{13} +} + +func (m *UnfurledStatusCommunityLink) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UnfurledStatusCommunityLink.Unmarshal(m, b) +} +func (m *UnfurledStatusCommunityLink) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UnfurledStatusCommunityLink.Marshal(b, m, deterministic) +} +func (m *UnfurledStatusCommunityLink) XXX_Merge(src proto.Message) { + xxx_messageInfo_UnfurledStatusCommunityLink.Merge(m, src) +} +func (m *UnfurledStatusCommunityLink) XXX_Size() int { + return xxx_messageInfo_UnfurledStatusCommunityLink.Size(m) +} +func (m *UnfurledStatusCommunityLink) XXX_DiscardUnknown() { + xxx_messageInfo_UnfurledStatusCommunityLink.DiscardUnknown(m) +} + +var xxx_messageInfo_UnfurledStatusCommunityLink proto.InternalMessageInfo + +func (m *UnfurledStatusCommunityLink) GetCommunityId() []byte { + if m != nil { + return m.CommunityId + } + return nil +} + +func (m *UnfurledStatusCommunityLink) GetDisplayName() string { + if m != nil { + return m.DisplayName + } + return "" +} + +func (m *UnfurledStatusCommunityLink) GetDescription() string { + if m != nil { + return m.Description + } + return "" +} + +func (m *UnfurledStatusCommunityLink) GetMembersCount() uint32 { + if m != nil { + return m.MembersCount + } + return 0 +} + +func (m *UnfurledStatusCommunityLink) GetColor() string { + if m != nil { + return m.Color + } + return "" +} + +func (m *UnfurledStatusCommunityLink) GetIcon() *UnfurledLinkThumbnail { + if m != nil { + return m.Icon + } + return nil +} + +func (m *UnfurledStatusCommunityLink) GetBanner() *UnfurledLinkThumbnail { + if m != nil { + return m.Banner + } + return nil +} + +type UnfurledStatusChannelLink struct { + ChannelUuid []byte `protobuf:"bytes,1,opt,name=channel_uuid,json=channelUuid,proto3" json:"channel_uuid,omitempty"` + Emoji string `protobuf:"bytes,2,opt,name=emoji,proto3" json:"emoji,omitempty"` + DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` + Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` + Color string `protobuf:"bytes,5,opt,name=color,proto3" json:"color,omitempty"` + Community *UnfurledStatusCommunityLink `protobuf:"bytes,6,opt,name=community,proto3" json:"community,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UnfurledStatusChannelLink) Reset() { *m = UnfurledStatusChannelLink{} } +func (m *UnfurledStatusChannelLink) String() string { return proto.CompactTextString(m) } +func (*UnfurledStatusChannelLink) ProtoMessage() {} +func (*UnfurledStatusChannelLink) Descriptor() ([]byte, []int) { + return fileDescriptor_263952f55fd35689, []int{14} +} + +func (m *UnfurledStatusChannelLink) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UnfurledStatusChannelLink.Unmarshal(m, b) +} +func (m *UnfurledStatusChannelLink) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UnfurledStatusChannelLink.Marshal(b, m, deterministic) +} +func (m *UnfurledStatusChannelLink) XXX_Merge(src proto.Message) { + xxx_messageInfo_UnfurledStatusChannelLink.Merge(m, src) +} +func (m *UnfurledStatusChannelLink) XXX_Size() int { + return xxx_messageInfo_UnfurledStatusChannelLink.Size(m) +} +func (m *UnfurledStatusChannelLink) XXX_DiscardUnknown() { + xxx_messageInfo_UnfurledStatusChannelLink.DiscardUnknown(m) +} + +var xxx_messageInfo_UnfurledStatusChannelLink proto.InternalMessageInfo + +func (m *UnfurledStatusChannelLink) GetChannelUuid() []byte { + if m != nil { + return m.ChannelUuid + } + return nil +} + +func (m *UnfurledStatusChannelLink) GetEmoji() string { + if m != nil { + return m.Emoji + } + return "" +} + +func (m *UnfurledStatusChannelLink) GetDisplayName() string { + if m != nil { + return m.DisplayName + } + return "" +} + +func (m *UnfurledStatusChannelLink) GetDescription() string { + if m != nil { + return m.Description + } + return "" +} + +func (m *UnfurledStatusChannelLink) GetColor() string { + if m != nil { + return m.Color + } + return "" +} + +func (m *UnfurledStatusChannelLink) GetCommunity() *UnfurledStatusCommunityLink { + if m != nil { + return m.Community + } + return nil +} + +type UnfurledStatusLink struct { + Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` + // Types that are valid to be assigned to Payload: + // + // *UnfurledStatusLink_Contact + // *UnfurledStatusLink_Community + // *UnfurledStatusLink_Channel + Payload isUnfurledStatusLink_Payload `protobuf_oneof:"payload"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UnfurledStatusLink) Reset() { *m = UnfurledStatusLink{} } +func (m *UnfurledStatusLink) String() string { return proto.CompactTextString(m) } +func (*UnfurledStatusLink) ProtoMessage() {} +func (*UnfurledStatusLink) Descriptor() ([]byte, []int) { + return fileDescriptor_263952f55fd35689, []int{15} +} + +func (m *UnfurledStatusLink) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UnfurledStatusLink.Unmarshal(m, b) +} +func (m *UnfurledStatusLink) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UnfurledStatusLink.Marshal(b, m, deterministic) +} +func (m *UnfurledStatusLink) XXX_Merge(src proto.Message) { + xxx_messageInfo_UnfurledStatusLink.Merge(m, src) +} +func (m *UnfurledStatusLink) XXX_Size() int { + return xxx_messageInfo_UnfurledStatusLink.Size(m) +} +func (m *UnfurledStatusLink) XXX_DiscardUnknown() { + xxx_messageInfo_UnfurledStatusLink.DiscardUnknown(m) +} + +var xxx_messageInfo_UnfurledStatusLink proto.InternalMessageInfo + +func (m *UnfurledStatusLink) GetUrl() string { + if m != nil { + return m.Url + } + return "" +} + +type isUnfurledStatusLink_Payload interface { + isUnfurledStatusLink_Payload() +} + +type UnfurledStatusLink_Contact struct { + Contact *UnfurledStatusContactLink `protobuf:"bytes,2,opt,name=contact,proto3,oneof"` +} + +type UnfurledStatusLink_Community struct { + Community *UnfurledStatusCommunityLink `protobuf:"bytes,3,opt,name=community,proto3,oneof"` +} + +type UnfurledStatusLink_Channel struct { + Channel *UnfurledStatusChannelLink `protobuf:"bytes,4,opt,name=channel,proto3,oneof"` +} + +func (*UnfurledStatusLink_Contact) isUnfurledStatusLink_Payload() {} + +func (*UnfurledStatusLink_Community) isUnfurledStatusLink_Payload() {} + +func (*UnfurledStatusLink_Channel) isUnfurledStatusLink_Payload() {} + +func (m *UnfurledStatusLink) GetPayload() isUnfurledStatusLink_Payload { + if m != nil { + return m.Payload + } + return nil +} + +func (m *UnfurledStatusLink) GetContact() *UnfurledStatusContactLink { + if x, ok := m.GetPayload().(*UnfurledStatusLink_Contact); ok { + return x.Contact + } + return nil +} + +func (m *UnfurledStatusLink) GetCommunity() *UnfurledStatusCommunityLink { + if x, ok := m.GetPayload().(*UnfurledStatusLink_Community); ok { + return x.Community + } + return nil +} + +func (m *UnfurledStatusLink) GetChannel() *UnfurledStatusChannelLink { + if x, ok := m.GetPayload().(*UnfurledStatusLink_Channel); ok { + return x.Channel + } + return nil +} + +// XXX_OneofWrappers is for the internal use of the proto package. +func (*UnfurledStatusLink) XXX_OneofWrappers() []interface{} { + return []interface{}{ + (*UnfurledStatusLink_Contact)(nil), + (*UnfurledStatusLink_Community)(nil), + (*UnfurledStatusLink_Channel)(nil), + } +} + +// Create a wrapper around repeated property for proper unmarshalling +type UnfurledStatusLinks struct { + UnfurledStatusLinks []*UnfurledStatusLink `protobuf:"bytes,1,rep,name=unfurled_status_links,json=unfurledStatusLinks,proto3" json:"unfurled_status_links,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UnfurledStatusLinks) Reset() { *m = UnfurledStatusLinks{} } +func (m *UnfurledStatusLinks) String() string { return proto.CompactTextString(m) } +func (*UnfurledStatusLinks) ProtoMessage() {} +func (*UnfurledStatusLinks) Descriptor() ([]byte, []int) { + return fileDescriptor_263952f55fd35689, []int{16} +} + +func (m *UnfurledStatusLinks) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UnfurledStatusLinks.Unmarshal(m, b) +} +func (m *UnfurledStatusLinks) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UnfurledStatusLinks.Marshal(b, m, deterministic) +} +func (m *UnfurledStatusLinks) XXX_Merge(src proto.Message) { + xxx_messageInfo_UnfurledStatusLinks.Merge(m, src) +} +func (m *UnfurledStatusLinks) XXX_Size() int { + return xxx_messageInfo_UnfurledStatusLinks.Size(m) +} +func (m *UnfurledStatusLinks) XXX_DiscardUnknown() { + xxx_messageInfo_UnfurledStatusLinks.DiscardUnknown(m) +} + +var xxx_messageInfo_UnfurledStatusLinks proto.InternalMessageInfo + +func (m *UnfurledStatusLinks) GetUnfurledStatusLinks() []*UnfurledStatusLink { + if m != nil { + return m.UnfurledStatusLinks + } + return nil +} + type ChatMessage struct { // Lamport timestamp of the chat message Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` @@ -1019,6 +1455,7 @@ type ChatMessage struct { ContactRequestPropagatedState *ContactRequestPropagatedState `protobuf:"bytes,15,opt,name=contact_request_propagated_state,json=contactRequestPropagatedState,proto3" json:"contact_request_propagated_state,omitempty"` UnfurledLinks []*UnfurledLink `protobuf:"bytes,16,rep,name=unfurled_links,json=unfurledLinks,proto3" json:"unfurled_links,omitempty"` Shard *Shard `protobuf:"bytes,17,opt,name=shard,proto3" json:"shard,omitempty"` + UnfurledStatusLinks *UnfurledStatusLinks `protobuf:"bytes,18,opt,name=unfurled_status_links,json=unfurledStatusLinks,proto3" json:"unfurled_status_links,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -1028,7 +1465,7 @@ func (m *ChatMessage) Reset() { *m = ChatMessage{} } func (m *ChatMessage) String() string { return proto.CompactTextString(m) } func (*ChatMessage) ProtoMessage() {} func (*ChatMessage) Descriptor() ([]byte, []int) { - return fileDescriptor_263952f55fd35689, []int{11} + return fileDescriptor_263952f55fd35689, []int{17} } func (m *ChatMessage) XXX_Unmarshal(b []byte) error { @@ -1216,6 +1653,13 @@ func (m *ChatMessage) GetShard() *Shard { return nil } +func (m *ChatMessage) GetUnfurledStatusLinks() *UnfurledStatusLinks { + if m != nil { + return m.UnfurledStatusLinks + } + return nil +} + // XXX_OneofWrappers is for the internal use of the proto package. func (*ChatMessage) XXX_OneofWrappers() []interface{} { return []interface{}{ @@ -1241,7 +1685,13 @@ func init() { proto.RegisterType((*DiscordMessageAuthor)(nil), "protobuf.DiscordMessageAuthor") proto.RegisterType((*DiscordMessageReference)(nil), "protobuf.DiscordMessageReference") proto.RegisterType((*DiscordMessageAttachment)(nil), "protobuf.DiscordMessageAttachment") + proto.RegisterType((*UnfurledLinkThumbnail)(nil), "protobuf.UnfurledLinkThumbnail") proto.RegisterType((*UnfurledLink)(nil), "protobuf.UnfurledLink") + proto.RegisterType((*UnfurledStatusContactLink)(nil), "protobuf.UnfurledStatusContactLink") + proto.RegisterType((*UnfurledStatusCommunityLink)(nil), "protobuf.UnfurledStatusCommunityLink") + proto.RegisterType((*UnfurledStatusChannelLink)(nil), "protobuf.UnfurledStatusChannelLink") + proto.RegisterType((*UnfurledStatusLink)(nil), "protobuf.UnfurledStatusLink") + proto.RegisterType((*UnfurledStatusLinks)(nil), "protobuf.UnfurledStatusLinks") proto.RegisterType((*ChatMessage)(nil), "protobuf.ChatMessage") } @@ -1250,101 +1700,120 @@ func init() { } var fileDescriptor_263952f55fd35689 = []byte{ - // 1523 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x57, 0x4f, 0x73, 0xe3, 0x4a, - 0x11, 0x8f, 0xff, 0x5b, 0x2d, 0xdb, 0xd1, 0xce, 0xe6, 0x65, 0xf5, 0xb6, 0x5e, 0x5e, 0xbc, 0x66, - 0xa9, 0x0d, 0x05, 0x65, 0xaa, 0xf6, 0x3d, 0xa8, 0x57, 0x45, 0x51, 0x94, 0x62, 0xeb, 0x25, 0x62, - 0xe3, 0x3f, 0x8c, 0xe5, 0x3c, 0xc2, 0x45, 0xa5, 0x48, 0x93, 0x58, 0x15, 0x59, 0x32, 0xd2, 0x18, - 0x30, 0x27, 0xbe, 0x11, 0x37, 0x4e, 0x1c, 0x39, 0x70, 0xe0, 0xca, 0x57, 0xe0, 0x13, 0xf0, 0x01, - 0xa8, 0x99, 0xd1, 0x5f, 0x93, 0x64, 0x61, 0x2f, 0xc9, 0x74, 0x4f, 0x77, 0xab, 0xe7, 0x37, 0x3d, - 0xfd, 0x6b, 0x03, 0x72, 0x56, 0x36, 0xb5, 0xd6, 0x24, 0x8e, 0xed, 0x7b, 0x32, 0xdc, 0x44, 0x21, - 0x0d, 0x51, 0x9b, 0xff, 0xbb, 0xdd, 0xde, 0xbd, 0x96, 0x49, 0xb0, 0x5d, 0xc7, 0x42, 0xfd, 0xba, - 0xeb, 0x84, 0x01, 0xb5, 0x1d, 0x9a, 0x88, 0x72, 0xbc, 0xb2, 0x23, 0x57, 0x08, 0x83, 0x6f, 0xa0, - 0xb7, 0xa0, 0x9e, 0xf3, 0x40, 0xa2, 0x89, 0x08, 0x85, 0x10, 0xd4, 0x57, 0x76, 0xbc, 0x52, 0x2b, - 0xfd, 0xca, 0x99, 0x84, 0xf9, 0x9a, 0xe9, 0x36, 0xb6, 0xf3, 0xa0, 0x56, 0xfb, 0x95, 0xb3, 0x06, - 0xe6, 0xeb, 0xc1, 0xdf, 0x2b, 0xd0, 0x31, 0xd6, 0xf6, 0x3d, 0x49, 0x1d, 0x55, 0x68, 0x6d, 0xec, - 0x9d, 0x1f, 0xda, 0x2e, 0xf7, 0xed, 0xe0, 0x54, 0x44, 0xef, 0xa0, 0x4e, 0x77, 0x1b, 0xc2, 0xdd, - 0x7b, 0xef, 0x5f, 0x0e, 0xd3, 0x34, 0x87, 0xdc, 0xdf, 0xdc, 0x6d, 0x08, 0xe6, 0x06, 0xe8, 0x73, - 0x68, 0xdb, 0xfe, 0xed, 0x76, 0x6d, 0x79, 0xae, 0x5a, 0xe3, 0xdf, 0x6f, 0x71, 0xd9, 0x70, 0xd1, - 0x11, 0x34, 0x7e, 0xef, 0xb9, 0x74, 0xa5, 0xd6, 0xfb, 0x95, 0xb3, 0x2e, 0x16, 0x02, 0x3a, 0x86, - 0xe6, 0x8a, 0x78, 0xf7, 0x2b, 0xaa, 0x36, 0xb8, 0x3a, 0x91, 0xd0, 0x8f, 0x00, 0x25, 0x81, 0xd8, - 0x17, 0x62, 0xcb, 0x09, 0xb7, 0x01, 0x55, 0x9b, 0xdc, 0x46, 0x11, 0x21, 0xf9, 0xc6, 0x88, 0xe9, - 0x07, 0x7f, 0xa9, 0x40, 0x47, 0xdb, 0xba, 0x5e, 0xf8, 0xf1, 0xa3, 0x7c, 0x5d, 0x3a, 0x4a, 0x3f, - 0x3f, 0x4a, 0xd1, 0x5f, 0x08, 0x85, 0x73, 0x9d, 0x82, 0xec, 0x6e, 0x23, 0x9b, 0x7a, 0x61, 0x60, - 0xad, 0x63, 0x7e, 0xb4, 0x3a, 0x86, 0x54, 0x35, 0x89, 0x07, 0x3f, 0x01, 0x29, 0xf3, 0x41, 0xc7, - 0x80, 0x96, 0xd3, 0x0f, 0xd3, 0xd9, 0x77, 0x53, 0x4b, 0x5b, 0x8e, 0x8d, 0x99, 0x65, 0xde, 0xcc, - 0x75, 0xe5, 0x00, 0xb5, 0xa0, 0xa6, 0x69, 0x23, 0xa5, 0xc2, 0x17, 0x13, 0xac, 0x54, 0x07, 0x7f, - 0xab, 0x82, 0xac, 0xbb, 0x1e, 0x4d, 0xf3, 0x3e, 0x82, 0x86, 0xe3, 0x87, 0xce, 0x03, 0xcf, 0xba, - 0x8e, 0x85, 0xc0, 0x6e, 0x8f, 0x92, 0x3f, 0x50, 0x9e, 0xb3, 0x84, 0xf9, 0x1a, 0xbd, 0x82, 0x16, - 0x2f, 0xa0, 0x0c, 0xe8, 0x26, 0x13, 0x0d, 0x17, 0x9d, 0x00, 0x24, 0x45, 0xc5, 0xf6, 0xea, 0x7c, - 0x4f, 0x4a, 0x34, 0xe2, 0x1a, 0xee, 0x23, 0x3b, 0x10, 0x78, 0x77, 0xb0, 0x10, 0xd0, 0x37, 0xd0, - 0x49, 0x9d, 0x38, 0x3a, 0x4d, 0x8e, 0xce, 0x67, 0x39, 0x3a, 0x49, 0x82, 0x1c, 0x12, 0x79, 0x9d, - 0x0b, 0x68, 0x0c, 0x1d, 0x56, 0x9d, 0x24, 0xa0, 0xc2, 0xb3, 0xc5, 0x3d, 0xdf, 0xe4, 0x9e, 0xa3, - 0x95, 0x9d, 0x1e, 0x6f, 0x38, 0x12, 0x96, 0x22, 0x8a, 0x93, 0x0b, 0xe8, 0xe7, 0xd0, 0xdb, 0x06, - 0x77, 0xdb, 0xc8, 0x27, 0xae, 0xe5, 0x7b, 0xc1, 0x43, 0xac, 0xb6, 0xfb, 0xb5, 0x33, 0xf9, 0xfd, - 0x71, 0x1e, 0x67, 0x99, 0xec, 0x5f, 0x79, 0xc1, 0x03, 0xee, 0x6e, 0x0b, 0x52, 0x3c, 0xf8, 0x47, - 0x05, 0xba, 0x63, 0xe2, 0x13, 0x4a, 0x9e, 0x07, 0xb2, 0x00, 0x5a, 0xf5, 0x19, 0xd0, 0x6a, 0x4f, - 0x82, 0x56, 0x7f, 0x0e, 0xb4, 0xc6, 0xff, 0x0c, 0xda, 0x09, 0x80, 0xcb, 0xd3, 0x75, 0xad, 0xdb, - 0x1d, 0x07, 0x5b, 0xc2, 0x52, 0xa2, 0x39, 0xdf, 0x0d, 0x26, 0x70, 0xbc, 0xd8, 0x05, 0x8e, 0x38, - 0xd1, 0xb7, 0x61, 0x34, 0xf9, 0xc8, 0xb1, 0xca, 0xd9, 0x57, 0xf7, 0xb2, 0x1f, 0xfc, 0xb3, 0x0a, - 0xbd, 0xb1, 0x17, 0x3b, 0x61, 0xe4, 0xa6, 0x71, 0x7a, 0x50, 0xf5, 0xdc, 0xa4, 0x43, 0x54, 0x3d, - 0x97, 0x57, 0x58, 0xfa, 0x2a, 0xa4, 0xa4, 0xe6, 0xbf, 0x00, 0x89, 0x7a, 0x6b, 0x12, 0x53, 0x7b, - 0xbd, 0x49, 0x21, 0xc9, 0x14, 0xe8, 0x0c, 0x0e, 0x33, 0x81, 0x55, 0x30, 0x49, 0x6b, 0x6d, 0x5f, - 0xcd, 0xde, 0x62, 0x72, 0xd5, 0x1c, 0x21, 0x09, 0xa7, 0x22, 0xfa, 0x29, 0x34, 0xed, 0x2d, 0x5d, - 0x85, 0x11, 0x87, 0x40, 0x7e, 0xff, 0x65, 0x0e, 0x5d, 0x39, 0x5f, 0x8d, 0x5b, 0xe1, 0xc4, 0x1a, - 0xfd, 0x02, 0xa4, 0x88, 0xdc, 0x91, 0x88, 0x04, 0x8e, 0x28, 0x38, 0xb9, 0x58, 0x70, 0x65, 0x57, - 0x9c, 0x1a, 0xe2, 0xdc, 0x07, 0x8d, 0x41, 0xb6, 0x29, 0xb5, 0x9d, 0xd5, 0x9a, 0x04, 0x34, 0xad, - 0xb5, 0xc1, 0x93, 0x5f, 0xcf, 0x4c, 0x71, 0xd1, 0x6d, 0xf0, 0xaf, 0x0a, 0x1c, 0x3d, 0x96, 0xe7, - 0x63, 0xe8, 0x06, 0xf6, 0x3a, 0x43, 0x97, 0xad, 0xd1, 0x5b, 0xe8, 0xba, 0x5e, 0xec, 0x44, 0xde, - 0xda, 0x0b, 0x6c, 0x1a, 0x46, 0x09, 0xc2, 0x65, 0x25, 0x7a, 0x0d, 0xed, 0xc0, 0x73, 0x1e, 0xb8, - 0xb7, 0x80, 0x37, 0x93, 0xd9, 0xfd, 0xd8, 0xbf, 0xb3, 0xa9, 0x1d, 0x2d, 0x23, 0x3f, 0x41, 0x36, - 0x57, 0xa0, 0x21, 0x20, 0x21, 0xf0, 0x3e, 0x39, 0x4f, 0x9a, 0x61, 0x93, 0xd7, 0xef, 0x23, 0x3b, - 0xec, 0x4b, 0x7e, 0xe8, 0xd8, 0x3e, 0x0b, 0xd6, 0x12, 0x5f, 0x4a, 0xe5, 0x41, 0x08, 0xaf, 0x9e, - 0x00, 0x95, 0x25, 0x91, 0x15, 0x5a, 0x72, 0xe2, 0xc2, 0xbb, 0xf9, 0x02, 0x24, 0x67, 0x65, 0x07, - 0x01, 0xf1, 0x8d, 0xac, 0x2e, 0x33, 0x05, 0x2b, 0x8c, 0xfb, 0xad, 0xe7, 0xbb, 0x46, 0xc6, 0x15, - 0x89, 0x38, 0xf8, 0x77, 0x05, 0xd4, 0xa7, 0xee, 0xe0, 0xbf, 0xd0, 0x2d, 0xa5, 0xb0, 0x5f, 0xfc, - 0x48, 0x81, 0xda, 0x36, 0xf2, 0x93, 0x0f, 0xb0, 0x25, 0x3b, 0xe9, 0x9d, 0xe7, 0x93, 0x69, 0x01, - 0xd3, 0x54, 0x66, 0xb7, 0xc2, 0xd6, 0x0b, 0xef, 0x8f, 0xe4, 0x7c, 0x47, 0x49, 0xcc, 0x71, 0xad, - 0xe3, 0xb2, 0x12, 0xf5, 0xa1, 0xd8, 0xbc, 0x92, 0xf7, 0x5b, 0xea, 0x67, 0x05, 0xfe, 0x69, 0x95, - 0xf9, 0xa7, 0x88, 0x73, 0x7b, 0x0f, 0xe7, 0x3f, 0x57, 0xa1, 0x53, 0x6c, 0x73, 0x69, 0xf2, 0x95, - 0x3c, 0xf9, 0x23, 0x68, 0x50, 0x8f, 0xfa, 0x69, 0x2d, 0x09, 0x81, 0x25, 0xe4, 0x12, 0x56, 0x37, - 0x1b, 0x46, 0x47, 0xc9, 0x61, 0x8b, 0x2a, 0xf4, 0x43, 0x78, 0x41, 0x57, 0xdb, 0xf5, 0x6d, 0x60, - 0x7b, 0xbe, 0x95, 0xa6, 0x26, 0xba, 0x99, 0x92, 0x6d, 0xcc, 0x33, 0xba, 0x3f, 0xcc, 0x8d, 0x05, - 0x69, 0x0b, 0x76, 0xee, 0x65, 0xea, 0xef, 0x38, 0x7b, 0xff, 0x00, 0x72, 0x67, 0x2b, 0xe1, 0x71, - 0xc1, 0xd1, 0x79, 0x80, 0x4b, 0x41, 0xe8, 0x5f, 0x25, 0x1d, 0x46, 0xf0, 0xc3, 0xe9, 0xe3, 0x7d, - 0x7d, 0xc8, 0xfe, 0xe4, 0xb4, 0x3b, 0x38, 0x85, 0x76, 0xaa, 0x41, 0x6d, 0xa8, 0x5f, 0x19, 0xd3, - 0x0f, 0xca, 0x01, 0x92, 0xa0, 0x61, 0x4c, 0xb4, 0x0b, 0x5d, 0xa9, 0x0c, 0xfe, 0x04, 0x20, 0x17, - 0x08, 0xe6, 0x89, 0xfe, 0x58, 0xea, 0x64, 0x55, 0xbe, 0x53, 0xe8, 0x64, 0x29, 0xbb, 0xd6, 0x0a, - 0xec, 0x7a, 0x0a, 0x72, 0x44, 0xe2, 0x4d, 0x18, 0xc4, 0xc4, 0xa2, 0x61, 0x52, 0x26, 0x90, 0xaa, - 0xcc, 0x90, 0x0d, 0x3a, 0x24, 0x88, 0x2d, 0xfe, 0x30, 0x93, 0xae, 0x46, 0x82, 0x98, 0xd7, 0x50, - 0x81, 0x64, 0x9a, 0x25, 0x92, 0xd9, 0xe7, 0x8b, 0xd6, 0x27, 0x93, 0x6c, 0xfb, 0x93, 0x48, 0xf6, - 0x6b, 0x68, 0xc5, 0x62, 0x54, 0x54, 0x25, 0xde, 0x34, 0xd5, 0x3c, 0x40, 0x79, 0x86, 0xbc, 0x3c, - 0xc0, 0xa9, 0x29, 0x1a, 0x42, 0x83, 0xcf, 0x60, 0x2a, 0x70, 0x9f, 0xe3, 0xbd, 0xe1, 0x2f, 0xf7, - 0x10, 0x66, 0xcc, 0xde, 0x66, 0x93, 0x90, 0x2a, 0xef, 0xdb, 0x17, 0x27, 0x2c, 0x66, 0xcf, 0xcd, - 0xd0, 0x97, 0x20, 0x39, 0xe1, 0x7a, 0xbd, 0x0d, 0x3c, 0xba, 0x53, 0x3b, 0xac, 0x22, 0x2f, 0x0f, - 0x70, 0xae, 0x42, 0x23, 0x38, 0x74, 0x45, 0x2b, 0x48, 0x87, 0x65, 0xd5, 0xd9, 0xcf, 0xbe, 0xdc, - 0x2b, 0x2e, 0x0f, 0x70, 0xcf, 0x2d, 0xf3, 0x5d, 0x46, 0xe0, 0xdd, 0x22, 0x81, 0xbf, 0x81, 0x8e, - 0xeb, 0xc5, 0x1b, 0xdf, 0xde, 0x89, 0x8b, 0xec, 0x25, 0xef, 0x46, 0xe8, 0xf8, 0x65, 0x6e, 0xa0, - 0x9f, 0x0c, 0xdf, 0x56, 0x44, 0x7e, 0xbb, 0x25, 0x31, 0xb5, 0x36, 0x51, 0xb8, 0xb1, 0xef, 0x6d, - 0x46, 0xde, 0x31, 0xb5, 0x29, 0x51, 0x0f, 0x79, 0x3a, 0xef, 0x0a, 0xb7, 0x21, 0x3c, 0xb0, 0x70, - 0x98, 0x67, 0xf6, 0x0b, 0x66, 0x8e, 0x4f, 0x9c, 0xe7, 0xb6, 0x1f, 0x19, 0x85, 0x94, 0xff, 0x63, - 0x14, 0x42, 0xdf, 0x87, 0x06, 0xff, 0x79, 0xa0, 0xbe, 0xe0, 0x59, 0x1d, 0x16, 0xae, 0x98, 0xa9, - 0xb1, 0xd8, 0x1d, 0xfc, 0xb5, 0x06, 0xf2, 0xa8, 0xd4, 0xb0, 0x8e, 0xd2, 0x91, 0x75, 0x34, 0x9b, - 0x9a, 0xfa, 0xd4, 0x4c, 0x87, 0xd6, 0x1e, 0x80, 0xa9, 0xff, 0xda, 0xb4, 0xe6, 0x57, 0x9a, 0x31, - 0x55, 0x2a, 0x48, 0x86, 0xd6, 0xc2, 0x34, 0x46, 0x1f, 0x74, 0xac, 0x54, 0x11, 0x40, 0x73, 0x61, - 0x6a, 0xe6, 0x72, 0xa1, 0xd4, 0xd8, 0xb3, 0xd4, 0x27, 0xb3, 0x5f, 0x1a, 0x4a, 0x1d, 0xbd, 0x82, - 0x97, 0x26, 0xd6, 0xa6, 0x0b, 0x6d, 0x64, 0x1a, 0x33, 0x16, 0x71, 0x32, 0xd1, 0xa6, 0x63, 0xa5, - 0x81, 0xce, 0xe0, 0xed, 0xe2, 0x66, 0x61, 0xea, 0x13, 0x6b, 0xa2, 0x2f, 0x16, 0xda, 0x85, 0x9e, - 0x7d, 0x6d, 0x8e, 0x8d, 0x6b, 0xcd, 0xd4, 0xad, 0x0b, 0x3c, 0x5b, 0xce, 0x95, 0x66, 0xfe, 0xc8, - 0x5b, 0x6c, 0xc9, 0xc7, 0x68, 0xa5, 0x8d, 0xba, 0x20, 0xb1, 0x60, 0xcb, 0xa9, 0x61, 0xde, 0x28, - 0x12, 0x1b, 0xb4, 0xf7, 0xc2, 0x5d, 0x68, 0x73, 0x05, 0xd0, 0x4b, 0x38, 0x64, 0x71, 0xb5, 0x91, - 0x69, 0x61, 0xfd, 0x57, 0x4b, 0x7d, 0x61, 0x2a, 0x32, 0x53, 0x8e, 0x8d, 0xc5, 0x68, 0x86, 0xc7, - 0xa9, 0xb5, 0xd2, 0x41, 0x9f, 0xc3, 0x67, 0xc6, 0x58, 0x9f, 0x9a, 0x86, 0x79, 0x63, 0x5d, 0xeb, - 0xd8, 0xf8, 0xd6, 0x18, 0x69, 0x2c, 0x67, 0xa5, 0x8b, 0xde, 0xc0, 0xc9, 0x5e, 0xf0, 0xb9, 0x31, - 0x9d, 0xea, 0xb9, 0x77, 0x0f, 0xbd, 0x85, 0xfe, 0x9e, 0xc9, 0x64, 0x69, 0x2e, 0xb5, 0x2b, 0x4b, - 0xbf, 0x66, 0x67, 0x5a, 0xe8, 0x53, 0x53, 0x39, 0x7c, 0xe4, 0xd0, 0x25, 0x2b, 0x6d, 0x34, 0xd2, - 0xe7, 0xa6, 0x3e, 0x56, 0x14, 0xf4, 0x0e, 0xbe, 0xf7, 0x9c, 0x25, 0xd6, 0x27, 0xb3, 0x6b, 0x7d, - 0xac, 0xbc, 0x38, 0x97, 0x32, 0x7e, 0x39, 0xef, 0xfe, 0x46, 0x1e, 0xfe, 0xf8, 0x67, 0xe9, 0x2d, - 0xdf, 0x36, 0xf9, 0xea, 0xab, 0xff, 0x04, 0x00, 0x00, 0xff, 0xff, 0x18, 0x95, 0x9c, 0x97, 0x5f, - 0x0e, 0x00, 0x00, + // 1840 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x58, 0xdd, 0x92, 0xdb, 0x58, + 0x11, 0x1e, 0xff, 0x8f, 0x5a, 0xb6, 0x47, 0x39, 0x33, 0x99, 0x38, 0x21, 0xb3, 0x71, 0x94, 0x6c, + 0x65, 0x28, 0xa8, 0xa1, 0x6a, 0xb2, 0xc0, 0x56, 0x51, 0xd4, 0x96, 0x62, 0x6b, 0x13, 0x91, 0xd8, + 0xe3, 0x95, 0xe5, 0x2c, 0xe1, 0x46, 0xa5, 0x91, 0x4e, 0xc6, 0x62, 0xf4, 0x63, 0xf4, 0x03, 0x98, + 0x17, 0xe1, 0x2d, 0xe0, 0x86, 0xe2, 0x8a, 0x07, 0xe0, 0x82, 0x3b, 0x8a, 0x57, 0xe0, 0x09, 0xb8, + 0xe2, 0x8a, 0x3a, 0x3f, 0xfa, 0xf3, 0xd8, 0x93, 0x4d, 0x8a, 0x2b, 0xab, 0xfb, 0x74, 0x9f, 0xd3, + 0xfd, 0x75, 0x9f, 0x3e, 0xdd, 0x06, 0x64, 0x2f, 0xad, 0xc4, 0xf4, 0x71, 0x1c, 0x5b, 0x57, 0xf8, + 0x6c, 0x15, 0x85, 0x49, 0x88, 0xf6, 0xe9, 0xcf, 0x65, 0xfa, 0xfe, 0x81, 0x88, 0x83, 0xd4, 0x8f, + 0x19, 0xfb, 0x41, 0xcf, 0x0e, 0x83, 0xc4, 0xb2, 0x13, 0x4e, 0x8a, 0xf1, 0xd2, 0x8a, 0x1c, 0x46, + 0xc8, 0x5f, 0x42, 0x7f, 0x9e, 0xb8, 0xf6, 0x35, 0x8e, 0x26, 0x6c, 0x2b, 0x84, 0xa0, 0xb9, 0xb4, + 0xe2, 0xe5, 0xa0, 0x36, 0xac, 0x9d, 0x0a, 0x3a, 0xfd, 0x26, 0xbc, 0x95, 0x65, 0x5f, 0x0f, 0xea, + 0xc3, 0xda, 0x69, 0x4b, 0xa7, 0xdf, 0xf2, 0xdf, 0x6b, 0xd0, 0xd5, 0x7c, 0xeb, 0x0a, 0x67, 0x8a, + 0x03, 0xe8, 0xac, 0xac, 0xb5, 0x17, 0x5a, 0x0e, 0xd5, 0xed, 0xea, 0x19, 0x89, 0x9e, 0x41, 0x33, + 0x59, 0xaf, 0x30, 0x55, 0xef, 0x9f, 0x1f, 0x9e, 0x65, 0x66, 0x9e, 0x51, 0x7d, 0x63, 0xbd, 0xc2, + 0x3a, 0x15, 0x40, 0xf7, 0x61, 0xdf, 0xf2, 0x2e, 0x53, 0xdf, 0x74, 0x9d, 0x41, 0x83, 0x9e, 0xdf, + 0xa1, 0xb4, 0xe6, 0xa0, 0x23, 0x68, 0xfd, 0xce, 0x75, 0x92, 0xe5, 0xa0, 0x39, 0xac, 0x9d, 0xf6, + 0x74, 0x46, 0xa0, 0x63, 0x68, 0x2f, 0xb1, 0x7b, 0xb5, 0x4c, 0x06, 0x2d, 0xca, 0xe6, 0x14, 0xfa, + 0x21, 0x20, 0xbe, 0x11, 0x39, 0x21, 0x36, 0xed, 0x30, 0x0d, 0x92, 0x41, 0x9b, 0xca, 0x48, 0x6c, + 0x4b, 0xba, 0x30, 0x22, 0x7c, 0xf9, 0xaf, 0x35, 0xe8, 0x2a, 0xa9, 0xe3, 0x86, 0x1f, 0x76, 0xe5, + 0x8b, 0x8a, 0x2b, 0xc3, 0xc2, 0x95, 0xb2, 0x3e, 0x23, 0x4a, 0x7e, 0x3d, 0x02, 0xd1, 0x49, 0x23, + 0x2b, 0x71, 0xc3, 0xc0, 0xf4, 0x63, 0xea, 0x5a, 0x53, 0x87, 0x8c, 0x35, 0x89, 0xe5, 0x1f, 0x83, + 0x90, 0xeb, 0xa0, 0x63, 0x40, 0x8b, 0xe9, 0xeb, 0xe9, 0xc5, 0xb7, 0x53, 0x53, 0x59, 0x8c, 0xb5, + 0x0b, 0xd3, 0x78, 0x37, 0x53, 0xa5, 0x3d, 0xd4, 0x81, 0x86, 0xa2, 0x8c, 0xa4, 0x1a, 0xfd, 0x98, + 0xe8, 0x52, 0x5d, 0xfe, 0x63, 0x03, 0x44, 0xd5, 0x71, 0x93, 0xcc, 0xee, 0x23, 0x68, 0xd9, 0x5e, + 0x68, 0x5f, 0x53, 0xab, 0x9b, 0x3a, 0x23, 0x48, 0xf4, 0x12, 0xfc, 0xfb, 0x84, 0xda, 0x2c, 0xe8, + 0xf4, 0x1b, 0xdd, 0x83, 0x0e, 0x4d, 0xa0, 0x1c, 0xe8, 0x36, 0x21, 0x35, 0x07, 0x9d, 0x00, 0xf0, + 0xa4, 0x22, 0x6b, 0x4d, 0xba, 0x26, 0x70, 0x0e, 0x0b, 0xc3, 0x55, 0x64, 0x05, 0x0c, 0xef, 0xae, + 0xce, 0x08, 0xf4, 0x25, 0x74, 0x33, 0x25, 0x8a, 0x4e, 0x9b, 0xa2, 0x73, 0xb7, 0x40, 0x87, 0x1b, + 0x48, 0x21, 0x11, 0xfd, 0x82, 0x40, 0x63, 0xe8, 0x92, 0xec, 0xc4, 0x41, 0xc2, 0x34, 0x3b, 0x54, + 0xf3, 0x71, 0xa1, 0x39, 0x5a, 0x5a, 0x99, 0x7b, 0x67, 0x23, 0x26, 0xc9, 0x76, 0xb1, 0x0b, 0x02, + 0xfd, 0x1c, 0xfa, 0x69, 0xf0, 0x3e, 0x8d, 0x3c, 0xec, 0x98, 0x9e, 0x1b, 0x5c, 0xc7, 0x83, 0xfd, + 0x61, 0xe3, 0x54, 0x3c, 0x3f, 0x2e, 0xf6, 0x59, 0xf0, 0xf5, 0x37, 0x6e, 0x70, 0xad, 0xf7, 0xd2, + 0x12, 0x15, 0xa3, 0x6f, 0xe0, 0x6e, 0xae, 0x1e, 0x27, 0x56, 0x92, 0xc6, 0x7c, 0x17, 0x61, 0x58, + 0x3b, 0x15, 0xcf, 0x4f, 0x6e, 0xee, 0x32, 0xa7, 0x52, 0x54, 0x5b, 0x3f, 0x4c, 0x6f, 0x32, 0xe5, + 0x7f, 0xd4, 0xa0, 0x37, 0xc6, 0x1e, 0x4e, 0xf0, 0xed, 0xb1, 0x29, 0xc5, 0xa1, 0x7e, 0x4b, 0x1c, + 0x1a, 0x3b, 0xe3, 0xd0, 0xbc, 0x2d, 0x0e, 0xad, 0xef, 0x1c, 0x87, 0x13, 0x00, 0x87, 0x9a, 0xeb, + 0x98, 0x97, 0x6b, 0x1a, 0x3f, 0x41, 0x17, 0x38, 0xe7, 0xc5, 0x5a, 0x9e, 0xc0, 0xf1, 0x7c, 0x1d, + 0xd8, 0xcc, 0xa3, 0xaf, 0xc3, 0x68, 0xf2, 0x01, 0xb7, 0xaa, 0xd6, 0xd7, 0x37, 0xac, 0x97, 0xff, + 0x55, 0x87, 0xfe, 0xd8, 0x8d, 0xed, 0x30, 0x72, 0xb2, 0x7d, 0xfa, 0x50, 0x77, 0x1d, 0x5e, 0x74, + 0xea, 0xae, 0x43, 0x93, 0x36, 0xbb, 0x68, 0x02, 0xbf, 0x46, 0x0f, 0x41, 0x48, 0x5c, 0x1f, 0xc7, + 0x89, 0xe5, 0xaf, 0x32, 0x48, 0x72, 0x06, 0x3a, 0x85, 0x83, 0x9c, 0x20, 0x97, 0x02, 0x67, 0xe9, + 0xbb, 0xc9, 0x26, 0xd7, 0x9b, 0x67, 0x0f, 0x45, 0x48, 0xd0, 0x33, 0x12, 0xfd, 0x04, 0xda, 0x56, + 0x9a, 0x2c, 0xc3, 0x88, 0x42, 0x20, 0x9e, 0x7f, 0x56, 0x40, 0x57, 0xb5, 0x57, 0xa1, 0x52, 0x3a, + 0x97, 0x46, 0x5f, 0x81, 0x10, 0xe1, 0xf7, 0x38, 0xc2, 0x81, 0xcd, 0x72, 0x58, 0x2c, 0xe7, 0x70, + 0x55, 0x55, 0xcf, 0x04, 0xf5, 0x42, 0x07, 0x8d, 0x41, 0xb4, 0x92, 0xc4, 0xb2, 0x97, 0x3e, 0x0e, + 0x92, 0x2c, 0x7d, 0xe5, 0x9d, 0xa7, 0xe7, 0xa2, 0x7a, 0x59, 0x4d, 0xfe, 0x77, 0x0d, 0x8e, 0xb6, + 0xd9, 0xb9, 0x0d, 0xdd, 0xc0, 0xf2, 0x73, 0x74, 0xc9, 0x37, 0x7a, 0x0a, 0x3d, 0xc7, 0x8d, 0xed, + 0xc8, 0xf5, 0xdd, 0xc0, 0x4a, 0xc2, 0x88, 0x23, 0x5c, 0x65, 0xa2, 0x07, 0xb0, 0x1f, 0xb8, 0xf6, + 0x35, 0xd5, 0x66, 0xf0, 0xe6, 0x34, 0x89, 0x8f, 0xf5, 0x5b, 0x2b, 0xb1, 0xa2, 0x45, 0xe4, 0x71, + 0x64, 0x0b, 0x06, 0x3a, 0x03, 0xc4, 0x08, 0x5a, 0x7a, 0x67, 0xbc, 0xbe, 0xb6, 0x69, 0xfe, 0x6e, + 0x59, 0x21, 0x27, 0x79, 0xa1, 0x6d, 0x79, 0x64, 0xb3, 0x0e, 0x3b, 0x29, 0xa3, 0xe5, 0x10, 0xee, + 0xed, 0x00, 0x95, 0x18, 0x91, 0x27, 0x1a, 0xf7, 0xb8, 0x74, 0x6f, 0x1e, 0x82, 0x60, 0x2f, 0xad, + 0x20, 0xc0, 0x9e, 0x96, 0xe7, 0x65, 0xce, 0x20, 0x89, 0x71, 0x95, 0xba, 0x9e, 0xa3, 0xe5, 0xcf, + 0x0f, 0x27, 0xe5, 0xff, 0xd4, 0x60, 0xb0, 0x2b, 0x06, 0x37, 0xd0, 0xad, 0x98, 0xb0, 0x99, 0xfc, + 0x48, 0x82, 0x46, 0x1a, 0x79, 0xfc, 0x00, 0xf2, 0x49, 0x3c, 0x7d, 0xef, 0x7a, 0x78, 0x5a, 0xc2, + 0x34, 0xa3, 0x49, 0x54, 0xc8, 0xf7, 0xdc, 0xfd, 0x03, 0x7e, 0xb1, 0x4e, 0x70, 0x4c, 0x71, 0x6d, + 0xea, 0x55, 0x26, 0x1a, 0x42, 0xb9, 0x1e, 0xf2, 0xfb, 0x5b, 0x29, 0x91, 0xa5, 0x27, 0xad, 0x53, + 0x7d, 0xd2, 0xca, 0x38, 0xef, 0x6f, 0xe0, 0x6c, 0xc2, 0xdd, 0x72, 0xe1, 0x34, 0x96, 0xa9, 0x7f, + 0x19, 0x58, 0xae, 0x77, 0xcb, 0x0b, 0x99, 0x3f, 0xd4, 0xf5, 0xed, 0x0f, 0x75, 0xa3, 0xfc, 0x50, + 0xcb, 0x7f, 0xae, 0x43, 0xb7, 0x7c, 0x42, 0x86, 0x4e, 0xad, 0x40, 0xe7, 0x08, 0x5a, 0x89, 0x9b, + 0x78, 0x59, 0xb2, 0x32, 0x82, 0x78, 0xec, 0x60, 0x92, 0x98, 0x2b, 0xf2, 0x84, 0x72, 0x34, 0xcb, + 0x2c, 0xf4, 0x03, 0xb8, 0x93, 0x64, 0xf6, 0x9a, 0x99, 0xb1, 0xac, 0x5c, 0x4a, 0xf9, 0xc2, 0x2c, + 0x6f, 0x51, 0x0e, 0x0a, 0x61, 0x66, 0x3f, 0xeb, 0x28, 0xfa, 0x39, 0xfb, 0x5b, 0xea, 0xc8, 0xf7, + 0xa1, 0x50, 0x36, 0xb9, 0x4b, 0xac, 0xaf, 0x28, 0x36, 0x78, 0xc5, 0x9a, 0x90, 0xe7, 0xbc, 0x84, + 0xb1, 0x37, 0xed, 0xd1, 0xf6, 0xb7, 0xe8, 0x8c, 0xe2, 0x9a, 0xb7, 0x0a, 0xf2, 0x23, 0xd8, 0xcf, + 0x38, 0x68, 0x1f, 0x9a, 0x6f, 0xb4, 0xe9, 0x6b, 0x69, 0x0f, 0x09, 0xd0, 0xd2, 0x26, 0xca, 0x4b, + 0x55, 0xaa, 0xc9, 0x7f, 0xa9, 0xc1, 0xfd, 0xea, 0x33, 0x34, 0x62, 0xed, 0x1d, 0x85, 0xef, 0x04, + 0x60, 0x95, 0x5e, 0x7a, 0xae, 0x6d, 0x5e, 0xe3, 0x35, 0x0f, 0x8d, 0xc0, 0x38, 0xaf, 0xf1, 0x1a, + 0x3d, 0x86, 0xae, 0xe3, 0xc6, 0x2b, 0xcf, 0x5a, 0x9b, 0xa5, 0xfb, 0x2f, 0x72, 0x1e, 0x4d, 0xb8, + 0x0f, 0x03, 0xfb, 0x1c, 0x9a, 0xae, 0x1d, 0x06, 0x14, 0x4b, 0x71, 0x97, 0x5f, 0x79, 0xaa, 0xe8, + 0x54, 0x58, 0xfe, 0x53, 0x1d, 0xbe, 0xb7, 0x69, 0xb6, 0xef, 0xa7, 0x81, 0x9b, 0xac, 0xa9, 0xe1, + 0x8f, 0x49, 0x23, 0xc0, 0x19, 0xa6, 0x9b, 0x65, 0x95, 0x98, 0xf3, 0x34, 0xe7, 0xff, 0x63, 0xfc, + 0x13, 0xe8, 0xf9, 0xd8, 0xbf, 0xc4, 0x51, 0xd6, 0x14, 0xb2, 0x7e, 0xb2, 0xcb, 0x99, 0xb4, 0x21, + 0xa4, 0x8f, 0x5a, 0xe8, 0x85, 0x11, 0x2f, 0x62, 0x8c, 0xc8, 0xfd, 0xee, 0x7c, 0x84, 0xdf, 0xe8, + 0xa7, 0xd0, 0xbe, 0x24, 0xe5, 0x25, 0xa2, 0x77, 0xeb, 0x3b, 0xa8, 0x71, 0x71, 0x52, 0x71, 0x36, + 0xe3, 0xcc, 0xea, 0x54, 0x0e, 0x17, 0x23, 0xcd, 0x34, 0x2d, 0xc1, 0xc5, 0x78, 0x8b, 0xd4, 0xa5, + 0x17, 0x11, 0xfb, 0xe1, 0xaf, 0xdd, 0xec, 0xde, 0x50, 0xe2, 0x06, 0x88, 0x8d, 0x0f, 0x82, 0xd8, + 0xbc, 0x09, 0xe2, 0x76, 0x7c, 0x46, 0x20, 0xe4, 0xe1, 0xe2, 0xef, 0xe7, 0xe7, 0xbb, 0x5a, 0xa7, + 0x4a, 0xf0, 0xf5, 0x42, 0x4f, 0xfe, 0x6f, 0x0d, 0xd0, 0xcd, 0x2e, 0x6b, 0x4b, 0x59, 0xf8, 0x8a, + 0x3d, 0xe2, 0x96, 0xcd, 0x1a, 0x5b, 0xf1, 0xfc, 0xc9, 0xee, 0xb3, 0xf2, 0xfb, 0xf1, 0x6a, 0x4f, + 0xcf, 0xb4, 0x90, 0x5a, 0x36, 0xb7, 0xf1, 0x11, 0xe6, 0xbe, 0xda, 0x2b, 0x19, 0x4c, 0xed, 0x60, + 0xa8, 0xf3, 0x0b, 0xb1, 0xdb, 0x8e, 0x22, 0x7e, 0xd4, 0x0e, 0x46, 0xbe, 0x10, 0xf2, 0x52, 0x2a, + 0x5f, 0xc1, 0xe1, 0x96, 0x0e, 0x13, 0xcd, 0x76, 0xf5, 0xa7, 0x35, 0xda, 0x26, 0x3c, 0xbc, 0xad, + 0x3f, 0xdd, 0xde, 0x9e, 0xfe, 0x13, 0x40, 0x2c, 0x75, 0xd6, 0x3b, 0xba, 0xb8, 0x4a, 0xbf, 0x55, + 0xa7, 0x2b, 0xa5, 0x7e, 0x2b, 0x1b, 0x2b, 0x1a, 0xa5, 0xb1, 0xe2, 0x11, 0x88, 0x11, 0x8e, 0x57, + 0x61, 0x10, 0x63, 0x33, 0x09, 0x79, 0xea, 0x40, 0xc6, 0x32, 0x42, 0x32, 0xe1, 0xe1, 0x20, 0x66, + 0xa9, 0xc7, 0x7b, 0x2f, 0x1c, 0xc4, 0x34, 0xed, 0x4a, 0xad, 0x70, 0xbb, 0xd2, 0x0a, 0x6f, 0x76, + 0xb5, 0x9d, 0x4f, 0x9e, 0x2e, 0xf6, 0x3f, 0x69, 0xba, 0xf8, 0x02, 0x3a, 0x31, 0x9b, 0x91, 0xf9, + 0x40, 0x30, 0x28, 0x36, 0xa8, 0x0e, 0xcf, 0x24, 0xac, 0x5c, 0x14, 0x9d, 0x41, 0x8b, 0x0e, 0x9f, + 0x03, 0xa0, 0x3a, 0xc7, 0x1b, 0x53, 0x6f, 0xa1, 0xc1, 0xc4, 0x88, 0xbc, 0x45, 0x46, 0xc0, 0x81, + 0xb8, 0x29, 0x5f, 0x1e, 0x2d, 0x89, 0x3c, 0x15, 0x43, 0x9f, 0x95, 0xd3, 0xb7, 0x4b, 0xae, 0x7f, + 0x35, 0x2f, 0x47, 0x70, 0xe0, 0xb0, 0x86, 0x25, 0xfb, 0x97, 0x60, 0x60, 0x6f, 0x5a, 0x5f, 0xed, + 0x68, 0x5e, 0xed, 0xe9, 0x7d, 0xa7, 0xda, 0x95, 0xe7, 0x63, 0x46, 0xaf, 0x3c, 0x66, 0x6c, 0xd6, + 0x90, 0xfe, 0xcd, 0x1a, 0xb2, 0x82, 0x21, 0xbf, 0x67, 0x66, 0x84, 0x7f, 0x93, 0xe2, 0x38, 0x31, + 0x57, 0x51, 0xb8, 0xb2, 0xae, 0xac, 0x84, 0x27, 0x31, 0x1e, 0x1c, 0x50, 0x73, 0x9e, 0x95, 0xa2, + 0xc1, 0x34, 0x74, 0xa6, 0x30, 0xcb, 0xe5, 0x49, 0xe6, 0x62, 0xfd, 0xc4, 0xbe, 0x6d, 0x79, 0xcb, + 0x0c, 0x28, 0x7d, 0xcc, 0x0c, 0xf8, 0x39, 0xb4, 0xe8, 0xff, 0x22, 0x83, 0x3b, 0xd4, 0xaa, 0x83, + 0x52, 0x88, 0x09, 0x5b, 0x67, 0xab, 0xbb, 0x47, 0x45, 0xf4, 0xc9, 0xa3, 0xe2, 0xdf, 0x1a, 0x20, + 0x8e, 0x2a, 0x9d, 0xda, 0x51, 0x36, 0xfe, 0x8f, 0x2e, 0xa6, 0x86, 0x3a, 0x35, 0xb2, 0x3f, 0x00, + 0xfa, 0x00, 0x86, 0xfa, 0x4b, 0xc3, 0x9c, 0xbd, 0x51, 0xb4, 0xa9, 0x54, 0x43, 0x22, 0x74, 0xe6, + 0x86, 0x36, 0x7a, 0xad, 0xea, 0x52, 0x1d, 0x01, 0xb4, 0xe7, 0x86, 0x62, 0x2c, 0xe6, 0x52, 0x83, + 0xb4, 0x0b, 0xea, 0xe4, 0xe2, 0x17, 0x9a, 0xd4, 0x44, 0xf7, 0xe0, 0xd0, 0xd0, 0x95, 0xe9, 0x5c, + 0x19, 0x19, 0xda, 0x05, 0xd9, 0x71, 0x32, 0x51, 0xa6, 0x63, 0xa9, 0x85, 0x4e, 0xe1, 0xe9, 0xfc, + 0xdd, 0xdc, 0x50, 0x27, 0xe6, 0x44, 0x9d, 0xcf, 0x95, 0x97, 0x6a, 0x7e, 0xda, 0x4c, 0xd7, 0xde, + 0x2a, 0x86, 0x6a, 0xbe, 0xd4, 0x2f, 0x16, 0x33, 0xa9, 0x5d, 0x34, 0x1f, 0x1d, 0xf2, 0x49, 0xff, + 0x92, 0x90, 0xf6, 0x51, 0x0f, 0x04, 0xb2, 0xd9, 0x62, 0xaa, 0x19, 0xef, 0x24, 0x01, 0x1d, 0x03, + 0xda, 0xd8, 0xee, 0xa5, 0x32, 0x93, 0x00, 0x1d, 0xc2, 0x01, 0xd9, 0x57, 0x19, 0x19, 0xa6, 0xae, + 0x7e, 0xb3, 0x50, 0xe7, 0x86, 0x24, 0x12, 0xe6, 0x58, 0x9b, 0x8f, 0x2e, 0xf4, 0x71, 0x26, 0x2d, + 0x75, 0xd1, 0x7d, 0xb8, 0xab, 0x8d, 0xd5, 0xa9, 0xa1, 0x19, 0xef, 0xcc, 0xb7, 0xaa, 0xae, 0x7d, + 0xad, 0x8d, 0x14, 0x62, 0xb3, 0xd4, 0x43, 0x8f, 0xe1, 0x64, 0x63, 0xf3, 0x99, 0x36, 0x9d, 0xaa, + 0x85, 0x76, 0x1f, 0x3d, 0x85, 0xe1, 0x86, 0xc8, 0x64, 0x61, 0x2c, 0x94, 0x37, 0xa6, 0xfa, 0x96, + 0xf8, 0x34, 0x57, 0xa7, 0x86, 0x74, 0xb0, 0xc5, 0xe9, 0x8a, 0x94, 0x32, 0x1a, 0xa9, 0x33, 0x43, + 0x1d, 0x4b, 0x12, 0x7a, 0x06, 0x4f, 0x6e, 0x93, 0xd4, 0xd5, 0xc9, 0xc5, 0x5b, 0x75, 0x2c, 0xdd, + 0x29, 0x95, 0xef, 0x17, 0xbd, 0x5f, 0x89, 0x67, 0x3f, 0xfa, 0x59, 0x96, 0x01, 0x97, 0x6d, 0xfa, + 0xf5, 0xfc, 0x7f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x3e, 0x26, 0x1f, 0x1a, 0xab, 0x13, 0x00, 0x00, } diff --git a/protocol/protobuf/chat_message.proto b/protocol/protobuf/chat_message.proto index ff2c99752..cc43082de 100644 --- a/protocol/protobuf/chat_message.proto +++ b/protocol/protobuf/chat_message.proto @@ -48,6 +48,7 @@ message EditMessage { ChatMessage.ContentType content_type = 7; repeated UnfurledLink unfurled_links = 8; + UnfurledStatusLinks unfurled_status_links = 9; } message DeleteMessage { @@ -108,6 +109,12 @@ message DiscordMessageAttachment { string localUrl = 8; } +message UnfurledLinkThumbnail { + bytes payload = 1; + uint32 width = 2; + uint32 height = 3; +} + message UnfurledLink { // A valid URL which uniquely identifies this link. string url = 1; @@ -127,6 +134,46 @@ message UnfurledLink { } } +message UnfurledStatusContactLink { + bytes public_key = 1; + string display_name = 2; + string description = 3; + UnfurledLinkThumbnail icon = 4; +} + +message UnfurledStatusCommunityLink { + bytes community_id = 1; + string display_name = 2; + string description = 3; + uint32 members_count = 4; + string color = 5; + UnfurledLinkThumbnail icon = 7; + UnfurledLinkThumbnail banner = 8; +} + +message UnfurledStatusChannelLink { + bytes channel_uuid = 1; + string emoji = 2; + string display_name = 3; + string description = 4; + string color = 5; + UnfurledStatusCommunityLink community = 6; +} + +message UnfurledStatusLink { + string url = 1; + oneof payload { + UnfurledStatusContactLink contact = 2; + UnfurledStatusCommunityLink community = 3; + UnfurledStatusChannelLink channel = 4; + } +} + +// Create a wrapper around repeated property for proper unmarshalling +message UnfurledStatusLinks { + repeated UnfurledStatusLink unfurled_status_links = 1; +} + message ChatMessage { // Lamport timestamp of the chat message uint64 clock = 1; @@ -171,6 +218,8 @@ message ChatMessage { Shard shard = 17; + UnfurledStatusLinks unfurled_status_links = 18; + enum ContentType { UNKNOWN_CONTENT_TYPE = 0; TEXT_PLAIN = 1; diff --git a/protocol/protobuf/sync_settings.pb.go b/protocol/protobuf/sync_settings.pb.go index 8112f9b14..2267e2f86 100644 --- a/protocol/protobuf/sync_settings.pb.go +++ b/protocol/protobuf/sync_settings.pb.go @@ -39,7 +39,6 @@ const ( SyncSetting_DISPLAY_NAME SyncSetting_Type = 13 SyncSetting_BIO SyncSetting_Type = 14 SyncSetting_MNEMONIC_REMOVED SyncSetting_Type = 15 - SyncSetting_INCLUDE_WATCHONLY_ACCOUNT SyncSetting_Type = 17 ) var SyncSetting_Type_name = map[int32]string{ @@ -225,37 +224,36 @@ func init() { } var fileDescriptor_e2f7a0bce2873c78 = []byte{ - // 508 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x92, 0xcf, 0x6f, 0xd3, 0x30, - 0x14, 0xc7, 0x9b, 0x35, 0x5d, 0xbb, 0x97, 0x6e, 0x33, 0xde, 0x04, 0x61, 0x80, 0x16, 0xc6, 0x25, - 0xa7, 0x20, 0x01, 0xe2, 0xc2, 0xc9, 0x75, 0xdc, 0xd5, 0x6a, 0x62, 0x47, 0xb6, 0xd3, 0xaa, 0x5c, - 0x2c, 0x5a, 0x95, 0xa9, 0xa2, 0x6a, 0xaa, 0x35, 0x43, 0xea, 0x91, 0x7f, 0x82, 0xbf, 0x17, 0x25, - 0xa1, 0xfc, 0x3c, 0xd9, 0xef, 0xfb, 0x3e, 0xef, 0xeb, 0xe7, 0x67, 0xc3, 0xc5, 0x6e, 0xbf, 0x59, - 0xd8, 0xdd, 0xb2, 0x2c, 0x57, 0x9b, 0xbb, 0x5d, 0xb4, 0xbd, 0x2f, 0xca, 0x02, 0xf7, 0xea, 0x65, - 0xfe, 0xf0, 0xf9, 0xe6, 0x5b, 0x07, 0x3c, 0xbd, 0xdf, 0x2c, 0x74, 0x03, 0xe0, 0x08, 0xdc, 0x72, - 0xbf, 0x5d, 0xfa, 0x4e, 0xe0, 0x84, 0x67, 0x6f, 0xae, 0xa2, 0x03, 0x18, 0xfd, 0x01, 0x45, 0x66, - 0xbf, 0x5d, 0xaa, 0x9a, 0xc3, 0x97, 0xd0, 0x59, 0xac, 0x8b, 0xc5, 0x17, 0xff, 0x28, 0x70, 0x42, - 0x57, 0x35, 0x01, 0x7e, 0x05, 0xfd, 0xaf, 0x9f, 0xd6, 0x0f, 0x4b, 0xbb, 0x2b, 0xef, 0x57, 0x9b, - 0x3b, 0xbf, 0x1d, 0x38, 0xe1, 0xc9, 0xa8, 0xa5, 0xbc, 0x5a, 0xd5, 0xb5, 0x88, 0x5f, 0x42, 0x13, - 0xda, 0xf9, 0xbe, 0x5c, 0xee, 0x7c, 0x37, 0x70, 0xc2, 0xfe, 0xa8, 0xa5, 0xa0, 0x16, 0x07, 0x95, - 0x86, 0xaf, 0x01, 0x7e, 0x22, 0x45, 0xb1, 0xf6, 0x3b, 0x81, 0x13, 0xf6, 0x46, 0x2d, 0x75, 0xd2, - 0x10, 0x45, 0xb1, 0xfe, 0xed, 0xb1, 0xda, 0x94, 0xef, 0xdf, 0xf9, 0xc7, 0x81, 0x13, 0xb6, 0x7f, - 0x79, 0xf0, 0x4a, 0xbb, 0xf9, 0xde, 0x06, 0xb7, 0x6a, 0x18, 0x7b, 0xd0, 0xcd, 0xc5, 0x58, 0xc8, - 0xa9, 0x40, 0x2d, 0xdc, 0x87, 0x1e, 0xcd, 0x95, 0x62, 0x82, 0xce, 0x90, 0x83, 0xcf, 0xc1, 0xbb, - 0xe5, 0x43, 0xab, 0x18, 0x65, 0xc2, 0x68, 0x74, 0x84, 0x31, 0x9c, 0x55, 0xc2, 0x90, 0x4c, 0x64, - 0xae, 0xb8, 0x61, 0x1a, 0xb5, 0xf1, 0x35, 0x3c, 0x4b, 0x99, 0xd6, 0xe4, 0x96, 0x69, 0x3b, 0x54, - 0x32, 0xb5, 0x54, 0x0a, 0x43, 0xa8, 0xd1, 0x56, 0x8a, 0x64, 0x86, 0xdc, 0xaa, 0x28, 0x53, 0x6c, - 0xc8, 0x94, 0x62, 0xb1, 0x15, 0x24, 0x65, 0xa8, 0x83, 0x2f, 0xe0, 0x3c, 0x53, 0x6c, 0xc2, 0xd9, - 0xd4, 0x66, 0x8a, 0x4f, 0x08, 0x9d, 0xa1, 0x63, 0xfc, 0x1c, 0xfc, 0x4c, 0xc9, 0x21, 0x4f, 0x98, - 0xcd, 0x38, 0x35, 0xb9, 0x62, 0xda, 0xea, 0x91, 0x9c, 0x5a, 0x23, 0x51, 0xb7, 0x3a, 0xe7, 0xbf, - 0xec, 0x84, 0x6b, 0x3e, 0xe0, 0x09, 0x37, 0x33, 0xd4, 0xc3, 0x4f, 0xe0, 0x42, 0x33, 0x11, 0x5b, - 0x6d, 0x88, 0xc9, 0xb5, 0xcd, 0xb3, 0x98, 0x54, 0x1d, 0x9e, 0x54, 0xbe, 0xda, 0x70, 0x3a, 0x66, - 0x4a, 0xdb, 0x8c, 0xd0, 0xb1, 0xb6, 0x5c, 0x68, 0x43, 0x92, 0x84, 0xc5, 0x08, 0xf0, 0x15, 0x3c, - 0xfe, 0x27, 0x9b, 0x31, 0x11, 0x73, 0x71, 0x8b, 0xbc, 0xbf, 0x2a, 0x9b, 0x29, 0xd8, 0x43, 0x8c, - 0xfa, 0x18, 0x41, 0x3f, 0xe6, 0x3a, 0x4b, 0xc8, 0xac, 0xb9, 0xd6, 0x29, 0xee, 0x42, 0x7b, 0xc0, - 0x25, 0x3a, 0xc3, 0x97, 0x80, 0x52, 0xc1, 0x52, 0x29, 0x38, 0xb5, 0x8a, 0xa5, 0x72, 0xc2, 0x62, - 0x74, 0x8e, 0x5f, 0xc0, 0x53, 0x2e, 0x68, 0x92, 0xc7, 0xcc, 0x4e, 0x89, 0xa1, 0xa3, 0x6a, 0x40, - 0x96, 0x50, 0x2a, 0x73, 0x61, 0xd0, 0xa3, 0x1b, 0xb7, 0x87, 0x10, 0x1a, 0x74, 0xa1, 0xd3, 0x3c, - 0xe4, 0xe9, 0x47, 0x2f, 0x7a, 0xfd, 0xe1, 0xf0, 0xd3, 0xe6, 0xc7, 0xf5, 0xee, 0xed, 0x8f, 0x00, - 0x00, 0x00, 0xff, 0xff, 0xe1, 0x41, 0x4b, 0xcb, 0xba, 0x02, 0x00, 0x00, + // 484 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x92, 0x4d, 0x8f, 0xda, 0x3c, + 0x10, 0x80, 0x09, 0x84, 0xaf, 0x09, 0x0b, 0x96, 0x59, 0xbd, 0x6f, 0xb4, 0xad, 0xb4, 0x29, 0xbd, + 0xe4, 0x94, 0x4a, 0x6d, 0xd5, 0x4b, 0x4f, 0x21, 0x31, 0x60, 0x91, 0xd8, 0x91, 0xed, 0x80, 0xe8, + 0xc5, 0x2a, 0x88, 0xae, 0x50, 0x11, 0x41, 0x4b, 0xb6, 0x52, 0xfe, 0x6e, 0xff, 0x44, 0xaf, 0x55, + 0x92, 0xd2, 0xcf, 0x53, 0x32, 0xcf, 0x3c, 0x33, 0x1e, 0x7f, 0xc0, 0xf8, 0x52, 0x9c, 0x76, 0xfa, + 0xb2, 0xcf, 0xf3, 0xc3, 0xe9, 0xe1, 0xe2, 0x9d, 0x1f, 0xb3, 0x3c, 0xc3, 0xbd, 0xea, 0xb3, 0x7d, + 0xfa, 0x34, 0xf9, 0x6a, 0x82, 0x25, 0x8b, 0xd3, 0x4e, 0xd6, 0x02, 0xf6, 0xc0, 0xcc, 0x8b, 0xf3, + 0xde, 0x36, 0x1c, 0xc3, 0x1d, 0xbe, 0xbe, 0xf3, 0xae, 0xa2, 0xf7, 0x9b, 0xe4, 0xa9, 0xe2, 0xbc, + 0x17, 0x95, 0x87, 0x6f, 0xa1, 0xbd, 0x3b, 0x66, 0xbb, 0xcf, 0x76, 0xd3, 0x31, 0x5c, 0x53, 0xd4, + 0x01, 0x7e, 0x09, 0x83, 0x2f, 0x1f, 0x8f, 0x4f, 0x7b, 0x7d, 0xc9, 0x1f, 0x0f, 0xa7, 0x07, 0xbb, + 0xe5, 0x18, 0x6e, 0x7f, 0xd1, 0x10, 0x56, 0x45, 0x65, 0x05, 0xf1, 0x0b, 0xa8, 0x43, 0xbd, 0x2d, + 0xf2, 0xfd, 0xc5, 0x36, 0x1d, 0xc3, 0x1d, 0x2c, 0x1a, 0x02, 0x2a, 0x38, 0x2d, 0x19, 0xbe, 0x07, + 0xf8, 0xa1, 0x64, 0xd9, 0xd1, 0x6e, 0x3b, 0x86, 0xdb, 0x5b, 0x34, 0x44, 0xbf, 0x36, 0xb2, 0xec, + 0xf8, 0xab, 0xc7, 0xe1, 0x94, 0xbf, 0x7b, 0x6b, 0x77, 0x1c, 0xc3, 0x6d, 0xfd, 0xec, 0x41, 0x4b, + 0x36, 0xf9, 0xd6, 0x04, 0xb3, 0x1c, 0x18, 0x5b, 0xd0, 0x4d, 0xd9, 0x92, 0xf1, 0x35, 0x43, 0x0d, + 0x3c, 0x80, 0x5e, 0x90, 0x0a, 0x41, 0x58, 0xb0, 0x41, 0x06, 0x1e, 0x81, 0x35, 0xa7, 0x33, 0x2d, + 0x48, 0x40, 0x98, 0x92, 0xa8, 0x89, 0x31, 0x0c, 0x4b, 0x30, 0xf3, 0x57, 0x3c, 0x15, 0x54, 0x11, + 0x89, 0x5a, 0xf8, 0x1e, 0x9e, 0xc5, 0x44, 0x4a, 0x7f, 0x4e, 0xa4, 0x9e, 0x09, 0x1e, 0xeb, 0x80, + 0x33, 0xe5, 0x07, 0x4a, 0x6a, 0xce, 0xa2, 0x0d, 0x32, 0xcb, 0xa2, 0x44, 0x90, 0x19, 0x11, 0x82, + 0x84, 0x9a, 0xf9, 0x31, 0x41, 0x6d, 0x3c, 0x86, 0x51, 0x22, 0xc8, 0x8a, 0x92, 0xb5, 0x4e, 0x04, + 0x5d, 0xf9, 0xc1, 0x06, 0x75, 0xf0, 0x73, 0xb0, 0x13, 0xc1, 0x67, 0x34, 0x22, 0x3a, 0xa1, 0x81, + 0x4a, 0x05, 0x91, 0x5a, 0x2e, 0xf8, 0x5a, 0x2b, 0x8e, 0xba, 0xe5, 0x3a, 0xff, 0x64, 0x57, 0x54, + 0xd2, 0x29, 0x8d, 0xa8, 0xda, 0xa0, 0x1e, 0xfe, 0x1f, 0xc6, 0x92, 0xb0, 0x50, 0x4b, 0xe5, 0xab, + 0x54, 0xea, 0x34, 0x09, 0xfd, 0x72, 0xc2, 0x7e, 0xd9, 0x57, 0x2a, 0x1a, 0x2c, 0x89, 0x90, 0x3a, + 0xf1, 0x83, 0xa5, 0xd4, 0x94, 0x49, 0xe5, 0x47, 0x11, 0x09, 0x11, 0xe0, 0x3b, 0xf8, 0xef, 0xaf, + 0x6c, 0x42, 0x58, 0x48, 0xd9, 0x1c, 0x59, 0x7f, 0x54, 0xd6, 0xa7, 0xa0, 0xaf, 0x31, 0x1a, 0x60, + 0x04, 0x83, 0x90, 0xca, 0x24, 0xf2, 0x37, 0xf5, 0xb6, 0x6e, 0x70, 0x17, 0x5a, 0x53, 0xca, 0xd1, + 0x10, 0xdf, 0x02, 0x8a, 0x19, 0x89, 0x39, 0xa3, 0x81, 0x16, 0x24, 0xe6, 0x2b, 0x12, 0xa2, 0xd1, + 0xc4, 0xec, 0x21, 0x84, 0xa6, 0x5d, 0x68, 0xd7, 0x37, 0x75, 0xf3, 0xc1, 0xf2, 0x5e, 0xbd, 0xbf, + 0x3e, 0xa5, 0x6d, 0xa7, 0xfa, 0x7b, 0xf3, 0x3d, 0x00, 0x00, 0xff, 0xff, 0xd4, 0x80, 0xfb, 0x9e, + 0x9b, 0x02, 0x00, 0x00, } diff --git a/protocol/pushnotificationclient/migrations/migrations.go b/protocol/pushnotificationclient/migrations/migrations.go index e698285bd..9088dbda0 100644 --- a/protocol/pushnotificationclient/migrations/migrations.go +++ b/protocol/pushnotificationclient/migrations/migrations.go @@ -90,7 +90,7 @@ func _1593601729_initial_schemaDownSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1593601729_initial_schema.down.sql", size: 144, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} + info := bindataFileInfo{name: "1593601729_initial_schema.down.sql", size: 144, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -110,7 +110,7 @@ func _1593601729_initial_schemaUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1593601729_initial_schema.up.sql", size: 1773, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} + info := bindataFileInfo{name: "1593601729_initial_schema.up.sql", size: 1773, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -130,7 +130,7 @@ func _1597909626_add_server_typeDownSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1597909626_add_server_type.down.sql", size: 0, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} + info := bindataFileInfo{name: "1597909626_add_server_type.down.sql", size: 0, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -150,7 +150,7 @@ func _1597909626_add_server_typeUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1597909626_add_server_type.up.sql", size: 145, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} + info := bindataFileInfo{name: "1597909626_add_server_type.up.sql", size: 145, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -170,7 +170,7 @@ func _1599053776_add_chat_id_and_typeDownSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1599053776_add_chat_id_and_type.down.sql", size: 0, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} + info := bindataFileInfo{name: "1599053776_add_chat_id_and_type.down.sql", size: 0, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -190,7 +190,7 @@ func _1599053776_add_chat_id_and_typeUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1599053776_add_chat_id_and_type.up.sql", size: 264, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} + info := bindataFileInfo{name: "1599053776_add_chat_id_and_type.up.sql", size: 264, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -210,7 +210,7 @@ func docGo() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "doc.go", size: 382, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} + info := bindataFileInfo{name: "doc.go", size: 382, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } diff --git a/protocol/pushnotificationserver/migrations/migrations.go b/protocol/pushnotificationserver/migrations/migrations.go index f2721f1ef..e8e4497cb 100644 --- a/protocol/pushnotificationserver/migrations/migrations.go +++ b/protocol/pushnotificationserver/migrations/migrations.go @@ -88,7 +88,7 @@ func _1593601728_initial_schemaDownSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1593601728_initial_schema.down.sql", size: 200, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} + info := bindataFileInfo{name: "1593601728_initial_schema.down.sql", size: 200, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -108,7 +108,7 @@ func _1593601728_initial_schemaUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1593601728_initial_schema.up.sql", size: 675, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} + info := bindataFileInfo{name: "1593601728_initial_schema.up.sql", size: 675, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -128,7 +128,7 @@ func _1598419937_add_push_notifications_tableDownSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1598419937_add_push_notifications_table.down.sql", size: 51, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} + info := bindataFileInfo{name: "1598419937_add_push_notifications_table.down.sql", size: 51, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -148,7 +148,7 @@ func _1598419937_add_push_notifications_tableUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1598419937_add_push_notifications_table.up.sql", size: 104, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} + info := bindataFileInfo{name: "1598419937_add_push_notifications_table.up.sql", size: 104, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -168,7 +168,7 @@ func docGo() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "doc.go", size: 382, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} + info := bindataFileInfo{name: "doc.go", size: 382, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } diff --git a/protocol/requests/edit_message.go b/protocol/requests/edit_message.go index 7c807a02a..60c88f21a 100644 --- a/protocol/requests/edit_message.go +++ b/protocol/requests/edit_message.go @@ -12,10 +12,11 @@ var ErrEditMessageInvalidID = errors.New("edit-message: invalid id") var ErrEditMessageInvalidText = errors.New("edit-message: invalid text") type EditMessage struct { - ID types.HexBytes `json:"id"` - Text string `json:"text"` - ContentType protobuf.ChatMessage_ContentType `json:"content-type"` - LinkPreviews []common.LinkPreview `json:"linkPreviews"` + ID types.HexBytes `json:"id"` + Text string `json:"text"` + ContentType protobuf.ChatMessage_ContentType `json:"content-type"` + LinkPreviews []common.LinkPreview `json:"linkPreviews"` + StatusLinkPreviews []common.StatusLinkPreview `json:"statusLinkPreviews"` } func (e *EditMessage) Validate() error { diff --git a/protocol/transport/migrations/migrations.go b/protocol/transport/migrations/migrations.go index 4dee6977e..d21b1733e 100644 --- a/protocol/transport/migrations/migrations.go +++ b/protocol/transport/migrations/migrations.go @@ -89,7 +89,7 @@ func _1561059284_add_waku_keysDownSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1561059284_add_waku_keys.down.sql", size: 22, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} + info := bindataFileInfo{name: "1561059284_add_waku_keys.down.sql", size: 22, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -109,7 +109,7 @@ func _1561059284_add_waku_keysUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1561059284_add_waku_keys.up.sql", size: 109, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} + info := bindataFileInfo{name: "1561059284_add_waku_keys.up.sql", size: 109, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -129,7 +129,7 @@ func _1616691080_add_wakuv2_keysDownSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1616691080_add_wakuV2_keys.down.sql", size: 24, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} + info := bindataFileInfo{name: "1616691080_add_wakuV2_keys.down.sql", size: 24, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -149,7 +149,7 @@ func _1616691080_add_wakuv2_keysUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1616691080_add_wakuV2_keys.up.sql", size: 111, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} + info := bindataFileInfo{name: "1616691080_add_wakuV2_keys.up.sql", size: 111, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -169,7 +169,7 @@ func _1634723014_add_wakuv2_keysUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1634723014_add_wakuV2_keys.up.sql", size: 125, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} + info := bindataFileInfo{name: "1634723014_add_wakuV2_keys.up.sql", size: 125, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -189,7 +189,7 @@ func docGo() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "doc.go", size: 373, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} + info := bindataFileInfo{name: "doc.go", size: 373, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } diff --git a/server/handlers.go b/server/handlers.go index 28d1f120d..82dcb3648 100644 --- a/server/handlers.go +++ b/server/handlers.go @@ -3,9 +3,7 @@ package server import ( "bytes" "database/sql" - "encoding/json" "errors" - "fmt" "image" "image/color" "net/http" @@ -22,17 +20,17 @@ import ( "github.com/status-im/status-go/multiaccounts" "github.com/status-im/status-go/protocol/identity/colorhash" "github.com/status-im/status-go/protocol/identity/ring" - "github.com/status-im/status-go/protocol/protobuf" ) const ( - basePath = "/messages" - imagesPath = basePath + "/images" - audioPath = basePath + "/audio" - ipfsPath = "/ipfs" - discordAuthorsPath = "/discord/authors" - discordAttachmentsPath = basePath + "/discord/attachments" - LinkPreviewThumbnailPath = "/link-preview/thumbnail" + basePath = "/messages" + imagesPath = basePath + "/images" + audioPath = basePath + "/audio" + ipfsPath = "/ipfs" + discordAuthorsPath = "/discord/authors" + discordAttachmentsPath = basePath + "/discord/attachments" + LinkPreviewThumbnailPath = "/link-preview/thumbnail" + StatusLinkPreviewThumbnailPath = "/status-link-preview/thumbnail" // Handler routes for pairing accountImagesPath = "/accountImages" @@ -80,6 +78,7 @@ type ImageParams struct { URL string MessageID string AttachmentID string + ImageID string Hash string Download bool @@ -266,6 +265,10 @@ func ParseImageParams(logger *zap.Logger, params url.Values) ImageParams { parsed.AuthorID = authorIds[0] } + if imageIds := params["image-id"]; len(imageIds) != 0 { + parsed.ImageID = imageIds[0] + } + urls := params["url"] if len(urls) != 0 { parsed.URL = urls[0] @@ -917,66 +920,3 @@ func handleQRCodeGeneration(multiaccountsDB *multiaccounts.Database, logger *zap } } } - -func getThumbnailPayload(db *sql.DB, logger *zap.Logger, msgID string, thumbnailURL string) ([]byte, error) { - var payload []byte - - var result []byte - err := db.QueryRow(`SELECT unfurled_links FROM user_messages WHERE id = ?`, msgID).Scan(&result) - if err != nil { - return payload, fmt.Errorf("could not find message with message-id '%s': %w", msgID, err) - } - - var links []*protobuf.UnfurledLink - err = json.Unmarshal(result, &links) - if err != nil { - return payload, fmt.Errorf("failed to unmarshal protobuf.UrlPreview: %w", err) - } - - for _, p := range links { - if p.Url == thumbnailURL { - payload = p.ThumbnailPayload - break - } - } - - return payload, nil -} - -func handleLinkPreviewThumbnail(db *sql.DB, logger *zap.Logger) http.HandlerFunc { - return func(w http.ResponseWriter, r *http.Request) { - params := r.URL.Query() - parsed := ParseImageParams(logger, params) - - if parsed.MessageID == "" { - http.Error(w, "missing query parameter 'message-id'", http.StatusBadRequest) - return - } - - if parsed.URL == "" { - http.Error(w, "missing query parameter 'url'", http.StatusBadRequest) - return - } - - thumbnail, err := getThumbnailPayload(db, logger, parsed.MessageID, parsed.URL) - if err != nil { - logger.Error("failed to get thumbnail", zap.String("msgID", parsed.MessageID)) - http.Error(w, "failed to get thumbnail", http.StatusInternalServerError) - return - } - - mimeType, err := images.GetMimeType(thumbnail) - if err != nil { - http.Error(w, "mime type not supported", http.StatusNotImplemented) - return - } - - w.Header().Set("Content-Type", "image/"+mimeType) - w.Header().Set("Cache-Control", "no-store") - - _, err = w.Write(thumbnail) - if err != nil { - logger.Error("failed to write response", zap.Error(err)) - } - } -} diff --git a/server/handlers_linkpreview.go b/server/handlers_linkpreview.go new file mode 100644 index 000000000..a3af9728e --- /dev/null +++ b/server/handlers_linkpreview.go @@ -0,0 +1,209 @@ +package server + +import ( + "database/sql" + "encoding/json" + "fmt" + "net/http" + + "github.com/golang/protobuf/proto" + "go.uber.org/zap" + + "github.com/status-im/status-go/images" + "github.com/status-im/status-go/protocol/common" + "github.com/status-im/status-go/protocol/protobuf" +) + +func getThumbnailPayload(db *sql.DB, logger *zap.Logger, msgID string, thumbnailURL string) ([]byte, error) { + var payload []byte + + var result []byte + err := db.QueryRow(`SELECT unfurled_links FROM user_messages WHERE id = ?`, msgID).Scan(&result) + if err != nil { + return payload, fmt.Errorf("could not find message with message-id '%s': %w", msgID, err) + } + + var links []*protobuf.UnfurledLink + err = json.Unmarshal(result, &links) + if err != nil { + return payload, fmt.Errorf("failed to unmarshal protobuf.UrlPreview: %w", err) + } + + for _, p := range links { + if p.Url == thumbnailURL { + payload = p.ThumbnailPayload + break + } + } + + return payload, nil +} + +func handleLinkPreviewThumbnail(db *sql.DB, logger *zap.Logger) http.HandlerFunc { + return func(w http.ResponseWriter, r *http.Request) { + params := r.URL.Query() + parsed := ParseImageParams(logger, params) + + if parsed.MessageID == "" { + http.Error(w, "missing query parameter 'message-id'", http.StatusBadRequest) + return + } + + if parsed.URL == "" { + http.Error(w, "missing query parameter 'url'", http.StatusBadRequest) + return + } + + thumbnail, err := getThumbnailPayload(db, logger, parsed.MessageID, parsed.URL) + if err != nil { + logger.Error("failed to get thumbnail", zap.String("msgID", parsed.MessageID)) + http.Error(w, "failed to get thumbnail", http.StatusInternalServerError) + return + } + + mimeType, err := images.GetMimeType(thumbnail) + if err != nil { + http.Error(w, "mime type not supported", http.StatusNotImplemented) + return + } + + w.Header().Set("Content-Type", "image/"+mimeType) + w.Header().Set("Cache-Control", "no-store") + + _, err = w.Write(thumbnail) + if err != nil { + logger.Error("failed to write response", zap.Error(err)) + } + } +} + +func getStatusLinkPreviewImage(p *protobuf.UnfurledStatusLink, imageID common.MediaServerImageID) ([]byte, error) { + + switch imageID { + case common.MediaServerContactIcon: + contact := p.GetContact() + if contact == nil { + return nil, fmt.Errorf("this is not a contact link") + } + if contact.Icon == nil { + return nil, fmt.Errorf("contact icon is empty") + } + return contact.Icon.Payload, nil + + case common.MediaServerCommunityIcon: + community := p.GetCommunity() + if community == nil { + return nil, fmt.Errorf("this is not a community link") + } + if community.Icon == nil { + return nil, fmt.Errorf("community icon is empty") + } + return community.Icon.Payload, nil + + case common.MediaServerCommunityBanner: + community := p.GetCommunity() + if community == nil { + return nil, fmt.Errorf("this is not a community link") + } + if community.Banner == nil { + return nil, fmt.Errorf("community banner is empty") + } + return community.Banner.Payload, nil + + case common.MediaServerChannelCommunityIcon: + channel := p.GetChannel() + if channel == nil { + return nil, fmt.Errorf("this is not a community channel link") + } + if channel.Community == nil { + return nil, fmt.Errorf("channel community is empty") + } + if channel.Community.Icon == nil { + return nil, fmt.Errorf("channel community icon is empty") + } + return channel.Community.Icon.Payload, nil + + case common.MediaServerChannelCommunityBanner: + channel := p.GetChannel() + if channel == nil { + return nil, fmt.Errorf("this is not a community channel link") + } + if channel.Community == nil { + return nil, fmt.Errorf("channel community is empty") + } + if channel.Community.Banner == nil { + return nil, fmt.Errorf("channel community banner is empty") + } + return channel.Community.Banner.Payload, nil + } + + return nil, fmt.Errorf("value not supported") +} + +func getStatusLinkPreviewThumbnail(db *sql.DB, messageID string, URL string, imageID common.MediaServerImageID) ([]byte, int, error) { + var messageLinks []byte + err := db.QueryRow(`SELECT unfurled_status_links FROM user_messages WHERE id = ?`, messageID).Scan(&messageLinks) + if err != nil { + return nil, http.StatusBadRequest, fmt.Errorf("could not find message with message-id '%s': %w", messageID, err) + } + + var links protobuf.UnfurledStatusLinks + err = proto.Unmarshal(messageLinks, &links) + if err != nil { + return nil, http.StatusInternalServerError, fmt.Errorf("failed to unmarshal protobuf.UrlPreview: %w", err) + } + + for _, p := range links.UnfurledStatusLinks { + if p.Url == URL { + thumbnailPayload, err := getStatusLinkPreviewImage(p, imageID) + if err != nil { + return nil, http.StatusBadRequest, fmt.Errorf("invalid query parameter 'image-id' value: %w", err) + } + return thumbnailPayload, http.StatusOK, nil + } + } + + return nil, http.StatusBadRequest, fmt.Errorf("no link preview found for given url") +} + +func handleStatusLinkPreviewThumbnail(db *sql.DB, logger *zap.Logger) http.HandlerFunc { + return func(w http.ResponseWriter, r *http.Request) { + params := r.URL.Query() + parsed := ParseImageParams(logger, params) + + if parsed.MessageID == "" { + http.Error(w, "missing query parameter 'message-id'", http.StatusBadRequest) + return + } + + if parsed.URL == "" { + http.Error(w, "missing query parameter 'url'", http.StatusBadRequest) + return + } + + if parsed.ImageID == "" { + http.Error(w, "missing query parameter 'image-id'", http.StatusBadRequest) + return + } + + thumbnail, httpsStatusCode, err := getStatusLinkPreviewThumbnail(db, parsed.MessageID, parsed.URL, common.MediaServerImageID(parsed.ImageID)) + if err != nil { + http.Error(w, err.Error(), httpsStatusCode) + return + } + + mimeType, err := images.GetMimeType(thumbnail) + if err != nil { + http.Error(w, "mime type not supported", http.StatusNotImplemented) + return + } + + w.Header().Set("Content-Type", "image/"+mimeType) + w.Header().Set("Cache-Control", "no-store") + + _, err = w.Write(thumbnail) + if err != nil { + logger.Error("failed to write response", zap.Error(err)) + } + } +} diff --git a/server/handlers_test.go b/server/handlers_test.go index 645af3f91..8e87ce7c1 100644 --- a/server/handlers_test.go +++ b/server/handlers_test.go @@ -8,28 +8,40 @@ import ( "net/url" "testing" - "github.com/stretchr/testify/require" + "github.com/golang/protobuf/proto" + "github.com/stretchr/testify/suite" "go.uber.org/zap" "github.com/status-im/status-go/appdatabase" - "github.com/status-im/status-go/logutils" "github.com/status-im/status-go/protocol/common" "github.com/status-im/status-go/protocol/protobuf" "github.com/status-im/status-go/protocol/sqlite" + "github.com/status-im/status-go/protocol/tt" "github.com/status-im/status-go/t/helpers" ) -func setupTest(t *testing.T) (*sql.DB, *zap.Logger) { - db, err := helpers.SetupTestMemorySQLDB(appdatabase.DbInitializer{}) - require.NoError(t, err) - err = sqlite.Migrate(db) - require.NoError(t, err) - - logger := logutils.ZapLogger() - return db, logger +func TestHandlersSuite(t *testing.T) { + suite.Run(t, new(HandlersSuite)) } -func createUserMessage(t *testing.T, db *sql.DB, msg *common.Message) { +type HandlersSuite struct { + suite.Suite + db *sql.DB + logger *zap.Logger +} + +func (s *HandlersSuite) SetupTest() { + db, err := helpers.SetupTestMemorySQLDB(appdatabase.DbInitializer{}) + s.Require().NoError(err) + + err = sqlite.Migrate(db) + s.Require().NoError(err) + + s.logger = tt.MustCreateTestLogger() + s.db = db +} + +func (s *HandlersSuite) saveUserMessage(msg *common.Message) { whisperTimestamp := 0 source := "" text := "" @@ -40,7 +52,7 @@ func createUserMessage(t *testing.T, db *sql.DB, msg *common.Message) { responseTo := "" clockValue := 0 - stmt, err := db.Prepare(` + stmt, err := s.db.Prepare(` INSERT INTO user_messages ( id, whisper_timestamp, @@ -52,13 +64,25 @@ func createUserMessage(t *testing.T, db *sql.DB, msg *common.Message) { local_chat_id, response_to, clock_value, - unfurled_links - ) VALUES (?,?,?,?,?,?,?,?,?,?,?) + unfurled_links, + unfurled_status_links + ) VALUES (?,?,?,?,?,?,?,?,?,?,?,?) `) - require.NoError(t, err) - links, err := json.Marshal(msg.UnfurledLinks) - require.NoError(t, err) + s.Require().NoError(err) + + links := []byte{} + statusLinks := []byte{} + + if msg.UnfurledLinks != nil { + links, err = json.Marshal(msg.UnfurledLinks) + s.Require().NoError(err) + } + + if msg.UnfurledStatusLinks != nil { + statusLinks, err = proto.Marshal(msg.UnfurledStatusLinks) + s.Require().NoError(err) + } _, err = stmt.Exec( msg.ID, @@ -72,13 +96,14 @@ func createUserMessage(t *testing.T, db *sql.DB, msg *common.Message) { responseTo, clockValue, links, + statusLinks, ) - require.NoError(t, err) + s.Require().NoError(err) } -func httpGetReqRecorder(t *testing.T, handler http.HandlerFunc, reqURL string) *httptest.ResponseRecorder { +func (s *HandlersSuite) httpGetReqRecorder(handler http.HandlerFunc, reqURL string) *httptest.ResponseRecorder { req, err := http.NewRequest("GET", reqURL, nil) - require.NoError(t, err) + s.Require().NoError(err) rr := httptest.NewRecorder() handler.ServeHTTP(rr, req) @@ -86,49 +111,437 @@ func httpGetReqRecorder(t *testing.T, handler http.HandlerFunc, reqURL string) * return rr } -func TestHandleLinkPreviewThumbnail(t *testing.T) { - db, logger := setupTest(t) +func (s *HandlersSuite) verifyHTTPResponseThumbnail(rr *httptest.ResponseRecorder, expectedPayload []byte) { + s.Require().Equal(expectedPayload, rr.Body.Bytes()) + s.Require().Equal("image/jpeg", rr.HeaderMap.Get("Content-Type")) + s.Require().Equal("no-store", rr.HeaderMap.Get("Cache-Control")) +} + +func (s *HandlersSuite) TestHandleLinkPreviewThumbnail() { previewURL := "https://github.com" + defaultPayload := []byte{0xff, 0xd8, 0xff, 0xdb, 0x0, 0x84, 0x0, 0x50, 0x37, 0x3c, 0x46, 0x3c, 0x32, 0x50} msg := common.Message{ ID: "1", ChatMessage: &protobuf.ChatMessage{ UnfurledLinks: []*protobuf.UnfurledLink{ { - Type: protobuf.UnfurledLink_LINK, - Url: previewURL, - ThumbnailWidth: 100, - ThumbnailHeight: 200, - ThumbnailPayload: []byte{0xff, 0xd8, 0xff, 0xdb, 0x0, 0x84, 0x0, 0x50, 0x37, 0x3c, 0x46, 0x3c, 0x32, 0x50}, + Type: protobuf.UnfurledLink_LINK, + Url: previewURL, + ThumbnailWidth: 100, + ThumbnailHeight: 200, }, }, }, } - createUserMessage(t, db, &msg) + s.saveUserMessage(&msg) - // Test happy path. - reqURL := "/dummy?" + url.Values{"message-id": {msg.ID}, "url": {previewURL}}.Encode() - rr := httpGetReqRecorder(t, handleLinkPreviewThumbnail(db, logger), reqURL) - require.Equal(t, http.StatusOK, rr.Code) - require.Equal(t, msg.UnfurledLinks[0].ThumbnailPayload, rr.Body.Bytes()) - require.Equal(t, "image/jpeg", rr.HeaderMap.Get("Content-Type")) - require.Equal(t, "no-store", rr.HeaderMap.Get("Cache-Control")) + testCases := []struct { + Name string + ExpectedHTTPStatusCode int + ThumbnailPayload []byte + Parameters url.Values + CheckFunc func(s *HandlersSuite, rr *httptest.ResponseRecorder) + }{ + { + Name: "Test happy path", + ExpectedHTTPStatusCode: http.StatusOK, + ThumbnailPayload: defaultPayload, + Parameters: url.Values{ + "message-id": {msg.ID}, + "url": {previewURL}, + }, + CheckFunc: func(s *HandlersSuite, rr *httptest.ResponseRecorder) { + s.verifyHTTPResponseThumbnail(rr, msg.UnfurledLinks[0].ThumbnailPayload) + }, + }, + { + Name: "Test request with missing 'url' parameter", + ThumbnailPayload: defaultPayload, + ExpectedHTTPStatusCode: http.StatusBadRequest, + Parameters: url.Values{ + "message-id": {msg.ID}, + }, + CheckFunc: func(s *HandlersSuite, rr *httptest.ResponseRecorder) { + s.Require().Equal("missing query parameter 'url'\n", rr.Body.String()) + }, + }, + { + Name: "Test request with missing 'message-id' parameter", + ThumbnailPayload: defaultPayload, + ExpectedHTTPStatusCode: http.StatusBadRequest, + Parameters: url.Values{ + "url": {previewURL}, + }, + CheckFunc: func(s *HandlersSuite, rr *httptest.ResponseRecorder) { + s.Require().Equal("missing query parameter 'message-id'\n", rr.Body.String()) + }, + }, + { + Name: "Test mime type not supported", + ThumbnailPayload: []byte("unsupported image"), + ExpectedHTTPStatusCode: http.StatusNotImplemented, + Parameters: url.Values{ + "message-id": {msg.ID}, + "url": {previewURL}, + }, + }, + } - // Test bad requests. - reqURL = "/dummy?" + url.Values{"message-id": {msg.ID}}.Encode() - rr = httpGetReqRecorder(t, handleLinkPreviewThumbnail(db, logger), reqURL) - require.Equal(t, http.StatusBadRequest, rr.Code) - require.Equal(t, "missing query parameter 'url'\n", rr.Body.String()) + handler := handleLinkPreviewThumbnail(s.db, s.logger) - reqURL = "/dummy?" + url.Values{"url": {previewURL}}.Encode() - rr = httpGetReqRecorder(t, handleLinkPreviewThumbnail(db, logger), reqURL) - require.Equal(t, http.StatusBadRequest, rr.Code) - require.Equal(t, "missing query parameter 'message-id'\n", rr.Body.String()) + for _, tc := range testCases { + s.Run(tc.Name, func() { + msg.UnfurledLinks[0].ThumbnailPayload = tc.ThumbnailPayload + s.saveUserMessage(&msg) - // Test mime type not supported. - msg.UnfurledLinks[0].ThumbnailPayload = []byte("unsupported image") - createUserMessage(t, db, &msg) - reqURL = "/dummy?" + url.Values{"message-id": {msg.ID}, "url": {previewURL}}.Encode() - rr = httpGetReqRecorder(t, handleLinkPreviewThumbnail(db, logger), reqURL) - require.Equal(t, http.StatusNotImplemented, rr.Code) + requestURL := "/dummy?" + tc.Parameters.Encode() + rr := s.httpGetReqRecorder(handler, requestURL) + s.Require().Equal(tc.ExpectedHTTPStatusCode, rr.Code) + if tc.CheckFunc != nil { + tc.CheckFunc(s, rr) + } + }) + } +} + +func (s *HandlersSuite) TestHandleStatusLinkPreviewThumbnail() { + contact := &protobuf.UnfurledStatusContactLink{ + PublicKey: []byte("PublicKey_1"), + Icon: &protobuf.UnfurledLinkThumbnail{ + Width: 10, + Height: 20, + Payload: []byte{0xff, 0xd8, 0xff, 0xdb, 0x0, 0x84, 0x0, 0x50, 0x37, 0x3c, 0x46, 0x3c, 0x32, 0x50}, + }, + } + + contactWithUnsupportedImage := &protobuf.UnfurledStatusContactLink{ + PublicKey: []byte("PublicKey_2"), + Icon: &protobuf.UnfurledLinkThumbnail{ + Width: 10, + Height: 20, + Payload: []byte("unsupported image"), + }, + } + + community := &protobuf.UnfurledStatusCommunityLink{ + CommunityId: []byte("CommunityId_1"), + Icon: &protobuf.UnfurledLinkThumbnail{ + Width: 30, + Height: 40, + Payload: []byte{0xff, 0xd8, 0xff, 0xdb, 0x0, 0x84, 0x0, 0x50, 0x37, 0x3c, 0x46, 0x3c, 0x32, 0x51}, + }, + Banner: &protobuf.UnfurledLinkThumbnail{ + Width: 50, + Height: 60, + Payload: []byte{0xff, 0xd8, 0xff, 0xdb, 0x0, 0x84, 0x0, 0x50, 0x37, 0x3c, 0x46, 0x3c, 0x32, 0x52}, + }, + } + + channel := &protobuf.UnfurledStatusChannelLink{ + ChannelUuid: []byte("ChannelUuid_1"), + Community: &protobuf.UnfurledStatusCommunityLink{ + CommunityId: []byte("CommunityId_2"), + Icon: &protobuf.UnfurledLinkThumbnail{ + Width: 70, + Height: 80, + Payload: []byte{0xff, 0xd8, 0xff, 0xdb, 0x0, 0x84, 0x0, 0x50, 0x37, 0x3c, 0x46, 0x3c, 0x32, 0x53}, + }, + Banner: &protobuf.UnfurledLinkThumbnail{ + Width: 90, + Height: 100, + Payload: []byte{0xff, 0xd8, 0xff, 0xdb, 0x0, 0x84, 0x0, 0x50, 0x37, 0x3c, 0x46, 0x3c, 0x32, 0x54}, + }, + }, + } + + unfurledContact := &protobuf.UnfurledStatusLink{ + Url: "https://status.app/u/", + Payload: &protobuf.UnfurledStatusLink_Contact{ + Contact: contact, + }, + } + + unfurledContactWithUnsupportedImage := &protobuf.UnfurledStatusLink{ + Url: "https://status.app/u/", + Payload: &protobuf.UnfurledStatusLink_Contact{ + Contact: contactWithUnsupportedImage, + }, + } + + unfurledCommunity := &protobuf.UnfurledStatusLink{ + Url: "https://status.app/c/", + Payload: &protobuf.UnfurledStatusLink_Community{ + Community: community, + }, + } + + unfurledChannel := &protobuf.UnfurledStatusLink{ + Url: "https://status.app/cc/", + Payload: &protobuf.UnfurledStatusLink_Channel{ + Channel: channel, + }, + } + + const ( + messageIDContactOnly = "1" + messageIDCommunityOnly = "2" + messageIDChannelOnly = "3" + messageIDAllLinks = "4" + messageIDUnsupportedImage = "5" + ) + + s.saveUserMessage(&common.Message{ + ID: messageIDContactOnly, + ChatMessage: &protobuf.ChatMessage{ + UnfurledStatusLinks: &protobuf.UnfurledStatusLinks{ + UnfurledStatusLinks: []*protobuf.UnfurledStatusLink{ + unfurledContact, + }, + }, + }, + }) + + s.saveUserMessage(&common.Message{ + ID: messageIDCommunityOnly, + ChatMessage: &protobuf.ChatMessage{ + UnfurledStatusLinks: &protobuf.UnfurledStatusLinks{ + UnfurledStatusLinks: []*protobuf.UnfurledStatusLink{ + unfurledCommunity, + }, + }, + }, + }) + + s.saveUserMessage(&common.Message{ + ID: messageIDChannelOnly, + ChatMessage: &protobuf.ChatMessage{ + UnfurledStatusLinks: &protobuf.UnfurledStatusLinks{ + UnfurledStatusLinks: []*protobuf.UnfurledStatusLink{ + unfurledChannel, + }, + }, + }, + }) + + s.saveUserMessage(&common.Message{ + ID: messageIDAllLinks, + ChatMessage: &protobuf.ChatMessage{ + UnfurledStatusLinks: &protobuf.UnfurledStatusLinks{ + UnfurledStatusLinks: []*protobuf.UnfurledStatusLink{ + unfurledContact, + unfurledCommunity, + unfurledChannel, + }, + }, + }, + }) + + s.saveUserMessage(&common.Message{ + ID: messageIDUnsupportedImage, + ChatMessage: &protobuf.ChatMessage{ + UnfurledStatusLinks: &protobuf.UnfurledStatusLinks{ + UnfurledStatusLinks: []*protobuf.UnfurledStatusLink{ + unfurledContactWithUnsupportedImage, + }, + }, + }, + }) + + testCases := []struct { + Name string + ExpectedHTTPStatusCode int + Parameters url.Values + CheckFunc func(s *HandlersSuite, rr *httptest.ResponseRecorder) + }{ + { + Name: "Test valid contact icon link", + Parameters: url.Values{ + "message-id": {messageIDContactOnly}, + "url": {unfurledContact.Url}, + "image-id": {string(common.MediaServerContactIcon)}, + }, + ExpectedHTTPStatusCode: http.StatusOK, + CheckFunc: func(s *HandlersSuite, rr *httptest.ResponseRecorder) { + s.verifyHTTPResponseThumbnail(rr, unfurledContact.GetContact().Icon.Payload) + }, + }, + { + Name: "Test invalid request for community icon in a contact link", + Parameters: url.Values{ + "message-id": {messageIDContactOnly}, + "url": {unfurledContact.Url}, + "image-id": {string(common.MediaServerCommunityIcon)}, + }, + ExpectedHTTPStatusCode: http.StatusBadRequest, + CheckFunc: func(s *HandlersSuite, rr *httptest.ResponseRecorder) { + s.Require().Equal("invalid query parameter 'image-id' value: this is not a community link\n", rr.Body.String()) + }, + }, + { + Name: "Test invalid request for cahnnel community banner in a contact link", + Parameters: url.Values{ + "message-id": {messageIDContactOnly}, + "url": {unfurledContact.Url}, + "image-id": {string(common.MediaServerChannelCommunityBanner)}, + }, + ExpectedHTTPStatusCode: http.StatusBadRequest, + CheckFunc: func(s *HandlersSuite, rr *httptest.ResponseRecorder) { + s.Require().Equal("invalid query parameter 'image-id' value: this is not a community channel link\n", rr.Body.String()) + }, + }, + { + Name: "Test invalid request for channel community banner in a contact link", + Parameters: url.Values{ + "message-id": {messageIDContactOnly}, + "url": {unfurledContact.Url}, + "image-id": {"contact-banner"}, + }, + ExpectedHTTPStatusCode: http.StatusBadRequest, + CheckFunc: func(s *HandlersSuite, rr *httptest.ResponseRecorder) { + s.Require().Equal("invalid query parameter 'image-id' value: value not supported\n", rr.Body.String()) + }, + }, + { + Name: "Test valid community icon link", + Parameters: url.Values{ + "message-id": {messageIDCommunityOnly}, + "url": {unfurledCommunity.Url}, + "image-id": {string(common.MediaServerCommunityIcon)}, + }, + ExpectedHTTPStatusCode: http.StatusOK, + CheckFunc: func(s *HandlersSuite, rr *httptest.ResponseRecorder) { + s.verifyHTTPResponseThumbnail(rr, unfurledCommunity.GetCommunity().Icon.Payload) + }, + }, + { + Name: "Test valid community banner link", + Parameters: url.Values{ + "message-id": {messageIDCommunityOnly}, + "url": {unfurledCommunity.Url}, + "image-id": {string(common.MediaServerCommunityBanner)}, + }, + ExpectedHTTPStatusCode: http.StatusOK, + CheckFunc: func(s *HandlersSuite, rr *httptest.ResponseRecorder) { + s.verifyHTTPResponseThumbnail(rr, unfurledCommunity.GetCommunity().Banner.Payload) + }, + }, + { + Name: "Test valid channel community icon link", + Parameters: url.Values{ + "message-id": {messageIDChannelOnly}, + "url": {unfurledChannel.Url}, + "image-id": {string(common.MediaServerChannelCommunityIcon)}, + }, + ExpectedHTTPStatusCode: http.StatusOK, + CheckFunc: func(s *HandlersSuite, rr *httptest.ResponseRecorder) { + s.verifyHTTPResponseThumbnail(rr, unfurledChannel.GetChannel().GetCommunity().Icon.Payload) + }, + }, + { + Name: "Test valid channel community banner link", + Parameters: url.Values{ + "message-id": {messageIDChannelOnly}, + "url": {unfurledChannel.Url}, + "image-id": {string(common.MediaServerChannelCommunityBanner)}, + }, + ExpectedHTTPStatusCode: http.StatusOK, + CheckFunc: func(s *HandlersSuite, rr *httptest.ResponseRecorder) { + s.verifyHTTPResponseThumbnail(rr, unfurledChannel.GetChannel().GetCommunity().Banner.Payload) + }, + }, + { + Name: "Test valid contact icon link in a diverse message", + Parameters: url.Values{ + "message-id": {messageIDAllLinks}, + "url": {unfurledContact.Url}, + "image-id": {string(common.MediaServerContactIcon)}, + }, + ExpectedHTTPStatusCode: http.StatusOK, + CheckFunc: func(s *HandlersSuite, rr *httptest.ResponseRecorder) { + s.verifyHTTPResponseThumbnail(rr, unfurledContact.GetContact().Icon.Payload) + }, + }, + { + Name: "Test valid community icon link in a diverse message", + Parameters: url.Values{ + "message-id": {messageIDAllLinks}, + "url": {unfurledCommunity.Url}, + "image-id": {string(common.MediaServerCommunityIcon)}, + }, + ExpectedHTTPStatusCode: http.StatusOK, + CheckFunc: func(s *HandlersSuite, rr *httptest.ResponseRecorder) { + s.verifyHTTPResponseThumbnail(rr, unfurledCommunity.GetCommunity().Icon.Payload) + }, + }, + { + Name: "Test valid channel community icon link in a diverse message", + Parameters: url.Values{ + "message-id": {messageIDAllLinks}, + "url": {unfurledChannel.Url}, + "image-id": {string(common.MediaServerChannelCommunityIcon)}, + }, + ExpectedHTTPStatusCode: http.StatusOK, + CheckFunc: func(s *HandlersSuite, rr *httptest.ResponseRecorder) { + s.verifyHTTPResponseThumbnail(rr, unfurledChannel.GetChannel().GetCommunity().Icon.Payload) + }, + }, + { + Name: "Test mime type not supported", + Parameters: url.Values{ + "message-id": {messageIDUnsupportedImage}, + "url": {unfurledContactWithUnsupportedImage.Url}, + "image-id": {string(common.MediaServerContactIcon)}, + }, + ExpectedHTTPStatusCode: http.StatusNotImplemented, + }, + { + Name: "Test request with missing 'message-id' parameter", + Parameters: url.Values{ + "url": {unfurledCommunity.Url}, + "image-id": {string(common.MediaServerCommunityIcon)}, + }, + ExpectedHTTPStatusCode: http.StatusBadRequest, + CheckFunc: func(s *HandlersSuite, rr *httptest.ResponseRecorder) { + s.Require().Equal("missing query parameter 'message-id'\n", rr.Body.String()) + }, + }, + { + Name: "Test request with missing 'url' parameter", + Parameters: url.Values{ + "message-id": {messageIDCommunityOnly}, + "image-id": {string(common.MediaServerCommunityIcon)}, + }, + ExpectedHTTPStatusCode: http.StatusBadRequest, + CheckFunc: func(s *HandlersSuite, rr *httptest.ResponseRecorder) { + s.Require().Equal("missing query parameter 'url'\n", rr.Body.String()) + }, + }, + { + Name: "Test request with missing 'image-id' parameter", + Parameters: url.Values{ + "message-id": {messageIDCommunityOnly}, + "url": {unfurledCommunity.Url}, + }, + ExpectedHTTPStatusCode: http.StatusBadRequest, + CheckFunc: func(s *HandlersSuite, rr *httptest.ResponseRecorder) { + s.Require().Equal("missing query parameter 'image-id'\n", rr.Body.String()) + }, + }, + } + + handler := handleStatusLinkPreviewThumbnail(s.db, s.logger) + + for _, tc := range testCases { + s.Run(tc.Name, func() { + requestURL := "/dummy?" + tc.Parameters.Encode() + + rr := s.httpGetReqRecorder(handler, requestURL) + s.Require().Equal(tc.ExpectedHTTPStatusCode, rr.Code) + + if tc.CheckFunc != nil { + tc.CheckFunc(s, rr) + } + }) + } } diff --git a/server/server_media.go b/server/server_media.go index b74fbae91..c9f70e0d8 100644 --- a/server/server_media.go +++ b/server/server_media.go @@ -7,6 +7,7 @@ import ( "github.com/status-im/status-go/ipfs" "github.com/status-im/status-go/logutils" "github.com/status-im/status-go/multiaccounts" + "github.com/status-im/status-go/protocol/common" "github.com/status-im/status-go/signal" ) @@ -37,16 +38,17 @@ func NewMediaServer(db *sql.DB, downloader *ipfs.Downloader, multiaccountsDB *mu multiaccountsDB: multiaccountsDB, } s.SetHandlers(HandlerPatternMap{ - accountImagesPath: handleAccountImages(s.multiaccountsDB, s.logger), - accountInitialsPath: handleAccountInitials(s.multiaccountsDB, s.logger), - audioPath: handleAudio(s.db, s.logger), - contactImagesPath: handleContactImages(s.db, s.logger), - discordAttachmentsPath: handleDiscordAttachment(s.db, s.logger), - discordAuthorsPath: handleDiscordAuthorAvatar(s.db, s.logger), - generateQRCode: handleQRCodeGeneration(s.multiaccountsDB, s.logger), - imagesPath: handleImage(s.db, s.logger), - ipfsPath: handleIPFS(s.downloader, s.logger), - LinkPreviewThumbnailPath: handleLinkPreviewThumbnail(s.db, s.logger), + accountImagesPath: handleAccountImages(s.multiaccountsDB, s.logger), + accountInitialsPath: handleAccountInitials(s.multiaccountsDB, s.logger), + audioPath: handleAudio(s.db, s.logger), + contactImagesPath: handleContactImages(s.db, s.logger), + discordAttachmentsPath: handleDiscordAttachment(s.db, s.logger), + discordAuthorsPath: handleDiscordAuthorAvatar(s.db, s.logger), + generateQRCode: handleQRCodeGeneration(s.multiaccountsDB, s.logger), + imagesPath: handleImage(s.db, s.logger), + ipfsPath: handleIPFS(s.downloader, s.logger), + LinkPreviewThumbnailPath: handleLinkPreviewThumbnail(s.db, s.logger), + StatusLinkPreviewThumbnailPath: handleStatusLinkPreviewThumbnail(s.db, s.logger), }) return s, nil @@ -73,6 +75,13 @@ func (s *MediaServer) MakeLinkPreviewThumbnailURL(msgID string, previewURL strin return u.String() } +func (s *MediaServer) MakeStatusLinkPreviewThumbnailURL(msgID string, previewURL string, imageID common.MediaServerImageID) string { + u := s.MakeBaseURL() + u.Path = StatusLinkPreviewThumbnailPath + u.RawQuery = url.Values{"message-id": {msgID}, "url": {previewURL}, "image-id": {string(imageID)}}.Encode() + return u.String() +} + func (s *MediaServer) MakeDiscordAuthorAvatarURL(authorID string) string { u := s.MakeBaseURL() u.Path = discordAuthorsPath diff --git a/server/server_test.go b/server/server_test.go index 1a43b2bd2..670294df6 100644 --- a/server/server_test.go +++ b/server/server_test.go @@ -16,6 +16,7 @@ import ( "github.com/stretchr/testify/suite" "github.com/status-im/status-go/images" + "github.com/status-im/status-go/protocol/common" "github.com/status-im/status-go/server/servertest" ) @@ -116,6 +117,16 @@ func (s *ServerURLSuite) TestServer_MakeLinkPreviewThumbnailURL() { s.serverNoPort.MakeLinkPreviewThumbnailURL("99", "https://github.com")) } +func (s *ServerURLSuite) TestServer_MakeStatusLinkPreviewThumbnailURL() { + s.Require().Equal( + baseURLWithCustomPort+"/status-link-preview/thumbnail?image-id=contact-icon&message-id=99&url=https%3A%2F%2Fstatus.app", + s.server.MakeStatusLinkPreviewThumbnailURL("99", "https://status.app", common.MediaServerContactIcon)) + + s.testNoPort( + baseURLWithDefaultPort+"/status-link-preview/thumbnail?image-id=contact-icon&message-id=99&url=https%3A%2F%2Fstatus.app", + s.serverNoPort.MakeStatusLinkPreviewThumbnailURL("99", "https://status.app", common.MediaServerContactIcon)) +} + func (s *ServerURLSuite) TestServer_MakeAudioURL() { s.Require().Equal( baseURLWithCustomPort+"/messages/audio?messageId=0xde1e7ebee71e", diff --git a/services/ext/api.go b/services/ext/api.go index 8eb6a9f53..657becbf2 100644 --- a/services/ext/api.go +++ b/services/ext/api.go @@ -1166,7 +1166,7 @@ func (api *PublicAPI) GetTextURLs(text string) []string { // be removed from the response. // // This endpoint expects the client to send URLs normalized by GetTextURLs. -func (api *PublicAPI) UnfurlURLs(urls []string) ([]common.LinkPreview, error) { +func (api *PublicAPI) UnfurlURLs(urls []string) (protocol.UnfurlURLsResponse, error) { return api.service.messenger.UnfurlURLs(nil, urls) } diff --git a/static/bindata.go b/static/bindata.go index 70a38cf36..d6a42edc0 100644 --- a/static/bindata.go +++ b/static/bindata.go @@ -104,7 +104,7 @@ func emojisTxt() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "emojis.txt", size: 28134, mode: os.FileMode(0664), modTime: time.Unix(1663713040, 0)} + info := bindataFileInfo{name: "emojis.txt", size: 28134, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -124,7 +124,7 @@ func ConfigReadmeMd() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "../config/README.md", size: 3031, mode: os.FileMode(0664), modTime: time.Unix(1663713040, 0)} + info := bindataFileInfo{name: "../config/README.md", size: 3031, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -144,7 +144,7 @@ func ConfigCliAnonMetricNodeClientJson() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "../config/cli/anon-metric-node-client.json", size: 857, mode: os.FileMode(0664), modTime: time.Unix(1663713040, 0)} + info := bindataFileInfo{name: "../config/cli/anon-metric-node-client.json", size: 857, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -164,7 +164,7 @@ func ConfigCliAnonMetricNodeServerJson() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "../config/cli/anon-metric-node-server.json", size: 696, mode: os.FileMode(0664), modTime: time.Unix(1663713040, 0)} + info := bindataFileInfo{name: "../config/cli/anon-metric-node-server.json", size: 696, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -184,7 +184,7 @@ func ConfigCliFleetEthProdJson() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "../config/cli/fleet-eth.prod.json", size: 3619, mode: os.FileMode(0664), modTime: time.Unix(1685365190, 0)} + info := bindataFileInfo{name: "../config/cli/fleet-eth.prod.json", size: 3619, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -204,7 +204,7 @@ func ConfigCliFleetEthStagingJson() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "../config/cli/fleet-eth.staging.json", size: 2139, mode: os.FileMode(0664), modTime: time.Unix(1685365190, 0)} + info := bindataFileInfo{name: "../config/cli/fleet-eth.staging.json", size: 2139, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -224,7 +224,7 @@ func ConfigCliFleetShardsTestJson() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "../config/cli/fleet-shards.test.json", size: 1954, mode: os.FileMode(0664), modTime: time.Unix(1696363813, 0)} + info := bindataFileInfo{name: "../config/cli/fleet-shards.test.json", size: 1954, mode: os.FileMode(0644), modTime: time.Unix(1697196255, 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}} return a, nil } @@ -244,7 +244,7 @@ func ConfigCliFleetStatusProdJson() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "../config/cli/fleet-status.prod.json", size: 2338, mode: os.FileMode(0664), modTime: time.Unix(1685365190, 0)} + info := bindataFileInfo{name: "../config/cli/fleet-status.prod.json", size: 2338, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -264,7 +264,7 @@ func ConfigCliFleetStatusTestJson() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "../config/cli/fleet-status.test.json", size: 1457, mode: os.FileMode(0664), modTime: time.Unix(1685365190, 0)} + info := bindataFileInfo{name: "../config/cli/fleet-status.test.json", size: 1457, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -284,7 +284,7 @@ func ConfigCliFleetWakuv2ProdJson() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "../config/cli/fleet-wakuv2.prod.json", size: 1264, mode: os.FileMode(0664), modTime: time.Unix(1685365190, 0)} + info := bindataFileInfo{name: "../config/cli/fleet-wakuv2.prod.json", size: 1264, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -304,7 +304,7 @@ func ConfigCliFleetWakuv2TestJson() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "../config/cli/fleet-wakuv2.test.json", size: 1264, mode: os.FileMode(0664), modTime: time.Unix(1685365190, 0)} + info := bindataFileInfo{name: "../config/cli/fleet-wakuv2.test.json", size: 1264, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -324,7 +324,7 @@ func ConfigCliLesEnabledJson() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "../config/cli/les-enabled.json", size: 58, mode: os.FileMode(0664), modTime: time.Unix(1663713040, 0)} + info := bindataFileInfo{name: "../config/cli/les-enabled.json", size: 58, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -344,7 +344,7 @@ func ConfigCliMailserverEnabledJson() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "../config/cli/mailserver-enabled.json", size: 176, mode: os.FileMode(0664), modTime: time.Unix(1663713040, 0)} + info := bindataFileInfo{name: "../config/cli/mailserver-enabled.json", size: 176, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -364,7 +364,7 @@ func ConfigStatusChainGenesisJson() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "../config/status-chain-genesis.json", size: 612, mode: os.FileMode(0664), modTime: time.Unix(1663713040, 0)} + info := bindataFileInfo{name: "../config/status-chain-genesis.json", size: 612, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -384,7 +384,7 @@ func keysBootnodeKey() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "keys/bootnode.key", size: 65, mode: os.FileMode(0664), modTime: time.Unix(1663713040, 0)} + info := bindataFileInfo{name: "keys/bootnode.key", size: 65, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -404,7 +404,7 @@ func keysFirebaseauthkey() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "keys/firebaseauthkey", size: 153, mode: os.FileMode(0664), modTime: time.Unix(1663713040, 0)} + info := bindataFileInfo{name: "keys/firebaseauthkey", size: 153, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -424,7 +424,7 @@ func keysTestAccount1StatusChainPk() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "keys/test-account1-status-chain.pk", size: 489, mode: os.FileMode(0664), modTime: time.Unix(1663713040, 0)} + info := bindataFileInfo{name: "keys/test-account1-status-chain.pk", size: 489, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -444,7 +444,7 @@ func keysTestAccount1Pk() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "keys/test-account1.pk", size: 491, mode: os.FileMode(0664), modTime: time.Unix(1663713040, 0)} + info := bindataFileInfo{name: "keys/test-account1.pk", size: 491, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -464,7 +464,7 @@ func keysTestAccount2StatusChainPk() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "keys/test-account2-status-chain.pk", size: 489, mode: os.FileMode(0664), modTime: time.Unix(1663713040, 0)} + info := bindataFileInfo{name: "keys/test-account2-status-chain.pk", size: 489, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -484,7 +484,7 @@ func keysTestAccount2Pk() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "keys/test-account2.pk", size: 491, mode: os.FileMode(0664), modTime: time.Unix(1663713040, 0)} + info := bindataFileInfo{name: "keys/test-account2.pk", size: 491, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -504,7 +504,7 @@ func keysTestAccount3BeforeEip55Pk() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "keys/test-account3-before-eip55.pk", size: 489, mode: os.FileMode(0664), modTime: time.Unix(1663713040, 0)} + info := bindataFileInfo{name: "keys/test-account3-before-eip55.pk", size: 489, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } diff --git a/t/bindata.go b/t/bindata.go index c84d332a1..0155693bb 100644 --- a/t/bindata.go +++ b/t/bindata.go @@ -86,7 +86,7 @@ func configPublicChainAccountsJson() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "config/public-chain-accounts.json", size: 307, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} + info := bindataFileInfo{name: "config/public-chain-accounts.json", size: 307, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -106,7 +106,7 @@ func configStatusChainAccountsJson() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "config/status-chain-accounts.json", size: 543, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} + info := bindataFileInfo{name: "config/status-chain-accounts.json", size: 543, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } @@ -126,7 +126,7 @@ func configTestDataJson() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "config/test-data.json", size: 84, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} + info := bindataFileInfo{name: "config/test-data.json", size: 84, mode: os.FileMode(0644), modTime: time.Unix(1697059193, 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}} return a, nil } diff --git a/walletdatabase/migrations/bindata.go b/walletdatabase/migrations/bindata.go index e1e2674dd..9ed12f3b1 100644 --- a/walletdatabase/migrations/bindata.go +++ b/walletdatabase/migrations/bindata.go @@ -1,13 +1,13 @@ // Code generated by go-bindata. DO NOT EDIT. // sources: -// 1691753758_initial.up.sql (5.929kB) -// 1692701329_add_collectibles_and_collections_data_cache.up.sql (1.859kB) -// 1692701339_add_scope_to_pending.up.sql (587B) -// 1694540071_add_collectibles_ownership_update_timestamp.up.sql (356B) -// 1694692748_add_raw_balance_to_token_balances.up.sql (167B) -// 1695133989_add_community_id_to_collectibles_and_collections_data_cache.up.sql (280B) -// 1695932536_balance_history_v2.up.sql (670B) -// 1696853635_input_data.up.sql (24.129kB) +// 1691753758_initial.up.sql (5.738kB) +// 1692701329_add_collectibles_and_collections_data_cache.up.sql (1.808kB) +// 1692701339_add_scope_to_pending.up.sql (576B) +// 1694540071_add_collectibles_ownership_update_timestamp.up.sql (349B) +// 1694692748_add_raw_balance_to_token_balances.up.sql (165B) +// 1695133989_add_community_id_to_collectibles_and_collections_data_cache.up.sql (275B) +// 1695932536_balance_history_v2.up.sql (653B) +// 1696853635_input_data.up.sql (23.14kB) // doc.go (74B) package migrations @@ -77,7 +77,7 @@ func (fi bindataFileInfo) Sys() interface{} { return nil } -var __1691753758_initialUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xb4\x58\x4f\x6f\xa4\x36\x14\xbf\x47\xca\x77\xb0\x72\x4a\x24\x0e\xdd\x6d\x55\x55\xea\x89\x4c\x48\x16\x75\xca\x6c\x19\xd2\xcd\x9e\x2c\x07\xde\x64\xac\x00\x66\x6d\x93\x9d\xd9\x4f\x5f\x99\xff\x06\x1b\x50\xd4\xbd\xda\xcf\x7e\xff\x7f\xef\x67\x6f\x42\xcf\x8d\x3c\x14\xb9\xb7\x5b\x0f\x3d\xa7\x2c\x7e\x15\xe8\xfa\xf2\x02\x21\x84\x72\x90\xdf\x19\x7f\xc5\x34\x41\x8f\xc1\xde\x7f\x08\xbc\x3b\x74\xeb\x3f\xf8\x41\x84\x82\x5d\x84\x82\xc7\xed\xd6\xa9\x25\x49\x92\x70\x10\x02\xfd\xeb\x86\x9b\x4f\x6e\x38\xde\x7e\x4e\x5f\x71\x5e\x66\xcf\xc0\x2d\xe7\x95\xc0\x91\x88\xa3\x65\x3b\x65\x24\x81\x04\xdd\xee\x76\x5b\x74\xe7\xdd\xbb\x8f\xdb\x08\xdd\xbb\xdb\xbd\xd7\xec\x6f\x76\xc1\x3e\x0a\x5d\x75\xb2\xcc\xe9\xb7\x12\x70\x46\x8a\x82\xe6\x2f\xf8\xc0\x38\x26\x71\xcc\xca\x5c\x62\xc9\x70\xe5\x1f\x2e\x80\xe3\xc6\x37\xf4\x18\xf8\xff\x3c\x7a\xe8\xba\xf1\xc0\x69\x2d\x71\x7a\xe7\x6f\x2e\x2f\x6e\xfe\xbc\xbc\xb8\xbc\x30\x84\x0a\x73\x92\xbf\xc0\xcf\x89\xd8\x81\xb3\x6c\x26\x5e\x92\xd9\x36\x49\x4a\xf2\x18\xd0\xed\x76\x77\xdb\x2c\xe5\x4c\x2d\xf8\x41\xe4\x3d\x78\xe1\x92\x33\x58\xc0\xb7\x12\x72\x49\x49\xfa\x53\xfc\x12\x92\x70\xd9\x1c\x1f\xba\x4b\xb9\x90\x33\xfe\xa6\xc4\xba\xfd\x39\xf4\xff\x76\xc3\xaf\xe8\x2f\xef\x2b\xba\xee\x6d\x75\x5a\x6b\x54\x06\xd1\x17\x3f\xfa\xb4\x7b\x8c\x50\xb8\xfb\xe2\xdf\x4d\x43\x50\x40\x9e\xa8\x8a\x91\x9c\xe4\x82\xc4\x92\xb2\xfc\x1d\x69\xad\x8a\xd8\xe2\xbb\xa4\x19\x08\x49\xb2\x62\xe9\x12\x95\x78\xbc\x10\x48\xc9\xc6\x12\xcd\x86\x38\x67\xcf\x2c\x1d\x2d\xbe\x10\x81\x0b\x4e\xf5\xa2\x50\x8b\x29\xcd\xa8\x1c\x2e\xbe\x91\xb4\xd4\xa4\x12\x22\x09\x8a\xbc\xa7\x36\x55\xf2\x5c\xc0\xe8\x76\x92\x24\x54\xc5\x8b\xa4\x78\x2c\x9d\x95\xa9\xa4\xc3\x98\xaa\x18\xf6\x79\xb7\x26\x4e\xc5\x71\x4d\xd6\xae\x04\x79\x83\xa4\x0d\x05\x88\xab\x36\x65\x0b\xe1\xcb\x49\x06\x95\x9d\x93\xd8\x93\x37\x56\x72\x2a\xa1\x42\x1b\xcf\x0d\x3a\x01\x23\xf2\x70\xc8\xd8\x5b\x03\x4d\x8b\xc2\x65\x91\x10\x09\x38\x56\xcd\x86\x86\x79\xef\xa4\x7f\x69\x24\xe3\x23\xa1\x39\x16\x47\xc6\x25\x56\xa6\xf6\x7e\xb4\x92\x57\x57\x8d\x28\xe4\xa2\x12\xb1\x4b\x50\x81\x25\xa8\xde\x69\x6c\x34\x99\x16\x73\x20\x52\x05\x52\x56\x86\x8d\xed\xd1\xf2\xd4\x42\x65\xa7\xda\x69\x55\xac\xc9\x98\x64\xaf\x90\xe3\x06\xa3\xba\x0e\x2b\x05\xf0\xe5\x92\x57\x27\x35\x5f\x8d\x12\x7a\x07\x98\x65\x56\xa9\x8a\x59\xca\xf8\x44\x64\x1a\xe0\x5a\x3a\x81\x98\x66\x24\x15\xc8\xd0\xd1\xad\x84\x88\x39\x2d\x54\x1b\xac\xbe\xb5\xe4\x53\x4f\xa6\xb2\x2d\xe4\x5b\xdc\xa9\xcb\xa9\xee\xbc\x59\xec\x1c\xa6\xc1\xe9\x8e\x39\x5a\x60\x6f\xd0\x2e\x50\x13\xf7\x7e\xeb\x6f\x22\x14\x7a\x9f\xb7\xee\xc6\x33\x8e\xc8\xea\x94\x58\xdb\x91\xab\x31\xd6\xda\xbb\xf3\x89\xef\xf2\xd3\x5d\xdf\xe3\x90\x96\xe9\xd9\x9a\xd7\x69\xc1\x52\xb1\xbf\x51\x41\x9f\x53\xc0\x7a\x24\xba\x74\x18\x2c\xb1\x45\xc9\x18\xe0\xb8\xe4\x1c\xf2\xf8\xac\x68\x4e\x46\x24\x8e\x49\x7c\x84\x56\xcb\x42\x34\xa8\x28\x52\x72\x9e\xad\x5a\x21\x39\x2d\x14\x78\xd3\x54\x4d\xc6\x1f\xc0\x19\x88\x09\xd4\x19\x2d\x9b\xe0\x7e\xe7\xfc\x9a\xe1\x56\xcb\x08\x01\x72\x5e\x22\x53\xbc\x6e\xfd\x84\x34\x49\xcc\x29\x19\x8e\xba\x77\x0f\x73\xa5\x44\xb3\x73\xe8\x81\xbd\xe8\xfb\xd3\x8b\x32\x31\x67\x42\x60\x79\x52\x12\xd6\x21\x50\xa9\x93\xa7\x86\x65\xf7\xe3\x5d\x32\x6d\xd5\x4c\x75\x6b\x74\xc1\x47\x2a\x24\xe3\x67\x7b\x19\xbf\x8b\x12\xb6\x45\x6c\xa7\x8c\x6a\x5c\x5a\x82\xdb\x65\xc1\x44\x1a\xa9\x54\xc9\x5d\x60\xc8\x46\x8f\x2b\xae\xa4\xb7\x53\xd5\xc2\xef\xf5\xa1\xe6\x5e\xa1\xe7\x6e\xe7\xdb\xc6\xbf\xaf\xf6\xbd\x27\x7f\x1f\xed\x15\x2a\xa5\x10\x4b\x85\x20\x02\xb3\xef\x39\x70\x71\xa4\x85\x6e\xd6\xda\x24\xc4\x2c\x97\x9c\xc4\x72\xdd\xe4\xa3\x49\x15\x9b\xf1\x66\x65\x83\xf5\x06\xf3\x0c\x50\x10\x70\x00\xfe\x3f\x73\xe9\x15\xcf\x8c\x59\x2a\x7e\x1a\xf6\x80\x80\x3c\x81\x31\xfc\x73\x88\x81\x16\x1a\x37\x4e\xd9\x8b\xd6\x3a\x33\xf0\xb0\xf8\xe2\x5d\x8d\x1f\xa6\xb7\xef\x87\x75\xec\xfa\x99\x08\xc0\x8a\xe5\x1f\x60\x34\x30\xa7\xf8\x20\x24\x91\xa5\x18\x1c\x6e\xfc\xc7\x95\x97\x03\x40\x9a\x42\x48\xca\x5e\x30\xcd\x13\x38\x0d\x55\x57\x0f\xed\xb1\x64\x5c\x66\x65\x4a\x24\x7d\xab\xcd\x2a\x05\x24\xda\x10\x1e\x95\xe8\xe0\x1d\x61\x10\x57\x80\x37\xd2\x2a\x4f\x63\x73\x0b\xce\x24\xc4\xb2\x67\xe8\x93\xb7\x8f\x61\x06\x77\xaf\x25\x1c\xa7\x24\x2b\x20\xf9\xfd\xb7\xd1\xae\xac\xda\xb0\xb0\xee\x1f\x00\xac\xfb\xf5\x34\xc0\x05\x49\x12\x48\x3e\x7c\xfc\xe3\x08\x27\xa4\x4a\xe8\xfa\xd7\x8f\x37\xad\x48\xf3\x63\xd1\x3d\xdb\xdb\x24\xd1\x1f\x5a\x2e\x34\x2a\xab\x81\xfa\xa0\x89\xfb\xd8\x68\xa3\x57\xdf\x1a\x0c\xcb\xc1\xc6\xfd\x2e\xf4\xfc\x87\x40\x51\xa0\xe1\xeb\x6c\xfc\x57\x72\x83\x42\xef\xde\x0b\xbd\x60\xe3\xed\x9b\xaf\x84\x79\xf1\x9d\x7a\x84\x6c\xbd\xc8\x43\x1b\x77\xbf\x71\xef\xec\xff\x38\x2d\x7c\x54\x7f\x36\xcd\x45\xc6\xff\x9b\xea\xcf\xa6\xd5\x64\xff\xbb\xf1\x83\x3b\xef\x69\x3c\xd0\xf0\x81\xa6\x12\x38\x86\x5c\x72\x0a\x42\x99\x37\x19\x79\x3d\x17\xee\xe9\x71\x03\xfa\x4e\xed\xb3\xd3\xf7\xb4\xd3\xcc\x1e\x83\x6a\x9a\x9c\x3a\xa7\x04\xae\xfe\x35\xea\x06\xdf\x05\x3d\x56\x5e\xf7\xf0\xe1\x34\x00\xa0\x5d\xd5\x38\x5d\xdf\x38\x98\x55\x98\x26\x90\x4b\x7a\x38\x57\xae\x9c\xd5\x9d\xda\x24\xab\xea\xa2\x37\xdc\x7e\xe7\x38\x40\xd3\x7b\xdf\x11\x20\xbb\x3a\x23\x8f\x35\x28\xb5\xf0\xdd\xe6\x5d\xb2\x14\xec\x3a\xcb\x97\x17\xc3\x48\xa3\x6b\x13\x86\xb6\x41\xd7\x52\x5a\x23\xe4\xf0\x05\xe0\x8c\x9b\xca\xd1\x5b\xc9\xd1\x3b\xd4\xe9\xfa\xd2\xa9\x66\x87\xc5\x60\xd3\x47\x54\x65\xb4\xf9\x87\xca\x6c\xff\xc8\xaa\x81\x49\x9a\xf9\x03\xef\xe6\x62\x38\x65\xf3\x95\x41\x26\x92\x6f\x57\xac\x5c\x76\x06\xd4\x5e\x53\xdf\x52\x71\x67\xc8\xec\x9d\x9e\x3c\x1b\x0c\x5b\xc5\x95\xa6\x9d\x3d\x4f\xaa\xfa\x2a\xd6\xb8\x8e\x52\xff\x5f\x00\x00\x00\xff\xff\xa7\x49\x66\x52\x29\x17\x00\x00") +var __1691753758_initialUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xb4\x58\xcd\x8e\xdb\x36\x10\xbe\xfb\x29\x88\x3d\xad\x01\x1d\x9a\xb4\x28\x0a\xe4\xa4\xf5\x6a\x37\x42\x5d\x39\x95\xe5\x26\x39\x11\xb4\x34\x5e\x13\x2b\x89\x0a\x49\x39\x76\x9e\xbe\xa0\x7e\x49\x89\x92\xdd\x45\x7a\x94\x38\xe4\xfc\x7f\xf3\x91\xab\xd0\x73\x23\x0f\x45\xee\xc3\xda\x43\xfb\x94\xc5\xaf\x02\xdd\x2f\x10\x42\x28\x07\xf9\x9d\xf1\x57\x4c\x13\xb4\x0b\xb6\xfe\x73\xe0\x3d\xa2\x07\xff\xd9\x0f\x22\x14\x6c\x22\x14\xec\xd6\x6b\xa7\x12\x24\x49\xc2\x41\x08\xf4\x8f\x1b\xae\x3e\xba\xe1\x60\x75\x9f\xbe\xe2\xbc\xcc\xf6\xc0\xed\xbb\xd5\xfa\x91\x88\xa3\x7d\x35\x65\x24\x81\x04\x3d\x6c\x36\x6b\xf4\xe8\x3d\xb9\xbb\x75\x84\x9e\xdc\xf5\xd6\xab\x97\x57\x9b\x60\x1b\x85\xae\xda\x57\xe6\xf4\x5b\x09\x38\x23\x45\x41\xf3\x17\x7c\x60\x1c\x93\x38\x66\x65\x2e\xb1\x64\xb8\xf2\x0c\x17\xc0\x71\xe3\x16\xda\x05\xfe\xdf\x3b\x0f\xdd\x37\xd6\x3b\xad\x1d\x4e\xef\xf7\x72\xb1\xfc\xb0\x58\x58\x22\x84\x39\xc9\x5f\xe0\x7f\x08\xd4\x81\xb3\x6c\x3a\x4c\x92\x4d\xac\x91\x94\xe4\x31\xa0\x87\xf5\xe6\xa1\xfe\x93\x33\xf5\xed\x07\x91\xf7\xec\x85\xf3\x4e\x60\x01\xdf\x4a\xc8\x25\x25\xe9\xcf\xf7\x47\x48\xc2\x65\xb3\x59\xf3\x92\x72\x21\xa7\xdd\x4c\xc9\xd4\xea\xa7\xd0\xff\xcb\x0d\xbf\xa2\x3f\xbd\xaf\xe8\xbe\x37\xd3\x69\x2d\x59\x2e\x96\xe8\xb3\x1f\x7d\xdc\xec\x22\x14\x6e\x3e\xfb\x8f\x43\xcf\x0b\xc8\x13\x55\x1d\x92\x93\x5c\x90\x58\x52\x96\xff\xe7\x2c\x56\xc5\x6a\x77\x59\xd2\x0c\x84\x24\x59\x71\xe5\x08\x95\x66\x3c\x1f\x3d\xc9\x86\x02\xf5\x7f\x71\xc9\xf6\x2c\x35\xff\xbd\x10\x81\x0b\x4e\x8d\x0a\x50\xff\x52\x9a\x51\xa9\xfd\x3b\x91\xb4\xd4\x65\x12\x22\x09\x8a\xbc\x2f\x4d\x6a\xe4\xa5\x00\xf3\x60\x92\x24\x54\xc5\x88\xa4\x78\x20\x9b\x95\xa9\xa4\x7a\x18\x55\xdc\xba\x24\x4f\xe6\x49\xc5\xee\x6a\x92\xee\x04\x39\x41\xd2\xba\x0f\xe2\xae\xc9\xd0\x7c\xc0\x72\x92\x41\x65\xe0\x30\xd6\xe4\xc4\x4a\x4e\x25\x54\x20\xe2\xb9\x41\xb7\x6e\x03\x14\x0e\x19\x3b\x35\x80\x73\x4d\xb6\x2c\x12\x22\x01\xc7\xaa\x9b\x90\x9e\xe4\x4e\xf8\x97\x5a\x30\x3e\x12\x9a\x63\x71\x64\x5c\x62\x65\x66\xef\x42\x2b\x78\x77\x57\x4b\x42\x2e\x2a\x89\x49\x01\x2a\xb0\x04\xd5\x1e\x8d\x7d\x16\xb3\x62\x0e\x44\xaa\xf8\xc9\xca\xa8\x81\x2d\x46\x6a\x5a\xec\xeb\xf4\x3a\xad\x82\xab\x49\x92\xec\x15\x72\xdc\x20\x4f\xdb\x43\xa5\x00\x7e\xb5\xae\xd5\x3e\xc3\x47\x9b\x80\x59\xe6\x56\x91\x5b\xf4\xc4\x2c\x65\x7c\x24\x31\x8a\x6a\x2d\x9c\x40\x4c\x33\x92\x0a\x34\x6e\xd8\x56\x40\xc4\x9c\x16\xaa\xdc\x6f\x3d\xb3\xe4\x63\x27\x46\xa2\x2d\x7e\xdb\x3d\xa9\xab\xa7\x6e\xaf\x39\x3c\xd4\x83\xef\x74\xbb\x1c\x23\xa0\x4b\xb4\x09\xd4\xd0\x7c\x5a\xfb\xab\x08\x85\xde\xa7\xb5\xbb\xf2\xc6\x53\xae\xda\x22\x6e\x6b\xbb\x5b\x61\x73\xaa\x3f\x67\x33\xdd\xa5\xa4\x3b\xbb\xc3\x18\x23\xb5\x73\xb5\x6d\xcc\xf3\xf9\xa2\x3e\x51\x41\xf7\x29\x60\xc3\xff\x2e\xfe\x63\x1b\xa6\x42\x33\x8e\x68\x5c\x72\x0e\x79\x7c\x51\xbc\x24\x23\x12\xc7\x24\x3e\x42\xa3\x60\x3e\x02\x54\x14\x29\xb9\xcc\x15\xa7\x90\x9c\x16\x0a\x8b\x69\xaa\x66\xdb\x0f\xe0\x0c\xc4\x08\xc1\xc6\x36\x8d\x30\xbc\xf5\xf8\x86\xf1\x54\x8b\x08\x01\x72\x56\x20\x53\xfc\xeb\xe6\x09\x67\x11\x98\xd1\xa0\x8f\xab\x37\xce\x61\xa5\xc1\x30\x51\xb3\x7d\xba\xb0\xbb\xbd\xd7\x44\x62\xce\x84\xc0\xf2\xac\x04\xa6\x00\xbd\xd2\x25\xcf\x0d\x05\xee\x46\xb3\x64\xc6\x4f\x0b\x11\xad\x31\x03\x1f\xa9\x90\x8c\x5f\x26\x6b\xf5\x0d\xc4\xad\xad\xd5\x49\x5e\xa7\xe6\x9d\x3d\x9e\x5d\xdc\x2d\xcc\x8e\x4a\x95\xcb\x79\xf6\x3a\xf6\xb3\xe2\x35\x46\xbb\x54\xcd\xf9\x36\xd3\x6b\x92\x14\x7a\xee\x7a\xa6\x2d\xfc\xa7\x6a\xd1\xfb\xe2\x6f\xa3\xad\x82\x99\x14\x62\xa9\x60\x41\x60\xf6\x3d\x07\x2e\x8e\xb4\x30\x0c\xba\x31\xe8\x31\xcb\x25\x27\xb1\xbc\x69\x70\xd1\xa4\x8a\xc7\x60\xad\xd2\x3f\xb9\xdf\x82\xe3\xaa\xb7\x0f\xc0\x7f\x26\xc7\xbd\x4e\xfa\xe7\x08\xf2\x59\xab\x71\x01\x79\x02\x03\x08\xe7\x10\x03\x2d\x74\xd2\x9a\xb2\x17\xbd\x2f\xa6\x9b\xfe\xda\x45\xf3\x56\x50\xb0\x5d\x39\xdf\xdd\xc2\x7a\xf7\x44\x00\x56\xbc\xfb\x00\x83\x49\x37\xea\x7a\x21\x89\x2c\x45\xbf\xb5\x71\x1b\x57\xee\xf5\x10\x33\x82\x85\x94\xbd\x60\x9a\x27\x70\xd6\xb4\x56\x37\xdb\x81\x5c\x5c\x66\x65\x4a\x24\x3d\xd5\x06\x95\x02\x12\x7d\x72\x0e\x0a\xb1\xa7\xf5\x63\x61\x85\x5e\xa6\x42\x79\x1e\x98\x59\x70\x26\x21\x96\x3d\x6b\x1e\xde\x40\xc6\x83\xb3\xbb\xb1\xe0\x38\x25\x59\x01\xc9\xef\xbf\x99\x8b\xb2\xea\xb1\x62\x6a\xf9\x00\x30\xb5\x5c\x03\x3a\x2e\x48\x92\x40\xf2\xee\xfd\x1f\x47\x38\x23\x55\x2d\xf7\xbf\xbe\x5f\x36\x12\xcd\xb3\x40\x77\x49\x6e\x72\x42\x7f\xe8\xb1\x37\x38\xa6\x0e\xcc\x5a\x7b\x76\x01\x31\x26\xa6\xb1\xa2\x4d\xb9\xfe\xff\xd3\x26\xf4\xfc\xe7\x40\x11\x15\xfd\x7a\x34\x7c\x8a\x58\xa2\xd0\x7b\xf2\x42\x2f\x58\x79\xdb\xe6\xd2\x3e\x2f\xbe\x51\x17\x82\xb5\x17\x79\x68\xe5\x6e\x57\xee\xe3\xe4\x2b\x49\x0b\x0c\xd5\x8b\x48\x73\x8e\xf5\x75\xa4\x7a\x11\x69\x15\x4d\xbc\x8c\xf8\xc1\xa3\xf7\x65\x38\x90\xf0\x81\xa6\x12\x38\x86\x5c\x72\x0a\x42\x99\x36\x1a\x59\x3d\x47\xed\x69\x6b\x03\xe0\x4e\xed\xaf\xd3\x77\xad\xd3\x4c\x90\x91\x62\x9a\x9c\x3b\x7f\x04\xae\x1e\x10\xea\x0e\xde\x04\x3d\x00\xde\xf7\xe8\xe0\x34\x1d\xae\x1d\xd4\x78\x5b\x9f\xa7\x4d\x1c\x4c\x13\xc8\x25\x3d\x5c\x2a\x37\x2e\xea\x44\x63\x1e\x55\xc5\xd0\x1b\x3d\x75\xe2\x30\x34\xe3\x53\xdf\x10\x9a\x29\x65\x56\xa6\x69\x51\x39\xc1\x48\x9b\x7b\xc2\x7c\x90\xeb\xdc\x2e\xf4\x00\xa3\x7b\x1b\x38\xb6\xb1\x36\xf2\x58\x83\x9f\x4e\xcc\x9d\x61\x0f\x39\x66\xeb\x38\x66\x3b\x3a\x5d\x17\x3a\xd5\x40\xb0\x5a\x6b\x7b\xea\x51\x16\xdb\x9f\x80\xec\xc6\x0f\x4c\xd2\xec\x31\x6c\xd7\x5c\x9b\x8e\xde\x98\x6d\x2b\x6b\x6c\x1c\x7c\x5a\xab\x72\xd6\xd1\xb8\xb7\xa1\xbb\xa5\xcb\x8e\xce\xbd\x9d\x9e\xe3\x8e\xac\xba\x89\xe8\x8c\xdb\x78\x9e\x11\xf5\x85\x6b\x90\x95\xe5\x87\xc5\xbf\x01\x00\x00\xff\xff\x40\xaa\x79\x12\x6a\x16\x00\x00") func _1691753758_initialUpSqlBytes() ([]byte, error) { return bindataRead( @@ -92,12 +92,12 @@ func _1691753758_initialUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1691753758_initial.up.sql", size: 5929, mode: os.FileMode(0666), modTime: time.Unix(1695921811, 0)} - a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x85, 0x94, 0xd0, 0x1b, 0x52, 0x26, 0x26, 0x6c, 0xad, 0x5d, 0xfd, 0x96, 0x77, 0x92, 0x90, 0xbf, 0x4a, 0x80, 0xb2, 0x80, 0x15, 0xad, 0x34, 0xb2, 0x38, 0xf6, 0x85, 0xbc, 0xdb, 0xd5, 0xac, 0xfc}} + info := bindataFileInfo{name: "1691753758_initial.up.sql", size: 5738, mode: os.FileMode(0644), modTime: time.Unix(1697059195, 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}} return a, nil } -var __1692701329_add_collectibles_and_collections_data_cacheUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xc4\x54\xcd\x8e\xda\x30\x10\xbe\x23\xf1\x0e\x73\x6c\x25\xde\xa0\xa7\x90\x0c\x34\x6a\x64\xda\x90\x54\xdb\x53\x34\x6b\xbb\xec\x08\xc7\x8e\x1c\x67\x55\xde\xbe\x02\x76\xab\x5d\x16\x43\x68\xa5\xed\x35\xf3\xf9\xb3\xf3\xfd\x4c\x5a\x62\x52\x21\x54\xc9\xbc\x40\xc8\x17\x20\x56\x15\xe0\x5d\xbe\xae\xd6\x20\x9d\x31\x5a\x06\xbe\x37\xba\x51\x14\xa8\x91\x24\x1f\x34\x7c\x98\x4e\x00\x00\xe4\x03\xb1\x6d\x58\x41\x2d\xd6\xf9\x52\x60\x06\xf3\x7c\x99\x8b\xea\xc0\x20\xea\xa2\x98\x3d\xe1\x9c\x0d\x9e\x64\x68\x48\x29\xaf\xfb\x1e\xbe\x27\x65\xfa\x39\x29\x4f\x71\xc1\x6d\xf5\x81\x6f\x5e\xac\xe6\xa7\xc3\xce\xbb\x47\x56\xda\xc7\x0e\x5b\x6a\x75\x6c\xa6\x74\x2f\x3d\x77\x81\x9d\x8d\x41\x3a\xed\x5b\x32\x6c\xb7\x31\x00\xb7\xb4\xd1\xcd\xe0\x4d\x0c\x40\x96\x5b\xda\x5f\x31\x0e\xd4\x6a\xc5\xd4\x84\x5d\x17\x7d\xf5\x3d\xc9\xed\xc6\xbb\xc1\xaa\x46\x3a\xe3\xa2\x7f\x7e\x94\x6d\xf0\xfc\x06\x30\x9d\x7c\xfc\x34\x9d\x4c\x27\x4f\x0e\xd7\x22\xff\x56\x23\xe4\x22\xc3\xbb\x6b\x46\xb3\xd2\x36\xf0\xcf\x5d\xa3\x6d\xf0\x3b\x58\x89\x68\x16\x9e\x53\x30\x7b\xe3\xf3\xec\x8f\xa3\xaf\x9e\x71\x2d\x68\xc1\x13\x87\xfe\x3f\x46\xed\xf0\x80\x8b\xd6\x1c\x11\x8f\x64\x86\x78\xe6\xb8\xef\x0c\xed\x2e\xd2\xb4\xf4\xeb\x32\xc9\x62\x55\x62\xbe\x14\xf0\x05\x7f\x8c\xd3\x19\x4a\x5c\x60\x89\x22\xc5\x58\x79\xc7\xf1\x1c\xaf\x87\xbd\xef\xf5\xd7\x6c\xef\x5a\x9a\xac\xd3\x24\xc3\x17\x83\x0c\x0b\x7c\x39\x18\x6d\xb2\xb3\xef\xb0\x4c\xfe\x65\x5f\xf4\x66\xd8\xdc\xbe\x07\x6e\x6f\xdb\xb3\x10\xf1\xb2\x9d\x48\x15\xf7\xee\x16\xf1\xdf\xa5\x60\x57\x3b\xd4\xb2\x85\x12\x93\xe2\x4c\x29\xce\x7e\x1f\xd7\x85\xb3\x0d\x78\xa5\xe2\xa5\xc3\x7f\x1b\xfb\xdf\x01\x00\x00\xff\xff\xcb\x36\xbb\x7f\x43\x07\x00\x00") +var __1692701329_add_collectibles_and_collections_data_cacheUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xc4\x94\xc1\x8e\xda\x30\x10\x86\xef\x3c\xc5\x1c\x5b\x89\x37\xe8\x29\x24\x03\x8d\x1a\x99\x36\x24\xd5\xf6\x14\xcd\xda\x2e\x3b\xc2\xb1\x23\xc7\x59\x95\xb7\xaf\x80\x6e\xbb\x85\x75\xc8\xae\x84\xf6\xea\x19\xff\xb6\xe7\xfb\x7f\xa7\x25\x26\x15\x42\x95\x2c\x0a\x84\x7c\x09\x62\x5d\x01\xde\xe5\x9b\x6a\x03\xd2\x19\xa3\x65\xe0\x7b\xa3\x1b\x45\x81\x1a\x49\xf2\x41\xc3\x87\x19\x00\x80\x7c\x20\xb6\x0d\x2b\xa8\xc5\x26\x5f\x09\xcc\x60\x91\xaf\x72\x51\x1d\x05\x44\x5d\x14\xf3\x53\x9b\xb3\xc1\x93\x0c\x0d\x29\xe5\x75\xdf\xc3\xf7\xa4\x4c\x3f\x27\xe5\x59\x5b\x70\x3b\x7d\x54\x5b\x14\xeb\xc5\x59\xad\xf3\xee\x91\x95\xf6\x91\xad\x96\x5a\x1d\x29\x29\xdd\x4b\xcf\x5d\x60\x67\x23\x1d\x9d\xf6\x2d\x19\xb6\xbb\x48\x9d\x5b\xda\xea\x66\xf0\x26\x52\x27\xcb\x2d\x1d\xf4\x27\xf5\xb4\x5a\x31\x35\x61\xdf\xc5\x2e\x7c\x4f\x72\xb7\xf5\x6e\xb0\xaa\x91\xce\xb8\xd8\x93\x4f\xd3\x1a\x3c\x5f\xd4\x67\x1f\x3f\xcd\x66\x7f\x90\xd6\x22\xff\x56\x23\xe4\x22\xc3\xbb\x6b\x64\x59\x69\x1b\xf8\xe7\xbe\xd1\x36\xf8\x3d\xac\x45\x14\xfe\x13\xf7\xf9\x05\xda\xf9\x5f\x8a\xcf\x2e\x71\xcd\x57\xc1\x13\x87\xfe\x9d\x9c\x75\x3c\x7c\x8c\xc7\xa9\xe1\x91\xcc\x10\xb5\x18\xf7\x9d\xa1\xfd\x98\x48\x4b\xbf\x46\x25\x96\xeb\x12\xf3\x95\x80\x2f\xf8\x63\xda\x74\xa1\xc4\x25\x96\x28\x52\x8c\x65\x74\x9a\xce\xf1\x74\x38\xc0\xae\xbf\x66\x07\x58\x69\xb2\x49\x93\x0c\xff\xad\x67\x58\xe0\xb3\xf5\x89\x5c\x9d\xbd\xf5\x77\xf1\xf6\x2f\xa1\x37\xc3\xf6\xd5\x59\x7f\x65\xaa\x9e\xde\x1f\x0f\xd5\xd9\x84\xe2\xb4\xa6\x4f\xfc\xf6\x41\xba\x16\x96\x96\x2d\x94\x98\x14\x97\xf6\x7f\x69\x79\x9a\xeb\x5f\xf4\xfa\x7f\xd3\x1b\xdb\xfc\x16\x83\xff\x0e\x00\x00\xff\xff\xad\x71\x76\xba\x10\x07\x00\x00") func _1692701329_add_collectibles_and_collections_data_cacheUpSqlBytes() ([]byte, error) { return bindataRead( @@ -112,12 +112,12 @@ func _1692701329_add_collectibles_and_collections_data_cacheUpSql() (*asset, err return nil, err } - info := bindataFileInfo{name: "1692701329_add_collectibles_and_collections_data_cache.up.sql", size: 1859, mode: os.FileMode(0666), modTime: time.Unix(1695921811, 0)} - a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x94, 0xd7, 0x35, 0x2b, 0x66, 0xe2, 0xb7, 0x3c, 0x8a, 0x73, 0xb2, 0x59, 0x1b, 0xef, 0x82, 0xb1, 0x4a, 0x75, 0x74, 0x2b, 0x5d, 0xa9, 0x33, 0x40, 0x77, 0xe4, 0x16, 0xe5, 0x17, 0xef, 0x39, 0x64}} + info := bindataFileInfo{name: "1692701329_add_collectibles_and_collections_data_cache.up.sql", size: 1808, mode: os.FileMode(0644), modTime: time.Unix(1697059195, 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}} return a, nil } -var __1692701339_add_scope_to_pendingUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x8c\x91\x4d\x8b\xdb\x30\x18\x84\xef\x06\xff\x87\x61\x4f\x2d\xd8\x2d\x3d\xef\xc9\xbb\x56\xa1\xe0\xda\x4b\xa2\x40\x6e\x46\xb5\xde\xc4\x22\xfa\x08\xd2\xeb\xc6\xf9\xf7\xa5\x8e\x4b\x53\x1a\x68\x6f\x42\xcc\x3c\x9a\x07\x95\x25\xb6\x44\x90\xf3\x96\x15\x4f\x09\xc6\x83\xa3\xf2\x49\x0d\x6c\x82\x4f\x1f\xcf\xe4\xb5\xf1\x47\x9e\x39\xaa\xe1\x44\xf1\xc3\x31\xe4\x59\xd5\x48\xb1\x81\xac\x5e\x1a\x81\x35\xd0\xdf\xb7\x50\xd5\x35\xd2\x0d\x28\xc5\x5e\xa2\xed\x24\xda\x5d\xd3\xa0\x16\x9f\xab\x5d\x23\xf1\xf4\x76\xab\x3d\x3d\xe7\x59\x9e\x95\x25\xe4\x48\xb8\x28\x1e\x46\x8a\xb8\x18\x6b\xa1\x26\x0e\xd0\x64\x89\x09\x3c\xd2\xaf\x77\xc0\x73\x02\x8f\x8a\xa1\x22\x61\x08\xfe\x60\xa2\x23\x8d\x10\x71\x50\xc6\x92\x5e\x68\xc2\xa6\xb5\x15\x83\x9e\x06\x8a\x70\x41\x4f\x96\x6e\xe8\x51\x7d\x27\xfc\x41\x77\x70\xca\x4f\xca\xda\x2b\x82\xff\x59\x1a\x28\x25\xe3\x8f\xff\xa9\xfa\xda\x35\xbb\xaf\xed\x32\xb9\x5f\xa1\x2f\x5d\xd7\x88\xaa\xfd\xdb\xfc\xd3\x62\x5c\x6f\xba\x37\x7c\x69\x6b\xb1\x87\xd1\x73\xff\x88\xbc\xe4\x5e\x37\xa2\x92\xe2\x1f\xc9\x3c\xeb\xda\xc7\xe3\xde\xb9\xc9\xb2\xb9\xbf\xeb\x8d\x2e\x70\x88\xc1\xf5\x4a\xeb\x48\x29\x15\xe0\xf0\xfb\xec\x89\x2f\x21\x9e\x96\x14\x1b\x47\x89\x95\x3b\x17\x48\x57\xf7\x2d\xd8\x02\x7c\x3d\x53\xb1\xfe\x6c\x71\xef\xfb\xfe\x39\xcf\x7e\x04\x00\x00\xff\xff\xb1\x95\xae\x0c\x4b\x02\x00\x00") +var __1692701339_add_scope_to_pendingUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x8c\x91\xcd\x8a\xdb\x30\x14\x85\xf7\x7a\x8a\xc3\xac\x5a\xb0\x5b\xba\xf6\xca\x33\x56\xa1\xe0\xda\x43\x46\x81\xd9\x19\xd5\xba\x89\xc5\xe8\x27\x48\xd7\x8d\xf3\xf6\x25\x89\x4b\x53\x1a\xe8\xec\x84\x74\xbf\x4f\xe7\x70\xcb\x12\x2f\x44\x50\xcb\x0b\x6b\x9e\x33\x6c\x00\x27\x1d\xb2\x1e\xd9\xc6\x90\x3f\x1f\x28\x18\x1b\xf6\xbc\x70\xd2\xe3\x1b\xa5\x4f\xfb\x28\xea\x56\xc9\x0d\x54\xfd\xd8\x4a\xac\xef\xc3\x2d\x84\xba\x69\x90\xaf\x3e\x25\x5f\x15\xba\x5e\xa1\xdb\xb6\x2d\x1a\xf9\xb5\xde\xb6\x0a\x0f\xcf\x57\xec\xa1\x12\xa2\x2c\xa1\x26\xc2\x51\xf3\x38\x51\xc2\xd1\x3a\x07\x3d\x73\x84\x21\x47\x4c\xe0\x89\x7e\xff\x02\x5e\x32\x78\xd2\x0c\x9d\x08\x63\x0c\x3b\x9b\x3c\x19\xc4\x84\x9d\xb6\x8e\xcc\x59\x26\x5d\x5e\xa1\x14\xcd\x3c\x52\x82\x8f\x66\x76\x74\x35\x4f\xfa\x27\xe1\x2f\xb9\x87\xd7\x61\xd6\xce\x9d\x10\xc3\x19\x1a\x29\x67\x1b\xf6\xef\xab\xf9\xd4\xb7\xdb\xef\xdd\x25\xf0\xb0\x3a\x1f\xfb\xbe\x95\x75\xf7\x6f\xeb\x2f\x95\x10\xcd\xa6\x7f\xc6\xb7\xae\x91\xaf\xb0\x66\x19\xee\x79\x2b\x21\x9e\x36\xb2\x56\xf2\x3f\x73\xa2\xef\xee\xe7\xfa\xe0\x67\xc7\xf6\xf6\x6e\xb0\xa6\xc0\x2e\x45\x3f\x68\x63\x12\xe5\x5c\x80\xe3\x9f\x73\x20\x3e\xc6\xf4\x76\x99\x62\xeb\x29\xb3\xf6\x87\x02\xf9\xe4\x7f\x44\x57\x80\x4f\x07\x2a\xd6\x85\x16\xb7\x55\x3f\x56\xe2\x57\x00\x00\x00\xff\xff\x91\x52\x81\x7e\x40\x02\x00\x00") func _1692701339_add_scope_to_pendingUpSqlBytes() ([]byte, error) { return bindataRead( @@ -132,12 +132,12 @@ func _1692701339_add_scope_to_pendingUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1692701339_add_scope_to_pending.up.sql", size: 587, mode: os.FileMode(0666), modTime: time.Unix(1695921811, 0)} - a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xaf, 0x4e, 0x75, 0x89, 0x63, 0x4b, 0xe2, 0x1c, 0xb8, 0x28, 0x51, 0x35, 0x93, 0x36, 0xaa, 0xad, 0x5b, 0xa8, 0x53, 0x7d, 0x8a, 0x91, 0x63, 0xb9, 0x3a, 0x2, 0xba, 0x72, 0xab, 0x37, 0x8e, 0xd6}} + info := bindataFileInfo{name: "1692701339_add_scope_to_pending.up.sql", size: 576, mode: os.FileMode(0644), modTime: time.Unix(1697059195, 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}} return a, nil } -var __1694540071_add_collectibles_ownership_update_timestampUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x9c\xd0\x41\x4a\xc5\x30\x10\xc6\xf1\x7d\x20\x77\x98\xa5\xc2\xbb\x81\xab\xbc\x36\xd6\x40\x99\x62\x9b\x48\x77\x21\x36\x23\x0d\xb4\x69\x69\x22\xd2\xdb\x8b\x55\x0a\x0a\x2e\x74\xff\xe7\x63\x7e\x53\xb4\x52\x68\x09\x5a\x5c\x6b\x09\xea\x1e\xb0\xd1\x20\x7b\xd5\xe9\x0e\x86\x65\x9a\x68\xc8\xe1\x79\xa2\x64\x97\xb7\x48\x5b\x1a\xc3\x6a\x5f\x57\xef\x32\xd9\x1c\x66\x4a\xd9\xcd\x6b\x82\x1b\xce\x00\x00\x8e\xc4\x3a\xef\x37\x4a\x09\x9e\x44\x5b\x3c\x88\xf6\x18\x44\x53\xd7\x97\xcf\x68\x18\x5d\x88\x36\x78\x30\xd8\xa9\x0a\x65\x09\x57\x55\x29\xd4\x3f\xbb\x73\xfe\xd7\x90\xb3\xdb\x3b\xce\x38\xfb\x12\x18\x54\x8f\x46\x82\xc2\x52\xf6\xff\x84\xd8\xe0\x29\xe6\xf0\xb2\x5b\x8a\x79\xdb\xa1\xc1\x3f\xfc\xe0\x9b\xfe\x72\x3a\x3f\x6e\x7c\x0f\x00\x00\xff\xff\xb0\x68\x02\x23\x64\x01\x00\x00") +var __1694540071_add_collectibles_ownership_update_timestampUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x9c\xcf\x41\x4b\x80\x30\x18\xc6\xf1\xfb\x3e\xc5\x7b\x4c\xf0\x1b\x78\x9a\xba\x6c\x20\xaf\xa4\x5b\x78\x1b\xcb\xbd\xe1\x40\xa7\xb8\x45\xf8\xed\x03\x09\xa1\xa0\x43\xdd\xff\x3c\x3c\xbf\xaa\x17\x5c\x09\x50\xbc\x6c\x05\xc8\x47\xc0\x4e\x81\x18\xe5\xa0\x06\x98\xb6\x65\xa1\x29\xf9\xd7\x85\xa2\xd9\x3e\x02\x1d\x71\xf6\xbb\x79\xdf\x9d\x4d\x64\x92\x5f\x29\x26\xbb\xee\x11\x1e\x18\x00\xc0\x55\x18\xeb\xdc\x41\x31\xc2\x0b\xef\xab\x27\xde\x5f\x7b\xa8\xdb\x36\xbf\x9a\x69\xb6\x3e\x18\xef\x40\xe3\x20\x1b\x14\x35\x94\xb2\x91\xa8\x7e\x64\xf7\xf6\xaf\x1d\xcb\x0a\xc6\xbe\xbe\x6b\x94\xcf\x5a\x80\xc4\x5a\x8c\xff\x24\x18\xef\x28\x24\xff\x76\x1a\x0a\xe9\x38\xa1\xc3\x3f\xe8\xbf\xc1\xf3\xdb\x98\x15\xec\x33\x00\x00\xff\xff\x02\x64\xbc\xba\x5d\x01\x00\x00") func _1694540071_add_collectibles_ownership_update_timestampUpSqlBytes() ([]byte, error) { return bindataRead( @@ -152,12 +152,12 @@ func _1694540071_add_collectibles_ownership_update_timestampUpSql() (*asset, err return nil, err } - info := bindataFileInfo{name: "1694540071_add_collectibles_ownership_update_timestamp.up.sql", size: 356, mode: os.FileMode(0666), modTime: time.Unix(1695921811, 0)} - a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x9, 0xb9, 0x96, 0x7e, 0xe2, 0x55, 0x68, 0xf8, 0xe5, 0x27, 0x6a, 0x4d, 0xf3, 0xdd, 0x4c, 0xd, 0xf2, 0xb3, 0x91, 0xd0, 0x3e, 0xb6, 0x92, 0x4a, 0xac, 0x59, 0x40, 0xdf, 0xff, 0x74, 0x73, 0xc1}} + info := bindataFileInfo{name: "1694540071_add_collectibles_ownership_update_timestamp.up.sql", size: 349, mode: os.FileMode(0644), modTime: time.Unix(1697059195, 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}} return a, nil } -var __1694692748_add_raw_balance_to_token_balancesUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x34\xcd\xc1\x8a\x83\x30\x10\x87\xf1\xbb\xe0\x3b\xfc\xf1\x2e\xec\x2b\xcc\xaa\xcb\x1e\x52\x05\x89\xbd\x96\x68\xa6\x12\xaa\x93\x92\x89\xb4\x8f\x5f\x0a\xed\xf5\x3b\x7c\xbf\xba\x06\x79\x8f\x25\x6e\xc7\x2e\xb8\xc6\x04\xcd\x31\x05\x59\x91\xdc\x03\xb3\xdb\x9c\x2c\x0c\x7e\xde\x13\xab\xb2\x47\x10\xcc\x4e\x19\x87\x04\xc9\x0a\xa7\x98\xc3\x8a\x20\x99\x57\x4e\xf0\xbc\x84\xdd\x6d\x65\x41\xc6\x76\x23\x2c\xfd\x9a\x0e\x39\xde\x58\x2e\x9f\x95\x82\xda\x16\xcd\x60\xa6\x53\xff\x26\xbe\x1d\x67\x1a\x9b\x7f\x1a\xd1\x0f\x16\xfd\x64\x0c\xda\xee\x8f\x26\x63\x51\xfd\x54\x65\xf1\x0a\x00\x00\xff\xff\xab\xf3\xea\x80\xa7\x00\x00\x00") +var __1694692748_add_raw_balance_to_token_balancesUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x34\xcd\xc1\x0a\x82\x40\x10\x87\xf1\xbb\x4f\xf1\xc7\xbb\xd0\x2b\x4c\x6a\x74\xd8\x14\x64\xed\x1a\xab\x3b\xc9\x92\xce\xc6\xce\x4a\x3d\x7e\x04\x75\xfd\x0e\xdf\xaf\xaa\x40\xde\x63\x8e\xeb\xbe\x09\xee\x31\x41\x73\x4c\x41\x16\x24\xf7\xc2\xe4\x56\x27\x33\x83\xdf\xcf\xc4\xaa\xec\x11\x04\x93\x53\xc6\x2e\x41\xb2\xc2\x29\xa6\xb0\x20\x48\xe6\x85\x13\x3c\xcf\x61\x73\x6b\x41\xc6\xb6\x03\x2c\x1d\x4d\x8b\x1c\x1f\x2c\xb7\xdf\x49\x41\x4d\x83\xba\x37\xe3\xa5\xfb\x0a\xff\x8e\x2b\x0d\xf5\x99\x06\x74\xbd\x45\x37\x1a\x83\xa6\x3d\xd1\x68\x2c\xca\x43\x59\x7c\x02\x00\x00\xff\xff\x88\x21\xef\xa1\xa5\x00\x00\x00") func _1694692748_add_raw_balance_to_token_balancesUpSqlBytes() ([]byte, error) { return bindataRead( @@ -172,12 +172,12 @@ func _1694692748_add_raw_balance_to_token_balancesUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1694692748_add_raw_balance_to_token_balances.up.sql", size: 167, mode: os.FileMode(0666), modTime: time.Unix(1695921811, 0)} - a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x28, 0x83, 0x4b, 0x8b, 0x68, 0xf9, 0x8a, 0x35, 0x7, 0x7e, 0x45, 0xaf, 0x5a, 0xa0, 0x9e, 0x2e, 0xeb, 0x9f, 0x31, 0xfe, 0x8d, 0x2, 0xdd, 0x9e, 0x93, 0xc8, 0xb7, 0xf, 0x5a, 0xa7, 0x66, 0x4b}} + info := bindataFileInfo{name: "1694692748_add_raw_balance_to_token_balances.up.sql", size: 165, mode: os.FileMode(0644), modTime: time.Unix(1697059195, 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}} return a, nil } -var __1695133989_add_community_id_to_collectibles_and_collections_data_cacheUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x72\xf4\x09\x71\x0d\x52\x08\x71\x74\xf2\x71\x55\x48\xce\xcf\xc9\x49\x4d\x2e\xc9\x4c\xca\x49\x8d\x4f\x49\x2c\x49\x8c\x4f\x4e\x4c\xce\x48\x55\x70\x74\x71\x51\x70\xf6\xf7\x09\xf5\xf5\x53\x48\xce\xcf\xcd\x2d\xcd\xcb\x2c\xa9\x8c\xcf\x4c\x51\x08\x71\x8d\x08\x51\xf0\xf3\x0f\x51\xf0\x0b\xf5\xf1\x51\x70\x71\x75\x73\x0c\xf5\x09\x51\x50\x52\xb2\xe6\xe5\x0a\x0d\x70\x71\x0c\xc1\x69\x60\xb0\x6b\x08\xaa\x49\xb6\x10\x5d\xbc\x5c\xd8\x5c\x93\x9f\x47\x5d\xc7\xa0\x9a\x87\xcb\x2d\x80\x00\x00\x00\xff\xff\x3a\x9c\xfc\xef\x18\x01\x00\x00") +var __1695133989_add_community_id_to_collectibles_and_collections_data_cacheUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x72\xf4\x09\x71\x0d\x52\x08\x71\x74\xf2\x71\x55\x48\xce\xcf\xc9\x49\x4d\x2e\xc9\x4c\xca\x49\x8d\x4f\x49\x2c\x49\x8c\x4f\x4e\x4c\xce\x48\x55\x70\x74\x71\x51\x70\xf6\xf7\x09\xf5\xf5\x53\x48\xce\xcf\xcd\x2d\xcd\xcb\x2c\xa9\x8c\xcf\x4c\x51\x08\x71\x8d\x08\x51\xf0\xf3\x0f\x51\xf0\x0b\xf5\xf1\x51\x70\x71\x75\x73\x0c\xf5\x09\x51\x50\x52\xb2\xe6\x0a\x0d\x70\x71\x0c\xc1\x69\x5e\xb0\x6b\x08\xaa\x41\xb6\x60\x4d\x5c\xd8\x9c\x92\x9f\x47\x55\x97\xa0\x1a\x87\xc3\x21\x80\x00\x00\x00\xff\xff\x2e\x30\x6f\xa7\x13\x01\x00\x00") func _1695133989_add_community_id_to_collectibles_and_collections_data_cacheUpSqlBytes() ([]byte, error) { return bindataRead( @@ -192,12 +192,12 @@ func _1695133989_add_community_id_to_collectibles_and_collections_data_cacheUpSq return nil, err } - info := bindataFileInfo{name: "1695133989_add_community_id_to_collectibles_and_collections_data_cache.up.sql", size: 280, mode: os.FileMode(0666), modTime: time.Unix(1695921811, 0)} - a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x95, 0x8c, 0xc0, 0xc4, 0xdd, 0x99, 0x2a, 0xbb, 0xd7, 0x47, 0x55, 0x95, 0xa6, 0xaa, 0x73, 0x34, 0x18, 0x43, 0xd2, 0x9d, 0xa, 0x2f, 0xdd, 0x6b, 0xd4, 0x66, 0xff, 0xe2, 0x5d, 0x84, 0xae, 0xc9}} + info := bindataFileInfo{name: "1695133989_add_community_id_to_collectibles_and_collections_data_cache.up.sql", size: 275, mode: os.FileMode(0644), modTime: time.Unix(1697059195, 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}} return a, nil } -var __1695932536_balance_history_v2UpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x9c\x91\xcf\x6a\xf3\x30\x10\xc4\xef\x02\xbd\xc3\x1c\xbf\x0f\xec\x1e\x7a\xcd\xc9\x4e\xd4\x54\xe0\xca\xad\x22\x97\xdc\x8c\x62\x2b\x8d\xa8\xa3\x04\x49\x2d\xb8\x4f\x5f\xf2\xb7\x10\x1c\x52\x7a\x9e\x9d\xfd\xed\xcc\xa6\x29\x4a\x67\x60\x5c\xf4\x3d\xb6\xc6\xa3\x59\x69\xeb\x6a\xdb\x26\xd0\x6d\xeb\x4d\x08\x09\x9a\x0f\xef\x8d\x6b\xfa\x04\x8b\x6e\xd3\xbc\x53\x92\xa6\x58\xe8\x4e\xbb\xc6\xc0\x06\x68\x04\xe3\xad\xee\xec\x97\x69\xb1\xb0\x6f\x77\xdc\x45\x4a\xc6\x92\x65\x8a\x41\x65\x79\xc1\xc0\x1f\x20\x4a\x05\x36\xe7\x33\x35\x3b\x79\xeb\x95\x0d\x71\xe3\xfb\xfa\xf3\x1e\xff\x28\x01\x70\x86\xa3\x12\x33\x3e\x15\x6c\x82\x9c\x4f\xb9\x50\x7b\xb7\xa8\x8a\x22\x39\xcc\x1d\x4f\xc3\x6b\x26\xc7\x8f\x99\xbc\x94\x4f\x07\x5f\xd3\xf7\x31\xae\xac\x8e\x76\x6d\x42\xd4\xeb\x2d\x06\xc4\x53\xea\xbc\x28\x73\x4a\xfe\x8f\x28\x39\x07\xad\x04\x7f\xa9\x18\xb8\x98\xb0\xf9\x8d\xbc\xb6\x35\x2e\xda\x65\x5f\x1f\x5a\x2f\xc5\x60\x23\xb7\x1f\xb1\xe3\x1f\xe9\xbf\xc1\x2e\x6d\x17\x8d\xdf\x43\xad\x09\x7f\xc7\x26\x3f\x1d\x1d\x1a\x98\xc8\xf2\xf9\xf8\xe8\x8b\x8d\x23\x4a\xb2\x42\x31\x39\xac\xee\x78\x92\x89\xec\x89\x41\x95\x03\x56\x4a\xbe\x03\x00\x00\xff\xff\x44\xd6\x5b\x2f\x9e\x02\x00\x00") +var __1695932536_balance_history_v2UpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x9c\x91\xc1\x4e\xeb\x30\x10\x45\xf7\xfe\x8a\xbb\x7c\x95\x92\xb7\x60\xdb\x55\xd2\x9a\x62\x29\x38\x90\x3a\xa8\xbb\xc8\x4d\x5c\x3a\x22\x75\x2b\xdb\x20\x85\xaf\x47\x0d\x0d\x48\x6d\x50\x11\xeb\xeb\x99\x33\xe7\x3a\x8e\x91\x5b\x03\x63\x83\xeb\x70\x30\x0e\xf5\x56\x93\xad\xa8\x89\xa0\x9b\xc6\x19\xef\x23\xd4\xaf\xce\x19\x5b\x77\x11\xd6\xed\xbe\x7e\x61\x71\x8c\xb5\x6e\xb5\xad\x0d\xc8\x43\xc3\x1b\x47\xba\xa5\x77\xd3\x60\x4d\xcf\xff\x85\x0d\x6c\x56\xf0\x44\x71\xa8\x24\xcd\x38\xc4\x2d\x64\xae\xc0\x57\x62\xa9\x96\xc3\x68\xb5\x25\x1f\xf6\xae\xab\xde\x6e\xf0\x8f\x01\xf8\x22\xa3\x94\x4b\xb1\x90\x7c\x8e\x54\x2c\x84\x54\xfd\xb0\x2c\xb3\x2c\xea\x9f\x9d\xce\xc2\x53\x52\xcc\xee\x92\xe2\x2c\x1d\x6e\xfd\x21\xee\x05\xc6\xf7\x06\xda\x19\x1f\xf4\xee\x80\xcb\x6c\xd0\x4d\xb3\x3c\x65\x93\x29\x1b\xfc\x4a\x29\x1e\x4b\x0e\x21\xe7\x7c\x75\x45\x93\x1a\x63\x03\x6d\xba\xea\xb3\xea\x5c\x8e\x16\x71\xbd\xfd\xc9\x74\x80\xff\x86\xba\xa1\x36\x18\xd7\x33\xc9\xf8\xbf\x53\xa3\xef\x7a\x8e\xfa\xf3\x22\x7f\x38\x7d\xee\xd9\xbe\x29\x4b\x32\xc5\x8b\xf1\xf0\x08\x2b\xb8\x4c\xee\x39\x54\x7e\x39\xc9\x3e\x02\x00\x00\xff\xff\x1e\x5e\x83\xea\x8d\x02\x00\x00") func _1695932536_balance_history_v2UpSqlBytes() ([]byte, error) { return bindataRead( @@ -212,12 +212,12 @@ func _1695932536_balance_history_v2UpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1695932536_balance_history_v2.up.sql", size: 670, mode: os.FileMode(0666), modTime: time.Unix(1696852547, 0)} - a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x50, 0x9a, 0x8e, 0x3b, 0xb7, 0xdb, 0x22, 0x43, 0x8f, 0xef, 0xf3, 0x32, 0xeb, 0x22, 0x40, 0x10, 0x15, 0x9b, 0xb8, 0xe6, 0xa8, 0x44, 0xde, 0x3e, 0x30, 0x18, 0xca, 0x39, 0xbd, 0x85, 0x4e, 0x4}} + info := bindataFileInfo{name: "1695932536_balance_history_v2.up.sql", size: 653, mode: os.FileMode(0644), modTime: time.Unix(1697059195, 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}} return a, nil } -var __1696853635_input_dataUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x74\x7c\x4d\x0b\x6d\xbb\x91\xdd\xdc\xe0\xff\x70\xf1\xc4\x36\x78\x20\x55\x95\x4a\x12\x3d\x72\x9a\x4b\x30\x71\xbf\x4e\x5e\x3f\x87\xf4\x28\xd4\x27\x6d\x42\xbb\x03\x71\x20\x3f\x3f\x9c\xe7\xd7\x24\xf6\xd2\x9d\x6a\xef\x23\x69\x97\xea\x63\xd5\xaa\xd2\xf9\xfb\xef\xbf\xfe\xf6\x87\xaf\x5f\x7e\xf8\xed\x7f\xf8\xfd\xd7\x2f\xbf\xf8\xe3\x9f\xfe\xe7\xff\xfe\xf3\x7f\x4f\xfb\xb3\xfd\xe2\xcb\xaf\x7e\xfe\xb3\x2f\x5f\xbe\x7c\xf9\xc5\x1f\xf3\x17\x5f\x7e\xf7\xdd\x0f\x5f\xff\xe3\xd7\xef\x7f\xf3\xd3\xd0\xbf\xd8\xff\xfa\x97\x5f\x7c\xf9\xe1\xeb\x7f\xfb\xe1\xcb\x77\xff\xf8\xc3\x97\xef\xfe\xf0\xfb\xdf\xff\xfb\xa3\x7f\xad\x3f\xff\xcb\xbf\xe5\xfb\xe1\x1f\xbe\xfb\xdd\x7f\xf9\xc3\xd7\x5f\xfd\xe5\xe7\xbf\xf9\xf7\x57\x7f\xfd\xd3\xd3\xff\xfc\xfd\xef\xfe\xe1\xb7\xdf\xff\xf3\x97\xff\xf4\xf5\x9f\x7f\xf5\xe3\xa2\xbf\xfd\xc3\x0f\xff\xf8\xbb\xef\xfe\xfe\xfb\xaf\xff\xf0\xf5\xbb\x1f\x7e\xfd\xf3\x9f\xfd\xfa\xef\x7e\xfe\xb3\xdf\x7d\xf7\x4f\x5f\xbf\xff\xe1\xcb\x1f\xff\xf4\xe7\x7f\xfb\xf2\xff\x36\xfb\xe5\x57\x7f\x99\xeb\x37\x5f\x3e\x53\xff\xfa\xcb\xcf\x7f\xf6\x5f\x7f\xfb\xfb\x3f\x7c\xfd\xa7\x2f\x3f\xff\xd9\xaf\x7e\xf9\xaf\x7f\xfc\xd3\x9f\x7f\xf8\xb7\xff\x51\x7f\xfa\xe5\x6f\x7e\x39\xfe\xcf\xf4\x55\xa5\x56\xbf\xfc\x2c\xfb\xb7\x0f\x07\x45\xda\x38\xf7\xf9\x70\xae\x23\x67\xaa\xbe\x7f\x39\xe7\x66\xdb\xf2\x7e\x28\xc4\x4d\x32\xde\x0f\xd7\xf4\xf2\xbb\xdf\x6b\xb2\xca\x75\x7b\x4f\x3b\x49\x8f\x67\xc5\x7b\xda\xe6\x11\x59\xdf\x58\xb3\x16\xcd\x51\xfe\x7e\x18\xa7\x22\xca\x9e\x0f\x69\x0c\xe9\xce\xb7\x84\x68\x84\xf7\xea\x6f\x3c\x64\x63\x4d\x7a\xaf\x49\x5c\xab\x0e\xd1\xfb\xe1\x3e\x35\xfc\x9c\xe7\x43\xe6\x5c\xe3\xda\xfb\x54\x98\xcb\x4d\xee\xfb\x53\xd8\xce\xda\x55\xdf\xf8\x65\x0e\xca\x11\xef\x4f\x11\xb5\xe4\xcc\xf7\xa9\x88\xd5\x5a\x23\xf2\xfd\xd0\xd7\xac\xcb\xef\xef\x5c\x3c\x52\x3c\xbe\xf1\x50\x3d\x87\x14\xbf\x1f\xba\xeb\x1c\xf3\xad\x43\xab\x32\xa7\xeb\x5b\x7c\x3a\xa7\x53\xd7\x7b\xb7\x4a\xe7\xb6\xe9\x7c\x3f\xe4\xc3\x7e\xfd\xad\x60\xca\x7d\x2a\xe4\x1b\xbf\xdc\xb4\xf8\x7e\x43\x7c\x7a\x7b\xc7\xfc\xc6\xa9\xa8\xd9\x88\xce\xf7\x77\xaa\xd7\x98\xd9\x6f\x05\x53\xaf\x60\xca\xb7\x26\x68\xb6\xa5\x9d\xf7\x9a\x9b\xec\xd4\x99\xef\x4f\xd9\x8b\x78\x92\xbd\xd5\x64\xab\x8b\x59\xbc\x77\xbb\xcf\x9c\xb6\xbc\xdf\x0f\x6f\xe8\x1a\xdf\x38\xb2\x9d\x43\x67\xac\xb7\xe0\xcf\x30\xaf\xfd\x0d\xe3\x3d\xde\x7a\xf4\xbe\x7f\x79\x35\x2d\x4f\xbc\x15\xec\x5a\xcd\x90\x7e\x6f\xe8\xf6\x47\x04\xf3\x2d\x78\x9b\x32\xac\xe8\x3d\xad\xad\x39\xe2\x9c\xb7\x07\xb3\x45\xd3\x72\x7f\xe3\xa1\x2e\x3f\x32\xbe\xf1\x30\xf9\xc4\xbd\x6f\x43\xb2\xda\x31\x89\xde\x01\xc0\xca\x4f\xdf\x6f\xf8\x78\x6b\x3d\xce\xe3\x3d\xad\x8f\x9a\x4c\xfd\xfe\xa5\x73\x25\x93\xbf\x75\xc8\xc5\x4e\x8d\x6f\xe8\x90\x2f\xa3\x3d\xbf\x61\x2b\xbe\xe3\x6e\xe3\xb7\xe0\x63\x88\xf2\xa6\xb7\x84\x62\xd4\x48\xf9\x86\x65\x07\xcb\x6e\xf1\xf7\x91\x85\xf0\xd9\x7b\xbf\x85\x10\xca\x92\xe3\x1b\xee\x2d\xf6\xdc\x75\xbe\xa1\x9a\x71\xfa\x28\x7f\x23\x96\x45\x4b\x96\xae\xb7\x93\xca\xe1\x3b\x6c\xbd\xad\x2c\xcf\xfd\x84\xb3\xf7\x86\x2a\x8b\xc5\xf3\x3d\x6d\x8f\xe9\x6b\xe4\xdb\x3e\x5b\x99\xbd\xe6\x5b\x87\x7a\x6b\x1d\xff\xc6\x79\xf6\x1d\xeb\xf8\x7a\x6f\xa8\xe3\x78\xcc\xf5\xff\xff\xf2\x2f\x11\xd9\x73\x28\x89\xe2\x78\x13\x8d\x18\x8f\xf1\x7d\xc7\xc5\x79\x3e\x8a\xbf\x7c\xff\xed\xf8\xf4\x41\xcb\x04\xe6\x99\x2e\xf2\x37\x2a\xf4\x13\x4c\x32\x5a\x3e\xec\x31\x1e\x71\xc5\x61\x9c\x8f\xe7\x5d\xf8\xfe\x0d\x57\x0d\x79\xec\x73\x1f\x57\xc6\x71\x16\x9e\x07\xe4\x30\x97\x16\xdd\x7e\x8c\x1f\x55\x3f\xfd\x18\x37\xc9\x55\x38\x7e\x6d\xab\xe7\x6b\xdc\xa7\xe0\xb8\xb6\xd5\xc0\xfd\xcf\x3d\x35\x47\x4f\x1c\x17\xb5\x95\x04\xe3\x67\xcc\xf6\x5a\x28\xff\xe3\xe9\x03\xcf\x77\x1e\xb2\x39\x61\xfe\x31\x3f\x56\x82\xeb\x0e\x9a\x7e\x4f\xc2\xf7\x0e\x62\x99\xb1\xf1\xfd\xa5\x3e\x66\xe0\xfb\xeb\xa6\xac\x06\x79\x8e\xe5\x1a\x2e\x38\xae\xcb\xc8\x07\xe8\xdb\xb8\x77\x0d\x97\x87\xdc\x22\x95\xf6\xc1\xf1\x12\xf6\x02\x7d\x9e\x46\x35\xd3\xf0\x5c\x4c\x27\x91\xa0\xde\xa6\x9c\x7d\x12\xf5\x2d\x25\xe7\x9a\xa0\x6f\x93\xf3\x1c\xdd\x30\xcf\xd4\x49\xb1\x0e\x9e\xaf\x9e\xf4\x28\xdc\xbf\x9b\x74\x11\xec\x73\x8c\xb2\x33\x1f\xf6\x9b\x64\xec\x85\xf6\x38\xac\x42\x0c\xf5\x7c\xc4\xca\x3c\xb8\xee\x09\x99\x76\x70\x9e\x53\xaa\xb2\xf0\xbb\xac\x2c\xd9\xc0\x4e\x27\x8f\xf4\xfd\xd0\x7f\x9e\x32\xca\xd1\x8e\xa6\x4a\x66\xa2\x7c\x78\x8d\xc3\x0f\x39\xcf\xbd\x84\x1e\xf3\x5b\x8d\xbc\xfe\xb0\x0b\xaa\x9e\x81\xfb\x9c\x95\x4b\x03\xf5\x84\xa6\x49\x26\xfa\x01\x52\xbe\x7d\x1f\xe3\xfb\xe3\x10\x51\x6e\x24\x37\xd6\x01\xff\x36\xd9\x47\x04\xa3\xbf\x1d\x7b\x2e\x9e\x70\x2e\xc3\xe6\x99\xba\xd1\x0f\x0c\x1d\x2c\x0b\xed\xd1\x75\x08\x15\xda\x8b\x45\x79\x0d\x3c\x77\x0b\xa1\xeb\xaf\xf9\x95\xea\xe2\xfc\x5b\x2d\xdd\xd0\xde\xab\xcf\x78\xf9\x8d\x93\x71\xcf\x63\x9e\xcf\x78\x0b\xac\x3b\xce\x5d\xba\xd1\x2e\x46\xd6\xe0\x6c\xf4\xf3\x5b\xaa\x04\xe3\xdd\x94\x12\x5e\x82\x71\xa4\x44\xd6\x62\x8c\x8f\xb5\x35\x36\x9e\xe3\x48\xa3\x71\x03\xd7\x3d\x76\x72\xa3\xfe\x8f\x41\x6b\xeb\xc4\xef\x92\x38\x3b\x37\xc6\xbb\xc1\xd7\xae\x3f\xbe\x97\x38\x55\x51\x4f\x72\x54\xf7\xc1\x71\xab\xd3\x17\xfd\xea\x2c\x59\xc7\x0b\xed\xae\x67\x9e\x69\x68\x2f\xcd\xc6\xb6\xd0\xee\x5a\x3e\x7e\x00\xe5\xdc\x1f\x2f\x1c\xb8\x6e\x47\xd7\xbc\xe8\x37\xba\xf7\x9e\x04\xef\xd3\x18\xad\x35\x60\x7e\x1a\x27\x8e\x5e\x90\x27\x8d\xbb\x93\x1b\xe4\x49\x23\x97\x5c\x8c\x53\x9f\xf1\x75\xf0\xbc\x68\xe4\x76\x26\x88\x3b\x34\xe5\xcc\x7b\xc1\xcf\xd0\x34\x72\x46\xfd\xa7\x19\x77\x55\xe2\xfc\xb3\xee\xf1\x83\xe3\x34\xd8\x9f\xe3\x93\xf7\x42\xbf\x4d\xc4\x94\xe3\xc2\x79\x11\xdd\xea\x39\x71\x9f\xe4\xf7\x06\x9e\x3b\x51\x6c\x61\xd4\x43\xa2\x1e\xdb\xd0\xee\x88\xa3\x87\x11\xca\x7f\xb9\x68\x61\xfc\x25\xdd\x87\xf4\x31\xbf\xda\x66\xdd\xa0\xb7\xb4\xe7\x3a\x17\xe3\xc2\x67\xbc\x7c\xe2\xf7\x6e\xfe\x38\x7a\x3c\xaf\xbd\x68\xee\x81\xfb\xdc\xf7\x86\xa2\x7e\xd2\x8f\xf9\x45\x81\x9e\xd3\xae\x54\x42\xbf\x4d\xe7\x72\x2c\x07\xff\x40\xe7\x96\xa9\xe1\x3c\x27\xcc\x29\x1f\xf3\xf4\x27\x67\x42\xb9\x9d\x8e\x38\x17\xe7\xbf\x1c\x6a\x8c\x7a\x72\xd7\x32\x7a\x9c\xfb\xb5\x51\xf5\x38\xc7\x1b\xec\x47\x70\x9f\x96\x5d\x5d\xb8\x4f\xab\x0c\x6e\x3c\x2f\xeb\x19\x24\x28\x7f\x9f\x11\x71\x71\x9f\x6e\x61\xf2\xb0\xd3\x58\xc7\x4a\xf0\xdc\xe3\x24\xf7\x43\x9e\x61\xb5\x1b\x71\x1a\x45\x18\x13\xe3\x7e\x22\x3d\x1c\x71\xc5\x67\xbc\xd7\x6b\xbc\x93\xc7\x40\x7d\xcb\x99\xfb\x91\x37\x51\x72\xdd\x6a\xdc\x7f\xea\x1d\x82\x7e\x98\xf2\x0a\xf9\xc6\xf3\x4a\xd7\x92\xc0\xfd\x94\x68\x86\xe2\x77\xb5\xce\xab\x98\x97\x51\xfb\x1c\x84\x7a\xce\x63\x66\x4b\x80\x3f\xe1\xc1\x8b\x86\x3e\xc6\xf5\x2c\x63\x90\x33\xcf\x71\x4e\x20\x1e\xe6\x39\x5a\x22\xe1\xbb\x78\x72\x66\xa1\xdf\xe6\x29\xfb\xee\x8d\xeb\x4e\xdd\x3a\x27\xee\x7f\x5e\x16\x45\x39\xf0\x74\x95\x8d\xb8\x94\x67\x1b\x97\x83\xde\xf2\xec\x32\x27\x1c\xe7\x41\x83\x31\x5e\x33\xeb\xa0\x83\x76\xc1\x7c\xd8\x69\x81\x7d\xb1\x28\xad\x43\xa0\xb7\x2c\xd9\x51\x17\xe5\xb6\xe8\x92\x1a\xce\xa3\x37\x27\x05\xee\x67\x0b\x0d\x43\xdc\xfe\x09\x16\x4b\x0c\x71\x66\x46\x39\xe1\x7e\x66\xd6\xde\x8d\x78\x6c\xd6\x98\x91\x8a\xb8\x3a\x76\xda\x2b\xcf\x0a\xe5\x95\xf5\x78\x9f\xd7\x34\x8c\x9b\x7c\x54\xf3\x18\xca\xe1\x52\x8c\x61\xf8\xbd\x97\xb7\x2b\xe6\xa7\x7c\x57\x7a\x4e\x9c\xc7\xa6\xe8\x30\xd4\x07\xbb\x93\x9d\x70\x1e\x4b\x77\x7e\xec\xc7\x8d\xd7\xc4\xb8\xcc\x1e\x45\x19\x38\xbf\xf7\x89\xb9\xf1\xdc\x3f\x83\x86\x7e\x80\xe3\xd8\xce\x83\xf2\x09\x5b\x8b\x1e\xeb\x86\x0f\x15\x7f\x8c\xb7\x37\x63\xdc\xe4\x5c\x39\xef\xc0\x7d\x66\x44\xf1\xc0\xfd\x64\xde\x21\x0c\xfe\x8d\x6b\x85\x05\xe2\x6d\xae\xd5\x54\x8e\xf3\x97\x96\xd9\x78\xbc\x9f\x9d\x77\xa1\x9c\xab\x62\x8f\x85\xf6\xd5\x74\x4e\x20\x1e\xe6\xbe\x76\x19\xf3\x14\xee\xcc\xb5\xd0\x0f\xc8\x18\xa5\x03\xe3\x85\x8c\x7d\xf4\xaf\x0b\x61\x3f\x8d\xdb\xd9\x8a\xf9\x8b\x8c\x98\xa3\x27\xf8\x0d\x99\xb7\x5a\x71\xff\x32\x6d\xca\x42\x9e\x41\x88\xc2\x04\xfd\xb6\xd0\xce\x2a\x86\xef\x15\x6a\xb2\x83\x72\x13\x66\x3d\x82\x71\x4a\x78\xf7\x10\xe4\xa9\x84\x4f\xed\xc0\xbc\x52\xd8\xd7\x38\x84\xf3\x08\x9d\x1c\x98\x07\x89\x6c\x9a\x0f\x5c\x27\xd2\x2b\x07\xf2\x0f\xb2\x58\x86\x21\x4e\x90\x95\x3f\x26\xea\x30\xae\x63\x45\x3a\xe8\x8f\xa8\x48\x66\xe0\x3c\x2a\x37\x1b\xe3\xa9\x68\x4c\x93\x06\x3d\x91\x4d\x6d\x89\x38\x4a\x36\xef\xb5\x15\xe5\xb6\x43\xef\x45\x9c\x20\xbb\x16\x29\xda\x97\x9c\xc5\x79\x30\x9f\x92\xcf\x24\x03\xf9\x1f\xb9\x1e\xf7\x0e\x94\xc3\x4d\x3d\x33\x21\x3e\x8a\x8d\x3d\x14\xed\x5d\xec\x93\x91\x20\x5f\x21\x26\xdb\x05\xe3\x88\xd8\x91\x31\x1e\x7a\x6e\xb7\xaa\x30\xdf\x14\xbf\x62\x8b\x71\x7e\xef\xbd\xea\x21\xb7\xd8\x1e\x0b\x71\x88\x84\x45\x31\xf2\xd5\x12\x96\xd4\x0f\xbd\xcd\x25\x44\xc8\xa7\x49\x6e\x22\xc2\x3c\x48\xd2\x8e\x06\xe6\x65\x52\x1a\x61\xc8\xeb\x4a\xd9\x9d\xfb\x71\x2e\xe5\xbd\xe2\xa1\x87\x95\x7c\x36\xfa\x1f\xa9\x5a\xfb\xc1\x7f\x4a\x95\xf3\x99\x38\xde\xe3\x93\xd8\xe3\xba\x3d\xf6\x25\xe4\xa3\xa4\xc7\xbd\xf6\xf8\xde\x1e\x4e\x8f\x78\x27\xcd\xa3\xc7\x7d\xac\x7b\x7b\xec\x87\x5d\xb4\x2d\x5e\xc8\x2f\xad\xb1\x2b\x79\xc2\xfc\x6b\xd4\xd1\x47\x5e\xb3\xe6\x88\xd1\x88\x1b\xd7\x9c\x6d\x8e\x78\x6c\x4d\x99\x3a\xd0\xaf\xae\x79\x84\x1b\xe5\xf6\x89\xc9\xbc\x0a\xf7\x39\xfb\xc4\x46\x7e\x78\xd1\x5a\xeb\x91\x0f\x2e\xf2\xbc\x81\x79\xcd\xe2\xa3\x55\x58\xd7\x58\x22\xb2\x15\xf9\xf6\x25\x1a\x15\x8c\xfb\x94\x1f\xd3\x7d\xf0\xb7\x4b\x6e\x1e\x11\x5c\x57\xd2\xd5\x30\xdf\x59\x8b\x57\x37\xe2\xb1\xb5\x84\x46\x16\xe8\xcf\x5a\xed\x7d\x0a\xfc\xe4\x52\x29\x25\xcc\x73\xd7\xd6\xd3\x84\x3c\xc9\xba\x3b\xf7\x79\xcc\xef\xe3\xce\x85\x7e\x66\x39\x9d\x25\xf6\x18\x97\x2e\x9f\xb8\x1f\x5f\x2e\x1b\xeb\x11\xcb\x57\xdd\x07\xff\xb0\xfc\x9c\x55\xf9\x98\xa7\xd6\x76\x05\x7f\xbe\x62\xb9\x5e\x43\x39\x87\xad\xcb\xe8\xff\x57\xf8\x21\xda\xa8\x3f\xe1\x39\x68\xe3\xf9\x16\xd9\x18\x88\xab\x57\xf1\x9e\x8e\x7e\x60\x95\x7b\x2f\xc2\xf1\xa6\xb5\x1b\xf3\x91\x0f\xba\xa2\xdb\xf8\xbd\xcd\x3c\x1f\xfc\xe4\x6a\x19\xbd\xd0\xcf\xaf\x16\xf7\x83\xf1\x65\xb5\xf4\xdf\x74\x04\xfc\x34\xbe\x63\x1b\xe2\x6d\x1d\x9a\x44\x58\xe7\xd2\x39\xa9\x0e\xfa\x1f\x9d\xe4\x77\xa0\x9e\x7f\xc6\xdb\x11\x6f\xeb\xd4\x3b\x1f\x7e\x46\x69\xe9\x61\x8c\x3b\x4a\x2d\x9a\xc8\x0b\x29\xcf\xb3\x02\xf9\x64\xe5\x19\x33\xb0\x9e\xa8\x7c\xa7\x15\xca\x4d\x65\x74\x4c\x8c\x0b\x2a\x33\x6a\xa2\x7f\x50\xe1\x79\xd8\x71\x9f\x6b\x8c\xbd\x0c\xce\x51\x97\x06\x89\x43\x7c\xd7\x75\x28\x22\x41\xaf\x54\xc7\x99\xcc\xb8\x1f\xbd\x35\xec\xb1\xff\x4d\x2a\x82\xf5\x4d\xdd\x64\x57\xb0\x3e\xa8\x9b\x23\x65\xe0\xfc\x3b\x76\x05\xe6\x05\xba\x5b\x4f\x3f\xce\x7d\xf7\xe6\xbb\x51\xce\xbb\x63\x5e\x07\x3d\xd4\x63\x7c\x37\xf2\x2a\x7a\xe7\x52\x42\x3d\xd7\xbb\x7d\xfc\x75\x67\xd2\x4f\xe3\xc9\x45\x03\xec\x4b\x6f\x2e\x39\x13\xd7\x35\xf1\x73\x0e\xca\xd9\x94\xf6\x79\xe8\x8f\x4f\x23\xdf\x78\xbe\xce\x47\xf3\x21\x67\x0f\xe5\x73\x71\x7e\x6f\x32\x25\x94\x4f\xcc\x2d\x95\xf8\x5d\x21\xdd\x85\xf5\x5f\x8d\x18\x51\x8f\x75\x23\x72\xec\x87\xfc\xa3\x7d\x1f\xac\xc3\x6a\x8e\xc9\x8a\x79\x81\xe6\x08\x1d\x8a\x72\xcb\xd5\xb2\x10\xbf\x69\xea\xe5\x8b\x75\x01\xad\x48\x62\xe4\xf3\xb5\x6d\xb2\x62\xbf\x81\xb6\xbb\x18\xa3\x5d\x77\xe7\x54\x8c\x6b\x7b\x10\x9f\x42\x3c\xb6\x87\x0e\x62\xe4\xd3\xf6\xd0\x6e\xc5\x78\xb4\x47\x86\x31\xda\xdd\x1e\x7d\xb9\x10\x27\xef\x39\x68\x3f\xf2\xd9\x3d\x25\xce\x42\xbe\x6b\xcf\xbd\xa2\x91\x9f\xd9\xb3\x85\x0b\xf1\xd2\x26\x6d\x3d\x58\xbf\xdb\x14\x3c\x26\xe6\xb9\x9b\xe7\x64\xc6\x7a\xf7\x66\x1d\xe6\x88\xcf\x3f\xe9\xce\x78\xe0\xea\xcd\x31\x68\x21\x1e\xdb\xb2\xdd\x3b\xe1\x5c\xb6\xf4\xa5\x81\xf5\x9d\xbd\xce\xc8\x4b\x60\xbf\x7b\x7d\xfc\x36\xf2\x0f\x7b\xb5\xca\x83\x87\xdf\xca\xd9\x0b\xed\x62\xab\xdc\xf9\xa8\x47\x6f\x55\x5a\x47\x71\x9f\x5a\x3a\x27\xd6\xb5\xf7\x1e\x77\x77\xe0\xfc\x7b\x9e\x3c\x0c\xf1\x6e\x6f\xde\x83\xb1\xee\xb0\xf7\xf2\x2a\xcc\xeb\xf7\x5e\x95\xfa\x9a\x47\x59\x07\xe6\x3b\x7b\x1f\xfe\xa8\x22\x8e\xb7\x4e\x41\x5e\x65\x9f\x15\x71\x1f\xfb\x39\x7b\x1b\x37\xca\xe1\xd8\x75\x43\x1e\x6c\x9f\xec\xeb\xc8\x2b\xee\xab\xe2\xf1\x38\x17\xa3\xe1\xeb\xe0\xfc\xb6\x7a\x1e\xe4\xaf\xb6\xe9\xda\x07\x71\xf2\xb6\x1c\x37\xd1\x2f\x7d\x30\x08\xff\x75\x9b\xdf\x5f\xc6\x7d\x8e\xb5\x1f\xf6\xeb\xd2\xeb\x51\xbf\xdb\x7e\x24\x0e\xf2\x3c\xdb\xef\x88\x0e\xb4\x47\xb7\x51\xf4\xf0\x33\xde\x4c\xb4\x51\x7f\x3e\xf9\x6f\x2b\xce\x1f\x21\xe2\x0f\xfb\x8a\xbc\xf9\xc8\x2f\x76\xb2\x26\x3f\xec\x28\xb3\xbb\x11\x57\xec\x1a\x2e\x84\xf1\x7a\x97\x6e\xdb\x07\xfd\x4f\x9d\x33\x15\xf3\xaf\x5d\x79\xd3\xd1\x9f\xef\x96\x7d\x06\xf2\x9c\x3f\xaa\xa1\x3d\xe6\x69\xbf\x36\xb0\xff\x6a\xb7\x47\x28\xf6\x39\xec\xce\x8e\x44\xff\xbf\xbb\xb6\x65\xc3\xba\x67\x10\x3b\xa1\x9e\x9f\xc1\x2c\x17\x71\xe3\x19\x57\x9b\xd1\x8f\x9d\xe1\x51\x0f\x3f\x7c\xe6\xd8\x55\xe8\x6f\xcf\x9c\x63\x13\xfa\xff\x33\xd7\xe4\x83\x7e\xfe\xfc\xc8\xfb\x61\xff\xdb\xa1\x71\xd7\xc4\x3a\xd1\x21\x19\x67\x63\x7f\xcb\xe1\x79\x59\x0b\xce\xfd\x30\x8d\xf5\xe0\x01\x3e\x18\x99\x06\xf2\xc9\x87\x55\x77\x63\x3d\xfa\xb0\xda\x1c\xa8\x87\x87\xfd\xc7\x4a\x38\x8c\x0b\x57\x26\xc6\xa9\x23\x47\x6e\x61\xdc\x3c\xe2\x46\x8a\x38\xea\x88\xc7\x78\xe8\xf9\x91\x2c\x67\xcc\xf7\xcf\xe2\x99\x8e\xfd\x2d\x67\x71\x0a\x21\xbf\x7a\xd6\xca\xb9\xd1\xaf\x9e\x55\x62\xd7\xf1\x7c\x57\x9f\x1b\x98\xdf\x9d\x0f\xf8\x89\x81\xef\xeb\x08\xf3\xc7\x79\x7d\xdc\x79\xa0\x5f\x3a\xca\x61\x13\xf3\xa0\xf3\x09\xbf\x03\x79\xbc\xb3\x37\x97\x63\x9e\x7b\xb6\xc9\x53\x9e\x87\xe7\xab\x1f\xe3\x1c\xef\xec\xc7\xf7\xda\x74\x6f\xec\x87\x3c\x76\x89\x0f\xf2\x39\xc7\x6c\xf4\xa3\x5f\xee\xf8\xb8\x5b\xd1\xde\x8f\x4f\xa5\x44\xdc\x75\x9c\x93\x17\xf2\x72\xc7\x45\x63\x63\x3f\xe4\x71\x15\x62\xcc\xa3\x8f\x5f\x3e\x86\xf5\xf1\x13\x63\x19\x31\xee\x27\x7c\xaf\x78\xec\x3f\xca\xd3\x10\x57\x9f\xdc\x6b\x3d\xf2\xcd\x93\x91\x67\x0b\xda\x5d\x4d\x59\xfc\x38\xf7\xda\x87\x1c\xf3\x9d\x53\x46\x2c\xc8\x9f\x9f\x16\x92\x81\xbc\xc4\xe9\x96\x95\x98\x47\xdc\x21\xb1\x36\xf2\xea\x77\xdc\x28\xc7\x3c\xe8\xce\xc3\x4c\xc8\x9f\xdf\x79\xd3\x8a\x40\x1f\x2e\x29\x17\x23\x2f\x74\xe9\x14\x07\xf2\x3c\x97\xd2\xca\x30\x8f\xbb\xbc\xe2\x3e\xf0\xdb\xe5\xc3\x83\x10\x87\x5c\x8e\x9c\x82\x79\xdf\x95\xf1\x81\xac\xf8\x5d\x42\xeb\x32\xc6\x91\x2b\xdb\xf5\x51\xa7\xb8\xe2\x7d\x06\xf6\x0d\x5e\xc9\x31\x0e\xfa\xdb\xbb\x8e\x2f\xc5\x3a\xc5\x5d\x41\x8b\x30\x8f\xbe\x2b\xd5\x13\xf1\xc0\x5d\xd5\xa4\x8a\xf3\xab\x7e\x12\x63\x3c\x5f\xdd\x3a\x5a\x41\x3f\xaf\xc6\xae\x8b\x76\x77\x35\x92\x08\xeb\x11\x57\xa3\x37\x23\x0f\x7f\xb5\x95\x2f\xd6\x6d\xef\xa6\xbd\x17\xf2\x69\x77\x73\x76\x2c\xd0\xff\xbb\x95\xe8\x20\x2e\xba\xc7\x58\x9a\xc0\xae\xef\x69\x0e\xc6\x7a\xd3\x3d\x6d\x4d\x0f\x39\xdf\xb1\xe7\x44\x7b\xbf\x77\x65\x13\xe6\x7d\xf7\xea\x98\x17\xfb\x49\xee\x8d\xb1\x19\xeb\xdd\xf7\xc6\x5c\x8c\x79\xfd\xbd\xd9\xe9\x88\x57\xaf\xd1\x5a\x89\xbc\xcd\x35\x2e\x29\xac\x57\x5e\x73\xd9\x0b\xfb\x51\xaf\x65\xf7\xa3\x9e\x75\xdd\x49\x18\xfd\xf3\xf5\x6c\x37\xcc\xa3\x6f\xd0\x58\x8f\x3e\xe4\x1b\x3c\xd7\x7d\xc8\x3f\x3c\x4a\x10\x17\xdd\x88\x69\x84\x7c\xc8\x8d\xa2\xb1\xb0\xef\xe2\x46\x95\x05\xf2\x5a\x37\xfb\xc8\x45\x9c\x70\x6b\x0f\xba\x88\x57\x6f\xc5\x8a\x5e\x28\xff\x5e\xbc\xce\xc3\x3f\xb4\x6b\xec\x8b\x72\xe8\xbc\x67\x20\xee\xba\x5d\xe3\x3c\xfa\x7c\x6c\xec\x49\x89\x3c\x92\x8d\x8a\x74\xf4\xff\x36\x2d\xc6\xc1\xfc\xc2\xa6\xcf\xbd\x0c\xe7\xa7\x41\x5a\x98\xf7\x19\xf1\x48\xc3\xba\xad\xd1\xea\x2e\xac\x17\x18\xf9\xa8\xb3\x70\x5d\xca\xbc\x79\x70\x9c\xd7\x16\x43\xff\x6c\xec\x4d\x1b\x71\x8e\x71\x69\x06\xe1\xba\x32\x72\xfa\x04\xbb\x33\x91\x35\xd6\x63\x5d\x51\xbb\x8c\xfd\x9c\x26\xae\xb2\xb0\x7f\xc6\x16\x33\x09\xda\x85\xad\x0f\x80\x43\x1c\x62\xca\x9b\x1b\xe3\x82\xa9\xec\x7a\xe4\x77\xa6\x71\xd9\xd1\x0f\x98\x56\xce\x85\xf1\xd1\xf6\x74\x7f\xf4\xa5\xdb\x56\xbe\x8c\xf9\x82\x9d\x61\x3a\x31\xef\xb0\x33\x9b\xfc\xf1\x5d\xa7\xcb\x68\x82\x5f\xb5\x3b\x6e\x07\xe2\x37\xbb\xd3\xec\x3e\xf4\xc1\x42\x8e\x62\x5f\xae\x59\x9f\x35\x11\x3f\x98\x75\x56\x23\x9e\x34\xeb\xa2\x8b\xf1\xda\xdc\x68\x2b\xd6\x1d\xcc\xd3\xce\xc6\xfe\x1f\x0b\x49\x5b\xc8\x33\x58\xc4\xe9\x07\xef\x67\x11\xa6\x8e\x3c\xb6\x45\xf2\xbe\x98\x6f\x5a\x64\x4e\x41\x9e\xcd\x72\x78\x09\xd6\x23\x2c\xe7\xe5\x7a\xe8\x6d\xae\x6a\xc1\x3e\x49\x4b\x1d\xed\xd8\xb7\x63\xb9\xdd\x1a\xfd\xb3\xe5\xd9\xf3\x60\x9f\xb9\x65\x0c\x21\xcc\xd3\x2d\x9b\xa2\x10\x7f\x5a\x4d\x5a\x8d\xf8\xc1\x8a\xb3\xed\x61\x8f\x55\xad\x1b\xfd\xb6\xf5\xe4\xd9\x58\xc7\xb1\xa6\xb5\x1c\xeb\xcb\xd6\x72\xa6\x63\x7d\xcd\xc7\x98\x63\x34\xe8\x8f\x4f\x3a\x14\x78\x0f\xc5\xe7\x92\x54\xe4\x1b\x9d\x64\x8e\xc0\x7a\xab\xd3\x55\x71\x8c\xbf\x4e\xb7\x4f\x33\xbe\xff\xc9\xea\x09\xf5\xd6\x79\x0d\x0b\xc4\xe1\xce\x2b\xe2\x71\xcf\xcb\xf9\x5a\x5d\xf4\xb7\xce\xce\xd2\x88\x1b\x9d\x7b\xc6\x45\xbf\xed\xa2\x1f\x07\x8d\xef\xcb\x8d\xfb\xe8\xdb\x77\x89\x41\x2b\x1f\xef\x67\x9c\x87\x1f\x76\xa9\xdc\x84\xfd\xb1\xbe\xe6\xe0\x8b\xfd\x90\xbe\xa6\xeb\xa3\xbf\xdd\xd7\xea\xfb\xc0\x45\xbe\x6a\x33\x61\x1e\xea\x3a\x63\x3d\xfa\x3d\x5c\x29\xd7\xc3\x7f\xba\x06\xd3\xc0\x3a\xa9\xef\x2d\xd1\x88\xd3\x7c\x6f\x9b\x8f\x7c\xc7\x77\xec\x25\xc8\x4b\xf8\x2e\xb2\x81\xf8\xd9\x0f\x69\x0d\x8c\x3b\x7e\x64\x26\x61\x1e\xe7\x47\xf8\x1c\xac\xdf\xf9\x59\xe1\x81\xfd\xe7\x7e\x67\x98\x62\x7f\xbb\x5f\xf6\xbd\xb0\x0e\xe2\x77\xed\x53\xc8\x5b\xfa\x55\x1b\x1b\xf9\x22\xbf\x76\xe7\xc1\x7c\xd6\x6f\x5a\x18\xf6\xd7\xf9\xad\x61\xf4\xb0\x17\x63\x5d\xf9\xd0\x1f\x93\xe9\x03\xfb\x7b\xdd\xc4\x72\x61\x9d\xce\x6d\x5b\x35\xf6\x81\xbb\x19\x6f\x43\xdc\xe8\xe6\x36\x09\xfb\x13\xdc\x85\x84\x1f\xfa\xe3\xbb\xb3\x1e\xfa\xe9\x4d\x76\x1e\xfb\xf4\x8e\x1e\x8a\xfa\x13\x25\x66\xc8\x1f\x7a\x8e\xbd\xfc\xe0\x3e\x73\xf1\xbe\xd8\xd7\xe1\xb9\x83\x36\xf6\xa7\x79\xba\x59\x61\x3e\xe5\x19\x63\x4e\x8c\x23\x5e\x74\xe7\xc1\x7e\x4e\xaf\x13\xeb\x3e\xf4\xa7\x29\x8e\x61\xdf\xaf\xb7\x86\x19\xde\x7b\xf5\xee\x29\x0f\x1e\x32\xc6\xe0\xe5\x58\x37\x8c\x31\xe5\x6c\xc4\xcf\x31\xd6\x5a\x81\x7c\x60\x0c\x9d\xaf\x3e\xba\x98\x7b\x97\x62\x3d\x31\x66\x53\x1b\x9e\x6f\x90\x7f\xe6\x07\xbd\x0a\xf1\x3d\x03\xeb\x08\x21\x6e\x2e\x8f\x79\xe4\x83\xb6\x11\x87\xc4\x1a\x26\x8f\xfe\xed\xd0\xe1\xaa\xc8\x57\x84\xce\x12\x42\x7e\x29\x94\xd6\x70\x46\x79\xaa\x90\x3a\xf2\xcc\xa1\xde\x4c\x98\x77\x87\x06\xbb\xd7\x63\xdd\x52\x29\xc4\x63\xb1\xd7\x3d\x8a\xf7\x6e\x62\x6f\x57\xc5\x7a\x7d\xec\xa4\x64\xec\xc3\x8f\x9d\x9f\x90\x8d\xe7\x75\x6e\x46\xa3\x3f\x89\x63\xe7\x3c\xfa\x1c\xe2\x44\xd9\x83\x37\x8e\xd3\x3e\x27\xe6\xb9\x71\xd7\x19\x8e\x75\xa8\xb8\xfb\x23\x68\x3c\xdf\xeb\x2c\x81\x7d\x59\x61\x33\xad\x1f\xfa\x60\x3c\xcf\x44\x7b\x0c\x8b\x1c\x1b\xf3\xca\xf8\x04\x5a\x1a\xa8\x0f\xbe\x6c\x3f\xfa\xae\xc3\xdd\x69\x60\x9f\x49\xb8\xb7\x10\xf2\x93\x11\x5c\x34\xb0\xaf\x29\xe2\x98\x2c\xbc\xef\xf9\xd9\xa5\x2a\xd6\x37\x23\x49\x43\xd1\xae\x23\xc9\x8d\x11\x07\x46\x8a\x9e\x8d\xb8\x22\xb2\x45\x19\xfb\xd9\x22\x7b\xbb\x20\x7e\x8b\xec\xde\x8c\xfc\x58\xd4\x31\x72\xe4\xbb\xa2\x5c\xc6\xe3\x5e\x46\xf4\x58\x43\x30\xbe\x47\xd3\xbc\x1b\xeb\x59\xd1\xc4\xfb\x65\xbf\xbd\xbc\x05\xef\x53\x44\xef\xb5\x14\xef\x2d\x46\xdb\x91\x7e\x9c\x4b\xfb\xe4\xc2\x7a\x6e\x8e\x21\xdb\x90\xd7\xca\x21\xd7\x1f\xf7\xe3\x72\x2c\x17\xc2\x7a\x5f\x0e\xb5\x53\xa8\x9f\x39\xb2\x7a\x21\xff\x90\x73\xd4\xbd\x58\xc7\xc9\x39\x39\x02\xeb\xcb\x39\x6d\x7a\x21\x0f\x9f\x33\x3e\xb8\x02\xe7\xa7\x51\x72\x50\xfe\x49\x3e\xa4\xb1\x1f\x38\xa9\x48\xee\x43\x3e\x2c\x43\x36\xf2\x54\xc9\xeb\xd0\xc6\x7b\x85\xc9\xab\xe8\x22\xde\x4e\x5e\x2d\x86\x38\x39\xd9\xaa\x0c\xe3\x75\xb2\xdf\x6e\xe4\xd3\x92\x53\xc9\x11\x77\x25\xa7\x47\x62\x5c\x4b\xee\xb8\x47\x51\x0e\xa2\x35\x1f\xf7\xca\x53\xbc\xd7\x44\xbf\x91\x6b\xcd\x33\xf1\xbe\x5e\xae\x73\xc3\x30\x0e\xa6\x4e\xea\x8d\xf8\x21\x55\x56\x3e\xfa\x7c\x52\x97\xa7\xce\xc7\xf8\xb9\xeb\x71\x8f\x29\xd5\xaf\x0e\xcc\xd7\x52\x73\x52\x60\x3d\x2e\xb5\xf5\x26\xf6\x07\xe6\xde\x5d\x07\x71\x7e\x1e\xd9\xf6\xda\xe7\x59\xc9\x89\xfc\x55\x1e\x3d\x79\xd6\x63\x9e\xbb\xca\x5e\xe3\xcd\x3a\xd1\x8f\xe5\xbd\xc7\x27\xc6\x9d\xbc\xb7\x46\xe3\xff\x7e\xa4\x8d\x16\xc5\xbc\x32\x6d\x4a\x38\xde\x2b\x49\xe3\xeb\x8c\x75\xf9\xfc\xe0\xde\xc6\x3e\xd5\x34\xa9\x7a\xfc\x6f\x46\x9a\x2a\x35\xe2\xf6\x34\xf7\xb5\x31\xde\xa5\xa5\x9d\x89\xbc\x44\x5a\xb5\x3f\xf8\xf6\x74\xba\x71\x11\x6f\xa4\xcb\x26\x45\x9e\x2a\x5d\xe2\x16\xf2\x66\xf9\xc1\xcf\x82\xf7\xf4\xd3\x2b\xbc\xb1\x5e\x9f\xde\x73\x8e\x87\xfe\x07\x4d\x19\xc8\xdb\x67\x48\xec\xc0\xfe\xd8\x8c\xa5\x5d\x78\x6f\x2b\x63\xcf\xb1\xf1\x7e\x65\x86\xad\x2e\xe4\xf7\x32\x6c\x1f\x41\xbe\x2b\x23\xe9\xde\x87\xfe\x47\xc6\xce\xc4\xf1\x1c\xee\x8d\x7c\x6f\xe6\x8c\x08\xcc\xf7\x33\xa9\xa7\x3e\xf4\x36\x65\x14\x3d\xf4\x24\xd7\x9e\x16\x28\x9f\xd4\x38\x1b\xf3\xa0\xcc\x68\x56\xac\x77\x67\x66\x16\x21\xff\x96\x45\xaa\x82\xfd\x30\x59\x87\xb5\x90\xbf\xca\x1e\xc7\x37\xde\x6b\xcb\x96\x55\xf5\xb0\xaf\x56\xd6\x42\x5e\x34\xdb\x78\x3e\xfa\x40\xb2\xe3\x74\x3f\xfc\x43\xd7\xb6\x83\xfd\xed\xd9\xd5\xf1\xb8\xa7\x99\xdd\x75\x1b\x79\xef\xec\xee\xb3\x10\x77\xfd\xd8\xa4\xea\xc8\x9b\xd5\xa8\x91\x56\xf0\x5d\x35\xd7\xe5\xc4\x38\x58\xf3\x88\x1b\xea\x49\xcd\xb3\xb4\xfb\xf1\xfe\xed\x9c\xc8\x87\x17\x8d\x75\x27\xe6\x47\x45\x24\xe4\x88\x1f\x8a\x5c\x6b\x63\xff\x76\x91\x9b\x07\xda\x75\x51\xa4\x12\xd6\x1d\x8a\x52\x65\xa2\x3c\x8b\xaa\xe3\x20\x4f\x55\x4c\x6b\x25\xc6\x97\xe2\xed\x4b\xb1\xaf\xaf\x44\x77\x3f\xf2\xdc\x5a\x7b\x05\x27\xee\x73\xc5\x5d\x0f\x5e\xb1\x56\x71\x4c\x8c\x83\xa5\x73\x71\x62\x3f\x6d\x29\xe9\x11\xe4\xd5\x3f\xd9\x11\x93\xa0\x1c\x54\x0f\x29\xe2\xa8\xd2\xed\x71\x90\x17\x2a\xdd\x25\x8f\xfa\x4e\x69\xf2\x7e\xf4\xad\x95\xd6\x98\x8f\x3a\x4e\x69\x4f\xb2\xc7\x77\x6d\xef\xd1\xc8\x0f\xd7\x4e\xee\x42\xfe\xa7\x76\x0d\x31\xbc\xe7\x55\x67\xdc\x2b\x78\x1f\xb0\x8e\x5a\x0e\xcc\x97\xeb\xe8\xc7\x82\xc1\xaf\xd6\x89\x6b\x8c\x7d\x38\x75\xc2\x6b\x6e\x5c\xf7\x4e\x5a\x13\xf3\x91\xba\x9b\x36\x3d\xf4\xf3\x7a\xd8\xeb\xdc\x6f\x5c\xda\x98\x57\xd6\x2d\xdf\x03\xe3\x51\xd9\x92\xa1\xc8\xdf\x96\xa9\xea\x45\x1e\xaf\xcc\xf7\x0e\xcc\xbb\xcb\xa7\xb2\xe3\xfd\xa3\xf2\x0f\x80\x46\x3f\x53\x4e\x54\xf9\x58\xd7\xf9\x4c\x41\xbc\x54\x2e\xd2\xf5\xf0\x4b\x7e\x6b\xf0\xc5\xef\x72\x8b\x10\xc4\xab\x15\x4e\xf7\xc1\x4f\x56\x84\xd3\xf3\xfd\x96\x54\xec\x77\xad\x1c\x2e\xf1\xb0\xc7\xa4\x3a\x8e\xb8\xb4\xd2\xc7\x11\xc4\x15\x95\xb5\xeb\x60\x5c\xa8\x1a\x52\x8a\xf7\x53\xaa\x66\xd7\xa3\x6f\xaa\x8a\x69\x3c\xee\xa3\x55\x2d\x1e\x13\xfb\x7e\xab\x36\xc9\xe3\x3e\x51\xd5\xed\x1e\x78\x1f\xb3\xca\x37\x0f\xe4\x03\xab\xdc\xfc\xd1\x77\x51\xcd\xb9\xf5\x61\x5f\x2d\x93\x1f\xf1\xbd\x7a\xf5\x8a\x87\xff\x69\x1d\xc5\x8e\xeb\xb6\x45\x5e\xe4\x15\xab\x5d\xfd\x81\xdb\x7b\x0c\x25\xc2\xfe\xdb\x1e\xab\x5d\x91\x97\xe8\x11\x94\x17\xef\xa7\xf4\x88\x58\x8f\x7b\x0d\x3d\xd2\x72\x2c\x90\x5b\xcf\x19\x67\x60\x9d\xb1\xa7\xd9\xeb\x7e\x74\x93\x52\x10\xfe\xbf\x4d\x93\x6e\x39\xc8\xcf\x34\x6d\x9e\x8d\xff\x8f\xd4\xbc\x7c\x5d\xac\xeb\x35\x6f\xff\x20\x6b\x1c\x3f\xb4\x16\xf2\x0f\xfd\x81\xe7\x86\xf7\x10\x5b\x96\x97\xe3\x3d\xc7\x96\xad\xe7\xe0\xfd\xc4\x96\x4b\x5b\xb0\x3f\xb0\xc5\x32\x07\xc6\xf7\x96\xf0\x35\xb0\x3f\xbc\x57\x26\x09\xe2\x8d\xd6\xc1\xc3\x10\xc7\xb6\xe6\xae\xd9\x28\xe7\x4d\xd3\x27\xf2\x99\xbd\xc5\xbb\x0e\xee\xf3\xcc\xcd\xf3\x21\xb7\x23\xfd\x41\x88\x38\xbe\x5a\x1e\x75\x93\x3e\x9b\x85\xb1\xbe\xd6\xa7\x2e\x17\xc6\xb5\x3e\x65\xa7\x11\x3f\xf4\xa5\x73\x18\xff\x6f\xa1\x6f\x6e\x17\xec\xcf\x69\xa3\x93\x8f\xff\x5f\x6a\x23\xbb\x82\xf6\xdb\x46\x3e\x14\xef\xdb\xb6\x9d\x35\x2e\xf6\xdb\xb7\xd5\x1d\x8c\xff\xfb\xd7\xd6\xcc\x0b\xef\xa7\xb4\xcf\xb8\xfe\xd8\x8f\x53\xcf\xc6\x3a\x5a\xfb\xcd\xe7\xba\xee\x3d\xe6\x63\xff\x1e\x4b\x05\xeb\xd7\x1d\x33\x62\x22\xae\xeb\xd0\x79\x1e\xfe\xad\xe3\x23\x7e\xf4\x57\x9d\x33\x86\x62\x5f\x47\xa7\x6a\x19\xe2\xab\xce\xf3\x49\xfb\x70\x3f\x79\xbd\x1f\xff\xbf\xd7\x35\xa8\x1b\xf1\x4f\xd7\x0c\x13\xe4\x91\xba\x88\x49\x30\x8e\x74\xf1\xec\x8b\xfd\x0f\x5d\xfb\x68\x21\x1f\xde\xbd\xaa\x1f\x7c\x60\x77\x0a\xdf\x5d\xbf\xfc\xf5\xdf\xfd\xfc\x67\xff\x37\x00\x00\xff\xff\x8f\xc1\x62\x83\x41\x5e\x00\x00") +var __1696853635_input_dataUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x6c\x7c\x4d\xcb\x6d\xc7\x8e\xde\xdc\xbf\xe2\xc5\x13\xdb\xe0\x41\x95\xa4\x52\x55\xd1\x23\xa7\x39\x04\x93\xdb\xee\xc4\x7d\x1c\xd2\xa3\xa0\x4f\xee\x25\xb4\x6f\x20\x0e\xe4\xe7\x87\x7d\xec\x90\xf6\x7e\xd6\x54\x6b\x6d\xad\x2a\x95\x3e\x1f\xa9\xf6\x3f\xfe\xfc\xe9\x87\xcf\x9f\x3e\x3e\xff\xf0\x1f\xfe\xf2\xe9\xe3\xeb\xbf\xfd\xfa\x3f\xff\xf7\x6f\xff\x3d\xed\x37\xfb\xfa\xe3\xdb\xaf\x3e\x3e\x3e\x3e\xbe\xfe\x5b\x7e\xfd\xf1\xe3\x4f\x9f\x3f\xfd\xc7\x4f\x3f\x7f\xff\x3b\xe5\xaf\xf6\xbf\xfe\xfa\xf5\xc7\xe7\x4f\xff\xed\xf3\xc7\x4f\xff\xfc\xf9\xe3\xa7\x5f\xfe\xf2\x97\x3f\x9e\xfc\x5b\xfd\xf6\xd7\xbf\xe7\xe3\xb3\x5f\x7e\xfa\xf1\xbf\xfc\xf2\xe9\xdb\xdf\x7f\xfc\xfd\xff\x7b\xf3\xbb\xdf\x1f\xfe\xe7\x9f\x7f\xfc\xa7\x1f\x7e\xfe\xd7\x8f\xff\xf4\xe9\x5f\xbf\xfd\xf2\xc1\x1f\x7e\xf9\xfc\xcf\x3f\xfe\xf4\x8f\x3f\x7f\xfa\xa7\x4f\x3f\x7d\xfe\xee\xab\xef\xfe\xe1\xab\x1f\x7f\xfa\x97\x4f\x3f\x7f\xfe\xf8\xdb\xaf\xbf\xfd\xfd\xe3\xff\xaf\xf2\xe3\xdb\xdf\x19\x7d\xff\xf1\xe2\xfb\xdd\xc7\x57\xff\xf5\x87\xbf\xfc\xf2\xe9\x5f\x3e\xbe\xfa\xf6\x9b\x7f\xfb\xdb\xaf\xbf\x7d\xfe\xfb\xff\xa8\x5f\xbf\xf9\xfe\x9b\xf1\x7f\xa6\xaf\x2a\xb5\xfa\xe6\xbb\xef\xe1\xd9\xa0\x48\x1b\xe7\x3e\x3d\x9b\xeb\xc8\x99\xaa\x8f\xbf\x9b\x73\xb3\x6d\x79\x7c\x26\xc4\x4d\x32\x1e\x9f\xad\xe9\xe5\x77\x3f\x7e\x8f\x55\xae\xdb\x23\xcf\x49\x7a\x3c\x2b\x1e\x79\x36\x8f\xc8\x7a\xfe\x5e\x2d\x9a\xa3\xfc\xf1\x59\x9c\x8a\x28\x7b\x7a\x46\x63\x48\x77\x3e\xca\x85\x46\x78\xaf\x7e\x7e\xc6\xc6\x9a\xf4\xf8\x3d\xe2\x5a\x75\x88\x1e\x9f\xed\x53\xc3\xcf\x79\x7a\xc6\x9c\x6b\x5c\x7b\x3c\x07\xe6\x72\x93\xfb\xb8\x07\xb6\xb3\x76\xd5\xf3\xef\x72\x50\x8e\x78\xdc\x83\xa8\x25\x67\x3e\x9e\x83\x58\xad\x35\x22\x1f\x9f\xf9\x9a\x75\xf9\x71\x7f\x8b\x47\x8a\xc7\xf3\x33\xf5\x1c\x52\xfc\xf8\xcc\x5d\xe7\x98\x8f\xfa\xb2\x2a\x73\xba\x3e\xca\x4c\xe7\x74\xea\x7a\x5c\xa7\xd2\xb9\x6d\x3a\x1f\x9f\xf1\x61\xbf\xfe\xa8\x4b\xca\x7d\x2a\xe4\xf9\x77\x9b\x16\xdf\x67\x99\xe9\xed\x1d\xf3\xf9\x1c\xd4\x6c\x44\xe7\xe3\xfe\xd4\x6b\xcc\xec\x47\x5d\x52\xaf\x60\xca\xc7\x73\xd7\x6c\x4b\x3b\x8f\xdf\xdb\x64\xa7\xce\x7c\xdc\xc3\x5e\xc4\x93\xec\x51\x27\xb6\xba\x98\xc5\xe3\x3a\xf7\x99\xd3\x96\xf7\xe3\xb3\x1b\xba\xc6\xf3\x19\xed\x1c\x3a\x63\x3d\xca\xfa\x0c\xf3\xda\xcf\xb6\x79\xbc\xf5\xe8\x7d\xfc\xdd\xd5\xb4\x3c\xf1\xa8\x4b\xd7\x6a\x86\xf4\xe3\x5a\x6e\xbf\x76\x3e\x1f\x65\x6d\x53\x86\x15\x3d\xf2\xb4\x35\x47\x9c\xf3\xe8\x97\x6c\xd1\xb4\xdc\xcf\xcf\x74\xf9\x91\xf1\xfc\x2c\xf9\xc4\xbd\x8f\xb6\x62\xb5\x63\x12\x3d\xfa\x72\x2b\x3f\x7d\x9f\xfd\xb5\xb5\x1e\xe7\xf1\xc8\xd3\x47\x4d\xa6\x7e\xfc\x9d\x73\x25\x93\x3f\xea\x8b\x8b\x9d\x1a\xcf\xfa\xe2\xcb\x68\xcf\x67\x7b\xf0\x1d\x77\x1b\x3f\xca\x3a\x86\x28\x6f\x7a\x94\x4b\x8c\x1a\x29\xcf\x76\x1b\x2c\xbb\xc5\x1f\xcf\x28\x84\xcf\xde\xfb\x71\xef\xa1\x2c\x39\x9e\x7d\x56\xec\xb9\xeb\x3c\xeb\x60\x9c\x3e\xca\xcf\xf1\x28\x5a\xb2\x74\x3d\xfa\x9e\x1c\xbe\xc3\xd6\xa3\x1d\xe5\xb9\xaf\x90\xf4\xb8\x96\xca\x62\xf1\x7c\xe4\xd9\x63\xfa\x1a\xf9\x68\x7f\xad\xcc\x5e\xf3\x51\x5f\x7a\x6b\x1d\x7f\x3e\xbf\xbe\x63\x1d\x5f\x8f\x6b\xe9\x38\x1e\x73\xfd\xbb\xdf\xfd\x1e\x4e\x3d\x87\x92\x28\x90\x9b\x68\xc4\x40\xf2\xbe\xe3\x02\x93\x97\x76\x2f\xdf\x6f\xe4\xe9\x83\x96\xc9\x3b\x93\xe9\x22\x7f\xd6\x96\x3f\x92\x1a\xa3\xe5\xc3\x90\x1c\x71\xc5\xdf\xc9\x7c\x3c\xef\x82\xb7\x6f\xb8\x6a\x08\x2e\x70\x1f\x57\x06\x32\x0b\xcf\xf3\xbe\xf9\xb9\xb4\xe8\x36\x92\x8f\xaa\x9f\x46\xb2\x49\xae\x02\xf2\xb5\xad\x9e\x0f\x64\x9f\x02\x64\x6d\xab\x01\xeb\x9e\x7b\x6a\x8e\x9e\x40\x16\xb5\x95\xf4\x4e\x3e\x63\xb6\xd7\x02\x79\x1f\x4f\x1f\x70\x96\xf3\x90\xcd\xf9\xce\x7b\xcc\x97\x15\xc0\x27\x07\x4d\xbf\x27\xdf\x77\x39\x88\x65\xc6\x86\xb7\x97\xfa\x98\x01\x6f\xaf\x9b\xb2\xfa\x5d\x82\x63\xb9\x86\x0b\x90\x75\x19\xf9\x78\xd7\xaa\x71\xef\x1a\x2e\x28\xaa\x48\xa5\x7d\x80\x5c\xc2\x5e\xef\x1a\x3b\x8d\x6a\xa6\xc1\x31\x98\x4e\x22\x01\xd5\x4c\x39\xfb\x24\x68\x55\x4a\xce\x35\xdf\xb5\x6a\x72\x9e\xa3\xfb\x9d\xc9\xd4\x49\xb1\x0e\x9c\xa5\x9e\xf4\x28\x58\xb7\x9b\x74\xd1\xfb\x02\xc7\x28\x3b\x13\xed\x32\xc9\xd8\x0b\x2c\x6d\x58\x85\x18\x28\xf2\x88\x95\x79\xe0\x93\x27\x64\xda\x01\x26\xa7\x54\x65\xc1\x76\xac\x2c\xd9\xde\x0d\x70\xf2\x48\xdf\xa8\xdf\x3c\x65\x94\x83\x91\x4c\x95\xcc\x04\x99\xf0\x1a\x87\x51\xb0\x73\x2f\x21\xe4\x6d\x35\xf2\x3a\xaa\x3d\x55\xcf\x80\x05\xce\xca\xa5\x01\x0a\x41\xd3\x24\x13\x8c\x9b\x94\x6f\x5f\x24\xef\x97\x6b\x03\x51\x91\xdc\x58\xe7\xdd\x57\x4d\xf6\x11\xc1\xe0\x35\xc7\x9e\x8b\xe7\xfb\x31\x0c\x9b\x67\xea\x06\xe3\x1e\x3a\x58\x16\x58\x9a\xeb\x10\x2a\xb0\x06\x8b\xf2\x1a\x70\xc4\x16\x42\xd7\x1f\x78\x2b\xd5\x05\xde\x5b\x2d\xdd\xc0\x8a\xab\xcf\x78\x70\x05\x27\xe3\x1e\x64\xf2\x22\xb7\xbc\x7f\x72\x9c\xbb\x74\x83\xda\x8f\xac\xc1\xd9\xe0\xa8\xb7\x54\x09\x44\xa9\x29\x25\xbc\x04\x82\x40\x89\xac\xc5\x10\xd3\x6a\x6b\x6c\x38\xb4\x91\x46\xe3\x06\x7c\xf2\xd8\xc9\x0d\xfa\x3d\x06\xad\xad\x13\xb6\x23\x71\x76\x6e\x88\x52\x83\xaf\x5d\xc7\x5d\x12\xa7\x2a\x28\x44\x8e\xea\x3e\x40\xb6\x3a\x7d\xc1\x3d\xce\x92\x75\xbc\xc0\xa4\x7a\xe6\x99\x06\xd6\xd0\x6c\x6c\x0b\x4c\xaa\xe5\x65\xdc\x20\xd8\x7e\xb9\xd2\x80\x4f\x76\x74\xcd\x0b\xae\xa0\x7b\xef\x49\xef\x6f\xd3\x18\xad\x35\xde\x79\xd3\x38\x71\xf4\xbe\x4b\x90\xc6\xdd\xc9\xfd\x2e\x41\x1a\xb9\xe4\x42\x80\x79\x91\xd7\x81\xd3\xa1\x91\xdb\x99\xde\x43\x06\x4d\x39\xf3\xde\x77\xc7\x41\xd3\xc8\x19\xf4\x9b\x66\xdc\x55\x09\xbc\x67\xdd\xe3\x07\xc8\x34\xd8\x9f\xc8\x93\xf7\x02\xd7\x4b\xc4\x94\xe3\xbe\x9f\x0e\xd1\xad\x9e\x13\x16\x48\x7e\x6f\xc0\x11\x13\xc5\x16\x06\x65\x23\xea\xb1\x0d\x4c\x8a\x38\x7a\x18\x81\xbc\x97\x8b\x16\xc4\x4b\xd2\x7d\x48\x91\xb7\xda\x66\xdd\xef\xaa\x49\x7b\xae\x73\xc1\xad\xbf\xc8\xe5\x13\x76\xb9\xf9\xe5\xa9\xe1\x74\xf6\xa2\xb9\x07\x2c\x70\xdf\x1b\x0a\x3a\x48\x5f\xb2\xfb\x7a\x57\x64\xda\x95\x4a\xe0\x7a\xe9\x5c\x8e\xe5\xef\x36\x4f\xe7\x96\xa9\x01\x93\x13\xe6\x94\xc8\xa4\x5f\x95\x0a\x88\xea\x74\xc4\xb9\xc0\xfb\x72\xa8\x31\x28\xc4\x5d\xcb\x08\x8f\xf8\xda\xa8\xc2\x43\xbb\xc1\x7e\x04\x16\x68\xd9\xd5\x05\x0b\xb4\xca\xe0\x86\xd3\xb1\x9e\x41\x02\xf2\xf6\x19\x11\x17\x16\xe8\x16\x26\x68\x80\xb1\x8e\x95\xc0\x11\xc7\x49\x6e\x94\x60\x58\xed\x86\x04\x8a\x22\x8c\x89\x61\x25\x91\x1e\x0e\xe1\xff\x45\xee\xf5\x40\xee\xe4\x31\x40\xab\x72\xe6\xc6\x52\x85\x92\xeb\x56\xc3\xba\x53\xef\x10\x70\xa6\x94\x57\xc8\x37\x9c\x4e\xba\x96\x04\xac\xa4\x44\x33\x14\xb6\xd3\x3a\xaf\x42\x19\x44\xed\x73\x10\x28\x32\x8f\x99\x2d\xf1\xee\x21\x78\xf0\xa2\xa1\x48\xd6\xb3\x8c\xdf\x05\xcb\x73\x9c\x13\x90\x99\xf2\x1c\x2d\x91\xef\xdb\xe1\xc9\x99\x05\xae\x97\xa7\xec\xbb\x37\x7c\x72\xea\xd6\x39\x61\xdd\xf3\xb2\x28\x6c\x9e\xa7\xab\x6c\x48\x13\x79\xb6\x71\xf9\xbb\x6a\xf2\xec\x32\x27\x20\xf3\xa0\xc1\x10\x5d\x99\x75\xd0\x01\xb5\x67\x3e\xec\xb4\xde\x6d\x87\x45\x69\x1d\x7a\x57\x4d\x96\xec\xa8\x0b\xa2\x5a\x74\x49\x0d\x98\xe8\xcd\x49\x01\x2b\xd9\x42\xc3\x20\x75\x7e\xb9\xfa\x25\x06\x89\x5f\x46\x39\xc1\x4a\x66\xd6\xde\x0d\x99\xd2\xac\x31\x23\x15\xd2\xdb\xd8\x69\x0f\x85\x4d\x28\xaf\x2c\x7c\x9b\xd7\x34\x08\x75\x7c\x54\xf3\x18\x6c\xfe\x52\x8c\x61\xb0\xcb\xcb\xdb\x15\x6a\x40\xbe\x2b\x3d\x27\x30\xb1\x29\x3a\x0c\x4e\xde\xee\x64\x27\x60\x62\xe9\xce\xb8\x12\x37\x5e\x13\xc2\x28\x7b\x14\x65\x00\x6f\xef\x13\x73\xc3\x11\xbf\x68\x06\xc6\xcd\x71\x6c\xe7\x01\x99\x84\xad\x45\xf8\xc9\xf0\xa1\xe2\x48\x6e\x6f\x86\x50\xc7\xb9\x72\xde\x01\x0b\xcc\x88\xe2\x01\x2b\xc9\xbc\x43\xf8\xdd\x57\x71\xad\xb0\x80\xac\x97\x6b\x35\x95\x03\xef\xd2\x32\x1b\xf8\x76\x76\xde\x05\x82\xad\x8a\x3d\x16\xd8\x4e\xd3\x39\x01\x99\x29\xf7\xb5\xcb\x50\x20\x70\x67\xae\x05\xc6\x2d\x63\x94\x0e\xf0\xf6\x32\xf6\xd1\x3f\xb5\x7d\xfe\x20\xdb\xd9\x0a\x75\x83\x8c\x98\xa3\xe7\xbb\x2b\x90\x79\xab\x15\xd6\x2d\xd3\xa6\x2c\x28\xdc\x85\x28\x4c\xc0\xf5\x0a\xed\xac\xe2\xf7\x5d\x0a\x35\xd9\x01\x51\x09\xb3\x1e\x81\x00\x23\xbc\x7b\x08\x00\x3c\xc2\xa7\x76\x40\xf9\x26\xec\x6b\x1c\x02\x26\x42\x27\x07\x14\x1f\x22\x9b\x26\xa6\x5b\x22\xbd\x72\x40\x3d\x2f\x8b\x65\x18\x04\x74\x59\xf9\xa5\x02\x7e\x27\xeb\x58\x91\xfe\xae\x27\xa2\x22\x99\x01\x4c\x54\x6e\x36\x44\x40\xd1\x98\x26\xfd\xae\x10\xb2\xa9\x5f\xe5\x3f\x90\x79\xaf\xad\x20\xaa\x1d\x7a\x2f\x04\x74\xd9\xb5\x48\xc1\x76\xe4\x2c\xce\x03\x15\x8c\xbc\x38\x0c\xc0\x4f\xe4\x7a\xdc\x3b\x60\xf3\x37\xf5\xcc\x7c\x8f\x69\x62\x63\x0f\x05\x2b\x16\x7b\xd5\x02\x50\xfd\x8b\xc9\x76\x81\x20\x20\x76\x64\x0c\x54\x64\xbb\x55\x05\x55\x9d\xf8\x15\x5b\x0c\xbc\xbd\xf7\x2a\x14\x55\x6c\x8f\x05\xc9\x82\x84\x45\x31\xa0\xb7\x12\x96\xd4\xa8\x9a\xb9\x84\x08\x10\x28\xc9\x4d\x44\x50\x7c\x48\xda\xd1\x80\x32\x48\x4a\x23\x0c\xe0\x4e\x29\xbb\x73\xe3\x31\x94\xf7\x0a\x54\xb6\x4a\x3e\x1b\xfc\x89\x54\xad\x8d\xf8\xa0\x54\x39\x9f\x09\xe4\x1e\xaf\x7a\x19\x3e\xd9\x63\x5f\x02\x24\x47\x7a\xdc\x6b\xb8\xcb\x1e\x4e\x18\xa5\xa4\x79\xf4\xb8\xf8\xc9\xdb\x63\xa3\xda\xb7\x2d\x5e\x80\xcd\xac\xb1\x2b\x79\xbe\xf3\x5e\xa3\x8e\x62\x39\xb1\xe6\x88\xd1\x90\xca\xad\x39\xdb\x1c\x32\xa5\x35\x65\xea\x00\xf7\xb8\xe6\x11\x6e\x10\xd5\x2b\x84\xf2\x2a\x58\xe0\xec\x13\x1b\x30\xd3\x45\x6b\x2d\xac\xbc\x16\x79\xde\x80\x72\x62\xf1\xd1\x2a\x80\xf3\x97\x88\x6c\x05\xd4\x79\x89\x46\x05\xc3\x02\xe5\x4b\x11\xfd\xee\x35\x97\xdc\x3c\x22\xf0\x49\x49\x57\x83\x2a\x63\x2d\x5e\xdd\x90\x29\xad\x25\x34\xb2\xde\xf5\x64\xad\xf6\x3e\xf5\xee\xf0\x96\x4a\x29\x41\x21\xb9\xb6\x9e\x26\x00\x1c\xd6\xdd\xb9\x0f\xf2\xf6\x71\xe7\x02\xc7\xb1\x9c\xce\x12\x43\xb2\x74\xf9\x84\x95\xf8\x72\xd9\x80\xc4\x2f\x5f\x75\xb1\x9e\x5f\x7e\xce\xaa\x44\x26\xb5\xb6\xeb\xbb\x47\x5e\xb1\x5c\xaf\x81\x60\xc3\xd6\x65\xf0\xdf\x2b\xfc\x10\x6d\xd0\x93\xf0\x1c\xb4\xe1\x2c\x8b\x6c\x0c\x48\x6f\x57\xf1\x9e\x0e\xc6\xbd\xca\xbd\x17\x01\xb9\x69\xed\x86\x4a\xe0\x95\xf9\xd0\x6d\xd8\x65\x33\x4f\xc4\xf0\x56\xcb\xe8\x05\x8e\x7a\xb5\xb8\x1f\x88\x0d\xab\xa5\xff\xdc\xc2\xfe\x83\xbc\x63\x1b\x64\xbd\x3a\x34\x89\xa0\x91\xa3\x73\x52\x1d\xf0\x27\x3a\xc9\xef\x00\x45\x7e\x91\xdb\x21\xeb\xd5\xa9\x77\xa2\xe3\x50\x5a\x7a\x18\x42\x86\x52\x8b\x26\xc0\x2a\xca\xf3\xac\x00\x84\x55\x79\xc6\x0c\xe8\x90\x29\xdf\x69\x05\xa2\x52\x19\x1d\x13\xdc\xba\xca\x8c\x9a\x60\xf3\x2a\x3c\x0f\x3b\x2c\x70\x8d\xb1\x97\xbd\x1f\x9a\x2e\x0d\x12\x7f\x8f\xc5\xba\x0e\x45\xe4\xbb\xfa\xa8\x8e\x33\x99\x61\x25\x7a\x6b\x18\xae\x7b\x93\x8a\x40\xaf\x4e\x37\xd9\x15\xe8\x79\xe9\xe6\x48\x19\xc0\x7b\xc7\xae\x80\xb4\x5c\x77\xeb\x69\x3c\xe2\xdd\x9b\xef\x06\xc1\xee\x8e\x79\xfd\x5d\xd9\xf4\x18\xdf\x0d\xf0\x84\xde\xb9\x94\x40\x91\xf5\x6e\x1f\x7f\x9a\x8e\xf9\x83\x9c\x5c\x34\xde\x6d\x47\x6f\x2e\x39\x13\x3e\x69\xe2\xe7\x1c\x10\xac\x29\xed\x83\x7a\xe2\xd3\xc8\x37\x9c\xa5\xf3\xd1\x44\xc1\x7a\x28\x9f\x0b\xbc\xbd\xc9\x94\x40\x26\x31\xb7\x54\xc2\x76\x42\xba\x0b\xfa\x97\x1a\x31\xa2\xf0\x93\x11\x39\x36\xca\x3b\xda\xf7\x81\x66\xa2\xe6\x98\xac\x90\x96\x6b\x8e\xd0\xa1\x20\xaa\x5c\x2d\x0b\xf2\x2a\x4d\xbd\x7c\x01\x16\xd7\x8a\x24\x06\x44\x5b\xdb\x26\x2b\x74\xc5\xb5\xdd\xc5\x18\xcc\xb5\x3b\xa7\x42\x38\xda\x83\xf8\x14\x64\x4a\x7b\xe8\x20\x06\x04\x6a\x0f\xed\x56\x88\x24\x7b\x64\x18\x83\x49\xed\xd1\x97\x0b\x12\xd6\x3d\x07\x6d\xac\x18\xf7\x94\x38\x0b\x50\xa2\x3d\xf7\x8a\x06\x8c\x63\xcf\x16\x2e\xc8\x66\x36\x69\xeb\x81\xbe\xd4\xa6\xe0\x31\xa1\x90\xdc\x3c\x27\x33\x74\x69\x37\xeb\x30\x87\x1c\xf9\x55\x64\x0c\x4c\x6f\x37\xc7\xa0\x05\x99\xd2\x96\xed\xde\xf9\x7e\x0c\x5b\xfa\xd2\x80\x5e\xc6\x5e\x67\xe4\xa5\x77\xbb\xdc\xeb\xe5\x7a\xa1\x9e\xdf\xab\x55\x10\x8c\xde\xca\xd9\x0b\xd4\x7e\xab\xdc\x89\x9d\xd4\xad\x4a\xeb\x28\x2c\x50\x4b\xe7\x84\x76\xec\xde\xe3\xee\x0e\xe0\xbd\xe7\xc9\xc3\xef\x51\x6a\x6f\xde\x83\x01\x72\xdf\x7b\x79\x15\x94\xcb\x7b\xaf\x4a\x7d\x60\xa2\xac\x03\xaa\x8c\xbd\x0f\xbf\xf4\x0d\xc8\xad\x53\x00\x9e\xd8\x67\x45\x5c\x5c\xc9\xd9\xdb\xb8\x61\xf3\xc7\xae\x1b\x80\x47\xfb\x64\x5f\x07\xf8\x6d\x5f\x15\x0f\x3c\x06\xa3\xe1\xeb\x00\x6f\x5b\x3d\x0f\xe0\x3e\xdb\x74\xed\x03\x09\xeb\xb6\x1c\x37\xc1\xcd\xbc\x12\x05\xfe\xd3\x08\xd9\xef\x64\x9f\x63\x6d\xb4\x4b\x97\x5e\xd8\x97\xda\x7e\x24\x0e\x00\x25\xdb\xef\x88\x0e\xb0\x34\xb7\x51\x84\x8e\xc3\x9b\x89\x36\xe8\xc9\xab\xbe\x6c\x05\xde\x11\x22\x8e\xb6\x13\x79\x13\x73\xfb\x9d\xac\xc9\x68\x24\x99\xdd\x0d\xe1\x7f\xd7\x70\x21\x88\xae\xbb\x74\xdb\x3e\xe0\x4f\xea\x9c\xa9\x50\xef\xec\xca\x9b\x0e\x1e\x79\xb7\xec\x33\x00\x08\xfc\xa2\x6b\x86\x4c\xda\xaf\x0d\x98\xf7\xd9\xed\x11\x0a\x8d\xf8\xdd\xd9\x91\xe0\xbf\x77\xd7\xb6\xec\xf7\x4f\x9e\x41\xec\x04\x8a\x7c\x06\xb3\x5c\x48\xe5\xce\xb8\xda\x0c\x4e\xe9\x0c\x8f\x42\x67\x7a\xe6\xd8\x55\xe0\x35\xcf\x9c\x63\x13\xf8\xef\x33\xd7\xe4\x03\x8e\xfa\x7c\x81\xc8\x60\xbe\xea\xd0\xb8\x6b\x42\x43\xe4\x90\x8c\xb3\x61\xd6\xe2\xf0\xbc\xac\xf5\x7e\xc4\x87\x69\x2c\x2c\xae\x5f\xc9\x2a\x0d\x40\x58\x0f\xab\xee\x86\x4e\xea\x61\xb5\x39\x40\xd9\x0e\xfb\x97\xf6\xed\x3b\x59\xb8\x32\x21\xc0\x1c\x39\x72\x0b\x42\xdd\x11\x37\x52\x48\x72\x8e\x78\x0c\x54\xe4\x23\x59\xce\x50\x45\x9f\xc5\x33\x1d\x66\x2d\xce\xe2\x14\x02\xec\xf1\xac\x95\x73\x83\x7b\x3c\xab\xc4\xae\xc3\x59\xae\x3e\x37\xa0\x96\x3a\xaf\xe4\x24\x06\xbc\xad\x23\xcc\xf1\x74\x5e\x0e\x39\xc0\xcd\x1c\xe5\xb0\x09\xc5\xc7\x79\x85\xcb\x01\xa0\xd7\xd9\x9b\xcb\xa1\x90\x3c\xdb\xe4\x49\x82\x87\xe7\xc3\xa4\xc0\x39\xde\xd9\xb8\x4b\x9b\xee\x0d\x93\x75\xc7\x2e\xf1\x01\x44\xe4\x98\x8d\xc6\x69\xac\xe3\xe3\x6e\x05\x2b\x3e\x3e\x95\x12\x52\xa2\xe3\x9c\xbc\x00\xc6\x3a\x2e\x1a\x1b\x26\xeb\x8e\xab\x10\x43\x91\x7a\xfc\xf2\x31\xe8\xe9\x9e\x18\xcb\x88\x61\x25\xe1\x7b\x05\xae\x3b\xca\xd3\x20\xbd\x3d\xb9\xd7\xc2\xaa\xee\x64\xe4\xd9\x02\x26\x55\x53\x16\xe3\x11\xd7\x3e\xe4\x50\x65\x9c\x32\x62\x01\x1c\xf9\xb4\x90\x0c\x28\xf3\x4f\xb7\xac\x84\x24\xfe\x0e\x89\xb5\x01\x5e\xbe\xe3\x46\x39\x14\x1f\x77\x1e\x66\x02\x1c\xf9\xce\x9b\x56\xf4\x7e\xf2\x97\x94\x8b\x01\x56\xb9\x74\x8a\x03\x80\x92\x4b\x69\x65\x50\x34\x5d\x5e\x71\x31\xaf\xba\x7c\x78\x10\x24\x0b\x97\x23\xa7\x40\x89\x75\x65\xbc\x12\x48\xd8\x8e\xd0\xba\x0c\x41\xe0\xca\x76\x45\x80\xfe\x8a\xf7\x19\x30\x8a\x76\x25\xc7\x38\xe0\x35\xef\x3a\xbe\x14\x00\xfa\xbb\x82\x16\x41\x91\x7a\x57\xaa\x27\x44\xee\xbb\xaa\x49\x15\x78\xab\xbe\xea\x4e\x38\x4b\xdd\x3a\x5a\xdf\x75\xf0\x6a\xec\xba\x60\x52\x57\x23\x89\x00\x89\xbf\x1a\xbd\x19\xc0\xe8\xab\xad\x7c\xa1\xf5\x78\x37\xed\xbd\x00\x81\xba\x9b\xb3\x63\xbd\xeb\xf7\xdd\x4a\x74\x20\x6d\xb9\xc7\x58\x9a\xde\xcd\xf5\x9e\xe6\x60\xe8\xaa\xdc\xd3\xd6\x84\x82\xbd\x63\xcf\x09\x56\x7c\xef\xca\x26\x28\xb1\xee\xd5\x31\x2f\x4c\x38\xdc\x1b\x63\x33\x74\x69\xef\x8d\xb9\x18\xca\xe5\x7b\xb3\xd3\x21\x7b\xbc\x46\x6b\x25\x40\x1f\xd7\xb8\xa4\xa0\xfb\x76\xcd\x65\x2f\x98\x64\xbc\x96\xdd\xd8\xb1\xb9\xee\x24\x0c\x3e\xf6\x7a\xb6\x1b\x14\xa9\x37\x68\x2c\x1c\x56\xbd\xc1\x73\x5d\x94\x77\x78\x94\x40\xda\x72\x23\xa6\x11\x20\x0b\x37\x8a\xc6\x82\x91\x80\x1b\x55\x16\x00\x07\xdd\xec\x23\x17\x02\xfa\xad\x3d\xe8\x42\xf6\x78\x2b\x56\xf4\x02\x79\xf7\xe2\x75\xd0\xe6\xdb\x35\xf6\x85\xcd\x77\xde\x33\x20\x25\xba\x5d\xe3\xe0\xa0\x89\x8d\x3d\x29\x01\x84\xb1\x51\x91\x0e\xfe\xdb\xa6\xc5\x38\x90\xdb\xdb\xf4\xb9\x97\x01\x6f\x1a\xa4\x05\x25\x96\x11\x8f\x34\x68\x3d\x1a\xad\xee\x02\xb4\xdc\xc8\x47\x9d\x05\x9f\xa4\xcc\x9b\x07\xc8\xbc\xb6\x18\xf8\x58\x63\x6f\xda\x90\x88\x18\x97\x66\x10\x7c\x52\x46\x4e\x9f\xef\x26\x65\x22\x6b\x2c\xfc\xa4\xa8\x5d\x86\x89\x40\x13\x57\x59\x30\xc7\x61\x8b\x99\x04\xd4\xde\xd6\x2b\xb1\x82\x64\xc1\x94\x37\x37\xb8\x75\x53\xd9\x85\xb5\x94\x69\x5c\x76\x30\x6e\xd3\xca\xb9\x20\xa6\xd9\x9e\xee\x38\xa6\x6c\x5b\xf9\x32\x64\xeb\x76\x86\xe9\x84\x94\xdf\xce\x6c\x72\xdc\xce\xe9\x32\x9a\xef\xee\xd1\xee\xb8\x1d\x90\x57\xd9\x9d\x66\x17\x4f\xde\x42\x8e\xc2\x18\xa7\x59\x9f\x35\x21\xce\x9b\x75\x56\x43\x86\x67\xd6\x45\x17\xa2\xab\xb9\xd1\x56\x80\xdc\xcd\xd3\xce\x86\xf9\x13\x0b\x49\x5b\x50\xb8\x5b\xc4\x69\x84\xc8\x2c\xc2\xd4\x01\xd4\xb5\x48\xde\x17\xaa\x3a\x8b\xcc\x29\x00\x4c\x59\x0e\x2f\x01\x24\xde\x72\x5e\x2e\x54\xcd\x5c\xd5\x02\x03\x77\x96\x3a\xda\x61\x74\xc4\x72\xbb\x35\xf8\x58\xcb\xb3\xe7\x81\xc1\x63\xcb\x18\x42\x50\x00\x5b\x36\x45\x41\x3e\x68\x35\x69\x35\xc4\x79\x2b\xce\x36\xb4\xb4\xaa\xd6\x0d\xae\xd7\x7a\xf2\x6c\x68\x5a\x58\xd3\x5a\x0e\xbd\x51\x6b\x39\xd3\xa1\x77\xe4\x63\xcc\x31\xfa\x5d\x4f\x7c\xd2\xa1\x80\xcb\x06\x3e\x97\xa4\x02\x2a\xe7\x24\x73\x04\x74\x0d\x9d\xae\x8a\x43\xbc\x74\xba\x7d\x9a\xe1\xed\x57\xb1\x4c\xa0\x9a\xce\x6b\x58\x40\x32\xec\xbc\x22\xf0\xa2\x8e\xf3\xb5\xba\xe0\x35\x9d\x9d\xa5\x21\x95\x73\xee\x19\x17\x5c\xaf\x8b\xbe\x9c\x2c\xbc\x2d\x37\x2e\x8e\x6e\xbb\xc4\xa0\x95\xf8\x76\xc6\x41\x67\xea\x52\xb9\x09\x66\x2a\x7d\xcd\xc1\x17\x26\xeb\x7c\x4d\x57\x9c\x75\xf6\xb5\xfa\x62\xda\xe2\xab\x36\x13\x14\x7b\xae\x33\x16\x4e\x21\xb8\x52\x2e\xf4\x83\xae\xc1\x34\xa0\xe1\xe7\x7b\x4b\x34\x24\x50\xbe\xb7\x4d\xac\x32\x7c\xc7\x5e\x02\x65\xbe\xef\x22\x1b\x90\xc7\xfa\x21\xad\x01\x21\xc3\x8f\xcc\x24\x28\x9a\xfc\x08\x9f\x03\x7d\x29\x3f\x2b\x3c\x60\x1e\xd9\xef\x0c\x53\x98\x75\xf6\xcb\xbe\x17\x80\xff\x7e\xd7\x3e\x05\xd0\x9e\x5f\xb5\xb1\x01\x6d\xf1\x6b\x77\x1e\xa8\x18\xfd\xa6\x85\xc1\xec\x96\xdf\x1a\x46\x68\x0d\xc6\xba\x12\xf5\xc4\x64\xfa\x80\x59\x50\x37\xb1\x5c\xd0\x80\x72\xdb\x56\x0d\xc3\xc1\x6e\xc6\xdb\x20\x95\x73\x73\x9b\x04\x3d\x74\x77\x21\x61\xd4\x13\xdf\x9d\x85\x3a\xe8\x4d\x76\x70\x81\xde\xd1\x43\x41\x4f\xa2\xc4\x0c\x70\x36\xcf\xb1\x97\x1f\x58\x60\x2e\xde\x17\xc6\x0d\x3c\x77\xd0\x86\x19\x28\x4f\x37\x2b\xa8\x60\x3c\x63\xcc\x09\x41\xc0\x8b\xee\x3c\x30\x11\xe8\x75\x62\x5d\xd4\x93\xa6\x38\x06\x23\xa2\xde\x1a\x66\x70\x05\xd1\xbb\xa7\x20\x58\x17\x63\xf0\x72\x68\x85\xc5\x98\x72\x36\xe4\xb1\x31\xd6\x5a\x01\xc8\x59\x0c\x9d\x0f\x43\x5a\x31\xf7\x2e\x85\x0e\x59\xcc\xa6\x36\x38\xcb\x20\x7f\xf1\x7e\x57\x9f\x10\xdf\x33\x00\x44\x0f\x71\x73\x41\x26\xf2\xca\x79\x21\x59\x88\x35\x4c\x70\xae\x37\x74\xb8\x2a\x54\xff\xa1\xb3\x84\x00\x9b\x09\xa5\x35\x9c\x41\x82\x2a\xa4\x0e\xc0\x6b\xa8\x37\x13\x94\xb4\xa1\xc1\xee\x85\x9f\x2c\x95\x82\x4c\x29\xf6\xba\x47\xe1\x4a\x45\xec\x57\x99\x0f\xdd\xe5\xd8\x49\xc9\x30\x8c\x1d\x3b\x5f\x01\x16\x4e\xe7\xdc\x8c\x06\x0f\x11\xc7\xce\xc1\x46\x7c\x9c\x28\x43\x28\x35\x4e\xfb\x9c\x50\x48\xc6\x5d\x67\x38\x34\x5b\xe2\xee\x97\x64\xe1\x2c\xaf\xb3\x04\x8c\x01\x85\xcd\xb4\xc6\x93\x37\x9e\x67\x82\xa5\x85\x45\x8e\x0d\xe5\x5b\xbc\x22\x23\x0d\x38\x79\x5f\xb6\x71\x24\x37\xdc\x9d\x06\x0c\x3e\x84\x7b\x0b\x01\x86\x17\xc1\x45\x03\xc6\x69\x22\x8e\xc9\x82\x5b\x78\xaf\xe5\xa9\x42\xaf\x2e\x92\x34\x14\xcc\x35\x92\xdc\x18\x92\xb3\x48\xd1\xb3\x21\xfc\x47\xb6\x28\xc3\xc4\x54\x64\x6f\x17\xc8\xab\x22\xbb\x37\x03\xa6\x14\x75\x8c\x1c\x50\xa2\x28\x97\x81\x63\xf8\xd1\x63\x0d\x81\x58\x1c\x4d\xf3\x6e\xe8\xd8\x44\x13\xef\x07\xbb\xec\xe5\x2d\x30\x41\x1f\xbd\xd7\x52\xb8\x5a\x16\x6d\x47\x1a\x8f\xa1\x7d\x72\x41\x47\x32\xc7\x90\x6d\x00\x07\xe5\x90\xeb\x78\xa7\x29\xc7\x72\x21\xe8\x62\xe5\x50\x3b\x05\x3a\x98\x23\xab\x17\xd4\xf3\x39\x47\xdd\x0b\x4d\x8b\x9c\x93\x23\xa0\x37\x9a\xd3\xa6\x17\x80\xd1\x39\xe3\x15\xfe\x81\x37\x8d\x92\x03\xf2\x4e\xf2\x21\x0d\x93\xa3\x49\x45\x72\x51\x26\x2c\x43\x36\x00\x3c\xc9\xeb\xd0\x86\xeb\x5f\xc9\xab\xe8\x42\xd6\x9b\xbc\x5a\x0c\x12\xd6\x64\xab\x32\x88\xae\xc9\x7e\xbb\x01\x81\x4a\x4e\x25\x87\x94\x28\x39\x3d\x12\xc2\x51\x72\xc7\x3d\x0a\x9b\x17\xad\x89\xd7\x77\x53\xbc\xd7\x04\x57\x90\x6b\xcd\x33\xe1\x76\x55\xae\x73\xc3\x20\x78\xa5\x4e\xea\x0d\x71\x3e\x55\x56\xe2\xa0\x49\xea\xf2\xd4\x89\xe4\x73\x17\x5e\x4a\x49\xf5\xab\x03\xaa\xa3\xd4\x9c\x14\xd0\x69\x4a\x6d\xbd\x09\x33\x67\xb9\x77\xd7\x81\x44\x3b\x8f\x6c\x7b\x58\xe0\x59\xc9\x09\xb8\x4f\x1e\x3d\x79\x16\x32\xb9\xab\xec\x81\xdc\xac\x13\x9c\x52\xde\x7b\x7c\x42\xc8\xc8\x7b\x6b\x34\xfc\x45\x42\xda\x68\x51\x28\xdf\xd2\xa6\x84\xc3\xf5\x81\x34\xbe\xce\xd0\x46\xce\x57\x0a\xda\x30\xe0\x98\x26\x55\xf8\x57\x03\x69\xaa\xd4\x90\x3a\xa7\xb9\xaf\x0d\x51\x2a\x2d\xed\x4c\x28\xf3\xd3\xaa\x1d\x51\xe7\x74\xba\x71\x21\x2b\x48\x97\x4d\x0a\x00\x4f\xba\xc4\x2d\x80\x9a\xf2\x95\xc7\x0a\x5c\x80\x4e\xaf\xf0\x86\xee\x72\x7a\xcf\x39\x50\xbf\x83\xa6\x0c\x80\xae\x33\x24\x76\xc0\x4c\x65\xc6\xd2\x2e\xb8\x7a\x93\xb1\xe7\xd8\x70\xf7\x2d\xc3\x56\x17\x60\x61\x19\xb6\x8f\x00\x4a\x94\x91\x74\x2f\xea\x77\x64\xec\x4c\x20\xe7\x70\x6f\x40\x41\x33\x67\x44\x40\x15\x9d\x49\x3d\x15\x55\x33\x65\x14\xa1\x42\xe4\xda\xd3\x02\x64\x92\x1a\x67\x43\xf1\x91\x19\xcd\x0a\x5d\xda\xcc\xcc\x22\xc0\xab\xb2\x48\x55\x60\x32\x23\xeb\xb0\x16\xe0\x3e\xd9\xe3\xf8\x86\xeb\x48\xd9\xb2\xaa\xd0\x76\x5a\x59\x0b\x60\xc3\x6c\xe3\x89\xc3\x09\xd9\x71\xba\xd1\xe6\xbb\xb6\x1d\x98\x75\xce\xae\x0e\xbc\x40\x97\xdd\x75\x1b\x20\xe0\xec\xee\xb3\x20\x25\xfa\x32\xdd\xe8\x00\x35\xd5\xa8\x91\x56\xef\xdb\xa9\xb9\x2e\x27\x04\xaf\x9a\x47\xdc\x40\x21\x6a\x9e\xa5\xdd\xf8\xf6\xed\x9c\x80\x0c\x17\x8d\x75\x27\xd4\x24\x45\x24\xe4\x10\xe7\x8b\x5c\x6b\xc3\x5c\x6f\x91\x9b\x07\x98\x6b\x51\xa4\x12\x40\xee\x45\xa9\x32\x41\x82\x45\xd5\x71\x00\xe0\x29\xa6\xb5\x12\x62\x43\xf1\xf6\xa5\x30\x2e\x56\xa2\xbb\xb1\x90\xac\xb5\x57\x70\xc2\x02\x57\xdc\x85\xf0\x5b\xad\xe2\x98\x10\xbc\x4a\xe7\xe2\x84\x09\xcc\x52\xd2\x23\x00\x2f\xbf\x2a\x12\x26\x81\xcd\xab\x1e\x52\x48\x72\x4a\xb7\xc7\x01\x58\xa5\x74\x97\x60\x2f\xa3\x34\x79\xe3\x68\x54\x69\x8d\x89\x4d\x8b\xd2\x9e\x64\xb8\x9d\xed\x3d\x1a\x30\xd3\xda\xc9\x5d\x80\x9f\xd4\xae\x21\x06\x17\x75\xea\x8c\x7b\x05\x6e\x6e\xd5\x51\xcb\x01\xd5\x68\x1d\x7d\x59\xe6\xbb\x7b\xac\x13\xd7\x18\x86\x41\xea\x84\xd7\xdc\xf0\xc9\x3b\x69\x4d\xa8\x04\xea\x6e\xda\x84\x3a\x78\x3d\xec\xe1\x88\x6f\x5c\xda\x50\xbe\xd5\x2d\xdf\x03\x22\x49\xd9\x92\xa1\x80\x6b\x96\xa9\xea\x05\xd0\xab\xcc\xf7\x0e\x28\x69\xcb\xa7\xb2\xc3\x7d\x92\xf2\x57\x22\x0b\x8e\xa3\x9c\xa8\x12\x3f\xe9\x7c\xa6\x40\x36\x53\x2e\xd2\x85\x6e\xc6\x6f\x0d\xbe\xb0\x1d\xb7\x08\x81\xec\xb1\xc2\xe9\x22\x86\x57\x11\x4e\x4f\x6f\xb7\xa4\xc2\x94\x64\xe5\x70\x09\xb4\xb4\xa4\x3a\x0e\x69\x62\xa5\x8f\x23\x10\xfe\x2b\x6b\xd7\x01\xb7\x5e\x35\xa4\x14\xee\x20\x54\xcd\x2e\x1c\xd5\xa9\x62\x1a\x78\x93\xa8\x6a\xf1\x98\x30\x22\x5a\xb5\x49\xf0\x86\x48\xd5\xed\x1e\x70\x53\xae\xca\x37\x0f\x40\xce\xaa\xdc\x1c\x47\x02\xaa\x39\xb7\xa2\xed\xb4\x4c\xc6\x58\x5c\xbd\x7a\x05\xfa\x93\xd6\x51\xec\xf0\xc9\xb6\xc8\x0b\xf0\x5b\xb5\xab\x63\xea\xdc\x63\x28\x11\xcc\x6b\xf6\x58\xed\x0a\x65\x7e\x8f\xa0\xbc\x70\x07\xa1\x47\xc4\xc2\x71\xf6\x1e\x69\x39\xd6\xbb\xa8\x7a\xce\x38\x03\x1a\x67\x3d\xcd\x1e\xee\xa4\x36\x29\x05\xc1\x7f\x7d\x34\xe9\x96\x03\x18\x47\xd3\xe6\xd9\xf0\x9f\x30\xcd\xcb\xd7\x85\x76\x55\xf3\xab\x9c\x87\x80\xde\x7c\x68\x2d\xa8\xe7\xfb\x95\x22\x1b\x5c\x16\x6b\x59\x5e\x0e\x17\xd1\x5a\xb6\x9e\x03\x77\xc8\x5a\x2e\x6d\x81\x99\xb3\x16\xcb\x1c\x10\x8b\x5b\xc2\xd7\x80\x99\xe1\x5e\x99\x24\x90\x15\xb4\x0e\x1e\x06\x49\x65\x6b\xee\x9a\x0d\x82\xdd\x34\x7d\x02\xe2\xd7\x5b\xbc\xeb\xc0\x02\xcf\xdc\x3c\x51\x54\x47\xfa\x95\xb5\x01\x79\xb5\x60\xab\xa0\xcf\x66\x61\xe8\x1d\xf5\xa9\xcb\x05\xe1\xa8\x4f\xd9\x69\x88\xf3\x7d\xe9\x1c\x86\x5b\xeb\x7d\x73\xbb\xc0\x8c\x48\x1b\x9d\xc4\xff\x9b\x69\x23\xbb\x02\x76\xd9\x46\x3e\x14\x6e\x3d\xb6\x9d\x35\x2e\x4c\x5d\xb7\xd5\x1d\x0c\x7f\x51\xd6\xd6\xcc\x0b\xee\x20\xb4\xcf\xb8\x8e\x2b\x71\xea\xd9\xd0\x24\x6a\xbf\xf9\xf4\x49\xf7\x1e\x13\xd7\xed\xb1\x54\xa0\xef\xda\x31\x23\x26\xa4\x5b\x1d\x3a\x0f\xfa\xaa\x8e\x97\xb8\xc1\xfb\x74\xce\x18\x0a\xe3\x06\x9d\xaa\x65\x90\xfb\x74\x9e\x57\x85\x05\x2b\xc9\xeb\x8d\xff\x17\xd6\x35\xa8\x1b\xf2\x93\xae\x19\x26\x00\xc2\x74\x11\x93\x40\x10\xe8\xe2\xd9\x17\xfa\xf3\x5d\xfb\x68\x01\x32\xdc\xbd\xaa\x11\x39\xeb\x4e\xe1\xbb\xeb\x9b\xef\xfe\xe1\xab\xff\x1b\x00\x00\xff\xff\x89\xba\x4b\xbc\x64\x5a\x00\x00") func _1696853635_input_dataUpSqlBytes() ([]byte, error) { return bindataRead( @@ -232,8 +232,8 @@ func _1696853635_input_dataUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1696853635_input_data.up.sql", size: 24129, mode: os.FileMode(0666), modTime: time.Unix(1696922415, 0)} - a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xb3, 0xe3, 0x1d, 0xe7, 0xb7, 0x56, 0x9d, 0x7e, 0x5d, 0xe2, 0x37, 0x3f, 0x60, 0xae, 0xa3, 0xcf, 0x52, 0xda, 0x90, 0xde, 0xd8, 0x6b, 0x3c, 0x37, 0xc5, 0x7f, 0x5d, 0x7b, 0xb0, 0xa4, 0x5b, 0x1c}} + info := bindataFileInfo{name: "1696853635_input_data.up.sql", size: 23140, mode: os.FileMode(0644), modTime: time.Unix(1697059195, 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}} return a, nil } @@ -252,7 +252,7 @@ func docGo() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "doc.go", size: 74, mode: os.FileMode(0666), modTime: time.Unix(1696237814, 0)} + info := bindataFileInfo{name: "doc.go", size: 74, mode: os.FileMode(0644), modTime: time.Unix(1697059195, 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}} return a, nil }