From c29705bcd55e3416afe64a3e631aee7d028e0f24 Mon Sep 17 00:00:00 2001 From: Zebot Date: Mon, 7 Mar 2022 12:13:35 +0000 Subject: [PATCH 1/5] Add changelog for Release 2022-03-07 --- CHANGELOG.md | 36 +++++++++++++++++++ changelog.d/0-release-notes/nginz-upgrade | 1 - changelog.d/1-api-changes/broadcast-qualified | 1 - changelog.d/3-bug-fixes/more-spar-tests | 1 - changelog.d/5-internal/api-version-endpoint | 1 - changelog.d/5-internal/base64-cleanup | 1 - changelog.d/5-internal/event-cleanup | 1 - changelog.d/5-internal/mls-messages | 1 - changelog.d/5-internal/servantify-register | 1 - 9 files changed, 36 insertions(+), 8 deletions(-) delete mode 100644 changelog.d/0-release-notes/nginz-upgrade delete mode 100644 changelog.d/1-api-changes/broadcast-qualified delete mode 100644 changelog.d/3-bug-fixes/more-spar-tests delete mode 100644 changelog.d/5-internal/api-version-endpoint delete mode 100644 changelog.d/5-internal/base64-cleanup delete mode 100644 changelog.d/5-internal/event-cleanup delete mode 100644 changelog.d/5-internal/mls-messages delete mode 100644 changelog.d/5-internal/servantify-register diff --git a/CHANGELOG.md b/CHANGELOG.md index 9be2efc0674..a40ec452304 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,39 @@ +# [2022-03-07] + +## Release notes + + +* For wire.com operators: make sure that nginz is deployed (#2166) + + +## API changes + + +* Add qualified broadcast endpoint (#2166) + + +## Bug fixes and other updates + + +* Always create spar credentials during SCIM provisioning when applicable (#2174) + + +## Internal changes + + +* Add tests for additional information returned by `GET /api-version` (#2159) + +* Clean up `Base64ByteString` implementation (#2170) + +* The `Event` record type does not contain a `type` field anymore (#2160) + +* Add MLS message types and corresponding deserialisers (#2145) + +* Asset keys are now internally validated. (#2162) + +* Servantify `POST /register` and `POST /i/users` endpoints (#2121) + + # [2022-03-01] ## Release notes diff --git a/changelog.d/0-release-notes/nginz-upgrade b/changelog.d/0-release-notes/nginz-upgrade deleted file mode 100644 index c5de9375515..00000000000 --- a/changelog.d/0-release-notes/nginz-upgrade +++ /dev/null @@ -1 +0,0 @@ -For wire.com operators: make sure that nginz is deployed diff --git a/changelog.d/1-api-changes/broadcast-qualified b/changelog.d/1-api-changes/broadcast-qualified deleted file mode 100644 index ae2d4d65a9c..00000000000 --- a/changelog.d/1-api-changes/broadcast-qualified +++ /dev/null @@ -1 +0,0 @@ -Add qualified broadcast endpoint diff --git a/changelog.d/3-bug-fixes/more-spar-tests b/changelog.d/3-bug-fixes/more-spar-tests deleted file mode 100644 index be3a1593b03..00000000000 --- a/changelog.d/3-bug-fixes/more-spar-tests +++ /dev/null @@ -1 +0,0 @@ -Always create spar credentials during SCIM provisioning when applicable diff --git a/changelog.d/5-internal/api-version-endpoint b/changelog.d/5-internal/api-version-endpoint deleted file mode 100644 index 600d93bd705..00000000000 --- a/changelog.d/5-internal/api-version-endpoint +++ /dev/null @@ -1 +0,0 @@ -Add tests for additional information returned by `GET /api-version` diff --git a/changelog.d/5-internal/base64-cleanup b/changelog.d/5-internal/base64-cleanup deleted file mode 100644 index 4d114754625..00000000000 --- a/changelog.d/5-internal/base64-cleanup +++ /dev/null @@ -1 +0,0 @@ -Clean up `Base64ByteString` implementation diff --git a/changelog.d/5-internal/event-cleanup b/changelog.d/5-internal/event-cleanup deleted file mode 100644 index f9f726d043f..00000000000 --- a/changelog.d/5-internal/event-cleanup +++ /dev/null @@ -1 +0,0 @@ -The `Event` record type does not contain a `type` field anymore diff --git a/changelog.d/5-internal/mls-messages b/changelog.d/5-internal/mls-messages deleted file mode 100644 index 45f0812ab06..00000000000 --- a/changelog.d/5-internal/mls-messages +++ /dev/null @@ -1 +0,0 @@ -Add MLS message types and corresponding deserialisers diff --git a/changelog.d/5-internal/servantify-register b/changelog.d/5-internal/servantify-register deleted file mode 100644 index f2c8d856dfd..00000000000 --- a/changelog.d/5-internal/servantify-register +++ /dev/null @@ -1 +0,0 @@ -Servantify `POST /register` and `POST /i/users` endpoints \ No newline at end of file From 1712e85361e27a9a4ca28f169385512bcbdd9941 Mon Sep 17 00:00:00 2001 From: Matthias Fischmann Date: Mon, 7 Mar 2022 13:20:46 +0100 Subject: [PATCH 2/5] Drop controversial change on asset key types from changelog. --- CHANGELOG.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a40ec452304..a103065f935 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -29,8 +29,6 @@ * Add MLS message types and corresponding deserialisers (#2145) -* Asset keys are now internally validated. (#2162) - * Servantify `POST /register` and `POST /i/users` endpoints (#2121) From 25597520779b392fec4106d90e53d620a4947074 Mon Sep 17 00:00:00 2001 From: Matthias Fischmann Date: Mon, 7 Mar 2022 14:30:47 +0100 Subject: [PATCH 3/5] Revert "Strongly typed asset keys (#2162)" This reverts commit ae730d245bbef81d566f90c7ec7479d67f8bc77a. --- changelog.d/5-internal/pr-2162 | 1 - libs/wire-api/src/Wire/API/Asset.hs | 6 +- libs/wire-api/src/Wire/API/Team.hs | 29 +++-- libs/wire-api/src/Wire/API/User/Profile.hs | 3 +- .../Golden/Generated/AddBotResponse_user.hs | 10 +- .../Generated/BindingNewTeamUser_user.hs | 12 +- .../Golden/Generated/BindingNewTeam_team.hs | 103 +++++++++++++----- .../Wire/API/Golden/Generated/Event_team.hs | 16 +-- .../Generated/NewBotResponse_provider.hs | 65 ++++++----- .../Golden/Generated/NewService_provider.hs | 51 ++++----- .../Golden/Generated/NewUserPublic_user.hs | 11 +- .../Wire/API/Golden/Generated/NewUser_user.hs | 13 ++- .../Generated/ServiceProfilePage_provider.hs | 3 +- .../Generated/ServiceProfile_provider.hs | 37 +++---- .../API/Golden/Generated/Service_provider.hs | 45 ++++---- .../API/Golden/Generated/TeamList_team.hs | 89 ++++++++------- .../Wire/API/Golden/Generated/Team_team.hs | 43 ++++---- .../Generated/UpdateService_provider.hs | 81 +++++++------- .../API/Golden/Generated/UserUpdate_user.hs | 7 +- .../Generated/User_2eProfile_2eAsset_user.hs | 45 ++++---- .../Wire/API/Golden/Generated/User_user.hs | 7 +- .../testObject_NewUserPublic_user_1-2.json | 6 +- .../testObject_NewUserPublic_user_1-3.json | 6 +- .../testObject_AddBotResponse_user_1.json | 4 +- .../testObject_BindingNewTeamUser_user_1.json | 2 +- .../testObject_BindingNewTeamUser_user_2.json | 2 +- .../testObject_BindingNewTeam_team_1.json | 2 +- .../testObject_BindingNewTeam_team_10.json | 2 +- .../testObject_BindingNewTeam_team_11.json | 2 +- .../testObject_BindingNewTeam_team_12.json | 2 +- .../testObject_BindingNewTeam_team_13.json | 2 +- .../testObject_BindingNewTeam_team_14.json | 2 +- .../testObject_BindingNewTeam_team_15.json | 2 +- .../testObject_BindingNewTeam_team_16.json | 2 +- .../testObject_BindingNewTeam_team_17.json | 2 +- .../testObject_BindingNewTeam_team_18.json | 2 +- .../testObject_BindingNewTeam_team_19.json | 2 +- .../testObject_BindingNewTeam_team_2.json | 2 +- .../testObject_BindingNewTeam_team_20.json | 2 +- .../testObject_BindingNewTeam_team_3.json | 2 +- .../testObject_BindingNewTeam_team_4.json | 2 +- .../testObject_BindingNewTeam_team_5.json | 2 +- .../testObject_BindingNewTeam_team_6.json | 2 +- .../testObject_BindingNewTeam_team_7.json | 2 +- .../testObject_BindingNewTeam_team_8.json | 2 +- .../testObject_BindingNewTeam_team_9.json | 2 +- .../test/golden/testObject_Event_team_1.json | 2 +- .../test/golden/testObject_Event_team_13.json | 2 +- ...testObject_NewBotResponse_provider_10.json | 2 +- ...testObject_NewBotResponse_provider_13.json | 12 +- ...testObject_NewBotResponse_provider_16.json | 7 +- ...testObject_NewBotResponse_provider_18.json | 6 +- ...testObject_NewBotResponse_provider_19.json | 10 +- .../testObject_NewBotResponse_provider_2.json | 8 +- ...testObject_NewBotResponse_provider_20.json | 6 +- .../testObject_NewBotResponse_provider_3.json | 6 +- .../testObject_NewBotResponse_provider_8.json | 8 +- .../testObject_NewService_provider_10.json | 11 +- .../testObject_NewService_provider_11.json | 11 +- .../testObject_NewService_provider_12.json | 2 +- .../testObject_NewService_provider_13.json | 2 +- .../testObject_NewService_provider_14.json | 2 +- .../testObject_NewService_provider_15.json | 7 +- .../testObject_NewService_provider_16.json | 8 +- .../testObject_NewService_provider_18.json | 10 +- .../testObject_NewService_provider_19.json | 2 +- .../testObject_NewService_provider_20.json | 2 +- .../testObject_NewService_provider_4.json | 12 +- .../testObject_NewService_provider_5.json | 12 +- .../testObject_NewService_provider_6.json | 2 +- .../testObject_NewService_provider_7.json | 2 +- .../testObject_NewService_provider_8.json | 7 +- .../testObject_NewUserPublic_user_1.json | 6 +- .../golden/testObject_NewUser_user_1.json | 6 +- .../golden/testObject_NewUser_user_7.json | 2 +- ...Object_ServiceProfilePage_provider_11.json | 2 +- .../testObject_ServiceProfile_provider_1.json | 2 +- ...testObject_ServiceProfile_provider_10.json | 7 +- ...testObject_ServiceProfile_provider_13.json | 2 +- ...testObject_ServiceProfile_provider_15.json | 2 +- ...testObject_ServiceProfile_provider_16.json | 7 +- ...testObject_ServiceProfile_provider_17.json | 7 +- .../testObject_ServiceProfile_provider_2.json | 8 +- .../testObject_ServiceProfile_provider_3.json | 6 +- .../testObject_ServiceProfile_provider_4.json | 2 +- .../testObject_ServiceProfile_provider_6.json | 10 +- .../testObject_ServiceProfile_provider_9.json | 2 +- .../testObject_Service_provider_11.json | 7 +- .../testObject_Service_provider_12.json | 6 +- .../testObject_Service_provider_13.json | 2 +- .../testObject_Service_provider_14.json | 2 +- .../testObject_Service_provider_15.json | 14 +-- .../testObject_Service_provider_16.json | 6 +- .../golden/testObject_Service_provider_2.json | 7 +- .../golden/testObject_Service_provider_4.json | 2 +- .../golden/testObject_Service_provider_6.json | 10 +- .../golden/testObject_Service_provider_7.json | 2 +- .../golden/testObject_TeamList_team_1.json | 6 +- .../golden/testObject_TeamList_team_12.json | 2 +- .../golden/testObject_TeamList_team_14.json | 12 +- .../golden/testObject_TeamList_team_15.json | 10 +- .../golden/testObject_TeamList_team_16.json | 2 +- .../golden/testObject_TeamList_team_18.json | 2 +- .../golden/testObject_TeamList_team_19.json | 2 +- .../golden/testObject_TeamList_team_2.json | 4 +- .../golden/testObject_TeamList_team_20.json | 8 +- .../golden/testObject_TeamList_team_3.json | 2 +- .../golden/testObject_TeamList_team_4.json | 4 +- .../golden/testObject_TeamList_team_5.json | 14 +-- .../golden/testObject_TeamList_team_6.json | 2 +- .../golden/testObject_TeamList_team_7.json | 4 +- .../golden/testObject_TeamList_team_9.json | 12 +- .../test/golden/testObject_Team_team_1.json | 2 +- .../test/golden/testObject_Team_team_10.json | 2 +- .../test/golden/testObject_Team_team_11.json | 2 +- .../test/golden/testObject_Team_team_12.json | 2 +- .../test/golden/testObject_Team_team_13.json | 2 +- .../test/golden/testObject_Team_team_14.json | 2 +- .../test/golden/testObject_Team_team_15.json | 2 +- .../test/golden/testObject_Team_team_16.json | 2 +- .../test/golden/testObject_Team_team_17.json | 2 +- .../test/golden/testObject_Team_team_18.json | 2 +- .../test/golden/testObject_Team_team_19.json | 2 +- .../test/golden/testObject_Team_team_2.json | 2 +- .../test/golden/testObject_Team_team_20.json | 2 +- .../test/golden/testObject_Team_team_3.json | 2 +- .../test/golden/testObject_Team_team_4.json | 2 +- .../test/golden/testObject_Team_team_5.json | 2 +- .../test/golden/testObject_Team_team_6.json | 2 +- .../test/golden/testObject_Team_team_7.json | 2 +- .../test/golden/testObject_Team_team_8.json | 2 +- .../test/golden/testObject_Team_team_9.json | 2 +- .../testObject_UpdateService_provider_1.json | 2 +- .../testObject_UpdateService_provider_11.json | 6 +- .../testObject_UpdateService_provider_12.json | 2 +- .../testObject_UpdateService_provider_15.json | 2 +- .../testObject_UpdateService_provider_17.json | 2 +- .../testObject_UpdateService_provider_18.json | 7 +- .../testObject_UpdateService_provider_19.json | 12 +- .../testObject_UpdateService_provider_2.json | 8 +- .../testObject_UpdateService_provider_20.json | 6 +- .../testObject_UpdateService_provider_3.json | 6 +- .../testObject_UpdateService_provider_4.json | 7 +- .../testObject_UpdateService_provider_5.json | 12 +- .../testObject_UpdateService_provider_6.json | 2 +- .../testObject_UpdateService_provider_9.json | 12 +- .../golden/testObject_UserUpdate_user_2.json | 2 +- ...tObject_User_2eProfile_2eAsset_user_1.json | 2 +- ...Object_User_2eProfile_2eAsset_user_10.json | 2 +- ...Object_User_2eProfile_2eAsset_user_11.json | 2 +- ...Object_User_2eProfile_2eAsset_user_12.json | 2 +- ...Object_User_2eProfile_2eAsset_user_13.json | 2 +- ...Object_User_2eProfile_2eAsset_user_14.json | 2 +- ...Object_User_2eProfile_2eAsset_user_15.json | 2 +- ...Object_User_2eProfile_2eAsset_user_16.json | 2 +- ...Object_User_2eProfile_2eAsset_user_17.json | 2 +- ...Object_User_2eProfile_2eAsset_user_18.json | 2 +- ...Object_User_2eProfile_2eAsset_user_19.json | 2 +- ...tObject_User_2eProfile_2eAsset_user_2.json | 2 +- ...Object_User_2eProfile_2eAsset_user_20.json | 2 +- ...tObject_User_2eProfile_2eAsset_user_3.json | 2 +- ...tObject_User_2eProfile_2eAsset_user_4.json | 2 +- ...tObject_User_2eProfile_2eAsset_user_5.json | 2 +- ...tObject_User_2eProfile_2eAsset_user_6.json | 2 +- ...tObject_User_2eProfile_2eAsset_user_7.json | 2 +- ...tObject_User_2eProfile_2eAsset_user_8.json | 2 +- ...tObject_User_2eProfile_2eAsset_user_9.json | 2 +- .../test/golden/testObject_User_user_2.json | 6 +- services/brig/src/Brig/Data/Instances.hs | 13 +-- .../brig/test/integration/API/Provider.hs | 7 +- services/brig/test/integration/API/Team.hs | 4 +- .../brig/test/integration/API/Team/Util.hs | 3 +- .../brig/test/integration/API/User/Account.hs | 10 +- .../integration/API/UserPendingActivation.hs | 3 +- .../galley/src/Galley/Cassandra/Instances.hs | 9 -- .../galley/src/Galley/Cassandra/Queries.hs | 5 +- services/galley/src/Galley/Cassandra/Team.hs | 5 +- .../galley/src/Galley/Effects/TeamStore.hs | 3 +- services/galley/test/integration/API/Teams.hs | 3 +- services/galley/test/integration/API/Util.hs | 7 +- services/spar/test-integration/Util/Core.hs | 3 +- 181 files changed, 708 insertions(+), 654 deletions(-) delete mode 100644 changelog.d/5-internal/pr-2162 diff --git a/changelog.d/5-internal/pr-2162 b/changelog.d/5-internal/pr-2162 deleted file mode 100644 index 6663254a9cc..00000000000 --- a/changelog.d/5-internal/pr-2162 +++ /dev/null @@ -1 +0,0 @@ -Asset keys are now internally validated. diff --git a/libs/wire-api/src/Wire/API/Asset.hs b/libs/wire-api/src/Wire/API/Asset.hs index 834a201dcd9..a1c37b9c5cf 100644 --- a/libs/wire-api/src/Wire/API/Asset.hs +++ b/libs/wire-api/src/Wire/API/Asset.hs @@ -31,7 +31,6 @@ module Wire.API.Asset -- * AssetKey AssetKey (..), assetKeyToText, - nilAssetKey, -- * AssetToken AssetToken (..), @@ -177,7 +176,7 @@ assetKeyToText = T.decodeUtf8 . toByteString' instance ToSchema AssetKey where schema = - assetKeyToText + (T.decodeUtf8 . toByteString') .= parsedText "AssetKey" (runParser parser . T.encodeUtf8) & doc' . S.schema . S.example ?~ toJSON ("3-1-47de4580-ae51-4650-acbb-d10c028cb0ac" :: Text) @@ -187,9 +186,6 @@ instance S.ToParamSchema AssetKey where instance FromHttpApiData AssetKey where parseUrlPiece = first T.pack . runParser parser . T.encodeUtf8 -nilAssetKey :: AssetKey -nilAssetKey = AssetKeyV3 (Id UUID.nil) AssetVolatile - -------------------------------------------------------------------------------- -- AssetToken diff --git a/libs/wire-api/src/Wire/API/Team.hs b/libs/wire-api/src/Wire/API/Team.hs index c1e192c3669..8fb331559cc 100644 --- a/libs/wire-api/src/Wire/API/Team.hs +++ b/libs/wire-api/src/Wire/API/Team.hs @@ -30,7 +30,6 @@ module Wire.API.Team teamIconKey, teamBinding, TeamBinding (..), - Icon (..), -- * TeamList TeamList (..), @@ -96,7 +95,7 @@ data Team = Team { _teamId :: TeamId, _teamCreator :: UserId, _teamName :: Text, - _teamIcon :: Icon, + _teamIcon :: Text, _teamIconKey :: Maybe Text, _teamBinding :: TeamBinding } @@ -104,7 +103,7 @@ data Team = Team deriving (Arbitrary) via (GenericUniform Team) deriving (ToJSON, FromJSON, S.ToSchema) via (Schema Team) -newTeam :: TeamId -> UserId -> Text -> Icon -> TeamBinding -> Team +newTeam :: TeamId -> UserId -> Text -> Text -> TeamBinding -> Team newTeam tid uid nme ico = Team tid uid nme ico Nothing modelTeam :: Doc.Model @@ -231,14 +230,14 @@ modelNewNonBindingTeam = Doc.defineModel "newNonBindingTeam" $ do data NewTeam a = NewTeam { _newTeamName :: Range 1 256 Text, - _newTeamIcon :: Icon, + _newTeamIcon :: Range 1 256 Text, _newTeamIconKey :: Maybe (Range 1 256 Text), _newTeamMembers :: Maybe a } deriving stock (Eq, Show, Generic) deriving (Arbitrary) via (GenericUniform (NewTeam a)) -newNewTeam :: Range 1 256 Text -> Icon -> NewTeam a +newNewTeam :: Range 1 256 Text -> Range 1 256 Text -> NewTeam a newNewTeam nme ico = NewTeam nme ico Nothing Nothing newTeamObjectSchema :: ValueSchema SwaggerDoc a -> ObjectSchema SwaggerDoc (NewTeam a) @@ -252,30 +251,30 @@ newTeamObjectSchema sch = -------------------------------------------------------------------------------- -- TeamUpdateData -data Icon = Icon AssetKey | DefaultIcon +data IconUpdate = IconUpdate AssetKey | DefaultIcon deriving stock (Eq, Show, Generic) - deriving (Arbitrary) via (GenericUniform Icon) - deriving (ToJSON, FromJSON, S.ToSchema) via Schema Icon + deriving (Arbitrary) via (GenericUniform IconUpdate) + deriving (ToJSON, FromJSON, S.ToSchema) via Schema IconUpdate -instance FromByteString Icon where +instance FromByteString IconUpdate where parser = choice - [ Icon <$> (parser :: Atto.Parser AssetKey), + [ IconUpdate <$> (parser :: Atto.Parser AssetKey), DefaultIcon <$ Atto.string "default" ] -instance ToByteString Icon where - builder (Icon key) = builder key +instance ToByteString IconUpdate where + builder (IconUpdate key) = builder key builder DefaultIcon = "default" -instance ToSchema Icon where +instance ToSchema IconUpdate where schema = (T.decodeUtf8 . toByteString') - .= parsedText "Icon" (runParser parser . T.encodeUtf8) + .= parsedText "IconUpdate" (runParser parser . T.encodeUtf8) data TeamUpdateData = TeamUpdateData { _nameUpdate :: Maybe (Range 1 256 Text), - _iconUpdate :: Maybe Icon, + _iconUpdate :: Maybe IconUpdate, _iconKeyUpdate :: Maybe (Range 1 256 Text) } deriving stock (Eq, Show, Generic) diff --git a/libs/wire-api/src/Wire/API/User/Profile.hs b/libs/wire-api/src/Wire/API/User/Profile.hs index 692220636aa..5327fce2975 100644 --- a/libs/wire-api/src/Wire/API/User/Profile.hs +++ b/libs/wire-api/src/Wire/API/User/Profile.hs @@ -69,7 +69,6 @@ import qualified Data.Swagger.Build.Api as Doc import qualified Data.Text as Text import Imports import Wire.API.Arbitrary (Arbitrary (arbitrary), GenericUniform (..)) -import Wire.API.Asset (AssetKey (..)) import Wire.API.User.Orphans () -------------------------------------------------------------------------------- @@ -107,7 +106,7 @@ defaultAccentId = ColourId 0 -- Note: Intended to be turned into a sum type to add further asset types. data Asset = ImageAsset - { assetKey :: AssetKey, + { assetKey :: Text, assetSize :: Maybe AssetSize } deriving stock (Eq, Show, Generic) diff --git a/libs/wire-api/test/golden/Test/Wire/API/Golden/Generated/AddBotResponse_user.hs b/libs/wire-api/test/golden/Test/Wire/API/Golden/Generated/AddBotResponse_user.hs index 25ab06033c6..93f6f0ade00 100644 --- a/libs/wire-api/test/golden/Test/Wire/API/Golden/Generated/AddBotResponse_user.hs +++ b/libs/wire-api/test/golden/Test/Wire/API/Golden/Generated/AddBotResponse_user.hs @@ -24,7 +24,6 @@ import Data.Id (BotId (BotId), ClientId (ClientId, client), Id (Id)) import Data.Qualified import qualified Data.UUID as UUID (fromString) import Imports (Maybe (Just, Nothing), fromJust, read, (.)) -import Wire.API.Asset import Wire.API.Conversation import Wire.API.Conversation.Bot import Wire.API.Conversation.Typing @@ -42,14 +41,7 @@ testObject_AddBotResponse_user_1 = "\77844\129468A\1061088\30365\142096\40918\USc\DC3~0g\ENQr\v\29872\f\154305\1077132u\175940.\1018427v\v-/\bi\bJ\ETXE3\ESC8\53613\1073036\&0@\14466\51733;\27113\SYN\153289\b&\ae]\1042471H\1024555k7\EMJ\1083646[;\140668;J^`0,B\STX\95353N.@Z\v\ENQ\r\19858|'w-\b\157432V\STX \GSW|N\1072850\&3=\22550K245\DC1\142803\168718\7168\147365\ETX" }, rsAddBotColour = ColourId {fromColourId = -3}, - rsAddBotAssets = - [ ImageAsset - (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) - Nothing, - ImageAsset - (AssetKeyV3 (Id (fromJust (UUID.fromString "034efa97-f628-450e-b212-009801b1470b"))) AssetExpiring) - (Just AssetPreview) - ], + rsAddBotAssets = [ImageAsset "7" Nothing, ImageAsset "" (Just AssetPreview)], rsAddBotEvent = Event (Qualified (Id (fromJust (UUID.fromString "00000001-0000-0000-0000-000200000003"))) (Domain "faraway.example.com")) diff --git a/libs/wire-api/test/golden/Test/Wire/API/Golden/Generated/BindingNewTeamUser_user.hs b/libs/wire-api/test/golden/Test/Wire/API/Golden/Generated/BindingNewTeamUser_user.hs index 37dc8807bf7..1eb13e0c5ca 100644 --- a/libs/wire-api/test/golden/Test/Wire/API/Golden/Generated/BindingNewTeamUser_user.hs +++ b/libs/wire-api/test/golden/Test/Wire/API/Golden/Generated/BindingNewTeamUser_user.hs @@ -18,14 +18,10 @@ module Test.Wire.API.Golden.Generated.BindingNewTeamUser_user where import Data.Currency (Alpha (XUA)) -import Data.Id (Id (..)) import Data.Range (unsafeRange) -import Data.UUID as UUID -import Imports (Maybe (Just, Nothing), fromJust) -import Wire.API.Asset +import Imports (Maybe (Just, Nothing)) import Wire.API.Team ( BindingNewTeam (BindingNewTeam), - Icon (..), NewTeam ( NewTeam, _newTeamIcon, @@ -45,7 +41,9 @@ testObject_BindingNewTeamUser_user_1 = { _newTeamName = unsafeRange "\fe\ENQ\1011760zm\166331\&6+)g;5\989956Z\8196\&41\DC1\n\STX\ETX%|\NULM\996272S=`I\59956UK1\1003466]X\r\SUBa\EM!\74407+\ETXepRw\ACK\ENQ#\127835\1061771\1036174\1018930UX\66821]>i&r\137805\1055913Z\1070413\&6\DC4\DC4\1024114\1058863\1044802\ESC\SYNa4\NUL\1059602\1015948\123628\tLZ\ACKw$=\SYNu\ETXE1\63200C'\ENQ\151764\47003\134542$\100516\1112326\&9;#\1044763\1015439&\ESC\1026916k/\tu\\pk\NUL\STX\1083510)\FS/Lni]Q\NUL\SIZ|=\DC1V]]\FS5\156475U6>(\17233'\CAN\179678%'I1-D\"\1098303\n\78699\npkHY#\NUL\1014868u]\1078674\147414\STX\USj'\993967'\CAN\1042144&\35396E\37802=\135058Da\STX\v\1100351=\1083565V#\993183\RS\FSN#`uny\1003178\1094898\&53#\DEL/|,+\243pW\44721i4j", - _newTeamIcon = DefaultIcon, + _newTeamIcon = + unsafeRange + "Coq\52427\v\182208\&7\SYN\\N\134130\8419h3 \30278;X\STX\a\a$|D\NUL\SOHh'\62853\&3-m7\1078900\SOp\22214`\1093812\&6QF\CAN\SOH9\1062958\ETB\15747FP;lm\1075533\173111\134845\22570n:\rf\1044997\\:\35041\GS\GS\26754\EM\22764i\991235\ETXjj}\1010340~\989348{; \119085\1006542\SUBL&%2\170880;@\\2`gA\984195\&0\162341\&2\163058h\FSuF\DC4\17376\ESC\GS\SO\vYnKy?v\129546H\fcLdBy\170730\&4I\1108995i\1017125\ETBc6f\v\SOH\DC3\1018708ce\1083597\SOs3L&", _newTeamIconKey = Just ( unsafeRange @@ -66,7 +64,7 @@ testObject_BindingNewTeamUser_user_2 = { _newTeamName = unsafeRange "G\EOT\DC47\1030077bCy\83226&5\"\96437B$\STX\DC2QJb_\15727\1104659Y \156055\1044397Y\1004994g\v\991186xkJUi\1028168.=-\1054839\&2\1113630U\ESC]\SUB\1091929\DLE}R\157290\DC1\1111740\1096562+R/\1083774\170894p(M\ENQ5Fw<\144133E\1005699R\DLE44\1060383\SO%@FPG\986135JJ\vE\GSz\RS_\tb]0t_Ax}\rt\1057458h\DC3O\ACK\991050`\1038022vm-?$!)~\152722bh\RS\1011653\1007510\&0x \1092001\1078327+)A&mRfL\1109449\ENQ\1049319>K@\US\1006511\ab\vPDWG,\1062888/J~)%7?aRr\989765\&4*^\1035118K*\996771\EM\"\SO\987994\186383l\n\tE\136474\1037228\NAK\a\n\78251c?\\\ENQj\"\ESCpe\98450\NUL=\EM>J", - _newTeamIcon = Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal), + _newTeamIcon = unsafeRange "\SUB4\NAKF", _newTeamIconKey = Just ( unsafeRange diff --git a/libs/wire-api/test/golden/Test/Wire/API/Golden/Generated/BindingNewTeam_team.hs b/libs/wire-api/test/golden/Test/Wire/API/Golden/Generated/BindingNewTeam_team.hs index 5b2eae3c44a..95ec210ac87 100644 --- a/libs/wire-api/test/golden/Test/Wire/API/Golden/Generated/BindingNewTeam_team.hs +++ b/libs/wire-api/test/golden/Test/Wire/API/Golden/Generated/BindingNewTeam_team.hs @@ -19,14 +19,10 @@ module Test.Wire.API.Golden.Generated.BindingNewTeam_team where -import Data.Id (Id (Id)) import Data.Range (unsafeRange) -import qualified Data.UUID as UUID (fromString) -import Imports (Maybe (Just, Nothing), fromJust) -import Wire.API.Asset (AssetKey (..), AssetRetention (..)) +import Imports (Maybe (Just, Nothing)) import Wire.API.Team ( BindingNewTeam (..), - Icon (..), NewTeam ( NewTeam, _newTeamIcon, @@ -44,7 +40,10 @@ testObject_BindingNewTeam_team_1 = ( unsafeRange ("UivH&\54922\98185p\USz\11724\r$\DC4j9P\r\"\1070851\3254\986624aF>E\1078807\139041B\EM&\1088459\DC4\174923+'\1103890R;!\GS\1017122\SIvv|\rmbGHz\1005234\95057\&3h\120904\\U|'\ETX;^&G\CAN\f\41076\&42\teq\1049559\SOV1}\RSaT\1014212aO7<;o\179606\f\1111896m)$PC\ESC7;f{\STXt\9533>\EOTX@4|/\tH\ENQ/D\144082\EM\121436C\99696Q\ENQT\1096609?d\ACK\1073806#H\127523\139127*\166004jo\1079041\74636t\n)1/% hL\DC2Ad\SOHXq6\DC1)\NUL\f6\fV\DC4r\1097128\DC1n\1107359,@\171217\118996\n\SUB%N\176824\ACK\33856Xv)\SYNz?\DC4\EMY\162050\&2\95792um8}\51420\DC2yW\NULHQ\ENQD[Fe\nk\999106\EM\25079Yk@##u}j\169850\153342\STXq\ESCir7) \27756%\1016104~\993971\&8\1085984je\1099724\&0*Gi3\120829je\CANQr>\1033571k1\63774c\1031586L\1015084\93833t\EOTW\999363\SUBo\fgh\ACK\172057C2\38697c\SUB)uW\r\fB\1042942Sf\SUB\SOH*5l\38586\SI\25991\EMB(\ENQ\133758/)!{\1006380\&9\STXA\DEL\16077fx&\180089T&\187029\DC4\52222[\r\v\n\1071241j2\166180/\1086576\ENQQo\fj\134496\129296\nb6\CAN3\RS9\EM\1000086ub\ETB3CY\GSsIz") ), - _newTeamIcon = Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "3d4b563b-016c-49da-bad2-876ad0a5ecd2"))) AssetExpiring), + _newTeamIcon = + ( unsafeRange + (":b6\99159L\1054777K<\1108399\94965C^\SOY8LuXS\156657F\SOH\ETB\49985\1023127\US\1042782J]\ETBA2R$P6\\\ENQ\168330-J\NULt\SI\1047279*\1030368r\1078088M\NAKPL)\94751\SUBJ\72794S\1103633~'kRYj\71198{P{V\SOH!\986239Y~\vV\t\150530{5%i[$7X:ZV\NULy\a\49289\SYN\ENQ\f;!k?O\1029799\1082505K:}\1097011\174391#>\\|(n\STX\165884\ETXD\150060\52125{|\151751\987438+\7022J") + ), _newTeamIconKey = Just ( unsafeRange @@ -92,7 +97,10 @@ testObject_BindingNewTeam_team_4 = BindingNewTeam ( NewTeam { _newTeamName = (unsafeRange ("\ETX\1006830k;")), - _newTeamIcon = Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "18fef3b3-323c-4c27-bb62-6026d62f77c3"))) AssetExpiring), + _newTeamIcon = + ( unsafeRange + ("tmIV\999157\&3\1101401\1048401HKE{\1076066\58364R9\EOT\ETBE2\68432L\1009801|a\b|C\41601\1054883}\GS\1031260\CANO9$)\NUL\STX\153170\32951\NUL\50288K\1045065\1057248d\25051\GS\vq\1025447B\ETX\aT\SOPt\DELY\NAK\1047285\28492z#k`P\1056790\STX_7LXC]`#-`\ACK\2234\DC2pw59\n\SUB\DLEj\41795\184841F\ETB\1071805\t;\DC2r*\22318\EMS\182587E8e\FSx\1091470A\SUB|j\ad\DLE0RDI\rQ\NAK`\1072156\EM)j{\1062530\142892\1100137f@\t\DC1\f\"\f\1043821\1099467\1105685\6302J`.\110675*\bF%4\1009644\EM-3g\100340\1103476\1101833\STX\n\DLE\DC3]s\178911_\a\1041598\162772\DC2\v\515\DLE\15612v|\b\1052391%\165476g~0\EOTWp\t \173242C\FS\149826x\ENQ\ACK\DC2-DIYa\1004333:\189759'{\1083009\143586\1041756\&6\7690\1000132=xfo\ACKU'\DC4\1102469t\n\DC2\1095515\&6\119535/\1103539tR\SYN#\1109833") + ), _newTeamIconKey = Nothing, _newTeamMembers = Nothing } @@ -106,7 +114,10 @@ testObject_BindingNewTeam_team_5 = ( unsafeRange ("\SIB\63473\70352\&3\158300\\#\1061243I\USK\1023384h\DLE\DC3\RS\134858*\998726L\STXw1p\"4\EOT\188995#u\144798\SYN\FS\37122\41625$\376wu\174004\45347\1008628\SUB\a)\DC2?T \49542\&8\39359.\t\NAK1\f\EOTY\128585%\1929\64376\15282 &Z4\1085196\NUL@\SOH\EM\154601\1078303\1098851xtj\182717`\SOH\59489r\r\94098\EOT0\EM\NULLyc D\FS\1085075\1054974)\SUB-\SO\1085196\vl\984336\59601\1114081\CAN\61540\186940f\SIrb/[F\NUL\1099974<1\1027888P\GSxl\"!11E\ESC0\ESC\f$u\1093437N\GSV^\1017313q\170667\n`\1047440\163252:iLXn\CAN\988958\26427O}8!Y\NAK,^X\63902*\\`\38784\DC3\a]\144700\1021165{FKA\b\1102136\178719\DC3\US=UC\179701KQb\1054842\1015593\FSX7@\996116C~-[Db $cx\ETXCzvq ,g\rD\1032170") + ), _newTeamIconKey = Just ( unsafeRange @@ -124,7 +135,10 @@ testObject_BindingNewTeam_team_6 = ( unsafeRange ("v\188076hEWefuu\1006804jPx\158137k#\SOH\986725\STX\ETX^\ESC\n\CAN\8325p1D|S1\1064991\1102106\29079\SYN`\t0g\1034469,t\FSw\fDT\RS#H\SOH\145176\US{\1091499\1025650\984364lW\a,uil\SIN`5e:\SYN Y!\SYN\1025115tb\1085213") ), - _newTeamIcon = Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "d7a467c6-8cd4-40cb-9e30-99b64bb11307"))) AssetEternal), + _newTeamIcon = + ( unsafeRange + ("l\145301\30725\US@/D\t\145930\1019910^f\NAK\DC4[\127098\1002727)\1097841W\1035417\&2\58863\111330\n#\138666|/I\rI\NUL\US;\n\v\b\ESC\SO\b}\1060666Q\168368\&45^mI\10814\138738\1110238k\SO\1071853d0iA7\DC3\rW\985090\1041247Z\166371T\46392u\EOT\SOX\"\996646") + ), _newTeamIconKey = Just ( unsafeRange @@ -142,7 +156,7 @@ testObject_BindingNewTeam_team_7 = ( unsafeRange ("\145552\1042892iz\1057971FT\14964;\1108369}\188917\1113471\&9\SO\991633\&7>hAC\NULH2O\177259m\187711\&2R(?W,=,\990725M\992456\aM\194790\SUB\47600q\SOlj\EOTj^.s~\rY%5lM,\26492=\ACK\1016899\188843>{\CAN\DLE\15878f=X9\SYN9\51145\159419TI4\17599\v\NAK6\1014936/\DLE\NAK\ACK\23564H<\ENQ\1029703e\ENQz\1017528:\6137\"rS\a\167660\FS\ETX\1059289\1031786\49012\DC4\DC4Q\"\1065200\&1:\1097556\UST.;\1042663\18380}") ), - _newTeamIcon = Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "b199431c-e2ee-48c6-8f1b-56726626b493"))) AssetEternal), + _newTeamIcon = (unsafeRange ("_5\63791\aQ\1109163W\8411\&9\43942*\1003379")), _newTeamIconKey = Just ( unsafeRange @@ -160,7 +174,10 @@ testObject_BindingNewTeam_team_8 = ( unsafeRange ("YwD\1023517r\NAK}\1083947\ACK\1047823\29742\EOT\1071030iI5g\1012255\t\"r\150087O\DC4?\53005\1100290\1108960\NUL\1060304qgg\DC1X)\NULL\1054528\CAN{\v4\NUL\93999\bvD#\1035811$aYFk\b\1102040\1089491\1042733\47133:1\179810S7\66745V)\1072087\v\96989\&3#\b\1104899c\27119Q/jPy\1015620P@Df\997914\51756H\1113361Xr\SO\ETB3%\1108760aF@3A\SI\ETB\STX mj9T=\DC3'XI\DC2?0\1093231\156858VHp?\1066163YU\42092\33083\72810,)\1113424\ETX96\153338z\42445/4T\136162\ESC\60427\1086321&\ETBS\1098748\14578z[\54638Z\DC2\"e\SUB\173931&rQ\fJG\100066\180037\155435s$\SUB$\50544S\162554E\ETX*\t+\63443WU*\144654\1042128\&8\NAK\999184a\t\EM\1097907_\DELOD\1006385/\23998\1100140SmfX") ), - _newTeamIcon = Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal), + _newTeamIcon = + ( unsafeRange + ("\9989IT\RS\DEL\1102950\49046%mE\985354\1051208M\a:[fgw\ESC?ye\70096\1096815K\ETBl\1054491\1013010\1037243Qg?\151299{\f!uXA}H)v$\160467\1093098mGkC9\1084965\GS\1092746\1034992\&1DH\166476s\42306\&7[.\187974v+\1091910O^SGjv\1069550Y\1003173n\154396Z\78347\SO{\1060523Q\ETX\RS1I\FS5\ACK\1035980\1083718\1031418_\1105769?gD\4285\fg\15008:g\FS.J<\DC2\ETB\1016548}/\97909\DELOBLa\1051864\a{\1011185-\1064859\v\SI\DLE\145744V \\Ns0t\1081561frR!Qe!$\140066\1007621\SYN$\1077998!SZ\1052672\184571a\DLEB3") + ), _newTeamIconKey = Just ( unsafeRange @@ -178,7 +195,10 @@ testObject_BindingNewTeam_team_9 = ( unsafeRange ("\SOLN\GSr\144312\1070871k\181829#\153181lTD[Jh\SOH\1029451\34144\&6\1034706\1062880\NAK}\adb\171356-\\-1\DC42\1046344\DC2\78894\&1/\33084b:\ENQ\1038950;Mw\FS\183866\1113547ITuy\1050264`SP\SOH\SO\GS\NAK\a\r7M\1069326\1064150\18615\n\SYN3V\ETXR\n1$e.\1096261B~yd_z\1047817\rV\1091351\RS\SYN\165050l\DC3\47200u\1058674u\"\aTc|sEw\1011190wTC|F\4735B\t\DC4&\bUEN(+M\SOF;\1099746\134573\EM20\nrPW\1017058$\1064809") ), - _newTeamIcon = Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal), + _newTeamIcon = + ( unsafeRange + ("i\DLEi|\7196\ETB\1025523\NUL\7866\NULD'\94469Zby\1039174\8663Y\r\1019969\\n\21729\168347>\999971\&6\140502\1039443\37325\1016989|`dN \25830\987680i_\1055665p\1033233J\26000ngp@#\1105667A\988593\&7l{;\180315g4EX\45324\ESC\1068230\151220#z\176275\SYNy\EOT\t\60992G\\\35606\22388#s\1005062Ad\1094868Obh\1008737\DC2\1086579\57353)3R\SUB\FS\97513aw]\1075127\1039396\4324\118950kC\26815\SOH\1002881\1005712d8\46181\DC1\SYN\64570f9") + ), _newTeamIconKey = Just ( unsafeRange @@ -193,7 +213,10 @@ testObject_BindingNewTeam_team_10 = BindingNewTeam ( NewTeam { _newTeamName = (unsafeRange ("\b \SOH+\1056054;\t095\42390\n\STX2J\1002251\DC1UzD_\1110746\FS")), - _newTeamIcon = Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal), + _newTeamIcon = + ( unsafeRange + ("L\1093530j^Xe\DC1\1012858z1{\ENQ\1040620,\1021288\DELB;&\b54f>8+\168322\n\NUL5L[r7_.\DLEl1\176221\US6[EhD\USh\a\1095183\NAKC\139765,\177058,@?y+;\US`/^d\137830\991658HeCd\39028\DC3\1050220\143767\ENQ2O-Hijo\1007768\1045537\1013046X}x\1112190\ETB7\146170\53218C\30013\DLE`k*Gl\1046094\t\77870\1003758\rb}\b\NUL\33414h\SYNynr6d(") + ), _newTeamIconKey = Just ( unsafeRange @@ -211,7 +234,10 @@ testObject_BindingNewTeam_team_11 = ( unsafeRange ("\48005H\1082536\132304\157763\&5\RS\986337-\NAK\ESCR\nL\63954&bD\139428\SUBH\US\1040918\f\t;e\1064224\47101\tc\1087740e\1099415\DLE\ETX\DELI\65746\ETB\133884\SUB \SI\43795~FE\CAN6\162836\DEL\46062u\"\135684\1041611\FSFYI\t/{\ENQ\RS]j\1076782\US22\15884l\42366$\ETB\US\180023kL{\STX*\131382RMj\ESC\1091332W3H\1020399\FS\NAK^\"5\29653\32539*\1099111") ), - _newTeamIcon = Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal), + _newTeamIcon = + ( unsafeRange + ("r\53037\22164\72341u*33{8G\1084742aO\GS%\NUL[\1003678U\ENQ\985387iKL\GSNF\163860\1098258`\EOTT$`i5\92401\ESC\356\&98>") + ), _newTeamIconKey = Just ( unsafeRange @@ -229,7 +255,10 @@ testObject_BindingNewTeam_team_12 = ( unsafeRange (";\110872M\EOT\164161P]'\1041089\1094514\4118\1054714iFnRQV\43238@\992926\59902l\1099067\aKZ{\51124S\190890\fg*\n,`!V\STX\991695e'\1039967\SO0\37019p4d\STXs\1020471uK(c'\52929hjB\144953\SOt'h^\SYN\SYN0\1009487_\12064\166805thH\SI\1073479:\1019934l; n4c\1101781D[\1014388\&8Y+\1092407\EOTE\1058506\\0\168273KKTc)P1K\1042475\990753W\ETX<|\24888\&0|5{Y\986771M\DC4\vK\DLE\1089150\SOH\DC4\1013653.\ETBg\991717\DLE\"W\NUL9&0yYZ\1094524\v\11606\58174") ), - _newTeamIcon = Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal), + _newTeamIcon = + ( unsafeRange + ("\1060773b\EOTch1a iuB\1011795\ESC\DC1\187488\STXV\1046981@1\145144 iY\"m\1036630\SO\\O*(\DC3\178375w7w\1105638\US2ECk\99276\&4\ETX\2892%\EOT@\"k\1013020\993468*\1031577\DC1\ESCYC?\177240\&2>\52504\SYNo8[\aV@9E\1085704\9349\1018050!k0b\t\n+6\\Ki{\DC1\984398\SOH\SYN\1037253{0H\1017165\DC4\ENQ\992581|\CAN\1023332F\37419\1012389d\1045535\n\119327\1054972X\1056743\1052679*\bC\DC2\99475Wz\1070783\37601QWt\ETBAj>eO}Ae\DEL\DC4\94565 \STX\39311\SIF\tAH\160873:\167531\&8\16727Q\1045659\DLE-A\EOT\156588\ESCHOc\v\1007234\DC39\SYN\917845{ \NUL]\1008784I\1054187,\162782f\DC2\1088424q\SOH\129571GA\GST\EOTS\DLEMmnLy\1113365=\131110\&2k\1010420\r~\1059431\&1! \ESCJy\9820J|zgf1}ILN5\1024553Xi\6845Be.\1085513\RS\SYN\95106\1090727\RS+Y;Z$\SO5") + ), _newTeamIconKey = Just ( unsafeRange @@ -265,7 +297,10 @@ testObject_BindingNewTeam_team_14 = ( unsafeRange ("2#\DC2N\b9&A\1030886ZL{f\1011542M\1101172\23517\a\DELv\164961\32470\ACKT7\DC3\DC4\1009557O\1103393C\152202\t\DC4l\RS\SOH]\ESC\ACK\95718X;\149660* &\97401}\1111236T\ESCCLkx,\DLE\63803\nbT\1049269fWJ\992800\136973a\US`\DC3\139728\28948\&8r2']\NAK\DC2\133094\nl\DC2NXB\ENQia\1068046]B\989632\DLE\ENQdf#\64677\t6g\FS\SOH\1029760Fp(\GSQTZ\1015396\8630\153801dUJt\SI\EM\194705`\\#g0Qed@a${=Q.\1048388Ld`\35027 \173216sV\SUB\SO5\150360\41997\1107813i\EM\DC3\988956\1049486\SOH\1030355>\1044179\DC3w\1001979Y}\21603\&1q\NAKY:\25626q \ETB=*#\74975\EM\61277\\\21887y9Tfc\DC1\49327k\1096646\\Oxxn&6NtaZ?k:5G@\46350\DC3H\1097149hu4\178807\995883\USR\161801\1024517v\26381\23905\72161\12881\ACKD\985152[bb<\1111873") ), - _newTeamIcon = Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal), + _newTeamIcon = + ( unsafeRange + ("(r'`\1072313Gd\ETX)u\fq*4\1076827\1031167i\EMM.Ru\1079085\t\148161\1088689m\58073;\f\1001367\1114096\135422m\a\t\1066705wRhv\ar6\64764\";&4\SYNX\GS\SYNw5{%P&\26997\&98\ETX\STXyL\t\1022691XMu(\187856\&6)\SUB\42223Wc\38363#\STX\22842l\1064183Vy\59354\&1_\SUB\\\CAN\1103008\44889Ek>\1005303\ACK]$\EOT\181821\1076265w\r\164187@&V8\a\DLE\DC1\DEL\\\1010644\1053996\NAK)X\nE)\1071775y*%1\NAK\DC2^4hKf\995698|EY`^\DC3\173547\58719\39061\"pX\bg\49396>YR(W\\eS\GS\27701(bn\SYNu\1001078\156831h\41346\FSG\1090155\DLE\34585a\70001n2)\984812\"<\1032188YUq\1049152\1035363\186759\r7\61891\4004\v\1049233\24817\r\1027960|]\ETB\SOh9f\ACK1\bZQ7fmQOQ\986711l!\DC3\44018\27476*\43689*1\f\1097293\&8nk|\NAK\1005998~\fO\162989\100863!:3\ETXn{%\6663\182700if/!\29917] <\1056176Y\1078680\b\DC4~\t\EM\SOH<*\NAK\143397bx4 {\96203\CANVs;g\98929\144388\STXqkI!QJ\1072302J\189512\DC4\64545?_\STX\t\1082190iB3YdKA7@>Q\995699\987049]\1094644\133325>D\1026819wD\ESC|\SI'^\136789\120874Q#q,\"") ), - _newTeamIcon = Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal), + _newTeamIcon = + ( unsafeRange + ("UZ0\990600t+\167739\12589k|\DEL\DC1\SYN\EM_ch\t\1089768\13109\n\ETB\DC2,x\1106295,RE(,G\GS\"gA\NAKncdJ\162831+\t\1100097FP{v=\45227'e\STX9B#1\1075471\t.\1085742\140286\11416\FSUK\SOH\a;\STX\1078860\143696\&7B\ESC\NULD+\1036884\1094020`\SO\DEL>\ESC\DC1,\171231d\SOH(5\EOTP9iR]\RSNws\1029644\1003476{[H\128669,\DEL5J!\136454\1036165j\1053405eA\1046358\tbj\EMk\DC1l\n\988481H~]u\42907\1029099!kjVS{42\NULE?\EMh\61474\35112B!:\DLEX\DC1T\DEL3W\avimhK\1078443\DC1to*P*\DC1}\986362\1081249H\r\1034017B") ), - _newTeamIcon = Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal), + _newTeamIcon = + ( unsafeRange + ("_'C\1004343\EOT9\nC\92250f\a\118853Pe\58352\127931\185310\134048\98557\&5\1051407m<\r}\139827@\1053024#.\1058183\STX6%\1111877H%\1030001\60185n\EOTUk\US/\FS\DELpS\156872\DEL\1098001[1np\ACKmD\1011808U\GSI\1083494]I\49341\171558AT\ETX\USOl{\DC1\tYt7U +Q\1073293\CAN\US[\STXJV\EOT`\CANrF\tN\67855\95873\169991\SYN\166546*A\DLEA]4ku\1003232W\1111354\54858I\DC4\58521\SO\94687") + ), _newTeamIconKey = Nothing, _newTeamMembers = Nothing } @@ -311,7 +352,10 @@ testObject_BindingNewTeam_team_17 = ( unsafeRange ("|\36324P\US\1040589\159812Y\SOHj\RSYrr\49743\&0m\ENQ\1027954*'\72098\1105368P6\SYN\15236\f\DC2\125109e\1031690\RS\1026891\1003083\69946\rA'\GSA\NAK\53778\1067566J\1016490'T\1037603R2? \FS\US\1032454$\NAKGr(\1008673{\ENQ\62451\&0mJ\SID\STX-\CAN_I\132366\f\147665\FSR\1080205hp\143954B6W2\b\f6\1104867\DC2\180998\b1'7-T-#\3953D\1076345\1082129T]v$Gl\1042148\1032818\&5yg\1025280\nQc.`i\14819\24538}\FS&k4\99627\ACK>#\32013\1036954\EM\131987[vBOPu\1108963@\ACK\NUL\1087882\147841\SO\NAK\98755\31702\EOT\ETX&\1032348?z\989374i\fz\n\1029119\ETB3\a\1108955W\1113557E^\1043345\986117S3'4\ACK\74144*m-\ESC4\USj\ETX__6\1046371\6580M\48069\ESC]\EOTDq\DLEuo\28030$\vUWp1=/o\ETBY\173686\&9\DC2\nQ\177317\1051037)\1102455\"br\SOH\NUL\158808+\47718c^\1003405<`\1111751\149060\STX\986585\ETX\162139D\ENQ\30356nqp\1095539\988368c\RSt\1081319G") ), - _newTeamIcon = Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal), + _newTeamIcon = + ( unsafeRange + ("Zz]|\b>\NUL\163291\1063651\95675\SOH,q\SOH`\1050846P\987757\1069132\n\EOTIm\1067057\DC4\1013555\1075331HB\GS`\1022663\142641U\162403G\DC3m+Lw\DLE\1023911\"0\119625?-T\ESC\ETXj\DC3|Lq\ETX.\99032hgq\ESCy\99463\&5\ay\ACK\1111685w^(\ETB+\175870\&3\f\113727x\1007957i*E\DC3\179834rTM\CAN\1093029$\160784\190686\EOT\\p\1053146\&1\a\131095\1050682zv\1034137\EMrj\a\1043282u\NAKn\SO\164246\&6\ESCs\GSm9Y\FS%\DLE?6\1039335\STX\f\1063550)RST\r\DLE\1107040\DC1\1078521h\nTS\DC2\US\1097415\STXn\ESC\149926r2\73911\984427hrr-$*j\1110522\35321]@\1003869\15025J\b\"8N\68412e,#", serviceProfileDescr = "D\DEL", serviceProfileAssets = - [ (ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Nothing)), - (ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Just AssetComplete)), - (ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Just AssetComplete)), - (ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Nothing)), - (ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Just AssetComplete)) + [ (ImageAsset "" (Nothing)), + (ImageAsset "" (Just AssetComplete)), + (ImageAsset "" (Just AssetComplete)), + (ImageAsset "" (Nothing)), + (ImageAsset "" (Just AssetComplete)) ], serviceProfileTags = fromList [], serviceProfileEnabled = False @@ -197,7 +196,7 @@ testObject_ServiceProfile_provider_9 = serviceProfileName = Name {fromName = "\EM\73877+\DC2\NUL!\USV\f\1025396\1106635_\1106841H#4\STX\1104704\DEL"}, serviceProfileSummary = "a\1088958", serviceProfileDescr = "AU", - serviceProfileAssets = [(ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Nothing))], + serviceProfileAssets = [(ImageAsset "\DC1" (Nothing))], serviceProfileTags = fromList [BusinessTag, FinanceTag, PollTag], serviceProfileEnabled = False } @@ -210,7 +209,7 @@ testObject_ServiceProfile_provider_10 = serviceProfileName = Name {fromName = ":h[\1059282\1033090\913Y$\ENQ\NAKE\1086801\186280\STX\US\28752"}, serviceProfileSummary = ",AD", serviceProfileDescr = "s&\118974", - serviceProfileAssets = [(ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Nothing))], + serviceProfileAssets = [(ImageAsset "" (Just AssetPreview)), (ImageAsset "" (Nothing))], serviceProfileTags = fromList [], serviceProfileEnabled = False } @@ -257,7 +256,7 @@ testObject_ServiceProfile_provider_13 = serviceProfileName = Name {fromName = ":[\".\152322\USvU\1055877"}, serviceProfileSummary = "", serviceProfileDescr = "A", - serviceProfileAssets = [(ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Nothing))], + serviceProfileAssets = [(ImageAsset "B" (Nothing))], serviceProfileTags = fromList [ProductivityTag], serviceProfileEnabled = False } @@ -287,7 +286,7 @@ testObject_ServiceProfile_provider_15 = }, serviceProfileSummary = "*P`", serviceProfileDescr = "u`\ENQ", - serviceProfileAssets = [(ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Nothing))], + serviceProfileAssets = [(ImageAsset "*" (Nothing))], serviceProfileTags = fromList [MusicTag, RatingTag], serviceProfileEnabled = False } @@ -304,7 +303,7 @@ testObject_ServiceProfile_provider_16 = }, serviceProfileSummary = "U,", serviceProfileDescr = "S\n", - serviceProfileAssets = [(ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Just AssetPreview))], + serviceProfileAssets = [(ImageAsset "" (Just AssetPreview)), (ImageAsset "" (Just AssetPreview))], serviceProfileTags = fromList [], serviceProfileEnabled = False } @@ -321,7 +320,7 @@ testObject_ServiceProfile_provider_17 = }, serviceProfileSummary = "\SO4c", serviceProfileDescr = "\SI", - serviceProfileAssets = [(ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Just AssetComplete))], + serviceProfileAssets = [(ImageAsset "" (Just AssetComplete)), (ImageAsset "" (Just AssetComplete))], serviceProfileTags = fromList [], serviceProfileEnabled = False } diff --git a/libs/wire-api/test/golden/Test/Wire/API/Golden/Generated/Service_provider.hs b/libs/wire-api/test/golden/Test/Wire/API/Golden/Generated/Service_provider.hs index 80a068190cb..0ab9afa0e72 100644 --- a/libs/wire-api/test/golden/Test/Wire/API/Golden/Generated/Service_provider.hs +++ b/libs/wire-api/test/golden/Test/Wire/API/Golden/Generated/Service_provider.hs @@ -48,7 +48,6 @@ import URI.ByteString uriScheme ), ) -import Wire.API.Asset import Wire.API.Provider ( ServiceTag ( AudioTag, @@ -239,7 +238,7 @@ testObject_Service_provider_2 = ] ) ), - serviceAssets = [(ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Just AssetComplete))], + serviceAssets = [(ImageAsset "" (Just AssetComplete)), (ImageAsset "" (Just AssetComplete))], serviceTags = fromList [], serviceEnabled = True } @@ -432,7 +431,7 @@ testObject_Service_provider_4 = ] ) ), - serviceAssets = [(ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Just AssetComplete))], + serviceAssets = [(ImageAsset "" (Just AssetComplete))], serviceTags = fromList [MediaTag], serviceEnabled = False } @@ -571,11 +570,11 @@ testObject_Service_provider_6 = ) ), serviceAssets = - [ (ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Just AssetComplete)), - (ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Just AssetPreview)), - (ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Nothing)), - (ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Just AssetPreview)), - (ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Just AssetPreview)) + [ (ImageAsset "" (Just AssetComplete)), + (ImageAsset "" (Just AssetPreview)), + (ImageAsset "" (Nothing)), + (ImageAsset "" (Just AssetPreview)), + (ImageAsset "" (Just AssetPreview)) ], serviceTags = fromList [FinanceTag, FitnessTag, MoviesTag], serviceEnabled = True @@ -678,7 +677,7 @@ testObject_Service_provider_7 = ] ) ), - serviceAssets = [(ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Just AssetPreview))], + serviceAssets = [(ImageAsset "" (Just AssetPreview))], serviceTags = fromList [MoviesTag], serviceEnabled = True } @@ -1018,7 +1017,7 @@ testObject_Service_provider_11 = ] ) ), - serviceAssets = [(ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Just AssetComplete))], + serviceAssets = [(ImageAsset "" (Just AssetComplete)), (ImageAsset "" (Just AssetComplete))], serviceTags = fromList [], serviceEnabled = False } @@ -1110,9 +1109,9 @@ testObject_Service_provider_12 = ) ), serviceAssets = - [ (ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Just AssetPreview)), - (ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Just AssetComplete)), - (ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Just AssetComplete)) + [ (ImageAsset "" (Just AssetPreview)), + (ImageAsset "" (Just AssetComplete)), + (ImageAsset "" (Just AssetComplete)) ], serviceTags = fromList [MedicalTag, TravelTag, WeatherTag], serviceEnabled = False @@ -1185,7 +1184,7 @@ testObject_Service_provider_13 = ] ) ), - serviceAssets = [(ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Just AssetComplete))], + serviceAssets = [(ImageAsset "" (Just AssetComplete))], serviceTags = fromList [EducationTag, MoviesTag, ShoppingTag], serviceEnabled = False } @@ -1287,7 +1286,7 @@ testObject_Service_provider_14 = ] ) ), - serviceAssets = [(ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Just AssetPreview))], + serviceAssets = [(ImageAsset "A" (Just AssetPreview))], serviceTags = fromList [], serviceEnabled = True } @@ -1355,13 +1354,13 @@ testObject_Service_provider_15 = ) ), serviceAssets = - [ (ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Just AssetPreview)), - (ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Just AssetComplete)), - (ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Just AssetPreview)), - (ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Just AssetPreview)), - (ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Nothing)), - (ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Nothing)), - (ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Just AssetComplete)) + [ (ImageAsset "" (Just AssetPreview)), + (ImageAsset "" (Just AssetComplete)), + (ImageAsset "" (Just AssetPreview)), + (ImageAsset "" (Just AssetPreview)), + (ImageAsset "" (Nothing)), + (ImageAsset "" (Nothing)), + (ImageAsset "" (Just AssetComplete)) ], serviceTags = fromList [DesignTag, LifestyleTag, QuizTag], serviceEnabled = True @@ -1429,7 +1428,7 @@ testObject_Service_provider_16 = ] ) ), - serviceAssets = [(ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Just AssetComplete))], + serviceAssets = [(ImageAsset "" (Nothing)), (ImageAsset "" (Just AssetComplete))], serviceTags = fromList [PollTag], serviceEnabled = False } diff --git a/libs/wire-api/test/golden/Test/Wire/API/Golden/Generated/TeamList_team.hs b/libs/wire-api/test/golden/Test/Wire/API/Golden/Generated/TeamList_team.hs index 2a448754c25..9bf6832fbb0 100644 --- a/libs/wire-api/test/golden/Test/Wire/API/Golden/Generated/TeamList_team.hs +++ b/libs/wire-api/test/golden/Test/Wire/API/Golden/Generated/TeamList_team.hs @@ -23,8 +23,7 @@ import Control.Lens ((.~)) import Data.Id (Id (Id)) import qualified Data.UUID as UUID (fromString) import Imports (Bool (False, True), Maybe (Just, Nothing), fromJust, (&)) -import Wire.API.Asset -import Wire.API.Team (Icon (..), TeamBinding (Binding, NonBinding), TeamList (..), newTeam, teamIconKey) +import Wire.API.Team (TeamBinding (Binding, NonBinding), TeamList (..), newTeam, teamIconKey) testObject_TeamList_team_1 :: TeamList testObject_TeamList_team_1 = @@ -34,7 +33,7 @@ testObject_TeamList_team_1 = ((Id (fromJust (UUID.fromString "00000001-0000-0001-0000-000000000000")))) ((Id (fromJust (UUID.fromString "00000000-0000-0000-0000-000100000000")))) ("") - (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) + ("") (NonBinding) & teamIconKey .~ (Just "") ), @@ -42,7 +41,7 @@ testObject_TeamList_team_1 = ((Id (fromJust (UUID.fromString "00000001-0000-0001-0000-000100000000")))) ((Id (fromJust (UUID.fromString "00000000-0000-0000-0000-000000000001")))) ("") - DefaultIcon + ("") (NonBinding) & teamIconKey .~ (Just "") ), @@ -50,7 +49,7 @@ testObject_TeamList_team_1 = ((Id (fromJust (UUID.fromString "00000001-0000-0000-0000-000000000000")))) ((Id (fromJust (UUID.fromString "00000001-0000-0000-0000-000000000001")))) ("") - (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) + ("") (NonBinding) & teamIconKey .~ (Nothing) ) @@ -66,7 +65,7 @@ testObject_TeamList_team_2 = ((Id (fromJust (UUID.fromString "00000000-0000-0001-0000-000100000000")))) ((Id (fromJust (UUID.fromString "00000001-0000-0001-0000-000000000001")))) ("7") - DefaultIcon + ("\174380") (Binding) & teamIconKey .~ (Just "@") ), @@ -74,7 +73,7 @@ testObject_TeamList_team_2 = ((Id (fromJust (UUID.fromString "00000000-0000-0001-0000-000000000000")))) ((Id (fromJust (UUID.fromString "00000000-0000-0000-0000-000000000000")))) ("") - (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) + ("") (Binding) & teamIconKey .~ (Just "") ) @@ -90,7 +89,7 @@ testObject_TeamList_team_3 = ((Id (fromJust (UUID.fromString "00000001-0000-0002-0000-000200000000")))) ((Id (fromJust (UUID.fromString "00000000-0000-0001-0000-000100000002")))) ("") - (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) + ("") (NonBinding) & teamIconKey .~ (Nothing) ) @@ -106,7 +105,7 @@ testObject_TeamList_team_4 = ((Id (fromJust (UUID.fromString "00000001-0000-0001-0000-000100000001")))) ((Id (fromJust (UUID.fromString "00000000-0000-0001-0000-000100000000")))) ("\1065164") - (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) + ("") (NonBinding) & teamIconKey .~ (Just "") ), @@ -114,7 +113,7 @@ testObject_TeamList_team_4 = ((Id (fromJust (UUID.fromString "00000001-0000-0000-0000-000100000001")))) ((Id (fromJust (UUID.fromString "00000001-0000-0001-0000-000100000000")))) ("") - (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) + ("") (NonBinding) & teamIconKey .~ (Just "") ) @@ -130,7 +129,7 @@ testObject_TeamList_team_5 = ((Id (fromJust (UUID.fromString "00000001-0000-0000-0000-000000000001")))) ((Id (fromJust (UUID.fromString "00000000-0000-0001-0000-000100000001")))) ("") - (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) + ("") (NonBinding) & teamIconKey .~ (Just "") ), @@ -138,7 +137,7 @@ testObject_TeamList_team_5 = ((Id (fromJust (UUID.fromString "00000001-0000-0000-0000-000000000000")))) ((Id (fromJust (UUID.fromString "00000001-0000-0001-0000-000100000001")))) ("") - (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) + ("") (Binding) & teamIconKey .~ (Just "") ), @@ -146,7 +145,7 @@ testObject_TeamList_team_5 = ((Id (fromJust (UUID.fromString "00000000-0000-0001-0000-000000000000")))) ((Id (fromJust (UUID.fromString "00000001-0000-0001-0000-000000000001")))) ("") - (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) + ("") (NonBinding) & teamIconKey .~ (Just "") ), @@ -154,7 +153,7 @@ testObject_TeamList_team_5 = ((Id (fromJust (UUID.fromString "00000000-0000-0001-0000-000000000000")))) ((Id (fromJust (UUID.fromString "00000001-0000-0001-0000-000100000000")))) ("") - (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) + ("") (NonBinding) & teamIconKey .~ (Just "") ), @@ -162,7 +161,7 @@ testObject_TeamList_team_5 = ((Id (fromJust (UUID.fromString "00000000-0000-0000-0000-000100000001")))) ((Id (fromJust (UUID.fromString "00000000-0000-0000-0000-000100000000")))) ("") - (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) + ("") (Binding) & teamIconKey .~ (Just "") ), @@ -170,7 +169,7 @@ testObject_TeamList_team_5 = ((Id (fromJust (UUID.fromString "00000000-0000-0000-0000-000100000000")))) ((Id (fromJust (UUID.fromString "00000001-0000-0001-0000-000000000000")))) ("") - (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) + ("") (NonBinding) & teamIconKey .~ (Nothing) ), @@ -178,7 +177,7 @@ testObject_TeamList_team_5 = ((Id (fromJust (UUID.fromString "00000001-0000-0001-0000-000100000000")))) ((Id (fromJust (UUID.fromString "00000001-0000-0000-0000-000100000000")))) ("") - (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) + ("") (NonBinding) & teamIconKey .~ (Just "") ) @@ -194,7 +193,7 @@ testObject_TeamList_team_6 = ((Id (fromJust (UUID.fromString "00000000-0000-0001-0000-000000000000")))) ((Id (fromJust (UUID.fromString "00000001-0000-0000-0000-000000000000")))) (" ") - (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) + ("\1027039") (NonBinding) & teamIconKey .~ (Nothing) ) @@ -210,7 +209,7 @@ testObject_TeamList_team_7 = ((Id (fromJust (UUID.fromString "00000001-0000-0000-0000-000000000001")))) ((Id (fromJust (UUID.fromString "00000001-0000-0001-0000-000100000001")))) ("") - (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) + ("\DC1") (NonBinding) & teamIconKey .~ (Nothing) ), @@ -218,7 +217,7 @@ testObject_TeamList_team_7 = ((Id (fromJust (UUID.fromString "00000000-0000-0001-0000-000100000001")))) ((Id (fromJust (UUID.fromString "00000000-0000-0001-0000-000000000001")))) ("") - (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) + ("") (Binding) & teamIconKey .~ (Just "") ) @@ -237,7 +236,7 @@ testObject_TeamList_team_9 = ((Id (fromJust (UUID.fromString "00000000-0000-0001-0000-000000000000")))) ((Id (fromJust (UUID.fromString "00000001-0000-0000-0000-000000000001")))) ("") - (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) + ("") (NonBinding) & teamIconKey .~ (Just "") ), @@ -245,7 +244,7 @@ testObject_TeamList_team_9 = ((Id (fromJust (UUID.fromString "00000000-0000-0001-0000-000100000000")))) ((Id (fromJust (UUID.fromString "00000001-0000-0000-0000-000000000001")))) ("") - (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) + ("") (NonBinding) & teamIconKey .~ (Just "") ), @@ -253,7 +252,7 @@ testObject_TeamList_team_9 = ((Id (fromJust (UUID.fromString "00000000-0000-0000-0000-000100000000")))) ((Id (fromJust (UUID.fromString "00000001-0000-0000-0000-000000000001")))) ("") - (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) + ("") (NonBinding) & teamIconKey .~ (Nothing) ), @@ -261,7 +260,7 @@ testObject_TeamList_team_9 = ((Id (fromJust (UUID.fromString "00000000-0000-0000-0000-000100000000")))) ((Id (fromJust (UUID.fromString "00000000-0000-0000-0000-000100000000")))) ("") - (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) + ("") (Binding) & teamIconKey .~ (Just "") ), @@ -269,7 +268,7 @@ testObject_TeamList_team_9 = ((Id (fromJust (UUID.fromString "00000001-0000-0000-0000-000000000000")))) ((Id (fromJust (UUID.fromString "00000000-0000-0000-0000-000000000000")))) ("") - (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) + ("") (NonBinding) & teamIconKey .~ (Just "") ), @@ -277,7 +276,7 @@ testObject_TeamList_team_9 = ((Id (fromJust (UUID.fromString "00000000-0000-0001-0000-000100000001")))) ((Id (fromJust (UUID.fromString "00000000-0000-0000-0000-000100000001")))) ("") - (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) + ("") (NonBinding) & teamIconKey .~ (Just "") ) @@ -299,7 +298,7 @@ testObject_TeamList_team_12 = ((Id (fromJust (UUID.fromString "00000000-0000-0002-0000-000200000001")))) ((Id (fromJust (UUID.fromString "00000002-0000-0000-0000-000100000000")))) ("/\38175") - (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) + ("bi") (NonBinding) & teamIconKey .~ (Just "") ) @@ -318,7 +317,7 @@ testObject_TeamList_team_14 = ((Id (fromJust (UUID.fromString "00000000-0000-0001-0000-000000000000")))) ((Id (fromJust (UUID.fromString "00000000-0000-0001-0000-000000000000")))) ("") - (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) + ("") (NonBinding) & teamIconKey .~ (Just "") ), @@ -326,7 +325,7 @@ testObject_TeamList_team_14 = ((Id (fromJust (UUID.fromString "00000001-0000-0000-0000-000100000001")))) ((Id (fromJust (UUID.fromString "00000001-0000-0001-0000-000000000001")))) ("") - DefaultIcon + ("") (NonBinding) & teamIconKey .~ (Just "") ), @@ -334,7 +333,7 @@ testObject_TeamList_team_14 = ((Id (fromJust (UUID.fromString "00000001-0000-0000-0000-000000000001")))) ((Id (fromJust (UUID.fromString "00000000-0000-0001-0000-000100000001")))) ("") - DefaultIcon + ("") (NonBinding) & teamIconKey .~ (Just "") ), @@ -342,7 +341,7 @@ testObject_TeamList_team_14 = ((Id (fromJust (UUID.fromString "00000000-0000-0001-0000-000100000000")))) ((Id (fromJust (UUID.fromString "00000000-0000-0001-0000-000100000001")))) ("") - DefaultIcon + ("") (NonBinding) & teamIconKey .~ (Just "") ), @@ -350,7 +349,7 @@ testObject_TeamList_team_14 = ((Id (fromJust (UUID.fromString "00000001-0000-0000-0000-000100000001")))) ((Id (fromJust (UUID.fromString "00000001-0000-0001-0000-000100000000")))) ("") - DefaultIcon + ("") (NonBinding) & teamIconKey .~ (Just "") ), @@ -358,7 +357,7 @@ testObject_TeamList_team_14 = ((Id (fromJust (UUID.fromString "00000000-0000-0001-0000-000100000001")))) ((Id (fromJust (UUID.fromString "00000000-0000-0000-0000-000000000000")))) ("") - (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) + ("") (NonBinding) & teamIconKey .~ (Nothing) ) @@ -374,7 +373,7 @@ testObject_TeamList_team_15 = ((Id (fromJust (UUID.fromString "00000001-0000-0001-0000-000000000000")))) ((Id (fromJust (UUID.fromString "00000001-0000-0001-0000-000000000001")))) ("") - (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) + ("") (NonBinding) & teamIconKey .~ (Nothing) ), @@ -382,7 +381,7 @@ testObject_TeamList_team_15 = ((Id (fromJust (UUID.fromString "00000000-0000-0000-0000-000100000000")))) ((Id (fromJust (UUID.fromString "00000000-0000-0000-0000-000100000001")))) ("") - (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) + ("") (NonBinding) & teamIconKey .~ (Just "") ), @@ -390,7 +389,7 @@ testObject_TeamList_team_15 = ((Id (fromJust (UUID.fromString "00000000-0000-0001-0000-000100000000")))) ((Id (fromJust (UUID.fromString "00000001-0000-0000-0000-000000000001")))) ("") - (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) + ("") (Binding) & teamIconKey .~ (Nothing) ), @@ -398,7 +397,7 @@ testObject_TeamList_team_15 = ((Id (fromJust (UUID.fromString "00000000-0000-0000-0000-000100000000")))) ((Id (fromJust (UUID.fromString "00000000-0000-0000-0000-000100000001")))) ("") - (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) + ("") (NonBinding) & teamIconKey .~ (Just "") ), @@ -406,7 +405,7 @@ testObject_TeamList_team_15 = ((Id (fromJust (UUID.fromString "00000001-0000-0001-0000-000000000001")))) ((Id (fromJust (UUID.fromString "00000001-0000-0000-0000-000000000000")))) ("") - (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) + ("") (Binding) & teamIconKey .~ (Nothing) ) @@ -422,7 +421,7 @@ testObject_TeamList_team_16 = ((Id (fromJust (UUID.fromString "00000001-0000-0001-0000-000100000002")))) ((Id (fromJust (UUID.fromString "00000002-0000-0000-0000-000200000000")))) ("\170783") - (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) + ("e\20069") (Binding) & teamIconKey .~ (Just "\1113463(") ) @@ -441,7 +440,7 @@ testObject_TeamList_team_18 = ((Id (fromJust (UUID.fromString "00000000-0000-0000-0000-000000000002")))) ((Id (fromJust (UUID.fromString "00000002-0000-0000-0000-000000000000")))) ("W1") - (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) + ("!") (NonBinding) & teamIconKey .~ (Nothing) ) @@ -457,7 +456,7 @@ testObject_TeamList_team_19 = ((Id (fromJust (UUID.fromString "00000001-0000-0002-0000-000200000000")))) ((Id (fromJust (UUID.fromString "00000001-0000-0001-0000-000200000002")))) ("") - (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) + ("7") (Binding) & teamIconKey .~ (Just "\189413(") ) @@ -473,7 +472,7 @@ testObject_TeamList_team_20 = ((Id (fromJust (UUID.fromString "00000001-0000-0001-0000-000000000000")))) ((Id (fromJust (UUID.fromString "00000000-0000-0000-0000-000000000001")))) ("") - (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) + ("") (Binding) & teamIconKey .~ (Nothing) ), @@ -481,7 +480,7 @@ testObject_TeamList_team_20 = ((Id (fromJust (UUID.fromString "00000001-0000-0000-0000-000000000000")))) ((Id (fromJust (UUID.fromString "00000000-0000-0001-0000-000000000000")))) ("") - (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) + ("") (Binding) & teamIconKey .~ (Just "") ), @@ -489,7 +488,7 @@ testObject_TeamList_team_20 = ((Id (fromJust (UUID.fromString "00000000-0000-0001-0000-000100000001")))) ((Id (fromJust (UUID.fromString "00000000-0000-0001-0000-000000000001")))) ("") - (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) + ("") (Binding) & teamIconKey .~ (Just "") ), @@ -497,7 +496,7 @@ testObject_TeamList_team_20 = ((Id (fromJust (UUID.fromString "00000001-0000-0001-0000-000000000001")))) ((Id (fromJust (UUID.fromString "00000001-0000-0001-0000-000000000000")))) ("") - (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) + ("") (NonBinding) & teamIconKey .~ (Nothing) ) diff --git a/libs/wire-api/test/golden/Test/Wire/API/Golden/Generated/Team_team.hs b/libs/wire-api/test/golden/Test/Wire/API/Golden/Generated/Team_team.hs index 8298467e0c0..bb67fc2c4b0 100644 --- a/libs/wire-api/test/golden/Test/Wire/API/Golden/Generated/Team_team.hs +++ b/libs/wire-api/test/golden/Test/Wire/API/Golden/Generated/Team_team.hs @@ -23,8 +23,7 @@ import Control.Lens ((.~)) import Data.Id (Id (Id)) import qualified Data.UUID as UUID (fromString) import Imports (Maybe (Just, Nothing), fromJust, (&)) -import Wire.API.Asset -import Wire.API.Team (Icon (..), Team, TeamBinding (Binding, NonBinding), newTeam, teamIconKey) +import Wire.API.Team (Team, TeamBinding (Binding, NonBinding), newTeam, teamIconKey) testObject_Team_team_1 :: Team testObject_Team_team_1 = @@ -32,7 +31,7 @@ testObject_Team_team_1 = ((Id (fromJust (UUID.fromString "00000004-0000-0003-0000-000200000000")))) ((Id (fromJust (UUID.fromString "00000003-0000-0001-0000-000100000002")))) ("TJ\EOT") - (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) + ("Jw\USTB") (Binding) & teamIconKey .~ (Just "\1040673V") ) @@ -43,7 +42,7 @@ testObject_Team_team_2 = ((Id (fromJust (UUID.fromString "00000004-0000-0003-0000-000000000004")))) ((Id (fromJust (UUID.fromString "00000000-0000-0004-0000-000000000001")))) ("Yc\5828") - (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) + ("\1104693\t5") (NonBinding) & teamIconKey .~ (Just "\34417R3q") ) @@ -54,7 +53,7 @@ testObject_Team_team_3 = ((Id (fromJust (UUID.fromString "00000004-0000-0003-0000-000000000003")))) ((Id (fromJust (UUID.fromString "00000003-0000-0004-0000-000100000000")))) ("2E\1092885") - DefaultIcon + ("") (NonBinding) & teamIconKey .~ (Just "s\1056436") ) @@ -65,7 +64,7 @@ testObject_Team_team_4 = ((Id (fromJust (UUID.fromString "00000000-0000-0002-0000-000100000004")))) ((Id (fromJust (UUID.fromString "00000004-0000-0000-0000-000100000003")))) ("\177218\bk") - (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) + ("\1078494u\FSC\SOH") (NonBinding) & teamIconKey .~ (Just "X") ) @@ -76,7 +75,7 @@ testObject_Team_team_5 = ((Id (fromJust (UUID.fromString "00000004-0000-0003-0000-000000000004")))) ((Id (fromJust (UUID.fromString "00000000-0000-0004-0000-000200000002")))) ("\ACK\99388\20164") - (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) + ("\1073797") (Binding) & teamIconKey .~ (Just "?&\ESC") ) @@ -87,7 +86,7 @@ testObject_Team_team_6 = ((Id (fromJust (UUID.fromString "00000000-0000-0002-0000-000000000001")))) ((Id (fromJust (UUID.fromString "00000000-0000-0003-0000-000000000003")))) ("\1018732x\1035024]\15985") - (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) + ("_'\DC1\STX") (NonBinding) & teamIconKey .~ (Nothing) ) @@ -98,7 +97,7 @@ testObject_Team_team_7 = ((Id (fromJust (UUID.fromString "00000002-0000-0003-0000-000000000002")))) ((Id (fromJust (UUID.fromString "00000001-0000-0002-0000-000400000000")))) ("\9929\1053910\1017456\&7\1059453") - (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) + ("X\n|\1041562") (Binding) & teamIconKey .~ (Just "\96549") ) @@ -109,7 +108,7 @@ testObject_Team_team_8 = ((Id (fromJust (UUID.fromString "00000003-0000-0004-0000-000000000001")))) ((Id (fromJust (UUID.fromString "00000002-0000-0003-0000-000400000001")))) ("\r\37334{\DC3\\") - (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) + ("\57585\1029014") (NonBinding) & teamIconKey .~ (Nothing) ) @@ -120,7 +119,7 @@ testObject_Team_team_9 = ((Id (fromJust (UUID.fromString "00000004-0000-0002-0000-000200000003")))) ((Id (fromJust (UUID.fromString "00000002-0000-0000-0000-000000000004")))) ("G[Hu{") - (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) + ("d\ETXU") (NonBinding) & teamIconKey .~ (Nothing) ) @@ -131,7 +130,7 @@ testObject_Team_team_10 = ((Id (fromJust (UUID.fromString "00000002-0000-0000-0000-000300000004")))) ((Id (fromJust (UUID.fromString "00000000-0000-0004-0000-000300000000")))) ("\1043846") - (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) + (" ") (Binding) & teamIconKey .~ (Just "\1107305") ) @@ -142,7 +141,7 @@ testObject_Team_team_11 = ((Id (fromJust (UUID.fromString "00000002-0000-0004-0000-000300000003")))) ((Id (fromJust (UUID.fromString "00000001-0000-0001-0000-000200000003")))) ("") - (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) + ("b@\STX\47358") (NonBinding) & teamIconKey .~ (Nothing) ) @@ -153,7 +152,7 @@ testObject_Team_team_12 = ((Id (fromJust (UUID.fromString "00000001-0000-0002-0000-000000000001")))) ((Id (fromJust (UUID.fromString "00000003-0000-0001-0000-000200000001")))) ("yR\EOTU}") - (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) + ("P\185409") (Binding) & teamIconKey .~ (Just "J\SI`\1074001\DEL") ) @@ -164,7 +163,7 @@ testObject_Team_team_13 = ((Id (fromJust (UUID.fromString "00000001-0000-0000-0000-000200000002")))) ((Id (fromJust (UUID.fromString "00000003-0000-0002-0000-000200000004")))) ("E\ESC") - (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) + ("") (NonBinding) & teamIconKey .~ (Nothing) ) @@ -175,7 +174,7 @@ testObject_Team_team_14 = ((Id (fromJust (UUID.fromString "00000000-0000-0004-0000-000100000004")))) ((Id (fromJust (UUID.fromString "00000002-0000-0002-0000-000100000003")))) (".\27232,") - DefaultIcon + ("") (NonBinding) & teamIconKey .~ (Just "N\EM\ETX") ) @@ -186,7 +185,7 @@ testObject_Team_team_15 = ((Id (fromJust (UUID.fromString "00000003-0000-0004-0000-000000000003")))) ((Id (fromJust (UUID.fromString "00000004-0000-0000-0000-000400000002")))) ("#k\NUL,;") - (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) + ("yM\RS\ENQ") (Binding) & teamIconKey .~ (Just "T\f)\tR") ) @@ -197,7 +196,7 @@ testObject_Team_team_16 = ((Id (fromJust (UUID.fromString "00000000-0000-0002-0000-000200000000")))) ((Id (fromJust (UUID.fromString "00000001-0000-0000-0000-000400000004")))) ("") - (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) + ("Se") (Binding) & teamIconKey .~ (Just "\SOHC") ) @@ -208,7 +207,7 @@ testObject_Team_team_17 = ((Id (fromJust (UUID.fromString "00000003-0000-0004-0000-000400000004")))) ((Id (fromJust (UUID.fromString "00000003-0000-0001-0000-000000000004")))) ("\t\b ") - (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) + ("A\1029674'W") (Binding) & teamIconKey .~ (Nothing) ) @@ -219,7 +218,7 @@ testObject_Team_team_18 = ((Id (fromJust (UUID.fromString "00000002-0000-0002-0000-000200000002")))) ((Id (fromJust (UUID.fromString "00000002-0000-0001-0000-000100000002")))) ("\23385\1046442") - (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) + ("_\1029329\170131") (NonBinding) & teamIconKey .~ (Just "x:\40938L") ) @@ -230,7 +229,7 @@ testObject_Team_team_19 = ((Id (fromJust (UUID.fromString "00000003-0000-0000-0000-000100000001")))) ((Id (fromJust (UUID.fromString "00000004-0000-0003-0000-000200000004")))) ("P\187859;gi") - (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) + (")\ETB\ENQ") (Binding) & teamIconKey .~ (Just "V>A") ) @@ -241,7 +240,7 @@ testObject_Team_team_20 = ((Id (fromJust (UUID.fromString "00000000-0000-0004-0000-000400000003")))) ((Id (fromJust (UUID.fromString "00000000-0000-0004-0000-000000000004")))) ("\191094c") - (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) + ("\1019354I\STX\ETX") (NonBinding) & teamIconKey .~ (Just "v0\1099892\&3") ) diff --git a/libs/wire-api/test/golden/Test/Wire/API/Golden/Generated/UpdateService_provider.hs b/libs/wire-api/test/golden/Test/Wire/API/Golden/Generated/UpdateService_provider.hs index 7d735155dee..cc37255a820 100644 --- a/libs/wire-api/test/golden/Test/Wire/API/Golden/Generated/UpdateService_provider.hs +++ b/libs/wire-api/test/golden/Test/Wire/API/Golden/Generated/UpdateService_provider.hs @@ -19,12 +19,9 @@ module Test.Wire.API.Golden.Generated.UpdateService_provider where -import Data.Id (Id (Id)) import Data.Range (unsafeRange) -import qualified Data.UUID as UUID (fromString) import GHC.Exts (IsList (fromList)) -import Imports (Maybe (Just, Nothing), fromJust) -import Wire.API.Asset +import Imports (Maybe (Just, Nothing)) import Wire.API.Provider ( ServiceTag ( AudioTag, @@ -70,7 +67,7 @@ testObject_UpdateService_provider_1 = ( unsafeRange ("\a+/z\986763hI}/\DLEkB\1059760\1062810\25608\SYNYC}\135783\EM\SIa\r\43515\ETXh\ESC\17873\4008\SOHCUoR[\160369c\78378fbtV4\DC4\60971<\156071\ACKd}\DC3\164303\541\186277@\DC38|\174852\ENQg\SOH#\1058252KO|\174852\1008939\166018\FSm\a\1053371\1036429\1056854\20649;~k\GSP\NAK\ACK\175008s\1051918A\150295\ESC\NULpY\1054181\26848\EM\1078098T\1011719\992748!W\EOT\SO\152351\v]\v\ETB\98006N\1097932\143101\9071\f8]J\14943\SI\EMY\29869p\NAKvk\99744\1017040\176615\998969\STX\151238q\1035677\RS\v\1030236\&6\f\SUB\DC4\\\SOHw\DC1w[\DC3\1103346r+\983054/s\10708\995966\CAN\DC3~/\SO\1039052\1022548%F\DC4h\1000751\78726z\EOT\1015388\ETXdt-b\157874,DzM\1008898G\1039612\16538\1074902\DC2\18234\16087\&0-pE42\t:<\66329}[\ETX~lac\42511/\a\151380Z,(\\\1077666\127957GM\190643#\191090\SOH+%\1084834\STX\175168|\1007726\\\28896\EM\51660\1094971\a[\57676\1023212\1053746\f2@cczh3?`\n$\STX\1094726\EM\fN\180929z/D\179845.(]g9\3442o\STX%{w\1075429\&4m\STXF\ENQ\49942\16059\CANm\DC1\ENQ/\ESC\42264\1028339QM\991027\176346'43\36345~\t\1036026!\v\14557`qY\1088128zm\DC4fRZGvL\ETB(t\1007154\SYNswr\145599\58315%\1043578\NAK%\1082059G\1691l'\ACK\1029069\137530\170139\149719 \8297\NAK\f>@\40665\1029420\CANu\STX\143750Y\GSVj\DC2\t@O\184863\44709\&4\rf\b\1002476\r_F\DC3\NUL\47001\ETXX$#\t\1093906\ESC7\EOT\b\983099\143369\SO\ETB\EOTA\185268\159378\1015274/:N\DC3\1068202\&1D\96979\1042904 V\DLE\SUB\1087165#\20680\1005166\&8\ETB\a\DLE\RS\995866\USP\ETB\SOH7\r|L\145137R j\ESC\SOH2F>dV=\EMr?\1046227\119883\"&\DC1O\11375\SODuQL$\1032099d\US\157568` <1\\O\445\993915/H\f\r\143532Ah\1032005\ETX\162288uu.lf\1057288/1\1106120\1028078/\7411\138984`9\bq\SUB[Z`\118961eLNyTq\1048960k?{\nWg\72112\1100487\120674q\151928u-\DLE\1008080(\DLE\DC1f\127138\ETB,\rP\7088\&4V\40697\159724(7)..\70295$\n\SOH\78896\989166\92348\134295\FS\5319\47941/0\166710:\94593\SI{]$&\1074979m\1114097\&0\144077\&7)\183400b5f\SYNGyYxU):\1015140L\USQd\121515p\ESC?<\DEL7\DC4W\ESCN\45294;\a\987395\NULm\143966K\ETX\146218\51248\ETB\17306\"\987854*S{G\349r\1010831g\DC4>\NUL\SOH\97274i\NUL\NAKk\ENQK\20758r\1027971!rE\t^\78529@|h'0F'\1037224\157621\1023969\&9)\SYN^\ACKm^\STX\1078787M]\181147R\12517+\1015063^p\43086\&2AzeS\DEL`\141901\DC4\985596\182797e\ENQ\CAN\ETB\36060h=0&kp4\ETB\1023228c\999060\ENQ8$\STX\EOTk\t\CAN\173228y]M\bA\64661x(\STXV\fT\vOO=\1086015`D\1031911i*c\1010700g3\RS\998099\FS\fr\7033g\181534MX\15333\136960\43015x\1089585Rz\154544(P${\98672\DC1*~e\n\t0]z\DC3\EMY\173001\1112133g\152066!\182207@\ACKp\162647\1015149=\62520X\1013875r\65890\1025377\&3u\t\STX\SO\139037n\DC1`\42999;,\DC4\161373D.:\SOH") ), - updateServiceAssets = Just [(ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Just AssetComplete))], + updateServiceAssets = Just [(ImageAsset "\35113s\1105959" (Just AssetComplete))], updateServiceTags = Just (unsafeRange (fromList [WeatherTag])) } @@ -92,10 +89,10 @@ testObject_UpdateService_provider_2 = ), updateServiceAssets = Just - [ (ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Nothing)), - (ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Just AssetPreview)), - (ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Just AssetPreview)), - (ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Just AssetComplete)) + [ (ImageAsset "" (Nothing)), + (ImageAsset "\182860" (Just AssetPreview)), + (ImageAsset "#" (Just AssetPreview)), + (ImageAsset "" (Just AssetComplete)) ], updateServiceTags = Just (unsafeRange (fromList [AudioTag, EducationTag, WeatherTag])) } @@ -112,9 +109,9 @@ testObject_UpdateService_provider_3 = updateServiceDescr = Nothing, updateServiceAssets = Just - [ (ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Just AssetPreview)), - (ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Just AssetComplete)), - (ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Just AssetPreview)) + [ (ImageAsset "t\100362" (Just AssetPreview)), + (ImageAsset "" (Just AssetComplete)), + (ImageAsset "\fu\US" (Just AssetPreview)) ], updateServiceTags = Just (unsafeRange (fromList [GraphicsTag])) } @@ -139,7 +136,7 @@ testObject_UpdateService_provider_4 = ( unsafeRange ("<\1090124#FE\1086106s*!\62593\DC4;\31772^WMr\1060834\&8RB\NAK\128903\1007550$\t,C\ETX0\11070\1023381\58817\27286j\\nF\175225W\1113162\&7\SO@\94549w\ENQ*g>=-m+\128253\997485JpQGB\1044309\&4\1060466\SOH!'w*M;c\ENQ\98836\1003286\&3)R\29851sZVy\DLEV\ETX\144137\US\EMJ08\DC2\\\ENQ\1081494\1001187a\1018101$\SUBt\181563\DC3f=\141465%:!\\6\172907\aES\1016438;|\67631\1046123*\32113@1p*Y;uGE\1069430e\1102664\f5\SOHWA\ENQ|\SOH\ESC\1009746\&4:*}$7]Z{/*\DC3`\STX&\155842P\t\1053171N\SYNRL&\SI\169000\USs\162298c2t\NUL\SOH)\26500\&2/rm\1051265wkD>}\1070334\NUL\DLE\128068\178727\&1%\1005755\ra\35525J\13316\19695,\1056622\nU\NAKY\1011081\1058839-#!\SYN3\190953\83058z\ESCl!`\DC3e\1102400\t}GW[P\ESC\1004676\189533[\1061401\ESCJF\21715\&9RA\1068756\"\t7[\1111740\n5\NAK~mEU<\nL|)&.Cu5T\121142 y>\9286$^\45932") ), - updateServiceAssets = Just [(ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Nothing))], + updateServiceAssets = Just [(ImageAsset "h" (Just AssetComplete)), (ImageAsset "\180491)p" (Nothing))], updateServiceTags = Just (unsafeRange (fromList [BooksTag, BusinessTag, SocialTag])) } @@ -155,12 +152,12 @@ testObject_UpdateService_provider_5 = updateServiceDescr = Just (unsafeRange ("\ETBI\\.z\96610\CANQaIC\1065269\32625\36609k\1091140J\SUB8/\110715")), updateServiceAssets = Just - [ (ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Just AssetComplete)), - (ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Nothing)), - (ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Just AssetComplete)), - (ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Nothing)), - (ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Just AssetComplete)), - (ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Just AssetPreview)) + [ (ImageAsset "7_" (Just AssetComplete)), + (ImageAsset "p" (Nothing)), + (ImageAsset "\19289u9" (Just AssetComplete)), + (ImageAsset "\172627\182076*" (Nothing)), + (ImageAsset "\1014021\DLE" (Just AssetComplete)), + (ImageAsset "\1004268\52075\985717" (Just AssetPreview)) ], updateServiceTags = Just (unsafeRange (fromList [MediaTag, ShoppingTag, SportsTag])) } @@ -179,7 +176,7 @@ testObject_UpdateService_provider_6 = ( unsafeRange ("f\SI4 \1063170|\995839;T\139513E\NAK(Qp!X<#\ETBA\NULuW\44248cis\f=~C\1732\1027485N\161808S\SOH\988099;\EOT2\fA&\187694@RHN\1011941\137440\NAK42!#qAM1I\tu\120271\b\t\19488Q\ACKDi\127780tX\990666\1103592EI\SI\ESC\bK\GS\NULo\1044109k\DLE\187241\1005849Z\CANI\10594l\1044875\137688jg]\SUB\1100178\1078023 +e'u1\ao\175647e\US1\t\9732\9316\&0-d-UJTP\1092036W~\184365\&7\1098050tly\1087376\46624Ozw\tH\nW\1062958d:E\NAK@\DLE\1086957f#=\97609\&1\61954g!]\1051221\1055847pz\78590OA\1056922,\\xDL\CAN\1073075\SYNeF*s_/\f25 \1088055\EM\1053116\986882Aj5\74938\DLE\12992eDbG\SUB`\66727uW@\6764\DC32q-pq\DC2%j\ESC\EMq\993522\153753v\ESC/\1050068|\DC1,\DELw\ETX-\25497K\1048380\US\n:\98876\1102356\RS\142008\1050738 4\93016MxyOMq9~c\1082301\1028090!\RSQ\30115ql ?>\ETB\149698>(\EOT\t>\20400A\1079649/c O\59065]\ETX>}\NAK\1071442\75027\ETX\1048970%g\ESCWc\153028B\171118\ESCc!Aq\1045328a\7285\180743\155835\96854\167241\175754\46512\DLEas;\13803\1026445Z[Fs\180513*m\SI\n\DC1\t\155458ML\nX\tTD+\SO\1107343]a3\1082869&i\1000299:X\CAN\1001282s|\az-\1098006\NUL\187905\CAN\CAN/\ACK@v\150658\1010455^o\191090$+k\EOT)>\FS") ), - updateServiceAssets = Just [(ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Just AssetPreview))], + updateServiceAssets = Just [(ImageAsset "" (Just AssetPreview))], updateServiceTags = Just (unsafeRange (fromList [MoviesTag, NewsTag, VideoTag])) } @@ -236,12 +233,12 @@ testObject_UpdateService_provider_9 = updateServiceDescr = Nothing, updateServiceAssets = Just - [ (ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Just AssetPreview)), - (ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Just AssetPreview)), - (ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Just AssetPreview)), - (ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Just AssetComplete)), - (ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Just AssetComplete)), - (ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Nothing)) + [ (ImageAsset "\74850\1096630" (Just AssetPreview)), + (ImageAsset "\SO" (Just AssetPreview)), + (ImageAsset "`" (Just AssetPreview)), + (ImageAsset "N\32418$" (Just AssetComplete)), + (ImageAsset "" (Just AssetComplete)), + (ImageAsset "" (Nothing)) ], updateServiceTags = Just (unsafeRange (fromList [AudioTag, ShoppingTag])) } @@ -288,9 +285,9 @@ testObject_UpdateService_provider_11 = ), updateServiceAssets = Just - [ (ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Just AssetComplete)), - (ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Nothing)), - (ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Just AssetPreview)) + [ (ImageAsset "\ETX\95687" (Just AssetComplete)), + (ImageAsset "\1111812" (Nothing)), + (ImageAsset "" (Just AssetPreview)) ], updateServiceTags = Just (unsafeRange (fromList [QuizTag, TutorialTag])) } @@ -309,7 +306,7 @@ testObject_UpdateService_provider_12 = ( unsafeRange ("\US\FSX;,\DC3\149563=VNF\NAK%;i\EOT\996832$k\ETBc7\SOH\143354|:d\SO\GS\RSN\10748/\"V\1021294o\DC14\1047613\54437\ESCj\SUB,\1095459}i0m\CAN\31240x_ \1049571\175311Q\1022107JiC1p/[1\\A[o\51780\FS\CAN\NUL\STX+\127172\120462w\EM=\121430dH\1004989Il(#\GSvd+\69876d\anEh\1002617\nQD\\:@{\"\ETXZ\1014379i\1053082J`&;t}zQ\DC3.\1020713Co6\NUL^vvsh\51873\\a\1051720R<\SI{\NAK;%f\144785{\"\22777\&2\140005kp\ENQ\t\ETB\1112840o\97260|@.\RSX\1052971\a>\ETXek\DLE\FS>") ), - updateServiceAssets = Just [(ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Just AssetPreview))], + updateServiceAssets = Just [(ImageAsset "e\987785\&4" (Just AssetPreview))], updateServiceTags = Just (unsafeRange (fromList [IntegrationTag, ProductivityTag])) } @@ -367,7 +364,7 @@ testObject_UpdateService_provider_15 = ( unsafeRange ("x\a\136203\SUB^\ESC<4\n\17873\SO>v\157431|\1020922(\185983{\US\30184A\SYN/\1034793\FS&\24692w5945i\n4\DC1+nk\118834ZSV\1011086R\996947\GS\a\CAN\ESC;D_g7T\61134NN.\1080365,\1035561\SOdPu\SUBF\"e\1071157V\1072899o\1019597\SOH\ETX\RS\1090025J\brXcs<\41273eYl)'\DC3F{wjCio\10430\EOT\DEL\66434=F\EOT\1011500\FSAe\99614\29782j\987688\RS\93035_^7\FSzLW\DEL\v9Oy&\1019281\158269=j:\161191\EOTxXF\v!\SI\DEL{\182824\CAN(q#A\f#Y\GSm\1029668\SYN\33488\1091890Q\21517\DC4N\13674bj\21932H;\55134\26121fz\183843\135947.p\147443X\SI+\22973\29225\14419\b\n\35820\1092258\ACK8\1003849\99533dUVae|'3g\STX\SOH\177742xA\190959T\1088684M\167371\&7\60761:\NUL\100886\DC3\GSs\SIyw\1063851Q_u}\SOH>\1069485\134333?\US\SUB\1106685\6158]5Z\1034719%\57389\183657_\DC4\41432^\28540qa\329\1097112/-\ACK\EOT\45370\1089284~H$\FS\9526\b\SOEVy2obJ\138789FK(\995061H[^\1088420\25954n\160665/\FS\US#\1066635db\1006679\&5?\nM\SO\44147Xs\150820\1112961\f]XR,\GS8{A0.T\ESC4\SIL\SYN\EOT\1028786\GSkX\ESCa=6\"qA7\RS\ETBG\ETXD\DEL\1100961d;\185997\EM\NAK5\DEL\1076613Qj\f'D#\v\1087346gY\110778\CAN\8773\&4P2\ETX_\1048072P+V.F9\SOH\156486-oK&\EOTo*\SYN@\174461&w\1082933\n{\b/\39070<'>\148084GFoF\25642\SOH\t]vwT{+\987769\b(mO\35465\47334xR\1099279\SOHk\120988#\DLEJ\n\1111066/R|^\SYNXj\177224(Dc\RS\64631$jM\1058526\n|_\1023319s\181256\1081025U\1077048'\144694\f\NUL\GS\179974puJ\14349 1PH\986811\147997\DC3p0%!\1096149\&8Q3Hc\DLEb3\1063888\DEL^o~\1054122&u\a1,mgg\1046750\141023'J4\r[6\45643o\FS9\SYN\1020964<\RS\31175\fa\DC2\v\1046951b^2\DC3*\DC2Y\8803&p\ETB\27260#*\DEL\41812\SO~mcH#qFe\1015266\DEL\DC4Aq\DC4(\GS[\CAN%%h3U\1013273U\1099555\131387\1019990\&4\166361Tt\43506d7Z\1059964~\984571") ), - updateServiceAssets = Just [(ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Nothing))], + updateServiceAssets = Just [(ImageAsset "\SONG" (Nothing))], updateServiceTags = Just (unsafeRange (fromList [FitnessTag, TutorialTag])) } @@ -405,7 +402,7 @@ testObject_UpdateService_provider_17 = ("Y\37457\171247\NUL\1102605\19452;\40109l\1091643\1038961\164211\&3\1060552/\NUL[\STX\ETB\r\1050187\&9\SO9\SUB\NAK?yC&\1087572K\19408X\1008435Z\1043931A\FS\ETB\a\FS\1068870\&2(\FS\1081735Wh\1105128;\30117\SYN\177561\121419F'\ACK,\1008576t\b\148040\178770]Ea.Sr\STX\1021147/\1091479 O&\167108P\1051535\12083 P\fvL\1072069xTw\171454R\CAN") ), updateServiceDescr = Nothing, - updateServiceAssets = Just [(ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Just AssetPreview))], + updateServiceAssets = Just [(ImageAsset "\1032928j\92521" (Just AssetPreview))], updateServiceTags = Nothing } @@ -423,7 +420,7 @@ testObject_UpdateService_provider_18 = ( unsafeRange ("\ETX62P\SOH\DC4\1109991=\NUL8}\1103539R\1014278Y\187048\CANz-\50831t\NAK\30991:\1108518\\q5!\CANsz\986662.]\1091331}\EOT\SOHk<\1076580jo\ACK*\1006270<\1068043\v\162015'\\Ky\\d\67224Ea\186085\42476\&7\145875@3.`[\83186%\1013254\1103673\2547^o'\NAK3\DEL\f\32802\&7\155976\US\178005\182126\11804\13566\ETX<2\37455\\\EM7u\1101747\996895\1030597`\aF\DC2\1002903\1065461G\SIUMj??\1082038\163609[q\53362\STX|\STX\f\39680?\60538\US\ETB8\STX\EM\1113089\1024191\DLEZ\n#[ \1010523\RSh(\1031090\&3\142124\&1\bC?2rx7\NULjE\nU\1056190\n)4\EOT*\18936r\NAK\EM\vA\DC42TSw,\SI0\1061258\176021\&6RX\1104923KEU\99028as\DC3/\SYN5`,d\"\60033\DC3\180441y\ACKe&|\SO\USE\991388\NUL\34162\3233\SO;\DLEh,|z0\GSZPK#WSNOu𑍠jꨶE\u00026e󰊟\u000e\u001b𡂟34􃤪ꀨ󸤧8􂒦𧹈uxWꏟ􇹽Y\u0006𢥁(\u0018\u001c$D􁪲𤋤跃\u000f3􈒰#\u0016?\u0003\u00060*W3\u0006􉄿i覟h\u0015-꘡󼪝\u0006H?\\Tv􌐘퐺Q띕\u0010-@k%{=4\u001a!w&󾠃D\u0012cuT^\u0014\u001dH\u0008𡫡^]󰭄jXA󶦥𠧁@fV,OA𭋵霕F𥦖Az^g7𫘰),C󹏯}.𑰠󳏡~V􆽕󺂺(9^z󷯅𐜚3}Gj􇑫\u000cd>􉪙Y𫑵p#^􁜧L`S~􌺀\u00123\u0004𣞧怏𖩋㑪as:F\u0003", "name": "\u000ce\u0005󷀰zm𨦻6+)g;5󱬄Z 41\u0011\n\u0002\u0003%|\u0000M󳎰S=`IUK1󴿊]X\r\u001aa\u0019!𒊧+\u0003epRw\u0006\u0005#🍛􃎋󼾎󸰲UX𐔅]>i&r𡩍􁲩Z􅕍6\u0014\u0014󺁲􂠯󿅂\u001b\u0016a4\u0000􂬒󸂌𞋬\tLZ\u0006w$=\u0016u\u0003E1C'\u0005𥃔랛𠶎$𘢤􏤆9;#󿄛󷺏&\u001b󺭤k/\tu\\pk\u0000\u0002􈡶)\u001c/Lni]Q\u0000\u000fZ|=\u0011V]]\u001c5𦌻U6>(䍑'\u0018𫷞%'I1-D\"􌈿\n𓍫\npkHY#\u0000󷱔u]􇖒𣿖\u0002\u001fj'󲪯'\u0018󾛠&詄E鎪=𠾒Da\u0002\u000b􌨿=􈢭V#󲞟\u001e\u001cN#`uny󴺪􋓲53#/|,+ópW꺱i4j" } diff --git a/libs/wire-api/test/golden/testObject_BindingNewTeamUser_user_2.json b/libs/wire-api/test/golden/testObject_BindingNewTeamUser_user_2.json index d2731f22528..b744f820aeb 100644 --- a/libs/wire-api/test/golden/testObject_BindingNewTeamUser_user_2.json +++ b/libs/wire-api/test/golden/testObject_BindingNewTeamUser_user_2.json @@ -1,5 +1,5 @@ { - "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", + "icon": "\u001a4\u0015F", "icon_key": "-\u0006v^\u0001_>p㙳\u0003\u0016\u0004\u0005୪􇯆]덀󠁰\u000f;v}q릎𮧸\u0007\u000f􏴖&~쬌<\u001d󺉸`,󼕲snਜ਼H𧆂􌯊𫉶:qNi]􀴜'󴊤#\u0007#T𩳫}󱸗\u0012󶊣M_\u001c\u0014󱘬􊤎\u0019,\u000e\u0018^]𓀫9􏧾-\u0007\u0001ID. FAp\u0004󼓃󵔴(S􀵪𐭀🡠\u0010sI\u0003e|Mv-\"q뿏zM㠌$H\u0001𡽺󵍯D]\u001a􁻕\u001b𤺴qW2\u0005􍦐\u001ey󸧓gg󸯗 /􇣧𘊟䧰~&y\u0008\u0006􈮮󿯅赦\u000e\u001c\u0016\u001et\\a.V\u000eHy8k\u001f$OʻXu/=", "name": "G\u0004\u00147󻞽bCy𔔚&5\"𗢵B$\u0002\u0012QJb_㵯􍬓Y 𦆗󾾭Y󵗂g\u000b󱿒xkJUi󻁈.=-􁡷2􏸞U\u001b]\u001a􊥙\u0010}R𦙪\u0011􏚼􋭲+R/􈥾𩮎p(M\u00055Fw<𣌅E󵢃R\u001044􂸟\u000e%@FPG󰰗JJ\u000bE\u001dz\u001e_\tb]0t_Ax}\rt􂊲h\u0013O\u0006󱽊`󽛆vm-?$!)~𥒒bh\u001e󶿅󵾖0x 􊦡􇐷+)A&mRfL􎷉\u0005􀋧>K@\u001f󵮯\u0007b\u000bPDWG,􃟨/J~)%7?aRr󱩅4*^󼭮K*󳖣\u0019\"\u000e󱍚𭠏l\n\tE𡔚󽎬\u0015\u0007\n𓆫c?\\\u0005j\"\u001bpe𘂒\u0000=\u0019>J" } diff --git a/libs/wire-api/test/golden/testObject_BindingNewTeam_team_1.json b/libs/wire-api/test/golden/testObject_BindingNewTeam_team_1.json index 8171d316919..612828bf06d 100644 --- a/libs/wire-api/test/golden/testObject_BindingNewTeam_team_1.json +++ b/libs/wire-api/test/golden/testObject_BindingNewTeam_team_1.json @@ -1,5 +1,5 @@ { - "icon": "default", + "icon": "~c\u0004~汸Y🁉\rO奿KH􌷲:𢁄𡹌\u0000WfA\u001aj<5_𠶦mx3^Em潜\u001af􍟲\u0014Wx $゛􃡶I-􃮄NhzWDC\"􄖩\u0001􈌑I&i\u000c!;-?X舒\ro󴯋G6\u001d􆼅i􍨏#yH%f@6qb?;􅦁󴃱&wQ\u0016\u0019z𗠣c𬎿\u000cJ𬦦$U\u0016\u0004𑐹0]\u000c\u000f7󻛤𪜚\ru)\u0016\u0014\u001byL𡙤n𣋪mm`\u0011/\u0013􄨵,𤙲𘉂DX纇\u0004}\u0004\u0002􈗐𘝘vE", "icon_key": "󻚍W.\u001e틕E\u000bS_6ZzJ{'\u000c&M󻉧󳲿𤴄唂󸯡t;C󺱊'a𩟏[(X\u000f:󷫰\u000f\u001f`􆤢zK[䈙􆔗a\u000b", "name": "UivH&횊𗾉p\u001fzⷌ\r$\u0014j9P\r\"􅜃ಶ󰸀aF>E􇘗𡼡B\u0019&􉯋\u0014𪭋+'􍠒R;!\u001d󸔢\u000fvv|\rmbGHz󵚲𗍑3h𝡈\\U|'\u0003;^&G\u0018\u000cꁴ42\teq􀏗\u000eV1}\u001eaT󷧄aO7<;o𫶖\u000c􏝘m)$PC\u001b7;f{\u0002t┽>\u0004X@4|/\tH\u0005/D𣋒\u0019𝩜C𘕰Q\u0005T􋮡?d\u0006􆊎#H🈣𡽷*𨡴jo8+𩆂\n\u00005L[r7_.\u0010l1𫁝\u001f6[EhD\u001fh\u0007􋘏\u0015C𢇵,𫎢,@?y+;\u001f`/^d𡩦󲆪HeCd顴\u0013􀙬𣆗\u00052O-Hijo󶂘󿐡󷔶X}x􏡾\u00177𣫺쿢C甽\u0010`k*Gl󿙎\t𓀮󵃮\rb}\u0008\u0000芆h\u0016ynr6d(", "icon_key": "\u0004𠇱\u0017:󰚡HL\u0001^bs\u000bG𦜤{I􋥵]-J\u001c􎟗\u000bs9\u0010󴔽vI`N밟MZz", "name": "\u0008 \u0001+􁴶;\t095ꖖ\n\u00022J󴬋\u0011UzD_􏋚\u001c" } diff --git a/libs/wire-api/test/golden/testObject_BindingNewTeam_team_11.json b/libs/wire-api/test/golden/testObject_BindingNewTeam_team_11.json index a52117b520d..b9317a5f4b3 100644 --- a/libs/wire-api/test/golden/testObject_BindingNewTeam_team_11.json +++ b/libs/wire-api/test/golden/testObject_BindingNewTeam_team_11.json @@ -1,5 +1,5 @@ { - "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", + "icon": "r켭嚔𑪕u*33{8G􈵆aO\u001d%\u0000[󵂞U\u0005󰤫iKL\u001dNF𨀔􌈒`\u0004T$`i5𖣱\u001bŤ98>", "icon_key": "􎸃I\u0006.𦱂@y0\u0010􈛝n\\#skj󸸍Y_󽔌&x󵹳\u001d\u000fy􍩉B\u00160\u0013VP1􉓪q󺌶􈆙渳R􌨓*+\u001e,MP槄*;\n\u0015롫\t𧋏\nGj.ꅊ􍪛lㅎ\u001c~􆭊\u0000.􈧂&\u0001}\u000f􇺚\u0011+f^ZC\u0007'T\u0001\n󹏻􋹧U􎠓`W\r\\fX\n􋛆TF􎬔`h𗲐[듫ERdP5<<󺁭;\r􋣛\u0000Dy漆5N/^𡏆(\u0013󿉋􃋤6e\u000c:\u000fB\u0010F-􏂸䏱􃿵Rfb긦\u0007DrB󱌬㖬桲\u0000+2.\u0007\u0007}\u0015psFw\u0017\u0013 𭚗𥂍k~", "name": "뮅H􈒨𠓐𦡃5\u001e󰳡-\u0015\u001bR\nL戮&bD𢂤\u001aH\u001f󾈖\u000c\t;e􃴠럽\tc􉣼e􌚗\u0010\u0003I𐃒\u0017𠫼\u001a \u000fꬓ~FE\u00186𧰔돮u\"𡈄󾓋\u001cFYI\t/{\u0005\u001e]j􆸮\u001f22㸌lꕾ$\u0017\u001f𫼷kL{\u0002*𠄶RMj\u001b􊜄W3H󹇯\u001c\u0015^\"5珕缛*􌕧" } diff --git a/libs/wire-api/test/golden/testObject_BindingNewTeam_team_12.json b/libs/wire-api/test/golden/testObject_BindingNewTeam_team_12.json index 175e5cdad62..2764ebff6c9 100644 --- a/libs/wire-api/test/golden/testObject_BindingNewTeam_team_12.json +++ b/libs/wire-api/test/golden/testObject_BindingNewTeam_team_12.json @@ -1,5 +1,5 @@ { - "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", + "icon": "􂾥b\u0004ch1a iuB󷁓\u001b\u0011𭱠\u0002V󿧅@1𣛸 iY\"m󽅖\u000e\\O*(\u0013𫣇w7w􍻦\u001f2ECk𘏌4\u0003ୌ%\u0004@\"k󷔜󲢼*󻶙\u0011\u001bYC?𫑘2>촘\u0016o8[\u0007V@9E􉄈⒅󸣂!k0b\t\n+6\\Ki{\u0011󰕎\u0001\u0016󽏅{0H󸕍\u0014\u0005󲕅|\u0018󹵤F鈫󷊥d󿐟\n𝈟􁣼X􁿧􁀇*\u0008C\u0012𘒓Wz􅚿鋡QWt\u0017Aj>eO}Ae\u0014\u0017\nl􃄦g\"󳗩,6K滠􁙀[󸱽󸆑N庝eB!𮇶C\u0004\u0002X#El\u0017`e 􋯾\u0006\u0003PBC􏑎fa𫬟", "name": ";𛄘M\u0004𨅁P]'󾋁􋍲ဖ􁟺iFnRQV꣦@󲚞l􌔻\u0007KZ{잴S𮦪\u000cg*\n,`!V\u0002󲇏e'󽹟\u000e0邛p4d\u0002s󹈷uK(c'컁hjB𣘹\u000et'h^\u0016\u00160󶝏_⼠𨮕thH\u000f􆅇:󹀞l; n4c􌿕D[󷩴8Y+􊬷\u0004E􂛊\\0𩅑KKTc)P1K󾠫󱸡W\u0003<|愸0|5{Y󰺓M\u0014\u000bK\u0010􉹾\u0001\u0014󷞕.\u0017g󲇥\u0010\"W\u00009&0yYZ􋍼\u000bⵖ" } diff --git a/libs/wire-api/test/golden/testObject_BindingNewTeam_team_13.json b/libs/wire-api/test/golden/testObject_BindingNewTeam_team_13.json index 7c084d93b7d..ec9417ccfb1 100644 --- a/libs/wire-api/test/golden/testObject_BindingNewTeam_team_13.json +++ b/libs/wire-api/test/golden/testObject_BindingNewTeam_team_13.json @@ -1,5 +1,5 @@ { - "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", + "icon": "0^􋚞7>𗅥 \u0002馏\u000fF\tAH𧑩:𨹫8䅗Q󿒛\u0010-A\u0004𦎬\u001bHOc\u000b󵺂\u00139\u0016󠅕{ \u0000]󶒐I􁗫,𧯞f\u0012􉮨q\u0001🨣GA\u001dT\u0004S\u0010MmnLy􏴕=𠀦2k󶫴\r~􂩧1! \u001bJy♜J|zgf1}ILN5󺈩Xi᪽Be.􉁉\u001e\u0016𗎂􊒧\u001e+Y;Z$\u000e5", "icon_key": "oﲕ􁂈\u000f[aoM\u001d􏉓}q躷4^\u0017-*%𤎉8􄨋`􅝘#pH}\u0013?w`A/𖼹􎩙󲼀 􍦹\nXꀛ󳡲\u0013u\u001e\u0001(󾒲󵮑6\u0002]t{\u0014\";*\rヌq􄐓⾵+w&笭(3#𬈙PY]\u001ef\\?F4\u001a\u001fT􎩣Rnfq%𐔹p𥨈𬠶j🏭0P\u0008n\u000e\u001c\t䯈\nN.aGx", "name": "G쩷𑐙rLb<􁴯!\u001e|RD𧠁\u0006𔐎𨏿눢Ag墘 \u000by`\u000b󿌣K㗃e䠣,𣘥DQEO\u001e|\u000f􆭓􃨋gr􏲼\u0000\n*1럩R\u000e𐔍-Y󽙱n􉃤]])􉉻C\u0013𣰗\"M@(K㮂\u001e1諷\u001c\u001a󺜆T?}\u000e=*𭇂\n𑄉\u000b_\"7􃹱?Lk𤪸x\u0014bu:𣸰㣱󼻩<󷼔6\u000e`􅣒U죑yp𬰚7%" } diff --git a/libs/wire-api/test/golden/testObject_BindingNewTeam_team_14.json b/libs/wire-api/test/golden/testObject_BindingNewTeam_team_14.json index add730db131..690eaabb6fa 100644 --- a/libs/wire-api/test/golden/testObject_BindingNewTeam_team_14.json +++ b/libs/wire-api/test/golden/testObject_BindingNewTeam_team_14.json @@ -1,4 +1,4 @@ { - "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", + "icon": "(r'`􅲹Gd\u0003)u\u000cq*4􆹛󻯿i\u0019M.Ru􇜭\t𤋁􉲱m;\u000c󴞗􏿰𡃾m\u0007\t􄛑wRhv\u0007r6ﳼ\";&4\u0016X\u001d\u0016w5{%P&極98\u0003\u0002yL\t󹫣XMu(𭷐6)\u001aꓯWc闛#\u0002夺l􃳷Vy1_\u001a\\\u0018􍒠꽙Ek>󵛷\u0006]$\u0004𬘽􆰩w\r𨅛@&V8\u0007\u0010\u0011\\󶯔􁔬\u0015)X\nE)􅪟y*%1\u0015\u0012^4hKf󳅲|EY`^\u0013𪗫颕\"pX\u0008g샴>YR(W\\eS\u001d氵(bn\u0016u󴙶𦒟hꆂ\u001cG􊉫\u0010蜙a𑅱n2)󰛬\"<󻿼YUq􀉀󼱣𭦇\r7ྤ\u000b􀊑惱\r󺽸|]\u0017\u000eh9f󾻓\u0013w󴧻Y}呣1q\u0015Y:搚q \u0017=*#𒓟\u0019\\啿y9Tfc\u0011삯k􋯆\\Oxxn&6NtaZ?k:5G@딎\u0013H􋶽hu4𫩷󳈫\u001fR𧠉󺈅v服嵡𑧡㉑\u0006D󰡀[bb<􏝁" } diff --git a/libs/wire-api/test/golden/testObject_BindingNewTeam_team_15.json b/libs/wire-api/test/golden/testObject_BindingNewTeam_team_15.json index ea408149f95..f5bbb69dba3 100644 --- a/libs/wire-api/test/golden/testObject_BindingNewTeam_team_15.json +++ b/libs/wire-api/test/golden/testObject_BindingNewTeam_team_15.json @@ -1,5 +1,5 @@ { - "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", + "icon": "UZ0󱶈t+𨼻ㄭk|\u0011\u0016\u0019_ch\t􊃨㌵\n\u0017\u0012,x􎅷,RE(,G\u001d\"gA\u0015ncdJ𧰏+\t􌥁FP{v=낫'e\u00029B#1􆤏\t.􉄮𢏾Ⲙ\u001cUK\u0001\u0007;\u0002􇙌𣅐7B\u001b\u0000D+󽉔􋆄`\u000e>\u001b\u0011,𩳟d\u0001(5\u0004P9iR]\u001eNws󻘌󴿔{[H🚝,5J!𡔆󼾅\u00061\u0008ZQ7fmQOQ󰹗l!\u0013꯲歔*ꪩ*1\u000c􋹍8nk|\u0015󵦮~\u000cO𧲭𘧿!:3\u0003n{%ᨇ𬦬if/!瓝] <􁶰Y􇖘\u0008\u0014~\t\u0019\u0001<*\u0015𣀥bx4 {𗟋\u0018Vs;g𘉱𣐄\u0002qkI!QJ􅲮J𮑈\u0014ﰡ?_\u0002\t􈍎iB3YdKA7@>Q󳅳󰾩]􋏴𠣍>D󺬃wD\u001b|\u000f'^𡙕𝠪Q#q,\"" } diff --git a/libs/wire-api/test/golden/testObject_BindingNewTeam_team_16.json b/libs/wire-api/test/golden/testObject_BindingNewTeam_team_16.json index c0de11ca757..f248cde64c7 100644 --- a/libs/wire-api/test/golden/testObject_BindingNewTeam_team_16.json +++ b/libs/wire-api/test/golden/testObject_BindingNewTeam_team_16.json @@ -1,4 +1,4 @@ { - "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", + "icon": "_'C󵌷\u00049\nC𖡚f\u0007𝁅Pe🎻𭏞𠮠𘃽5􀬏m<\r}𢈳@􁅠#.􂖇\u00026%􏝅H%󻝱n\u0004Uk\u001f/\u001cpS𦓈􌄑[1np\u0006mD󷁠U\u001dI􈡦]I삽𩸦AT\u0003\u001fOl{\u0011\tYt7U +Q􆂍\u0018\u001f[\u0002JV\u0004`\u0018rF\tN𐤏𗚁𩠇\u0016𨪒*A\u0010A]4ku󴻠W􏔺홊I\u0014\u000e𗇟", "name": "r\u001e\u0017뚌𢯠7X \u0019𤸰J\u0018尹􇥏/`󳬿mg𠵮2\u000b/7cI)&\u0000\r\u0019=m$\u0013rv\u0012W:उ\u0000!:\u0005x󿅤𘆆iy𒌊\u000f\u0005>j􁋝eA󿝖\tbj\u0019k\u0011l\n󱕁H~]uꞛ󻏫!kjVS{42\u0000E?\u0019h褨B!:\u0010X\u0011T3W\u0007vimhK􇒫\u0011to*P*\u0011}󰳺􇾡H\r󼜡B" } diff --git a/libs/wire-api/test/golden/testObject_BindingNewTeam_team_17.json b/libs/wire-api/test/golden/testObject_BindingNewTeam_team_17.json index 6ed4e3b484f..3c5f696fac3 100644 --- a/libs/wire-api/test/golden/testObject_BindingNewTeam_team_17.json +++ b/libs/wire-api/test/golden/testObject_BindingNewTeam_team_17.json @@ -1,5 +1,5 @@ { - "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", + "icon": "~󻂃C]\u0018S7a𐙣'󶎸u\u001ee\u00148쨞圈9=𠸕\u001b\u0007'󲅋jqUiA𬏟i!\u0002Pl\u0012􃵣\\\u000b;Pq|\rUA߀D4􊤫;arv\u0007h8/\u001e\u0010𩮉PZ􍽒𮈨|O󹖾\u000c􍩄E/6\t᾿f?,x\":{q::Z橳\u0000\u0018DBd\u0001𢓾a\u0003Z􉄣0~r@F", "icon_key": "1\r4]N!\"􅦩R&\u000f1i\u000ee𪙓ygO\u00064\u000bO\u0006~𘝚\u0000𓅀b1a𗭜Q\u000c\"󿣣􀳈)􃛢*x猤C_\u0001a[*9۵𡹿N[Y􎗮r\u0019\n3􆩙.(|as 6H\u001b󿭵󹡖􏎇\u00016\u0015Bmh/\t􎧕䬴~󻴋󷼗qbRp𢳼<􋅻讷N/󽭥;\u0014l𠜂\u001d𥗂ac\u0015C\u0016\u0004U\u0000\u0013pW[#u𝨩\u001e􌑫𨁋\u0012\u001d\u001ar\u0012D#􀱀󴸥𒔭(@i󾻹𩿙𝕗DY\u0019L1\u0013|q{&􎤪󺒬1{'􄅑y𬛅E)\u0012󴔸!0kdCOX:E󱄥\\󺜙C\u001eISa65N\u0016[i\u000e\u001e\u0000#:q", "name": "|跤P\u001f󾃍𧁄Y\u0001j\u001eYrr쉏0m\u0005󺽲*'𑦢􍷘P6\u0016㮄\u000c\u0012𞢵e󻸊\u001e󺭋󴹋𑄺\rA'\u001dA\u0015툒􄨮J󸊪'T󽔣R2? \u001c\u001f󼄆$\u0015Gr(󶐡{\u00050mJ\u000fD\u0002-\u0018_I𠔎\u000c𤃑\u001cR􇮍hp𣉒B6W2\u0008\u000c6􍯣\u0012𬌆\u00081'7-T-#ཱD􆱹􈌑T]v$Gl󾛤󼉲5yg󺔀\nQc.`i㧣忚}\u001c&k4𘔫\u0006>#納󽊚\u0019𠎓[vBOPu􎯣@\u0006\u0000􉦊𤆁\u000e\u0015𘇃篖\u0004\u0003&󼂜?z󱢾i\u000cz\n󻏿\u00173\u0007􎯛W􏷕E^󾮑󶱉\u0015aR𣛯;쮷\u0001\u0019\na\nvt𠠗\u0003a𢕖 J𠸂uX􆽹?Wz&<\u0014C\u000cx`󽝑#\u000f懶邵ꩤ\u001e\u0002#\u0016\u0014-Oj\u0004d󽗌'FoHqexoh\u001ax􎋻𭉐\u0008i󳰵yr\u000f􃼯w􍥢\n8T󶋓2'󺁼􏋦􍒽\u001enxW[棁󲜚𗧓𥝏i㔕4󶌓YHZ뺃VZ\u0010^0\u0002C􂌻󽍘", "name": "𪐝|Z凅?l\u00084D乛K0#OV>󰰅S3'4\u0006𒆠*m-\u001b4\u001fj\u0003__6󿝣ᦴM믅\u001b]\u0004Dq\u0010uo浾$\u000bUWp1=/o\u0017Y𪙶9\u0012\nQ𫒥􀦝)􍉷4wa𗐋leQ*󴑞󼡨>@,󿖻𮦮RF4QcNY96𩉓􀮈G􅆔&J\\TzHUiG.C\u001a&\u001cx춈𨿱3􍳊A􁔸B)燖穲r󵌈\u0005&VCPa{\u0001\u0019Wꧬ𗰙\u0010/􇔳\u000fc:b\u0001𠒪)襈􌫒鉲@5󰊈I02g%%1bJl} :󹙳\u0016署𦲖𢻉", "name": ";𭏚@m\u0008Z󹔛1}\r9\u001e)\u0000𧷛􃫣𗖻\u0001,q\u0001`􀣞P󱉭􅁌\n\u0004Im􄠱\u0014󷜳􆢃HB\u001d`󹫇𢴱U𧩣G\u0013m+Lw\u0010󹾧\"0𝍉?-T\u001b\u0003j\u0013|Lq\u0003.𘋘hgq\u001by𘒇5\u0007y\u0006􏚅w^(\u0017+𪻾3\u000c𛰿x󶅕i*E\u0013𫹺rTM\u0018􊶥$𧐐𮣞\u0004\\p􁇚1\u0007𠀗􀠺zv󼞙\u0019rj\u0007󾭒u\u0015n\u000e𨆖6\u001bs\u001dm9Y\u001c%\u0010?6󽯧\u0002\u000c􃩾)RST\r\u0010􎑠\u0011􇓹h\nTS\u0012\u001f􋻇\u0002n\u001b𤦦r2𒂷󰕫hrr-$*j􏇺觹]@󵅝㪱J\u0008\"8N𐬼e,\"br\u0001\u0000𦱘+멦c^󴾍<`􏛇𤙄\u0002󰷙\u0003𧥛D\u0005皔nqp􋝳󱓐c\u001et􇿧G" } diff --git a/libs/wire-api/test/golden/testObject_BindingNewTeam_team_3.json b/libs/wire-api/test/golden/testObject_BindingNewTeam_team_3.json index 8e455519f46..8fa459aa876 100644 --- a/libs/wire-api/test/golden/testObject_BindingNewTeam_team_3.json +++ b/libs/wire-api/test/golden/testObject_BindingNewTeam_team_3.json @@ -1,5 +1,5 @@ { - "icon": "3-5-3d4b563b-016c-49da-bad2-876ad0a5ecd2", + "icon": ":b6𘍗L􁠹K<􎦯𗋵C^\u000eY8LuXS𦏱F\u0001\u0017썁󹲗\u001f󾥞J]\u0017A2R$P6\\\u0005𩆊-J\u0000t\u000f󿫯*󻣠r􇍈M\u0015PL)𗈟\u001aJ𑱚S􍜑~'kRYj𑘞{P{V\u0001!󰱿Y~\u000bV\t𤰂{5%i[$7X:ZV\u0000y\u0007삉\u0016\u0005\u000c;!k?O󻚧􈒉K:}􋴳𪤷#>\\|(n\u0002𨟼\u0003D𤨬쮝{|𥃇󱄮+᭮J", "icon_key": "\u001c\u001eP󱖗Gt\u0016-렬nJ󶲘g^\n\r𫙿\u001dR󶦍􇜁𒎌t\n)1/% hL\u0012Ad\u0001Xq6\u0011)\u0000\u000c6\u000cV\u0014r􋶨\u0011n􎖟,@𩳑𝃔\n\u001a%N𫊸\u0006葀Xv)\u0016z?\u0014\u0019Y𧤂2𗘰um8}죜\u0012yW\u0000HQ\u0005D[Fe\nk󳻂\u0019懷Yk@##u}j𩝺𥛾\u0002q\u001bir7) 汬%󸄨~󲪳8􉈠je􌟌0*Gi3𝟽je\u0018Qr>󼕣k1爛c󻶢L󷴬𖺉t\u0004W󳿃\u001ao\u000cgh\u0006𪀙C2霩c\u001a)uW\r\u000cB󾧾Sf\u001a\u0001*5l隺\u000f文\u0019B(\u0005𠩾/)!{󵬬9\u0002A㻍fx&𫽹T&𭪕\u0014쯾[\r\u000b\n􅢉j2𨤤/􉑰\u0005Qo\u000cj𠵠🤐\nb6\u00183\u001e9\u0019󴊖ub\u00173CY\u001dsIz" } diff --git a/libs/wire-api/test/golden/testObject_BindingNewTeam_team_4.json b/libs/wire-api/test/golden/testObject_BindingNewTeam_team_4.json index 8cfe6417c05..4ed974f0ca4 100644 --- a/libs/wire-api/test/golden/testObject_BindingNewTeam_team_4.json +++ b/libs/wire-api/test/golden/testObject_BindingNewTeam_team_4.json @@ -1,4 +1,4 @@ { - "icon": "3-5-18fef3b3-323c-4c27-bb62-6026d62f77c3", + "icon": "tmIV󳻵3􌹙󿽑HKE{􆭢R9\u0004\u0017E2𐭐L󶢉|a\u0008|Cꊁ􁢣}\u001d󻱜\u0018O9$)\u0000\u0002𥙒肷\u0000쑰K󿉉􂇠d懛\u001d\u000bq󺖧B\u0003\u0007T\u000ePtY\u0015󿫵潌z#k`P􂀖\u0002_7LXC]`#-`\u0006ࢺ\u0012pw59\n\u001a\u0010jꍃ𭈉F\u0017􅪽\t;\u0012r*圮\u0019S𬤻E8e\u001cx􊞎A\u001a|j\u0007d\u00100RDI\rQ\u0015`􅰜\u0019)j{􃚂𢸬􌥩f@\t\u0011\u000c\"\u000c󾵭􌛋􍼕ᢞJ`.𛁓*\u0008F%4󶟬\u0019-3g𘟴􍙴􍀉\u0002\n\u0010\u0013]s𫫟_\u0007󾒾𧯔\u0012\u000bȃ\u0010㳼v|\u0008􀻧%𨙤g~0\u0004Wp\t 𪒺C\u001c𤥂x\u0005\u0006\u0012-DIYa󵌭:𮔿'{􈚁𣃢󾕜6Ḋ󴋄=xfo\u0006U'\u0014􍊅t\n\u0012􋝛6𝋯/􍚳tR\u0016#􎽉", "name": "\u0003󵳮k;" } diff --git a/libs/wire-api/test/golden/testObject_BindingNewTeam_team_5.json b/libs/wire-api/test/golden/testObject_BindingNewTeam_team_5.json index d7f0bc88c30..ed2cc6465cc 100644 --- a/libs/wire-api/test/golden/testObject_BindingNewTeam_team_5.json +++ b/libs/wire-api/test/golden/testObject_BindingNewTeam_team_5.json @@ -1,5 +1,5 @@ { - "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", + "icon": "![\u000181潅󰋙䘎𤗈𧗎\u001b􀷘\u0007\u0018\u0004}r􍅵\u001bt𫞣𪐝􎟩繤𥞓M󲷤1\u0018$;\r\u0002\u000e\u0003P\u00193)R=E?9\u0010$>*\\`鞀\u0013\u0007]𣔼󹓭{FKA\u0008􍄸𫨟\u0013\u001f=UC𫷵KQb􁡺󷼩\u001cX7@󳌔C~-[Db $cx\u0003Czvq ,g\rD󻿪", "icon_key": "s𡜶:\u001fdm㒛\u0015I⸈Y􅌌𬜈􋪠>q󱙒\nQ\u001e􁔾\u001d#w𤇠𩻗􃿿𡖭B\u0014\u001aLv\"S>𝤅!]sB+6\u0011oc\u00177蛑lR𗙺\u0019r%E􇋯B𘆔A􄡥N\u0017?{􄈤/|cU𢟋]𖫠􍇌\u0010𣾄􆣶+󲃎\t$F𗧊he4𨰴|k/!5Z~𔔮\u0017󸛵\u0001\u0005􂃝3E!{^茖4fh󻗈N􏚙v\u000c\u001d󳪍mde!5󺻟y&􃔋xo,\u0002rk􅨸\u0005\u0001JoS󰹇X䧱󲸿a󱽇\u001e󿘄\u0019\u00013j༽Z4\u0014􄸣l컬n\u001b@ve#\u0016\u001d𬴣P4􇀲\u001b𩣣:𦠊z1*\u001fs\u000bd`􂬥/餄𨜲", "name": "\u000fB𑋐3𦩜\\#􃅻I\u001fK󹶘h\u0010\u0013\u001e𠻊*󳵆L\u0002w1p\"4\u0004𮉃#u𣖞\u0016\u001c鄂ꊙ$Ÿwu𪞴넣󶏴\u001a\u0007)\u0012?T 솆8馿.\t\u00151\u000c\u0004Y🙉%މﭸ㮲 &Z4􈼌\u0000@\u0001\u0019𥯩􇐟􌑣xtj𬦽`\u0001r\r𖾒\u00040\u0019\u0000Lyc D\u001c􈺓􁣾)\u001a-\u000e􈼌\u000bl󰔐􏿡\u0018𭨼f\u000frb/[F\u0000􌣆<1󺼰P\u001dxl\"!11E\u001b0\u001b\u000c$u􊼽N\u001dV^󸗡q𩪫\n`󿮐𧶴:iLXn\u0018󱜞朻O}8!Y\u0015,^X咽hEa\u0010^\u0005\u0008]`􏭴<\u001dZG󵉂\u0001𮞘廑*8p\u001cF@OLpnXTmW𗤩f𐨎􆮍敢Ze1 \u0016Em汵f\u0006󱀇", "name": "v𭺬hEWefuu󵳔jPx𦦹k#\u0001󰹥\u0002\u0003^\u001b\n\u0018₅p1D|S1􄀟􍄚熗\u0016`\t0g󼣥,t\u001cw\u000cDT\u001e#H\u0001𣜘\u001f{􊞫󺙲󰔬lW\u0007,uil\u000fN`5e:\u0016 Y!\u0016󺑛tb􈼝" } diff --git a/libs/wire-api/test/golden/testObject_BindingNewTeam_team_7.json b/libs/wire-api/test/golden/testObject_BindingNewTeam_team_7.json index 65f8d616ff5..a03c29a6247 100644 --- a/libs/wire-api/test/golden/testObject_BindingNewTeam_team_7.json +++ b/libs/wire-api/test/golden/testObject_BindingNewTeam_team_7.json @@ -1,5 +1,5 @@ { - "icon": "3-1-b199431c-e2ee-48c6-8f1b-56726626b493", + "icon": "_5勞\u0007Q􎲫W⃛9ꮦ*󴽳", "icon_key": "D\u001e𩉨\u0001󼓤🚱Ll\u001d\tW􂂹o\u0018멤b\u0003|\u001f*=󶶐􄖘󱓧6󴆄", "name": "𣢐󾧌iz􂒳FT㩴;􎦑}𮇵􏵿9\u000e󲆑7>hAC\u0000H2O𫑫m𭴿2R(?W,=,󱸅M󲓈\u0007M椔\u001a맰q\u000elj\u0004j^.s~\rY%5lM,杼=\u0006󸑃𮆫>{\u0018\u0010㸆f=X9\u00169쟉𦺻TI4䒿\u000b\u00156󷲘/\u0010\u0015\u0006尌H<\u0005󻙇e\u0005z󸚸:៹\"rS\u0007𨻬\u001c\u0003􂧙󻹪뽴\u0014\u0014Q\"􄃰1:􋽔\u001fT.;󾣧䟌}" } diff --git a/libs/wire-api/test/golden/testObject_BindingNewTeam_team_8.json b/libs/wire-api/test/golden/testObject_BindingNewTeam_team_8.json index 3a3f84deee3..79c17c026bb 100644 --- a/libs/wire-api/test/golden/testObject_BindingNewTeam_team_8.json +++ b/libs/wire-api/test/golden/testObject_BindingNewTeam_team_8.json @@ -1,5 +1,5 @@ { - "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", + "icon": "✅IT\u001e􍑦뾖%mE󰤊􀩈M\u0007:[fgw\u001b?ye𑇐􋱯K\u0017l􁜛󷔒󽎻Qg?𤼃{\u000c!uXA}H)v$𧋓􊷪mGkC9􈸥\u001d􊲊󼫰1DH𨩌sꕂ7[.𭹆v+􊥆O^SGjv􅇮Y󴺥n𥬜Z𓈋\u000e{􂺫Q\u0003\u001e1I\u001c5\u0006󼻌􈥆󻳺_􍽩?gDႽ\u000cg㪠:g\u001c.J<\u0012\u0017󸋤}/𗹵OBLa􀳘\u0007{󶷱-􃾛\u000b\u000f\u0010𣥐V \\Ns0t􈃙frR!Qe!$𢌢󶀅\u0016$􇋮!SZ􁀀𭃻a\u0010B3", "icon_key": "v𑈬땻h\u0001_󲋫\u0013\u0006i󴋤\u0011\u0003W𑱑譟\u0012嫢󺥖\u0004\u000c%_􃹩\u001d\u0016\u0017 N\u0000F󵞛\u0005LUua3􉻐M↝\"𗊟\u0001\u001e\n-='\u0011B#\u001c𡚱>\u0013𠓴\u000f\u001d􉩪G7v6w Zቆ􀦮𬥤𩬵\u001bP>𠀧􀫷􆷹\u000b}?ᓄJg\u0001\u001a^pl􌽧2.\u000eV\u0013坣ﯽ\u0005B󿏻􆷽𢃤<\u000c2䬴Tz@6\u0013𑢫x?𤪑週\u0008\u0010\u0018p􈃰\u0016\u0003N􌠀C\u000f\u001a\u0011l]R\u0000vL󺵶Nz\u000c-bf}f>\u0002H\u0019𡔤+Zo󴈣6𢓖󽱓重󸒝|`dN 擦󱈠i_􁮱p󼐑J斐ngp@#􍼃A󱖱7l{;𬁛g4EX넌\u001b􄳆𤺴#z𫂓\u0016y\u0004\tG\\謖坴#s󵘆Ad􋓔Obh󶑡\u0012􉑳)3R\u001a\u001c𗳩aw]􆞷󽰤ფ𝂦kC梿\u0001󴶁󵢐d8둥\u0011\u0016ﰺf9", "icon_key": "X󸸽;\u0005W\u0006Lk󳌎𣔖\u0017\n][~⠨&U亝v`I\u0017\u001fl󰉫\t􊋾?䍋KM3c􄨽󻧳= \u0017t5vKOg\u0015/NC2~i'􃝴Ojb\u0008\u0003􊇳\u0011\u0001\u0000FWc󷭕sU>P\u0001~\u0019wUHU\u000e#훞􈅯!Nwn󵠡e\u0001\u001a\u000c\u0003\u0017Tl𛀥BYU;a󷋠K7?,m𥪤Xpa뺹𡰽\u0019 ,M!~^g6}(踑\u001eᾋgX}𧓻)c\n\u00012E", "name": "\u000eLN\u001dr𣎸􅜗k𬙅#𥙝lTD[Jh\u0001󻕋蕠6󼧒􃟠\u0015}\u0007db𩵜-\\-1\u00142󿝈\u0012𓐮1/脼b:\u0005󽩦;Mw\u001c𬸺􏷋ITuy􀚘`SP\u0001\u000e\u001d\u0015\u0007\r7M􅄎􃳖䢷\n\u00163V\u0003R\n1$e.􋩅B~yd_z󿴉\rV􊜗\u001e\u0016𨒺l\u0013론u􂝲u\"\u0007Tc|sEw󶷶wTC|FቿB\t\u0014&\u0008UEN(+M\u000eF;􌟢𠶭\u001920\nrPW󸓢$􃽩" } diff --git a/libs/wire-api/test/golden/testObject_Event_team_1.json b/libs/wire-api/test/golden/testObject_Event_team_1.json index 05172b99c6a..8cbbc5ac0ef 100644 --- a/libs/wire-api/test/golden/testObject_Event_team_1.json +++ b/libs/wire-api/test/golden/testObject_Event_team_1.json @@ -2,7 +2,7 @@ "data": { "binding": true, "creator": "00000003-0000-0001-0000-000300000002", - "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", + "icon": "#𖺗匞(󳡭", "id": "00000003-0000-0004-0000-000000000001", "name": "\u0004X󳒌h" }, diff --git a/libs/wire-api/test/golden/testObject_Event_team_13.json b/libs/wire-api/test/golden/testObject_Event_team_13.json index 5c1522c9c1d..587d5713db3 100644 --- a/libs/wire-api/test/golden/testObject_Event_team_13.json +++ b/libs/wire-api/test/golden/testObject_Event_team_13.json @@ -2,7 +2,7 @@ "data": { "binding": false, "creator": "00000000-0000-0002-0000-000400000000", - "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", + "icon": "\u0008􆿱", "icon_key": ",7\u0007S", "id": "00000002-0000-0003-0000-000200000001", "name": "\u0008h0󺴴" diff --git a/libs/wire-api/test/golden/testObject_NewBotResponse_provider_10.json b/libs/wire-api/test/golden/testObject_NewBotResponse_provider_10.json index 97834f65c1f..8c206d3e0e5 100644 --- a/libs/wire-api/test/golden/testObject_NewBotResponse_provider_10.json +++ b/libs/wire-api/test/golden/testObject_NewBotResponse_provider_10.json @@ -2,7 +2,7 @@ "accent_id": -5, "assets": [ { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "", "type": "image" } ], diff --git a/libs/wire-api/test/golden/testObject_NewBotResponse_provider_13.json b/libs/wire-api/test/golden/testObject_NewBotResponse_provider_13.json index 3f8a4222ac5..10c2c3e593b 100644 --- a/libs/wire-api/test/golden/testObject_NewBotResponse_provider_13.json +++ b/libs/wire-api/test/golden/testObject_NewBotResponse_provider_13.json @@ -2,30 +2,30 @@ "accent_id": -6, "assets": [ { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "\u0010k", "size": "preview", "type": "image" }, { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "/", "type": "image" }, { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "", "size": "preview", "type": "image" }, { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "", "type": "image" }, { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "呬𮀉", "size": "complete", "type": "image" }, { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "\u000c􇀊E", "size": "preview", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_NewBotResponse_provider_16.json b/libs/wire-api/test/golden/testObject_NewBotResponse_provider_16.json index 06779bb3835..490d5905858 100644 --- a/libs/wire-api/test/golden/testObject_NewBotResponse_provider_16.json +++ b/libs/wire-api/test/golden/testObject_NewBotResponse_provider_16.json @@ -2,7 +2,12 @@ "accent_id": -5, "assets": [ { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "\"吝󿳖", + "size": "complete", + "type": "image" + }, + { + "key": "", "size": "complete", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_NewBotResponse_provider_18.json b/libs/wire-api/test/golden/testObject_NewBotResponse_provider_18.json index bd39b093114..e2c845c07f1 100644 --- a/libs/wire-api/test/golden/testObject_NewBotResponse_provider_18.json +++ b/libs/wire-api/test/golden/testObject_NewBotResponse_provider_18.json @@ -2,17 +2,17 @@ "accent_id": 8, "assets": [ { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "\u001c", "size": "complete", "type": "image" }, { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "𖫳󰑑", "size": "preview", "type": "image" }, { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "", "size": "preview", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_NewBotResponse_provider_19.json b/libs/wire-api/test/golden/testObject_NewBotResponse_provider_19.json index d69befdcbc7..779f6e45c78 100644 --- a/libs/wire-api/test/golden/testObject_NewBotResponse_provider_19.json +++ b/libs/wire-api/test/golden/testObject_NewBotResponse_provider_19.json @@ -1,27 +1,27 @@ { "assets": [ { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "𦳝\u0011", "size": "complete", "type": "image" }, { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "\t", "size": "preview", "type": "image" }, { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "V#", "size": "complete", "type": "image" }, { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "", "size": "preview", "type": "image" }, { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "(\u0003", "size": "complete", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_NewBotResponse_provider_2.json b/libs/wire-api/test/golden/testObject_NewBotResponse_provider_2.json index eb75d9b63dc..8da98068cc8 100644 --- a/libs/wire-api/test/golden/testObject_NewBotResponse_provider_2.json +++ b/libs/wire-api/test/golden/testObject_NewBotResponse_provider_2.json @@ -1,22 +1,22 @@ { "assets": [ { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "C#􁹦", "size": "complete", "type": "image" }, { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "\u0014\n", "size": "complete", "type": "image" }, { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "V", "size": "complete", "type": "image" }, { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "Y+_", "size": "complete", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_NewBotResponse_provider_20.json b/libs/wire-api/test/golden/testObject_NewBotResponse_provider_20.json index 0a7b710fff6..aa68bf97097 100644 --- a/libs/wire-api/test/golden/testObject_NewBotResponse_provider_20.json +++ b/libs/wire-api/test/golden/testObject_NewBotResponse_provider_20.json @@ -1,17 +1,17 @@ { "assets": [ { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "\"", "size": "preview", "type": "image" }, { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "􆵛d", "size": "preview", "type": "image" }, { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "8", "size": "complete", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_NewBotResponse_provider_3.json b/libs/wire-api/test/golden/testObject_NewBotResponse_provider_3.json index 7d833c75372..e7dc04b5481 100644 --- a/libs/wire-api/test/golden/testObject_NewBotResponse_provider_3.json +++ b/libs/wire-api/test/golden/testObject_NewBotResponse_provider_3.json @@ -2,16 +2,16 @@ "accent_id": 0, "assets": [ { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "'\u0012", "type": "image" }, { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "`", "size": "preview", "type": "image" }, { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "?􈯅\u001b", "size": "preview", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_NewBotResponse_provider_8.json b/libs/wire-api/test/golden/testObject_NewBotResponse_provider_8.json index fc11374d349..161483bf34e 100644 --- a/libs/wire-api/test/golden/testObject_NewBotResponse_provider_8.json +++ b/libs/wire-api/test/golden/testObject_NewBotResponse_provider_8.json @@ -1,21 +1,21 @@ { "assets": [ { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "ᘻ~", "size": "preview", "type": "image" }, { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "i𗳫", "size": "preview", "type": "image" }, { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "\\", "type": "image" }, { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "%o", "size": "preview", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_NewService_provider_10.json b/libs/wire-api/test/golden/testObject_NewService_provider_10.json index 88656b0eb3c..7164b7e67eb 100644 --- a/libs/wire-api/test/golden/testObject_NewService_provider_10.json +++ b/libs/wire-api/test/golden/testObject_NewService_provider_10.json @@ -1,7 +1,16 @@ { "assets": [ { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "", + "size": "complete", + "type": "image" + }, + { + "key": "", + "type": "image" + }, + { + "key": "", "size": "complete", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_NewService_provider_11.json b/libs/wire-api/test/golden/testObject_NewService_provider_11.json index 2a6646e7857..b819e5500ac 100644 --- a/libs/wire-api/test/golden/testObject_NewService_provider_11.json +++ b/libs/wire-api/test/golden/testObject_NewService_provider_11.json @@ -1,7 +1,16 @@ { "assets": [ { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "", + "type": "image" + }, + { + "key": "", + "size": "preview", + "type": "image" + }, + { + "key": "", "size": "complete", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_NewService_provider_12.json b/libs/wire-api/test/golden/testObject_NewService_provider_12.json index 77d144457f4..9b31888d423 100644 --- a/libs/wire-api/test/golden/testObject_NewService_provider_12.json +++ b/libs/wire-api/test/golden/testObject_NewService_provider_12.json @@ -1,7 +1,7 @@ { "assets": [ { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "", "type": "image" } ], diff --git a/libs/wire-api/test/golden/testObject_NewService_provider_13.json b/libs/wire-api/test/golden/testObject_NewService_provider_13.json index 1ecdd4e4744..0c81a7abb80 100644 --- a/libs/wire-api/test/golden/testObject_NewService_provider_13.json +++ b/libs/wire-api/test/golden/testObject_NewService_provider_13.json @@ -1,7 +1,7 @@ { "assets": [ { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "g", "size": "preview", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_NewService_provider_14.json b/libs/wire-api/test/golden/testObject_NewService_provider_14.json index 54a58187f36..842bfede2f6 100644 --- a/libs/wire-api/test/golden/testObject_NewService_provider_14.json +++ b/libs/wire-api/test/golden/testObject_NewService_provider_14.json @@ -1,7 +1,7 @@ { "assets": [ { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "", "size": "preview", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_NewService_provider_15.json b/libs/wire-api/test/golden/testObject_NewService_provider_15.json index fc9655b8ca4..8f4761c8d7f 100644 --- a/libs/wire-api/test/golden/testObject_NewService_provider_15.json +++ b/libs/wire-api/test/golden/testObject_NewService_provider_15.json @@ -1,7 +1,12 @@ { "assets": [ { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "", + "size": "complete", + "type": "image" + }, + { + "key": "", "size": "preview", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_NewService_provider_16.json b/libs/wire-api/test/golden/testObject_NewService_provider_16.json index b1ae02f07cb..1edf7e274d3 100644 --- a/libs/wire-api/test/golden/testObject_NewService_provider_16.json +++ b/libs/wire-api/test/golden/testObject_NewService_provider_16.json @@ -1,21 +1,21 @@ { "assets": [ { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "", "size": "complete", "type": "image" }, { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "", "type": "image" }, { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "", "size": "preview", "type": "image" }, { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "", "size": "complete", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_NewService_provider_18.json b/libs/wire-api/test/golden/testObject_NewService_provider_18.json index 3b3d9dbc070..03ec6a44e2c 100644 --- a/libs/wire-api/test/golden/testObject_NewService_provider_18.json +++ b/libs/wire-api/test/golden/testObject_NewService_provider_18.json @@ -1,7 +1,15 @@ { "assets": [ { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "", + "type": "image" + }, + { + "key": "", + "type": "image" + }, + { + "key": "", "type": "image" } ], diff --git a/libs/wire-api/test/golden/testObject_NewService_provider_19.json b/libs/wire-api/test/golden/testObject_NewService_provider_19.json index 710d35140c6..05a1aab2612 100644 --- a/libs/wire-api/test/golden/testObject_NewService_provider_19.json +++ b/libs/wire-api/test/golden/testObject_NewService_provider_19.json @@ -1,7 +1,7 @@ { "assets": [ { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "", "type": "image" } ], diff --git a/libs/wire-api/test/golden/testObject_NewService_provider_20.json b/libs/wire-api/test/golden/testObject_NewService_provider_20.json index 7305469136c..b01417adb15 100644 --- a/libs/wire-api/test/golden/testObject_NewService_provider_20.json +++ b/libs/wire-api/test/golden/testObject_NewService_provider_20.json @@ -1,7 +1,7 @@ { "assets": [ { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "", "size": "preview", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_NewService_provider_4.json b/libs/wire-api/test/golden/testObject_NewService_provider_4.json index a992cbef58a..5ab941b4e13 100644 --- a/libs/wire-api/test/golden/testObject_NewService_provider_4.json +++ b/libs/wire-api/test/golden/testObject_NewService_provider_4.json @@ -1,7 +1,17 @@ { "assets": [ { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "", + "size": "complete", + "type": "image" + }, + { + "key": "", + "size": "preview", + "type": "image" + }, + { + "key": "", "size": "preview", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_NewService_provider_5.json b/libs/wire-api/test/golden/testObject_NewService_provider_5.json index c3f5c2c30bc..38ea4547e38 100644 --- a/libs/wire-api/test/golden/testObject_NewService_provider_5.json +++ b/libs/wire-api/test/golden/testObject_NewService_provider_5.json @@ -1,31 +1,31 @@ { "assets": [ { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "", "size": "preview", "type": "image" }, { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "", "size": "preview", "type": "image" }, { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "", "type": "image" }, { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "", "size": "preview", "type": "image" }, { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "", "size": "preview", "type": "image" }, { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "", "size": "complete", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_NewService_provider_6.json b/libs/wire-api/test/golden/testObject_NewService_provider_6.json index 7ed1a9376b2..3371cc45021 100644 --- a/libs/wire-api/test/golden/testObject_NewService_provider_6.json +++ b/libs/wire-api/test/golden/testObject_NewService_provider_6.json @@ -1,7 +1,7 @@ { "assets": [ { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "", "type": "image" } ], diff --git a/libs/wire-api/test/golden/testObject_NewService_provider_7.json b/libs/wire-api/test/golden/testObject_NewService_provider_7.json index 784130b735d..7b607c78134 100644 --- a/libs/wire-api/test/golden/testObject_NewService_provider_7.json +++ b/libs/wire-api/test/golden/testObject_NewService_provider_7.json @@ -1,7 +1,7 @@ { "assets": [ { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "\u0006", "size": "complete", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_NewService_provider_8.json b/libs/wire-api/test/golden/testObject_NewService_provider_8.json index dc5ccf6a385..ad7c718ad30 100644 --- a/libs/wire-api/test/golden/testObject_NewService_provider_8.json +++ b/libs/wire-api/test/golden/testObject_NewService_provider_8.json @@ -1,7 +1,12 @@ { "assets": [ { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "", + "size": "preview", + "type": "image" + }, + { + "key": "", "size": "complete", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_NewUserPublic_user_1.json b/libs/wire-api/test/golden/testObject_NewUserPublic_user_1.json index f4c138be250..536556b965d 100644 --- a/libs/wire-api/test/golden/testObject_NewUserPublic_user_1.json +++ b/libs/wire-api/test/golden/testObject_NewUserPublic_user_1.json @@ -2,16 +2,16 @@ "accent_id": 39125, "assets": [ { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "", "size": "complete", "type": "image" }, { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "(󼊊\u001bp󳢼u]'􅄻", "type": "image" }, { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "􁿐f", "size": "preview", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_NewUser_user_1.json b/libs/wire-api/test/golden/testObject_NewUser_user_1.json index 975b72224b9..6fb028d3955 100644 --- a/libs/wire-api/test/golden/testObject_NewUser_user_1.json +++ b/libs/wire-api/test/golden/testObject_NewUser_user_1.json @@ -2,17 +2,17 @@ "accent_id": -7404, "assets": [ { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "ᏸ5\u0014󸾲𗓰`\u0007\u001aG{?", "size": "preview", "type": "image" }, { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "something", "size": "complete", "type": "image" }, { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "KE", "type": "image" } ], diff --git a/libs/wire-api/test/golden/testObject_NewUser_user_7.json b/libs/wire-api/test/golden/testObject_NewUser_user_7.json index 291e71c640d..a778929fa94 100644 --- a/libs/wire-api/test/golden/testObject_NewUser_user_7.json +++ b/libs/wire-api/test/golden/testObject_NewUser_user_7.json @@ -5,7 +5,7 @@ "phone": "+12345678", "team": { "currency": "XUA", - "icon": "default", + "icon": "Coq쳋\u000b𬟀", "icon_key": "\u0006c𥁱L ,", "name": "\u000ce\u0005󷀰zm" } diff --git a/libs/wire-api/test/golden/testObject_ServiceProfilePage_provider_11.json b/libs/wire-api/test/golden/testObject_ServiceProfilePage_provider_11.json index 7ab7a1a8984..5de6225d157 100644 --- a/libs/wire-api/test/golden/testObject_ServiceProfilePage_provider_11.json +++ b/libs/wire-api/test/golden/testObject_ServiceProfilePage_provider_11.json @@ -4,7 +4,7 @@ { "assets": [ { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "", "size": "preview", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_ServiceProfile_provider_1.json b/libs/wire-api/test/golden/testObject_ServiceProfile_provider_1.json index 163fe345386..f489283e9eb 100644 --- a/libs/wire-api/test/golden/testObject_ServiceProfile_provider_1.json +++ b/libs/wire-api/test/golden/testObject_ServiceProfile_provider_1.json @@ -1,7 +1,7 @@ { "assets": [ { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "\u001b", "type": "image" } ], diff --git a/libs/wire-api/test/golden/testObject_ServiceProfile_provider_10.json b/libs/wire-api/test/golden/testObject_ServiceProfile_provider_10.json index 80a10f49374..d7a79140493 100644 --- a/libs/wire-api/test/golden/testObject_ServiceProfile_provider_10.json +++ b/libs/wire-api/test/golden/testObject_ServiceProfile_provider_10.json @@ -1,7 +1,12 @@ { "assets": [ { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "", + "size": "preview", + "type": "image" + }, + { + "key": "", "type": "image" } ], diff --git a/libs/wire-api/test/golden/testObject_ServiceProfile_provider_13.json b/libs/wire-api/test/golden/testObject_ServiceProfile_provider_13.json index 79478060368..7d4a6540b94 100644 --- a/libs/wire-api/test/golden/testObject_ServiceProfile_provider_13.json +++ b/libs/wire-api/test/golden/testObject_ServiceProfile_provider_13.json @@ -1,7 +1,7 @@ { "assets": [ { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "B", "type": "image" } ], diff --git a/libs/wire-api/test/golden/testObject_ServiceProfile_provider_15.json b/libs/wire-api/test/golden/testObject_ServiceProfile_provider_15.json index 0c42a0a0b79..40320f66c4e 100644 --- a/libs/wire-api/test/golden/testObject_ServiceProfile_provider_15.json +++ b/libs/wire-api/test/golden/testObject_ServiceProfile_provider_15.json @@ -1,7 +1,7 @@ { "assets": [ { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "*", "type": "image" } ], diff --git a/libs/wire-api/test/golden/testObject_ServiceProfile_provider_16.json b/libs/wire-api/test/golden/testObject_ServiceProfile_provider_16.json index 3c3c435f0f5..0939bdefb07 100644 --- a/libs/wire-api/test/golden/testObject_ServiceProfile_provider_16.json +++ b/libs/wire-api/test/golden/testObject_ServiceProfile_provider_16.json @@ -1,7 +1,12 @@ { "assets": [ { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "", + "size": "preview", + "type": "image" + }, + { + "key": "", "size": "preview", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_ServiceProfile_provider_17.json b/libs/wire-api/test/golden/testObject_ServiceProfile_provider_17.json index 62ecef784b4..add08735159 100644 --- a/libs/wire-api/test/golden/testObject_ServiceProfile_provider_17.json +++ b/libs/wire-api/test/golden/testObject_ServiceProfile_provider_17.json @@ -1,7 +1,12 @@ { "assets": [ { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "", + "size": "complete", + "type": "image" + }, + { + "key": "", "size": "complete", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_ServiceProfile_provider_2.json b/libs/wire-api/test/golden/testObject_ServiceProfile_provider_2.json index eccf6c18d40..c4f71c210a3 100644 --- a/libs/wire-api/test/golden/testObject_ServiceProfile_provider_2.json +++ b/libs/wire-api/test/golden/testObject_ServiceProfile_provider_2.json @@ -1,22 +1,22 @@ { "assets": [ { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "", "size": "complete", "type": "image" }, { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "", "size": "complete", "type": "image" }, { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "", "size": "complete", "type": "image" }, { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "", "size": "complete", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_ServiceProfile_provider_3.json b/libs/wire-api/test/golden/testObject_ServiceProfile_provider_3.json index bf3d110ee57..5aea13d2406 100644 --- a/libs/wire-api/test/golden/testObject_ServiceProfile_provider_3.json +++ b/libs/wire-api/test/golden/testObject_ServiceProfile_provider_3.json @@ -1,7 +1,11 @@ { "assets": [ { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "", + "type": "image" + }, + { + "key": "", "size": "preview", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_ServiceProfile_provider_4.json b/libs/wire-api/test/golden/testObject_ServiceProfile_provider_4.json index 62ec6cb9e72..20897d07227 100644 --- a/libs/wire-api/test/golden/testObject_ServiceProfile_provider_4.json +++ b/libs/wire-api/test/golden/testObject_ServiceProfile_provider_4.json @@ -1,7 +1,7 @@ { "assets": [ { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "1", "size": "complete", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_ServiceProfile_provider_6.json b/libs/wire-api/test/golden/testObject_ServiceProfile_provider_6.json index 2a9ce8c82b8..06d9b7c11d5 100644 --- a/libs/wire-api/test/golden/testObject_ServiceProfile_provider_6.json +++ b/libs/wire-api/test/golden/testObject_ServiceProfile_provider_6.json @@ -1,25 +1,25 @@ { "assets": [ { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "", "type": "image" }, { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "", "size": "complete", "type": "image" }, { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "", "size": "complete", "type": "image" }, { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "", "type": "image" }, { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "", "size": "complete", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_ServiceProfile_provider_9.json b/libs/wire-api/test/golden/testObject_ServiceProfile_provider_9.json index 282f807626b..ccbb904285c 100644 --- a/libs/wire-api/test/golden/testObject_ServiceProfile_provider_9.json +++ b/libs/wire-api/test/golden/testObject_ServiceProfile_provider_9.json @@ -1,7 +1,7 @@ { "assets": [ { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "\u0011", "type": "image" } ], diff --git a/libs/wire-api/test/golden/testObject_Service_provider_11.json b/libs/wire-api/test/golden/testObject_Service_provider_11.json index 24237ec49e1..a6f0e648e72 100644 --- a/libs/wire-api/test/golden/testObject_Service_provider_11.json +++ b/libs/wire-api/test/golden/testObject_Service_provider_11.json @@ -1,7 +1,12 @@ { "assets": [ { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "", + "size": "complete", + "type": "image" + }, + { + "key": "", "size": "complete", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_Service_provider_12.json b/libs/wire-api/test/golden/testObject_Service_provider_12.json index 275a1c0f8c9..4de5b9715ee 100644 --- a/libs/wire-api/test/golden/testObject_Service_provider_12.json +++ b/libs/wire-api/test/golden/testObject_Service_provider_12.json @@ -1,17 +1,17 @@ { "assets": [ { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "", "size": "preview", "type": "image" }, { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "", "size": "complete", "type": "image" }, { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "", "size": "complete", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_Service_provider_13.json b/libs/wire-api/test/golden/testObject_Service_provider_13.json index 1662fda8125..7259671be23 100644 --- a/libs/wire-api/test/golden/testObject_Service_provider_13.json +++ b/libs/wire-api/test/golden/testObject_Service_provider_13.json @@ -1,7 +1,7 @@ { "assets": [ { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "", "size": "complete", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_Service_provider_14.json b/libs/wire-api/test/golden/testObject_Service_provider_14.json index 533ab463127..d3e8f5e933e 100644 --- a/libs/wire-api/test/golden/testObject_Service_provider_14.json +++ b/libs/wire-api/test/golden/testObject_Service_provider_14.json @@ -1,7 +1,7 @@ { "assets": [ { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "A", "size": "preview", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_Service_provider_15.json b/libs/wire-api/test/golden/testObject_Service_provider_15.json index 11b50f74dd0..113b41b921a 100644 --- a/libs/wire-api/test/golden/testObject_Service_provider_15.json +++ b/libs/wire-api/test/golden/testObject_Service_provider_15.json @@ -1,35 +1,35 @@ { "assets": [ { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "", "size": "preview", "type": "image" }, { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "", "size": "complete", "type": "image" }, { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "", "size": "preview", "type": "image" }, { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "", "size": "preview", "type": "image" }, { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "", "type": "image" }, { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "", "type": "image" }, { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "", "size": "complete", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_Service_provider_16.json b/libs/wire-api/test/golden/testObject_Service_provider_16.json index 2968134faac..8013b050279 100644 --- a/libs/wire-api/test/golden/testObject_Service_provider_16.json +++ b/libs/wire-api/test/golden/testObject_Service_provider_16.json @@ -1,7 +1,11 @@ { "assets": [ { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "", + "type": "image" + }, + { + "key": "", "size": "complete", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_Service_provider_2.json b/libs/wire-api/test/golden/testObject_Service_provider_2.json index 8463539f0e5..a129126c8eb 100644 --- a/libs/wire-api/test/golden/testObject_Service_provider_2.json +++ b/libs/wire-api/test/golden/testObject_Service_provider_2.json @@ -1,7 +1,12 @@ { "assets": [ { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "", + "size": "complete", + "type": "image" + }, + { + "key": "", "size": "complete", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_Service_provider_4.json b/libs/wire-api/test/golden/testObject_Service_provider_4.json index 8e3c74622d8..b227bc0a2ac 100644 --- a/libs/wire-api/test/golden/testObject_Service_provider_4.json +++ b/libs/wire-api/test/golden/testObject_Service_provider_4.json @@ -1,7 +1,7 @@ { "assets": [ { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "", "size": "complete", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_Service_provider_6.json b/libs/wire-api/test/golden/testObject_Service_provider_6.json index ea1d4c176e0..ef2d363e957 100644 --- a/libs/wire-api/test/golden/testObject_Service_provider_6.json +++ b/libs/wire-api/test/golden/testObject_Service_provider_6.json @@ -1,26 +1,26 @@ { "assets": [ { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "", "size": "complete", "type": "image" }, { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "", "size": "preview", "type": "image" }, { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "", "type": "image" }, { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "", "size": "preview", "type": "image" }, { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "", "size": "preview", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_Service_provider_7.json b/libs/wire-api/test/golden/testObject_Service_provider_7.json index 3a434d76102..5c3fdd8cd07 100644 --- a/libs/wire-api/test/golden/testObject_Service_provider_7.json +++ b/libs/wire-api/test/golden/testObject_Service_provider_7.json @@ -1,7 +1,7 @@ { "assets": [ { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "", "size": "preview", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_TeamList_team_1.json b/libs/wire-api/test/golden/testObject_TeamList_team_1.json index bff30e166e2..9253c096fd3 100644 --- a/libs/wire-api/test/golden/testObject_TeamList_team_1.json +++ b/libs/wire-api/test/golden/testObject_TeamList_team_1.json @@ -4,7 +4,7 @@ { "binding": false, "creator": "00000000-0000-0000-0000-000100000000", - "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", + "icon": "", "icon_key": "", "id": "00000001-0000-0001-0000-000000000000", "name": "" @@ -12,7 +12,7 @@ { "binding": false, "creator": "00000000-0000-0000-0000-000000000001", - "icon": "default", + "icon": "", "icon_key": "", "id": "00000001-0000-0001-0000-000100000000", "name": "" @@ -20,7 +20,7 @@ { "binding": false, "creator": "00000001-0000-0000-0000-000000000001", - "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", + "icon": "", "id": "00000001-0000-0000-0000-000000000000", "name": "" } diff --git a/libs/wire-api/test/golden/testObject_TeamList_team_12.json b/libs/wire-api/test/golden/testObject_TeamList_team_12.json index c7d736fbd40..ed1c32bbfdf 100644 --- a/libs/wire-api/test/golden/testObject_TeamList_team_12.json +++ b/libs/wire-api/test/golden/testObject_TeamList_team_12.json @@ -4,7 +4,7 @@ { "binding": false, "creator": "00000002-0000-0000-0000-000100000000", - "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", + "icon": "bi", "icon_key": "", "id": "00000000-0000-0002-0000-000200000001", "name": "/锟" diff --git a/libs/wire-api/test/golden/testObject_TeamList_team_14.json b/libs/wire-api/test/golden/testObject_TeamList_team_14.json index 7a2e8a767d4..88c4fec2777 100644 --- a/libs/wire-api/test/golden/testObject_TeamList_team_14.json +++ b/libs/wire-api/test/golden/testObject_TeamList_team_14.json @@ -4,7 +4,7 @@ { "binding": false, "creator": "00000000-0000-0001-0000-000000000000", - "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", + "icon": "", "icon_key": "", "id": "00000000-0000-0001-0000-000000000000", "name": "" @@ -12,7 +12,7 @@ { "binding": false, "creator": "00000001-0000-0001-0000-000000000001", - "icon": "default", + "icon": "", "icon_key": "", "id": "00000001-0000-0000-0000-000100000001", "name": "" @@ -20,7 +20,7 @@ { "binding": false, "creator": "00000000-0000-0001-0000-000100000001", - "icon": "default", + "icon": "", "icon_key": "", "id": "00000001-0000-0000-0000-000000000001", "name": "" @@ -28,7 +28,7 @@ { "binding": false, "creator": "00000000-0000-0001-0000-000100000001", - "icon": "default", + "icon": "", "icon_key": "", "id": "00000000-0000-0001-0000-000100000000", "name": "" @@ -36,7 +36,7 @@ { "binding": false, "creator": "00000001-0000-0001-0000-000100000000", - "icon": "default", + "icon": "", "icon_key": "", "id": "00000001-0000-0000-0000-000100000001", "name": "" @@ -44,7 +44,7 @@ { "binding": false, "creator": "00000000-0000-0000-0000-000000000000", - "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", + "icon": "", "id": "00000000-0000-0001-0000-000100000001", "name": "" } diff --git a/libs/wire-api/test/golden/testObject_TeamList_team_15.json b/libs/wire-api/test/golden/testObject_TeamList_team_15.json index 28c5a4b1e0d..6596778c10f 100644 --- a/libs/wire-api/test/golden/testObject_TeamList_team_15.json +++ b/libs/wire-api/test/golden/testObject_TeamList_team_15.json @@ -4,14 +4,14 @@ { "binding": false, "creator": "00000001-0000-0001-0000-000000000001", - "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", + "icon": "", "id": "00000001-0000-0001-0000-000000000000", "name": "" }, { "binding": false, "creator": "00000000-0000-0000-0000-000100000001", - "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", + "icon": "", "icon_key": "", "id": "00000000-0000-0000-0000-000100000000", "name": "" @@ -19,14 +19,14 @@ { "binding": true, "creator": "00000001-0000-0000-0000-000000000001", - "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", + "icon": "", "id": "00000000-0000-0001-0000-000100000000", "name": "" }, { "binding": false, "creator": "00000000-0000-0000-0000-000100000001", - "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", + "icon": "", "icon_key": "", "id": "00000000-0000-0000-0000-000100000000", "name": "" @@ -34,7 +34,7 @@ { "binding": true, "creator": "00000001-0000-0000-0000-000000000000", - "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", + "icon": "", "id": "00000001-0000-0001-0000-000000000001", "name": "" } diff --git a/libs/wire-api/test/golden/testObject_TeamList_team_16.json b/libs/wire-api/test/golden/testObject_TeamList_team_16.json index 3fdaa492cc8..0cf64604e2b 100644 --- a/libs/wire-api/test/golden/testObject_TeamList_team_16.json +++ b/libs/wire-api/test/golden/testObject_TeamList_team_16.json @@ -4,7 +4,7 @@ { "binding": true, "creator": "00000002-0000-0000-0000-000200000000", - "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", + "icon": "e乥", "icon_key": "􏵷(", "id": "00000001-0000-0001-0000-000100000002", "name": "𩬟" diff --git a/libs/wire-api/test/golden/testObject_TeamList_team_18.json b/libs/wire-api/test/golden/testObject_TeamList_team_18.json index eb3fcc22530..c6c35099637 100644 --- a/libs/wire-api/test/golden/testObject_TeamList_team_18.json +++ b/libs/wire-api/test/golden/testObject_TeamList_team_18.json @@ -4,7 +4,7 @@ { "binding": false, "creator": "00000002-0000-0000-0000-000000000000", - "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", + "icon": "!", "id": "00000000-0000-0000-0000-000000000002", "name": "W1" } diff --git a/libs/wire-api/test/golden/testObject_TeamList_team_19.json b/libs/wire-api/test/golden/testObject_TeamList_team_19.json index 84fbbb6ecff..0a14a863117 100644 --- a/libs/wire-api/test/golden/testObject_TeamList_team_19.json +++ b/libs/wire-api/test/golden/testObject_TeamList_team_19.json @@ -4,7 +4,7 @@ { "binding": true, "creator": "00000001-0000-0001-0000-000200000002", - "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", + "icon": "7", "icon_key": "𮏥(", "id": "00000001-0000-0002-0000-000200000000", "name": "" diff --git a/libs/wire-api/test/golden/testObject_TeamList_team_2.json b/libs/wire-api/test/golden/testObject_TeamList_team_2.json index 2c6a45a51ab..d9bbcfc9d92 100644 --- a/libs/wire-api/test/golden/testObject_TeamList_team_2.json +++ b/libs/wire-api/test/golden/testObject_TeamList_team_2.json @@ -4,7 +4,7 @@ { "binding": true, "creator": "00000001-0000-0001-0000-000000000001", - "icon": "default", + "icon": "𪤬", "icon_key": "@", "id": "00000000-0000-0001-0000-000100000000", "name": "7" @@ -12,7 +12,7 @@ { "binding": true, "creator": "00000000-0000-0000-0000-000000000000", - "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", + "icon": "", "icon_key": "", "id": "00000000-0000-0001-0000-000000000000", "name": "" diff --git a/libs/wire-api/test/golden/testObject_TeamList_team_20.json b/libs/wire-api/test/golden/testObject_TeamList_team_20.json index 50abbb73582..d2d074718a3 100644 --- a/libs/wire-api/test/golden/testObject_TeamList_team_20.json +++ b/libs/wire-api/test/golden/testObject_TeamList_team_20.json @@ -4,14 +4,14 @@ { "binding": true, "creator": "00000000-0000-0000-0000-000000000001", - "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", + "icon": "", "id": "00000001-0000-0001-0000-000000000000", "name": "" }, { "binding": true, "creator": "00000000-0000-0001-0000-000000000000", - "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", + "icon": "", "icon_key": "", "id": "00000001-0000-0000-0000-000000000000", "name": "" @@ -19,7 +19,7 @@ { "binding": true, "creator": "00000000-0000-0001-0000-000000000001", - "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", + "icon": "", "icon_key": "", "id": "00000000-0000-0001-0000-000100000001", "name": "" @@ -27,7 +27,7 @@ { "binding": false, "creator": "00000001-0000-0001-0000-000000000000", - "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", + "icon": "", "id": "00000001-0000-0001-0000-000000000001", "name": "" } diff --git a/libs/wire-api/test/golden/testObject_TeamList_team_3.json b/libs/wire-api/test/golden/testObject_TeamList_team_3.json index 0596d30a2bc..93425d17390 100644 --- a/libs/wire-api/test/golden/testObject_TeamList_team_3.json +++ b/libs/wire-api/test/golden/testObject_TeamList_team_3.json @@ -4,7 +4,7 @@ { "binding": false, "creator": "00000000-0000-0001-0000-000100000002", - "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", + "icon": "", "id": "00000001-0000-0002-0000-000200000000", "name": "" } diff --git a/libs/wire-api/test/golden/testObject_TeamList_team_4.json b/libs/wire-api/test/golden/testObject_TeamList_team_4.json index bfd1d2ba4d9..ee8f255d4cd 100644 --- a/libs/wire-api/test/golden/testObject_TeamList_team_4.json +++ b/libs/wire-api/test/golden/testObject_TeamList_team_4.json @@ -4,7 +4,7 @@ { "binding": false, "creator": "00000000-0000-0001-0000-000100000000", - "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", + "icon": "", "icon_key": "", "id": "00000001-0000-0001-0000-000100000001", "name": "􄃌" @@ -12,7 +12,7 @@ { "binding": false, "creator": "00000001-0000-0001-0000-000100000000", - "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", + "icon": "", "icon_key": "", "id": "00000001-0000-0000-0000-000100000001", "name": "" diff --git a/libs/wire-api/test/golden/testObject_TeamList_team_5.json b/libs/wire-api/test/golden/testObject_TeamList_team_5.json index d3d0eb0e8d2..5c31ced6d52 100644 --- a/libs/wire-api/test/golden/testObject_TeamList_team_5.json +++ b/libs/wire-api/test/golden/testObject_TeamList_team_5.json @@ -4,7 +4,7 @@ { "binding": false, "creator": "00000000-0000-0001-0000-000100000001", - "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", + "icon": "", "icon_key": "", "id": "00000001-0000-0000-0000-000000000001", "name": "" @@ -12,7 +12,7 @@ { "binding": true, "creator": "00000001-0000-0001-0000-000100000001", - "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", + "icon": "", "icon_key": "", "id": "00000001-0000-0000-0000-000000000000", "name": "" @@ -20,7 +20,7 @@ { "binding": false, "creator": "00000001-0000-0001-0000-000000000001", - "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", + "icon": "", "icon_key": "", "id": "00000000-0000-0001-0000-000000000000", "name": "" @@ -28,7 +28,7 @@ { "binding": false, "creator": "00000001-0000-0001-0000-000100000000", - "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", + "icon": "", "icon_key": "", "id": "00000000-0000-0001-0000-000000000000", "name": "" @@ -36,7 +36,7 @@ { "binding": true, "creator": "00000000-0000-0000-0000-000100000000", - "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", + "icon": "", "icon_key": "", "id": "00000000-0000-0000-0000-000100000001", "name": "" @@ -44,14 +44,14 @@ { "binding": false, "creator": "00000001-0000-0001-0000-000000000000", - "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", + "icon": "", "id": "00000000-0000-0000-0000-000100000000", "name": "" }, { "binding": false, "creator": "00000001-0000-0000-0000-000100000000", - "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", + "icon": "", "icon_key": "", "id": "00000001-0000-0001-0000-000100000000", "name": "" diff --git a/libs/wire-api/test/golden/testObject_TeamList_team_6.json b/libs/wire-api/test/golden/testObject_TeamList_team_6.json index 7509a92e1da..de67b8024a0 100644 --- a/libs/wire-api/test/golden/testObject_TeamList_team_6.json +++ b/libs/wire-api/test/golden/testObject_TeamList_team_6.json @@ -4,7 +4,7 @@ { "binding": false, "creator": "00000001-0000-0000-0000-000000000000", - "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", + "icon": "󺯟", "id": "00000000-0000-0001-0000-000000000000", "name": " " } diff --git a/libs/wire-api/test/golden/testObject_TeamList_team_7.json b/libs/wire-api/test/golden/testObject_TeamList_team_7.json index ec65a7d3037..7a6e537de35 100644 --- a/libs/wire-api/test/golden/testObject_TeamList_team_7.json +++ b/libs/wire-api/test/golden/testObject_TeamList_team_7.json @@ -4,14 +4,14 @@ { "binding": false, "creator": "00000001-0000-0001-0000-000100000001", - "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", + "icon": "\u0011", "id": "00000001-0000-0000-0000-000000000001", "name": "" }, { "binding": true, "creator": "00000000-0000-0001-0000-000000000001", - "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", + "icon": "", "icon_key": "", "id": "00000000-0000-0001-0000-000100000001", "name": "" diff --git a/libs/wire-api/test/golden/testObject_TeamList_team_9.json b/libs/wire-api/test/golden/testObject_TeamList_team_9.json index 8ed2ea75d48..da14cb80b1f 100644 --- a/libs/wire-api/test/golden/testObject_TeamList_team_9.json +++ b/libs/wire-api/test/golden/testObject_TeamList_team_9.json @@ -4,7 +4,7 @@ { "binding": false, "creator": "00000001-0000-0000-0000-000000000001", - "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", + "icon": "", "icon_key": "", "id": "00000000-0000-0001-0000-000000000000", "name": "" @@ -12,7 +12,7 @@ { "binding": false, "creator": "00000001-0000-0000-0000-000000000001", - "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", + "icon": "", "icon_key": "", "id": "00000000-0000-0001-0000-000100000000", "name": "" @@ -20,14 +20,14 @@ { "binding": false, "creator": "00000001-0000-0000-0000-000000000001", - "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", + "icon": "", "id": "00000000-0000-0000-0000-000100000000", "name": "" }, { "binding": true, "creator": "00000000-0000-0000-0000-000100000000", - "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", + "icon": "", "icon_key": "", "id": "00000000-0000-0000-0000-000100000000", "name": "" @@ -35,7 +35,7 @@ { "binding": false, "creator": "00000000-0000-0000-0000-000000000000", - "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", + "icon": "", "icon_key": "", "id": "00000001-0000-0000-0000-000000000000", "name": "" @@ -43,7 +43,7 @@ { "binding": false, "creator": "00000000-0000-0000-0000-000100000001", - "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", + "icon": "", "icon_key": "", "id": "00000000-0000-0001-0000-000100000001", "name": "" diff --git a/libs/wire-api/test/golden/testObject_Team_team_1.json b/libs/wire-api/test/golden/testObject_Team_team_1.json index 886e64a3a07..1e19543ce8c 100644 --- a/libs/wire-api/test/golden/testObject_Team_team_1.json +++ b/libs/wire-api/test/golden/testObject_Team_team_1.json @@ -1,7 +1,7 @@ { "binding": true, "creator": "00000003-0000-0001-0000-000100000002", - "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", + "icon": "Jw\u001fTB", "icon_key": "󾄡V", "id": "00000004-0000-0003-0000-000200000000", "name": "TJ\u0004" diff --git a/libs/wire-api/test/golden/testObject_Team_team_10.json b/libs/wire-api/test/golden/testObject_Team_team_10.json index d92c6611cb3..140e0689a6f 100644 --- a/libs/wire-api/test/golden/testObject_Team_team_10.json +++ b/libs/wire-api/test/golden/testObject_Team_team_10.json @@ -1,7 +1,7 @@ { "binding": true, "creator": "00000000-0000-0004-0000-000300000000", - "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", + "icon": " ", "icon_key": "􎕩", "id": "00000002-0000-0000-0000-000300000004", "name": "󾶆" diff --git a/libs/wire-api/test/golden/testObject_Team_team_11.json b/libs/wire-api/test/golden/testObject_Team_team_11.json index 7ef218c4dd0..a1d1d1b4971 100644 --- a/libs/wire-api/test/golden/testObject_Team_team_11.json +++ b/libs/wire-api/test/golden/testObject_Team_team_11.json @@ -1,7 +1,7 @@ { "binding": false, "creator": "00000001-0000-0001-0000-000200000003", - "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", + "icon": "b@\u0002룾", "id": "00000002-0000-0004-0000-000300000003", "name": "" } diff --git a/libs/wire-api/test/golden/testObject_Team_team_12.json b/libs/wire-api/test/golden/testObject_Team_team_12.json index 6e5c098936e..442197f003c 100644 --- a/libs/wire-api/test/golden/testObject_Team_team_12.json +++ b/libs/wire-api/test/golden/testObject_Team_team_12.json @@ -1,7 +1,7 @@ { "binding": true, "creator": "00000003-0000-0001-0000-000200000001", - "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", + "icon": "P𭑁", "icon_key": "J\u000f`􆍑", "id": "00000001-0000-0002-0000-000000000001", "name": "yR\u0004U}" diff --git a/libs/wire-api/test/golden/testObject_Team_team_13.json b/libs/wire-api/test/golden/testObject_Team_team_13.json index 399fdb76103..61098e5eb86 100644 --- a/libs/wire-api/test/golden/testObject_Team_team_13.json +++ b/libs/wire-api/test/golden/testObject_Team_team_13.json @@ -1,7 +1,7 @@ { "binding": false, "creator": "00000003-0000-0002-0000-000200000004", - "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", + "icon": "", "id": "00000001-0000-0000-0000-000200000002", "name": "E\u001b" } diff --git a/libs/wire-api/test/golden/testObject_Team_team_14.json b/libs/wire-api/test/golden/testObject_Team_team_14.json index 9129fb0aca6..94c180ac811 100644 --- a/libs/wire-api/test/golden/testObject_Team_team_14.json +++ b/libs/wire-api/test/golden/testObject_Team_team_14.json @@ -1,7 +1,7 @@ { "binding": false, "creator": "00000002-0000-0002-0000-000100000003", - "icon": "default", + "icon": "", "icon_key": "N\u0019\u0003", "id": "00000000-0000-0004-0000-000100000004", "name": ".橠," diff --git a/libs/wire-api/test/golden/testObject_Team_team_15.json b/libs/wire-api/test/golden/testObject_Team_team_15.json index 8aa916bd06f..a2f8c404988 100644 --- a/libs/wire-api/test/golden/testObject_Team_team_15.json +++ b/libs/wire-api/test/golden/testObject_Team_team_15.json @@ -1,7 +1,7 @@ { "binding": true, "creator": "00000004-0000-0000-0000-000400000002", - "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", + "icon": "yM\u001e\u0005", "icon_key": "T\u000c)\tR", "id": "00000003-0000-0004-0000-000000000003", "name": "#k\u0000,;" diff --git a/libs/wire-api/test/golden/testObject_Team_team_16.json b/libs/wire-api/test/golden/testObject_Team_team_16.json index d9aa2cc530e..d67c357b648 100644 --- a/libs/wire-api/test/golden/testObject_Team_team_16.json +++ b/libs/wire-api/test/golden/testObject_Team_team_16.json @@ -1,7 +1,7 @@ { "binding": true, "creator": "00000001-0000-0000-0000-000400000004", - "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", + "icon": "Se", "icon_key": "\u0001C", "id": "00000000-0000-0002-0000-000200000000", "name": "" diff --git a/libs/wire-api/test/golden/testObject_Team_team_17.json b/libs/wire-api/test/golden/testObject_Team_team_17.json index 42db147e830..7cbd2e7cb3b 100644 --- a/libs/wire-api/test/golden/testObject_Team_team_17.json +++ b/libs/wire-api/test/golden/testObject_Team_team_17.json @@ -1,7 +1,7 @@ { "binding": true, "creator": "00000003-0000-0001-0000-000000000004", - "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", + "icon": "A󻘪'W", "id": "00000003-0000-0004-0000-000400000004", "name": "\t\u0008 " } diff --git a/libs/wire-api/test/golden/testObject_Team_team_18.json b/libs/wire-api/test/golden/testObject_Team_team_18.json index e79f9d8fac2..bd9e0f25a87 100644 --- a/libs/wire-api/test/golden/testObject_Team_team_18.json +++ b/libs/wire-api/test/golden/testObject_Team_team_18.json @@ -1,7 +1,7 @@ { "binding": false, "creator": "00000002-0000-0001-0000-000100000002", - "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", + "icon": "_󻓑𩢓", "icon_key": "x:鿪L", "id": "00000002-0000-0002-0000-000200000002", "name": "孙󿞪" diff --git a/libs/wire-api/test/golden/testObject_Team_team_19.json b/libs/wire-api/test/golden/testObject_Team_team_19.json index 39c23c6290d..5faec888a31 100644 --- a/libs/wire-api/test/golden/testObject_Team_team_19.json +++ b/libs/wire-api/test/golden/testObject_Team_team_19.json @@ -1,7 +1,7 @@ { "binding": true, "creator": "00000004-0000-0003-0000-000200000004", - "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", + "icon": ")\u0017\u0005", "icon_key": "V>A", "id": "00000003-0000-0000-0000-000100000001", "name": "P𭷓;gi" diff --git a/libs/wire-api/test/golden/testObject_Team_team_2.json b/libs/wire-api/test/golden/testObject_Team_team_2.json index 826ec582ba7..895a61e70d1 100644 --- a/libs/wire-api/test/golden/testObject_Team_team_2.json +++ b/libs/wire-api/test/golden/testObject_Team_team_2.json @@ -1,7 +1,7 @@ { "binding": false, "creator": "00000000-0000-0004-0000-000000000001", - "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", + "icon": "􍬵\t5", "icon_key": "虱R3q", "id": "00000004-0000-0003-0000-000000000004", "name": "Ycᛄ" diff --git a/libs/wire-api/test/golden/testObject_Team_team_20.json b/libs/wire-api/test/golden/testObject_Team_team_20.json index 5899393e6f2..a2e88fc5df0 100644 --- a/libs/wire-api/test/golden/testObject_Team_team_20.json +++ b/libs/wire-api/test/golden/testObject_Team_team_20.json @@ -1,7 +1,7 @@ { "binding": false, "creator": "00000000-0000-0004-0000-000000000004", - "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", + "icon": "󸷚I\u0002\u0003", "icon_key": "v0􌡴3", "id": "00000000-0000-0004-0000-000400000003", "name": "𮩶c" diff --git a/libs/wire-api/test/golden/testObject_Team_team_3.json b/libs/wire-api/test/golden/testObject_Team_team_3.json index bacd42f414c..d06ee96c92f 100644 --- a/libs/wire-api/test/golden/testObject_Team_team_3.json +++ b/libs/wire-api/test/golden/testObject_Team_team_3.json @@ -1,7 +1,7 @@ { "binding": false, "creator": "00000003-0000-0004-0000-000100000000", - "icon": "default", + "icon": "", "icon_key": "s􁺴", "id": "00000004-0000-0003-0000-000000000003", "name": "2E􊴕" diff --git a/libs/wire-api/test/golden/testObject_Team_team_4.json b/libs/wire-api/test/golden/testObject_Team_team_4.json index 939cc911f07..e2c72e1c830 100644 --- a/libs/wire-api/test/golden/testObject_Team_team_4.json +++ b/libs/wire-api/test/golden/testObject_Team_team_4.json @@ -1,7 +1,7 @@ { "binding": false, "creator": "00000004-0000-0000-0000-000100000003", - "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", + "icon": "􇓞u\u001cC\u0001", "icon_key": "X", "id": "00000000-0000-0002-0000-000100000004", "name": "𫑂\u0008k" diff --git a/libs/wire-api/test/golden/testObject_Team_team_5.json b/libs/wire-api/test/golden/testObject_Team_team_5.json index 00e49fe7506..5b259bd37a0 100644 --- a/libs/wire-api/test/golden/testObject_Team_team_5.json +++ b/libs/wire-api/test/golden/testObject_Team_team_5.json @@ -1,7 +1,7 @@ { "binding": true, "creator": "00000000-0000-0004-0000-000200000002", - "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", + "icon": "􆊅", "icon_key": "?&\u001b", "id": "00000004-0000-0003-0000-000000000004", "name": "\u0006𘐼仄" diff --git a/libs/wire-api/test/golden/testObject_Team_team_6.json b/libs/wire-api/test/golden/testObject_Team_team_6.json index debe6299327..b9ce15d026b 100644 --- a/libs/wire-api/test/golden/testObject_Team_team_6.json +++ b/libs/wire-api/test/golden/testObject_Team_team_6.json @@ -1,7 +1,7 @@ { "binding": false, "creator": "00000000-0000-0003-0000-000000000003", - "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", + "icon": "_'\u0011\u0002", "id": "00000000-0000-0002-0000-000000000001", "name": "󸭬x󼬐]㹱" } diff --git a/libs/wire-api/test/golden/testObject_Team_team_7.json b/libs/wire-api/test/golden/testObject_Team_team_7.json index 28718021fd8..6ed09fa61bd 100644 --- a/libs/wire-api/test/golden/testObject_Team_team_7.json +++ b/libs/wire-api/test/golden/testObject_Team_team_7.json @@ -1,7 +1,7 @@ { "binding": true, "creator": "00000001-0000-0002-0000-000400000000", - "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", + "icon": "X\n|󾒚", "icon_key": "𗤥", "id": "00000002-0000-0003-0000-000000000002", "name": "⛉􁓖󸙰7􂩽" diff --git a/libs/wire-api/test/golden/testObject_Team_team_8.json b/libs/wire-api/test/golden/testObject_Team_team_8.json index 940b270dd31..3b010018380 100644 --- a/libs/wire-api/test/golden/testObject_Team_team_8.json +++ b/libs/wire-api/test/golden/testObject_Team_team_8.json @@ -1,7 +1,7 @@ { "binding": false, "creator": "00000002-0000-0003-0000-000400000001", - "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", + "icon": "󻎖", "id": "00000003-0000-0004-0000-000000000001", "name": "\r釖{\u0013\\" } diff --git a/libs/wire-api/test/golden/testObject_Team_team_9.json b/libs/wire-api/test/golden/testObject_Team_team_9.json index bf120473c4a..2765bd238bb 100644 --- a/libs/wire-api/test/golden/testObject_Team_team_9.json +++ b/libs/wire-api/test/golden/testObject_Team_team_9.json @@ -1,7 +1,7 @@ { "binding": false, "creator": "00000002-0000-0000-0000-000000000004", - "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", + "icon": "d\u0003U", "id": "00000004-0000-0002-0000-000200000003", "name": "G[Hu{" } diff --git a/libs/wire-api/test/golden/testObject_UpdateService_provider_1.json b/libs/wire-api/test/golden/testObject_UpdateService_provider_1.json index e532e3870c1..65e1ab329e6 100644 --- a/libs/wire-api/test/golden/testObject_UpdateService_provider_1.json +++ b/libs/wire-api/test/golden/testObject_UpdateService_provider_1.json @@ -1,7 +1,7 @@ { "assets": [ { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "褩s􎀧", "size": "complete", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_UpdateService_provider_11.json b/libs/wire-api/test/golden/testObject_UpdateService_provider_11.json index bc5f15c3f18..a88563d44e2 100644 --- a/libs/wire-api/test/golden/testObject_UpdateService_provider_11.json +++ b/libs/wire-api/test/golden/testObject_UpdateService_provider_11.json @@ -1,16 +1,16 @@ { "assets": [ { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "\u0003𗗇", "size": "complete", "type": "image" }, { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "􏜄", "type": "image" }, { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "", "size": "preview", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_UpdateService_provider_12.json b/libs/wire-api/test/golden/testObject_UpdateService_provider_12.json index 33b1b1ecc11..5a6989defa3 100644 --- a/libs/wire-api/test/golden/testObject_UpdateService_provider_12.json +++ b/libs/wire-api/test/golden/testObject_UpdateService_provider_12.json @@ -1,7 +1,7 @@ { "assets": [ { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "e󱊉4", "size": "preview", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_UpdateService_provider_15.json b/libs/wire-api/test/golden/testObject_UpdateService_provider_15.json index 67b54804627..35c19a29f64 100644 --- a/libs/wire-api/test/golden/testObject_UpdateService_provider_15.json +++ b/libs/wire-api/test/golden/testObject_UpdateService_provider_15.json @@ -1,7 +1,7 @@ { "assets": [ { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "\u000eNG", "type": "image" } ], diff --git a/libs/wire-api/test/golden/testObject_UpdateService_provider_17.json b/libs/wire-api/test/golden/testObject_UpdateService_provider_17.json index 5c75fbbb1b3..5fa9959c912 100644 --- a/libs/wire-api/test/golden/testObject_UpdateService_provider_17.json +++ b/libs/wire-api/test/golden/testObject_UpdateService_provider_17.json @@ -1,7 +1,7 @@ { "assets": [ { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "󼋠j𖥩", "size": "preview", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_UpdateService_provider_18.json b/libs/wire-api/test/golden/testObject_UpdateService_provider_18.json index d78c2d45b76..79134b0c607 100644 --- a/libs/wire-api/test/golden/testObject_UpdateService_provider_18.json +++ b/libs/wire-api/test/golden/testObject_UpdateService_provider_18.json @@ -1,7 +1,12 @@ { "assets": [ { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "󿔉w\u0015", + "size": "complete", + "type": "image" + }, + { + "key": "K", "type": "image" } ], diff --git a/libs/wire-api/test/golden/testObject_UpdateService_provider_19.json b/libs/wire-api/test/golden/testObject_UpdateService_provider_19.json index 4bf04aebe9a..1241cd1a8db 100644 --- a/libs/wire-api/test/golden/testObject_UpdateService_provider_19.json +++ b/libs/wire-api/test/golden/testObject_UpdateService_provider_19.json @@ -1,31 +1,31 @@ { "assets": [ { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "q", "size": "complete", "type": "image" }, { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "", "size": "complete", "type": "image" }, { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "]䊇", "size": "preview", "type": "image" }, { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "\u001b笜F", "size": "preview", "type": "image" }, { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "", "type": "image" }, { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": ";K", "size": "complete", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_UpdateService_provider_2.json b/libs/wire-api/test/golden/testObject_UpdateService_provider_2.json index a761085ef8c..078f95b752c 100644 --- a/libs/wire-api/test/golden/testObject_UpdateService_provider_2.json +++ b/libs/wire-api/test/golden/testObject_UpdateService_provider_2.json @@ -1,21 +1,21 @@ { "assets": [ { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "", "type": "image" }, { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "𬩌", "size": "preview", "type": "image" }, { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "#", "size": "preview", "type": "image" }, { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "", "size": "complete", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_UpdateService_provider_20.json b/libs/wire-api/test/golden/testObject_UpdateService_provider_20.json index 7f5496c3fd3..ccd58adb6f7 100644 --- a/libs/wire-api/test/golden/testObject_UpdateService_provider_20.json +++ b/libs/wire-api/test/golden/testObject_UpdateService_provider_20.json @@ -1,16 +1,16 @@ { "assets": [ { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "𬃈", "type": "image" }, { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "𫸍", "size": "complete", "type": "image" }, { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "\u0019", "size": "complete", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_UpdateService_provider_3.json b/libs/wire-api/test/golden/testObject_UpdateService_provider_3.json index 6283ed2835f..551074fd629 100644 --- a/libs/wire-api/test/golden/testObject_UpdateService_provider_3.json +++ b/libs/wire-api/test/golden/testObject_UpdateService_provider_3.json @@ -1,17 +1,17 @@ { "assets": [ { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "t𘠊", "size": "preview", "type": "image" }, { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "", "size": "complete", "type": "image" }, { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "\u000cu\u001f", "size": "preview", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_UpdateService_provider_4.json b/libs/wire-api/test/golden/testObject_UpdateService_provider_4.json index 0d212c6e7f2..b95439f7d39 100644 --- a/libs/wire-api/test/golden/testObject_UpdateService_provider_4.json +++ b/libs/wire-api/test/golden/testObject_UpdateService_provider_4.json @@ -1,7 +1,12 @@ { "assets": [ { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "h", + "size": "complete", + "type": "image" + }, + { + "key": "𬄋)p", "type": "image" } ], diff --git a/libs/wire-api/test/golden/testObject_UpdateService_provider_5.json b/libs/wire-api/test/golden/testObject_UpdateService_provider_5.json index a6a10f2f204..84e3f829c6c 100644 --- a/libs/wire-api/test/golden/testObject_UpdateService_provider_5.json +++ b/libs/wire-api/test/golden/testObject_UpdateService_provider_5.json @@ -1,30 +1,30 @@ { "assets": [ { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "7_", "size": "complete", "type": "image" }, { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "p", "type": "image" }, { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "䭙u9", "size": "complete", "type": "image" }, { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "𪉓𬜼*", "type": "image" }, { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "󷤅\u0010", "size": "complete", "type": "image" }, { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "󵋬쭫󰩵", "size": "preview", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_UpdateService_provider_6.json b/libs/wire-api/test/golden/testObject_UpdateService_provider_6.json index a1e4e137360..e453bc425b3 100644 --- a/libs/wire-api/test/golden/testObject_UpdateService_provider_6.json +++ b/libs/wire-api/test/golden/testObject_UpdateService_provider_6.json @@ -1,7 +1,7 @@ { "assets": [ { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "", "size": "preview", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_UpdateService_provider_9.json b/libs/wire-api/test/golden/testObject_UpdateService_provider_9.json index e1a72f991ab..3f5156f32de 100644 --- a/libs/wire-api/test/golden/testObject_UpdateService_provider_9.json +++ b/libs/wire-api/test/golden/testObject_UpdateService_provider_9.json @@ -1,32 +1,32 @@ { "assets": [ { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "𒑢􋮶", "size": "preview", "type": "image" }, { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "\u000e", "size": "preview", "type": "image" }, { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "`", "size": "preview", "type": "image" }, { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "N红$", "size": "complete", "type": "image" }, { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "", "size": "complete", "type": "image" }, { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "", "type": "image" } ], diff --git a/libs/wire-api/test/golden/testObject_UserUpdate_user_2.json b/libs/wire-api/test/golden/testObject_UserUpdate_user_2.json index 50ab64fbde0..1db9d874fed 100644 --- a/libs/wire-api/test/golden/testObject_UserUpdate_user_2.json +++ b/libs/wire-api/test/golden/testObject_UserUpdate_user_2.json @@ -2,7 +2,7 @@ "accent_id": 3, "assets": [ { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "", "size": "complete", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_User_2eProfile_2eAsset_user_1.json b/libs/wire-api/test/golden/testObject_User_2eProfile_2eAsset_user_1.json index fbc67ff2734..125af7b7827 100644 --- a/libs/wire-api/test/golden/testObject_User_2eProfile_2eAsset_user_1.json +++ b/libs/wire-api/test/golden/testObject_User_2eProfile_2eAsset_user_1.json @@ -1,4 +1,4 @@ { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "\u001d", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_User_2eProfile_2eAsset_user_10.json b/libs/wire-api/test/golden/testObject_User_2eProfile_2eAsset_user_10.json index 51fa25cac0a..bb06cdf13d7 100644 --- a/libs/wire-api/test/golden/testObject_User_2eProfile_2eAsset_user_10.json +++ b/libs/wire-api/test/golden/testObject_User_2eProfile_2eAsset_user_10.json @@ -1,5 +1,5 @@ { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "'\u001c􊘾RoR\u001e4&e@`5", "size": "preview", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_User_2eProfile_2eAsset_user_11.json b/libs/wire-api/test/golden/testObject_User_2eProfile_2eAsset_user_11.json index 51fa25cac0a..3e280ceaf9c 100644 --- a/libs/wire-api/test/golden/testObject_User_2eProfile_2eAsset_user_11.json +++ b/libs/wire-api/test/golden/testObject_User_2eProfile_2eAsset_user_11.json @@ -1,5 +1,5 @@ { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": "eUb􎃾", "size": "preview", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_User_2eProfile_2eAsset_user_12.json b/libs/wire-api/test/golden/testObject_User_2eProfile_2eAsset_user_12.json index 64170445338..21efd8ce27b 100644 --- a/libs/wire-api/test/golden/testObject_User_2eProfile_2eAsset_user_12.json +++ b/libs/wire-api/test/golden/testObject_User_2eProfile_2eAsset_user_12.json @@ -1,5 +1,5 @@ { - "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", + "key": " Config -> Manager -> DB.ClientState -> Brig -> Cannon -> Galley -> IO TestTree @@ -1562,11 +1561,7 @@ defServiceTags :: Range 1 3 (Set ServiceTag) defServiceTags = unsafeRange (Set.singleton SocialTag) defServiceAssets :: [Asset] -defServiceAssets = - [ ImageAsset - (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) - (Just AssetComplete) - ] +defServiceAssets = [ImageAsset "key" (Just AssetComplete)] -- TODO: defServiceToken :: ServiceToken diff --git a/services/brig/test/integration/API/Team.hs b/services/brig/test/integration/API/Team.hs index 5f59e081150..654f274fc8c 100644 --- a/services/brig/test/integration/API/Team.hs +++ b/services/brig/test/integration/API/Team.hs @@ -42,7 +42,6 @@ import Data.Id hiding (client) import Data.Json.Util (UTCTimeMillis, toUTCTimeMillis) import qualified Data.Text.Ascii as Ascii import Data.Time (addUTCTime, getCurrentTime) -import qualified Data.UUID as UUID (fromString) import qualified Data.UUID.V4 as UUID import qualified Galley.Types.Teams as Team import qualified Galley.Types.Teams.Intra as Team @@ -57,7 +56,6 @@ import UnliftIO.Async (mapConcurrently_, pooledForConcurrentlyN_, replicateConcu import Util import Util.AWS as Util import Web.Cookie (parseSetCookie, setCookieName) -import Wire.API.Asset import Wire.API.User.Identity (mkSimpleSampleUref) newtype TeamSizeLimit = TeamSizeLimit Word32 @@ -151,7 +149,7 @@ testUpdateEvents brig cannon = do void $ getConnection brig alice bob TeamId -> TeamFeatureStatusValue -> Galley -> Http () putLegalHoldEnabled tid enabled g = do diff --git a/services/brig/test/integration/API/User/Account.hs b/services/brig/test/integration/API/User/Account.hs index 04aebbd3b6c..5483a764036 100644 --- a/services/brig/test/integration/API/User/Account.hs +++ b/services/brig/test/integration/API/User/Account.hs @@ -82,7 +82,6 @@ import UnliftIO (mapConcurrently_) import Util import Util.AWS as Util import Web.Cookie (parseSetCookie) -import Wire.API.Asset hiding (Asset) import qualified Wire.API.Asset as Asset import Wire.API.Federation.API.Brig (UserDeletedConnectionsNotification (..)) import qualified Wire.API.Federation.API.Brig as FedBrig @@ -817,12 +816,7 @@ testUserUpdate brig cannon aws = do aliceNewName <- randomName connectUsers brig alice (singleton bob) let newColId = Just 5 - newAssets = - Just - [ ImageAsset - (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) - (Just AssetComplete) - ] + newAssets = Just [ImageAsset "abc" (Just AssetComplete)] mNewName = Just $ aliceNewName newPic = Nothing -- Legacy userUpdate = UserUpdate mNewName newPic newAssets newColId @@ -1342,7 +1336,7 @@ testDeleteWithProfilePic brig cargohold = do let newAssets = Just [ ImageAsset - (qUnqualified $ ast ^. Asset.assetKey) + (T.decodeLatin1 $ toByteString' (qUnqualified (ast ^. Asset.assetKey))) (Just AssetComplete) ] userUpdate = UserUpdate Nothing Nothing newAssets Nothing diff --git a/services/brig/test/integration/API/UserPendingActivation.hs b/services/brig/test/integration/API/UserPendingActivation.hs index 4e3e02b60be..3c7565d8b1d 100644 --- a/services/brig/test/integration/API/UserPendingActivation.hs +++ b/services/brig/test/integration/API/UserPendingActivation.hs @@ -64,7 +64,6 @@ import qualified Web.Scim.Schema.Meta as Scim import qualified Web.Scim.Schema.User as Scim.User import qualified Web.Scim.Schema.User.Email as Email import qualified Web.Scim.Schema.User.Phone as Phone -import Wire.API.Team (Icon (..)) import Wire.API.User.RichInfo (RichInfo) import Wire.API.User.Scim (CreateScimToken (..), ScimToken, ScimUserExtra (ScimUserExtra)) @@ -152,7 +151,7 @@ getInvitationByEmail brig email = ) newTeam :: Galley.BindingNewTeam -newTeam = Galley.BindingNewTeam $ Galley.newNewTeam (unsafeRange "teamName") DefaultIcon +newTeam = Galley.BindingNewTeam $ Galley.newNewTeam (unsafeRange "teamName") (unsafeRange "defaultIcon") createUserWithTeamDisableSSO :: (HasCallStack, MonadCatch m, MonadHttp m, MonadIO m, MonadFail m) => Brig -> Galley -> m (UserId, TeamId) createUserWithTeamDisableSSO brg gly = do diff --git a/services/galley/src/Galley/Cassandra/Instances.hs b/services/galley/src/Galley/Cassandra/Instances.hs index 937b54ad435..0e3ebaf5ec1 100644 --- a/services/galley/src/Galley/Cassandra/Instances.hs +++ b/services/galley/src/Galley/Cassandra/Instances.hs @@ -25,16 +25,13 @@ where import Cassandra.CQL import Control.Error (note) -import Data.ByteString.Conversion import Data.Domain (Domain, domainText, mkDomain) -import qualified Data.Text.Encoding as T import Galley.Types import Galley.Types.Bot () import Galley.Types.Teams import Galley.Types.Teams.Intra import Galley.Types.Teams.SearchVisibility import Imports -import Wire.API.Team import qualified Wire.API.Team.Feature as Public deriving instance Cql MutedStatus @@ -171,9 +168,3 @@ instance Cql Public.EnforceAppLock where 1 -> pure (Public.EnforceAppLock True) _ -> Left "fromCql EnforceAppLock: int out of range" fromCql _ = Left "fromCql EnforceAppLock: int expected" - -instance Cql Icon where - ctype = Tagged TextColumn - toCql = CqlText . T.decodeUtf8 . toByteString' - fromCql (CqlText txt) = pure . fromRight DefaultIcon . runParser parser . T.encodeUtf8 $ txt - fromCql _ = Left "Icon: Text expected" diff --git a/services/galley/src/Galley/Cassandra/Queries.hs b/services/galley/src/Galley/Cassandra/Queries.hs index 69df6ae0500..4d199920a53 100644 --- a/services/galley/src/Galley/Cassandra/Queries.hs +++ b/services/galley/src/Galley/Cassandra/Queries.hs @@ -36,11 +36,10 @@ import Galley.Types.Teams.Intra import Galley.Types.Teams.SearchVisibility import Imports import Text.RawString.QQ -import Wire.API.Team -- Teams -------------------------------------------------------------------- -selectTeam :: PrepQuery R (Identity TeamId) (UserId, Text, Icon, Maybe Text, Bool, Maybe TeamStatus, Maybe (Writetime TeamStatus), Maybe TeamBinding) +selectTeam :: PrepQuery R (Identity TeamId) (UserId, Text, Text, Maybe Text, Bool, Maybe TeamStatus, Maybe (Writetime TeamStatus), Maybe TeamBinding) selectTeam = "select creator, name, icon, icon_key, deleted, status, writetime(status), binding from team where team = ?" selectTeamName :: PrepQuery R (Identity TeamId) (Identity Text) @@ -136,7 +135,7 @@ selectUserTeamsIn = "select team from user_team where user = ? and team in ? ord selectUserTeamsFrom :: PrepQuery R (UserId, TeamId) (Identity TeamId) selectUserTeamsFrom = "select team from user_team where user = ? and team > ? order by team" -insertTeam :: PrepQuery W (TeamId, UserId, Text, Icon, Maybe Text, TeamStatus, TeamBinding) () +insertTeam :: PrepQuery W (TeamId, UserId, Text, Text, Maybe Text, TeamStatus, TeamBinding) () insertTeam = "insert into team (team, creator, name, icon, icon_key, deleted, status, binding) values (?, ?, ?, ?, ?, false, ?, ?)" insertTeamConv :: PrepQuery W (TeamId, ConvId) () diff --git a/services/galley/src/Galley/Cassandra/Team.hs b/services/galley/src/Galley/Cassandra/Team.hs index 629dc165767..c0ae2938f10 100644 --- a/services/galley/src/Galley/Cassandra/Team.hs +++ b/services/galley/src/Galley/Cassandra/Team.hs @@ -62,7 +62,6 @@ import Imports hiding (Set, max) import Polysemy import Polysemy.Input import qualified UnliftIO -import Wire.API.Team (Icon (..)) import Wire.API.Team.Member interpretTeamStoreToCassandra :: @@ -138,11 +137,11 @@ createTeam :: Maybe TeamId -> UserId -> Range 1 256 Text -> - Icon -> + Range 1 256 Text -> Maybe (Range 1 256 Text) -> TeamBinding -> Client Team -createTeam t uid (fromRange -> n) i k b = do +createTeam t uid (fromRange -> n) (fromRange -> i) k b = do tid <- maybe (Id <$> liftIO nextRandom) return t retry x5 $ write Cql.insertTeam (params LocalQuorum (tid, uid, n, i, fromRange <$> k, initialStatus b, b)) pure (newTeam tid uid n i b & teamIconKey .~ (fromRange <$> k)) diff --git a/services/galley/src/Galley/Effects/TeamStore.hs b/services/galley/src/Galley/Effects/TeamStore.hs index cc2495e7ccb..9fa4dd42d63 100644 --- a/services/galley/src/Galley/Effects/TeamStore.hs +++ b/services/galley/src/Galley/Effects/TeamStore.hs @@ -85,7 +85,6 @@ import Imports import Polysemy import Polysemy.Error import qualified Proto.TeamEvents as E -import Wire.API.Team (Icon) data TeamStore m a where CreateTeamMember :: TeamId -> TeamMember -> TeamStore m () @@ -94,7 +93,7 @@ data TeamStore m a where Maybe TeamId -> UserId -> Range 1 256 Text -> - Icon -> + Range 1 256 Text -> Maybe (Range 1 256 Text) -> TeamBinding -> TeamStore m Team diff --git a/services/galley/test/integration/API/Teams.hs b/services/galley/test/integration/API/Teams.hs index 9eddbddca32..f16d2178e71 100644 --- a/services/galley/test/integration/API/Teams.hs +++ b/services/galley/test/integration/API/Teams.hs @@ -75,7 +75,6 @@ import Test.Tasty.HUnit import TestHelpers (test, viewFederationDomain) import TestSetup (TestM, TestSetup, tsBrig, tsCannon, tsGConf, tsGalley) import UnliftIO (mapConcurrently, mapConcurrently_) -import Wire.API.Team (Icon (..)) import Wire.API.Team.Export (TeamExportUser (..)) import qualified Wire.API.Team.Feature as Public import qualified Wire.API.Team.Member as Member @@ -205,7 +204,7 @@ testCreateMultipleBindingTeams = do _ <- Util.createBindingTeamInternal "foo" owner assertQueue "create team" tActivate -- Cannot create more teams if bound (used internal API) - let nt = NonBindingNewTeam $ newNewTeam (unsafeRange "owner") DefaultIcon + let nt = NonBindingNewTeam $ newNewTeam (unsafeRange "owner") (unsafeRange "icon") post (g . path "/teams" . zUser owner . zConn "conn" . json nt) !!! const 403 === statusCode -- If never used the internal API, can create multiple teams diff --git a/services/galley/test/integration/API/Util.hs b/services/galley/test/integration/API/Util.hs index 1918884601b..73fd845971e 100644 --- a/services/galley/test/integration/API/Util.hs +++ b/services/galley/test/integration/API/Util.hs @@ -119,7 +119,6 @@ import Wire.API.Message import qualified Wire.API.Message.Proto as Proto import Wire.API.Routes.Internal.Brig.Connection import Wire.API.Routes.MultiTablePaging -import Wire.API.Team (Icon (..)) import Wire.API.Team.Member (mkNewTeamMember) import Wire.API.User.Client (ClientCapability (..), UserClientsFull (UserClientsFull)) import qualified Wire.API.User.Client as Client @@ -226,7 +225,7 @@ createNonBindingTeam :: HasCallStack => Text -> UserId -> [TeamMember] -> TestM createNonBindingTeam name owner mems = do g <- view tsGalley let mm = if null mems then Nothing else Just $ unsafeRange (take 127 mems) - let nt = NonBindingNewTeam $ newNewTeam (unsafeRange name) DefaultIcon & newTeamMembers .~ mm + let nt = NonBindingNewTeam $ newNewTeam (unsafeRange name) (unsafeRange "icon") & newTeamMembers .~ mm resp <- post (g . path "/teams" . zUser owner . zConn "conn" . zType "access" . json nt) Text -> UserId -> TestM T createBindingTeamInternalNoActivate name owner = do g <- view tsGalley tid <- randomId - let nt = BindingNewTeam $ newNewTeam (unsafeRange name) DefaultIcon + let nt = BindingNewTeam $ newNewTeam (unsafeRange name) (unsafeRange "icon") _ <- put (g . paths ["/i/teams", toByteString' tid] . zUser owner . zConn "conn" . zType "access" . json nt) ["password" .= defPassword | hasPassword] <> ["email" .= fromEmail e | hasEmail] - <> ["team" .= Team.BindingNewTeam (Team.newNewTeam (unsafeRange "teamName") DefaultIcon) | isCreator] + <> ["team" .= Team.BindingNewTeam (Team.newNewTeam (unsafeRange "teamName") (unsafeRange "defaultIcon")) | isCreator] responseJsonUnsafe <$> (post (b . path "/i/users" . json p) TestM UserId diff --git a/services/spar/test-integration/Util/Core.hs b/services/spar/test-integration/Util/Core.hs index 87f97d4c9a7..1ef07088d7e 100644 --- a/services/spar/test-integration/Util/Core.hs +++ b/services/spar/test-integration/Util/Core.hs @@ -200,7 +200,6 @@ import Util.Types import qualified Web.Cookie as Web import Wire.API.Cookie import Wire.API.Routes.Public.Spar -import Wire.API.Team (Icon (..)) import Wire.API.Team.Feature (TeamFeatureStatusValue (..)) import qualified Wire.API.Team.Feature as Public import qualified Wire.API.Team.Invitation as TeamInvitation @@ -623,7 +622,7 @@ zAuthAccess :: UserId -> SBS -> Request -> Request zAuthAccess u c = header "Z-Type" "access" . zUser u . zConn c newTeam :: Galley.BindingNewTeam -newTeam = Galley.BindingNewTeam $ Galley.newNewTeam (unsafeRange "teamName") DefaultIcon +newTeam = Galley.BindingNewTeam $ Galley.newNewTeam (unsafeRange "teamName") (unsafeRange "defaultIcon") randomEmail :: MonadIO m => m Brig.Email randomEmail = do From fd0fdc8b2d70977445c915efc5e4220e28116534 Mon Sep 17 00:00:00 2001 From: Leif Battermann Date: Fri, 4 Mar 2022 08:29:55 +0100 Subject: [PATCH 4/5] Strongly typed asset keys (#2162) * use assetkey type in imageasset * fix build integration tests * moved cql instance for assetkey * changelog * tweak changelog. * asset key cql instance handle invalid keys in db * comment * use Icon/AssetKey in team and user profile (wire-api changes only) * Cassandra Icon instance * fix integration test * fix galley integration tests * fix spar integration tests * format Co-authored-by: Matthias Fischmann --- changelog.d/5-internal/pr-2162 | 1 + libs/wire-api/src/Wire/API/Asset.hs | 6 +- libs/wire-api/src/Wire/API/Team.hs | 29 ++--- libs/wire-api/src/Wire/API/User/Profile.hs | 3 +- .../Golden/Generated/AddBotResponse_user.hs | 10 +- .../Generated/BindingNewTeamUser_user.hs | 12 +- .../Golden/Generated/BindingNewTeam_team.hs | 103 +++++------------- .../Wire/API/Golden/Generated/Event_team.hs | 16 ++- .../Generated/NewBotResponse_provider.hs | 65 +++++------ .../Golden/Generated/NewService_provider.hs | 51 +++++---- .../Golden/Generated/NewUserPublic_user.hs | 11 +- .../Wire/API/Golden/Generated/NewUser_user.hs | 13 +-- .../Generated/ServiceProfilePage_provider.hs | 3 +- .../Generated/ServiceProfile_provider.hs | 37 ++++--- .../API/Golden/Generated/Service_provider.hs | 45 ++++---- .../API/Golden/Generated/TeamList_team.hs | 89 +++++++-------- .../Wire/API/Golden/Generated/Team_team.hs | 43 ++++---- .../Generated/UpdateService_provider.hs | 81 +++++++------- .../API/Golden/Generated/UserUpdate_user.hs | 7 +- .../Generated/User_2eProfile_2eAsset_user.hs | 45 ++++---- .../Wire/API/Golden/Generated/User_user.hs | 7 +- .../testObject_NewUserPublic_user_1-2.json | 6 +- .../testObject_NewUserPublic_user_1-3.json | 6 +- .../testObject_AddBotResponse_user_1.json | 4 +- .../testObject_BindingNewTeamUser_user_1.json | 2 +- .../testObject_BindingNewTeamUser_user_2.json | 2 +- .../testObject_BindingNewTeam_team_1.json | 2 +- .../testObject_BindingNewTeam_team_10.json | 2 +- .../testObject_BindingNewTeam_team_11.json | 2 +- .../testObject_BindingNewTeam_team_12.json | 2 +- .../testObject_BindingNewTeam_team_13.json | 2 +- .../testObject_BindingNewTeam_team_14.json | 2 +- .../testObject_BindingNewTeam_team_15.json | 2 +- .../testObject_BindingNewTeam_team_16.json | 2 +- .../testObject_BindingNewTeam_team_17.json | 2 +- .../testObject_BindingNewTeam_team_18.json | 2 +- .../testObject_BindingNewTeam_team_19.json | 2 +- .../testObject_BindingNewTeam_team_2.json | 2 +- .../testObject_BindingNewTeam_team_20.json | 2 +- .../testObject_BindingNewTeam_team_3.json | 2 +- .../testObject_BindingNewTeam_team_4.json | 2 +- .../testObject_BindingNewTeam_team_5.json | 2 +- .../testObject_BindingNewTeam_team_6.json | 2 +- .../testObject_BindingNewTeam_team_7.json | 2 +- .../testObject_BindingNewTeam_team_8.json | 2 +- .../testObject_BindingNewTeam_team_9.json | 2 +- .../test/golden/testObject_Event_team_1.json | 2 +- .../test/golden/testObject_Event_team_13.json | 2 +- ...testObject_NewBotResponse_provider_10.json | 2 +- ...testObject_NewBotResponse_provider_13.json | 12 +- ...testObject_NewBotResponse_provider_16.json | 7 +- ...testObject_NewBotResponse_provider_18.json | 6 +- ...testObject_NewBotResponse_provider_19.json | 10 +- .../testObject_NewBotResponse_provider_2.json | 8 +- ...testObject_NewBotResponse_provider_20.json | 6 +- .../testObject_NewBotResponse_provider_3.json | 6 +- .../testObject_NewBotResponse_provider_8.json | 8 +- .../testObject_NewService_provider_10.json | 11 +- .../testObject_NewService_provider_11.json | 11 +- .../testObject_NewService_provider_12.json | 2 +- .../testObject_NewService_provider_13.json | 2 +- .../testObject_NewService_provider_14.json | 2 +- .../testObject_NewService_provider_15.json | 7 +- .../testObject_NewService_provider_16.json | 8 +- .../testObject_NewService_provider_18.json | 10 +- .../testObject_NewService_provider_19.json | 2 +- .../testObject_NewService_provider_20.json | 2 +- .../testObject_NewService_provider_4.json | 12 +- .../testObject_NewService_provider_5.json | 12 +- .../testObject_NewService_provider_6.json | 2 +- .../testObject_NewService_provider_7.json | 2 +- .../testObject_NewService_provider_8.json | 7 +- .../testObject_NewUserPublic_user_1.json | 6 +- .../golden/testObject_NewUser_user_1.json | 6 +- .../golden/testObject_NewUser_user_7.json | 2 +- ...Object_ServiceProfilePage_provider_11.json | 2 +- .../testObject_ServiceProfile_provider_1.json | 2 +- ...testObject_ServiceProfile_provider_10.json | 7 +- ...testObject_ServiceProfile_provider_13.json | 2 +- ...testObject_ServiceProfile_provider_15.json | 2 +- ...testObject_ServiceProfile_provider_16.json | 7 +- ...testObject_ServiceProfile_provider_17.json | 7 +- .../testObject_ServiceProfile_provider_2.json | 8 +- .../testObject_ServiceProfile_provider_3.json | 6 +- .../testObject_ServiceProfile_provider_4.json | 2 +- .../testObject_ServiceProfile_provider_6.json | 10 +- .../testObject_ServiceProfile_provider_9.json | 2 +- .../testObject_Service_provider_11.json | 7 +- .../testObject_Service_provider_12.json | 6 +- .../testObject_Service_provider_13.json | 2 +- .../testObject_Service_provider_14.json | 2 +- .../testObject_Service_provider_15.json | 14 +-- .../testObject_Service_provider_16.json | 6 +- .../golden/testObject_Service_provider_2.json | 7 +- .../golden/testObject_Service_provider_4.json | 2 +- .../golden/testObject_Service_provider_6.json | 10 +- .../golden/testObject_Service_provider_7.json | 2 +- .../golden/testObject_TeamList_team_1.json | 6 +- .../golden/testObject_TeamList_team_12.json | 2 +- .../golden/testObject_TeamList_team_14.json | 12 +- .../golden/testObject_TeamList_team_15.json | 10 +- .../golden/testObject_TeamList_team_16.json | 2 +- .../golden/testObject_TeamList_team_18.json | 2 +- .../golden/testObject_TeamList_team_19.json | 2 +- .../golden/testObject_TeamList_team_2.json | 4 +- .../golden/testObject_TeamList_team_20.json | 8 +- .../golden/testObject_TeamList_team_3.json | 2 +- .../golden/testObject_TeamList_team_4.json | 4 +- .../golden/testObject_TeamList_team_5.json | 14 +-- .../golden/testObject_TeamList_team_6.json | 2 +- .../golden/testObject_TeamList_team_7.json | 4 +- .../golden/testObject_TeamList_team_9.json | 12 +- .../test/golden/testObject_Team_team_1.json | 2 +- .../test/golden/testObject_Team_team_10.json | 2 +- .../test/golden/testObject_Team_team_11.json | 2 +- .../test/golden/testObject_Team_team_12.json | 2 +- .../test/golden/testObject_Team_team_13.json | 2 +- .../test/golden/testObject_Team_team_14.json | 2 +- .../test/golden/testObject_Team_team_15.json | 2 +- .../test/golden/testObject_Team_team_16.json | 2 +- .../test/golden/testObject_Team_team_17.json | 2 +- .../test/golden/testObject_Team_team_18.json | 2 +- .../test/golden/testObject_Team_team_19.json | 2 +- .../test/golden/testObject_Team_team_2.json | 2 +- .../test/golden/testObject_Team_team_20.json | 2 +- .../test/golden/testObject_Team_team_3.json | 2 +- .../test/golden/testObject_Team_team_4.json | 2 +- .../test/golden/testObject_Team_team_5.json | 2 +- .../test/golden/testObject_Team_team_6.json | 2 +- .../test/golden/testObject_Team_team_7.json | 2 +- .../test/golden/testObject_Team_team_8.json | 2 +- .../test/golden/testObject_Team_team_9.json | 2 +- .../testObject_UpdateService_provider_1.json | 2 +- .../testObject_UpdateService_provider_11.json | 6 +- .../testObject_UpdateService_provider_12.json | 2 +- .../testObject_UpdateService_provider_15.json | 2 +- .../testObject_UpdateService_provider_17.json | 2 +- .../testObject_UpdateService_provider_18.json | 7 +- .../testObject_UpdateService_provider_19.json | 12 +- .../testObject_UpdateService_provider_2.json | 8 +- .../testObject_UpdateService_provider_20.json | 6 +- .../testObject_UpdateService_provider_3.json | 6 +- .../testObject_UpdateService_provider_4.json | 7 +- .../testObject_UpdateService_provider_5.json | 12 +- .../testObject_UpdateService_provider_6.json | 2 +- .../testObject_UpdateService_provider_9.json | 12 +- .../golden/testObject_UserUpdate_user_2.json | 2 +- ...tObject_User_2eProfile_2eAsset_user_1.json | 2 +- ...Object_User_2eProfile_2eAsset_user_10.json | 2 +- ...Object_User_2eProfile_2eAsset_user_11.json | 2 +- ...Object_User_2eProfile_2eAsset_user_12.json | 2 +- ...Object_User_2eProfile_2eAsset_user_13.json | 2 +- ...Object_User_2eProfile_2eAsset_user_14.json | 2 +- ...Object_User_2eProfile_2eAsset_user_15.json | 2 +- ...Object_User_2eProfile_2eAsset_user_16.json | 2 +- ...Object_User_2eProfile_2eAsset_user_17.json | 2 +- ...Object_User_2eProfile_2eAsset_user_18.json | 2 +- ...Object_User_2eProfile_2eAsset_user_19.json | 2 +- ...tObject_User_2eProfile_2eAsset_user_2.json | 2 +- ...Object_User_2eProfile_2eAsset_user_20.json | 2 +- ...tObject_User_2eProfile_2eAsset_user_3.json | 2 +- ...tObject_User_2eProfile_2eAsset_user_4.json | 2 +- ...tObject_User_2eProfile_2eAsset_user_5.json | 2 +- ...tObject_User_2eProfile_2eAsset_user_6.json | 2 +- ...tObject_User_2eProfile_2eAsset_user_7.json | 2 +- ...tObject_User_2eProfile_2eAsset_user_8.json | 2 +- ...tObject_User_2eProfile_2eAsset_user_9.json | 2 +- .../test/golden/testObject_User_user_2.json | 6 +- services/brig/src/Brig/Data/Instances.hs | 13 ++- .../brig/test/integration/API/Provider.hs | 7 +- services/brig/test/integration/API/Team.hs | 4 +- .../brig/test/integration/API/Team/Util.hs | 3 +- .../brig/test/integration/API/User/Account.hs | 10 +- .../integration/API/UserPendingActivation.hs | 3 +- .../galley/src/Galley/Cassandra/Instances.hs | 9 ++ .../galley/src/Galley/Cassandra/Queries.hs | 5 +- services/galley/src/Galley/Cassandra/Team.hs | 5 +- .../galley/src/Galley/Effects/TeamStore.hs | 3 +- services/galley/test/integration/API/Teams.hs | 3 +- services/galley/test/integration/API/Util.hs | 7 +- services/spar/test-integration/Util/Core.hs | 3 +- 181 files changed, 654 insertions(+), 708 deletions(-) create mode 100644 changelog.d/5-internal/pr-2162 diff --git a/changelog.d/5-internal/pr-2162 b/changelog.d/5-internal/pr-2162 new file mode 100644 index 00000000000..6663254a9cc --- /dev/null +++ b/changelog.d/5-internal/pr-2162 @@ -0,0 +1 @@ +Asset keys are now internally validated. diff --git a/libs/wire-api/src/Wire/API/Asset.hs b/libs/wire-api/src/Wire/API/Asset.hs index a1c37b9c5cf..834a201dcd9 100644 --- a/libs/wire-api/src/Wire/API/Asset.hs +++ b/libs/wire-api/src/Wire/API/Asset.hs @@ -31,6 +31,7 @@ module Wire.API.Asset -- * AssetKey AssetKey (..), assetKeyToText, + nilAssetKey, -- * AssetToken AssetToken (..), @@ -176,7 +177,7 @@ assetKeyToText = T.decodeUtf8 . toByteString' instance ToSchema AssetKey where schema = - (T.decodeUtf8 . toByteString') + assetKeyToText .= parsedText "AssetKey" (runParser parser . T.encodeUtf8) & doc' . S.schema . S.example ?~ toJSON ("3-1-47de4580-ae51-4650-acbb-d10c028cb0ac" :: Text) @@ -186,6 +187,9 @@ instance S.ToParamSchema AssetKey where instance FromHttpApiData AssetKey where parseUrlPiece = first T.pack . runParser parser . T.encodeUtf8 +nilAssetKey :: AssetKey +nilAssetKey = AssetKeyV3 (Id UUID.nil) AssetVolatile + -------------------------------------------------------------------------------- -- AssetToken diff --git a/libs/wire-api/src/Wire/API/Team.hs b/libs/wire-api/src/Wire/API/Team.hs index 8fb331559cc..c1e192c3669 100644 --- a/libs/wire-api/src/Wire/API/Team.hs +++ b/libs/wire-api/src/Wire/API/Team.hs @@ -30,6 +30,7 @@ module Wire.API.Team teamIconKey, teamBinding, TeamBinding (..), + Icon (..), -- * TeamList TeamList (..), @@ -95,7 +96,7 @@ data Team = Team { _teamId :: TeamId, _teamCreator :: UserId, _teamName :: Text, - _teamIcon :: Text, + _teamIcon :: Icon, _teamIconKey :: Maybe Text, _teamBinding :: TeamBinding } @@ -103,7 +104,7 @@ data Team = Team deriving (Arbitrary) via (GenericUniform Team) deriving (ToJSON, FromJSON, S.ToSchema) via (Schema Team) -newTeam :: TeamId -> UserId -> Text -> Text -> TeamBinding -> Team +newTeam :: TeamId -> UserId -> Text -> Icon -> TeamBinding -> Team newTeam tid uid nme ico = Team tid uid nme ico Nothing modelTeam :: Doc.Model @@ -230,14 +231,14 @@ modelNewNonBindingTeam = Doc.defineModel "newNonBindingTeam" $ do data NewTeam a = NewTeam { _newTeamName :: Range 1 256 Text, - _newTeamIcon :: Range 1 256 Text, + _newTeamIcon :: Icon, _newTeamIconKey :: Maybe (Range 1 256 Text), _newTeamMembers :: Maybe a } deriving stock (Eq, Show, Generic) deriving (Arbitrary) via (GenericUniform (NewTeam a)) -newNewTeam :: Range 1 256 Text -> Range 1 256 Text -> NewTeam a +newNewTeam :: Range 1 256 Text -> Icon -> NewTeam a newNewTeam nme ico = NewTeam nme ico Nothing Nothing newTeamObjectSchema :: ValueSchema SwaggerDoc a -> ObjectSchema SwaggerDoc (NewTeam a) @@ -251,30 +252,30 @@ newTeamObjectSchema sch = -------------------------------------------------------------------------------- -- TeamUpdateData -data IconUpdate = IconUpdate AssetKey | DefaultIcon +data Icon = Icon AssetKey | DefaultIcon deriving stock (Eq, Show, Generic) - deriving (Arbitrary) via (GenericUniform IconUpdate) - deriving (ToJSON, FromJSON, S.ToSchema) via Schema IconUpdate + deriving (Arbitrary) via (GenericUniform Icon) + deriving (ToJSON, FromJSON, S.ToSchema) via Schema Icon -instance FromByteString IconUpdate where +instance FromByteString Icon where parser = choice - [ IconUpdate <$> (parser :: Atto.Parser AssetKey), + [ Icon <$> (parser :: Atto.Parser AssetKey), DefaultIcon <$ Atto.string "default" ] -instance ToByteString IconUpdate where - builder (IconUpdate key) = builder key +instance ToByteString Icon where + builder (Icon key) = builder key builder DefaultIcon = "default" -instance ToSchema IconUpdate where +instance ToSchema Icon where schema = (T.decodeUtf8 . toByteString') - .= parsedText "IconUpdate" (runParser parser . T.encodeUtf8) + .= parsedText "Icon" (runParser parser . T.encodeUtf8) data TeamUpdateData = TeamUpdateData { _nameUpdate :: Maybe (Range 1 256 Text), - _iconUpdate :: Maybe IconUpdate, + _iconUpdate :: Maybe Icon, _iconKeyUpdate :: Maybe (Range 1 256 Text) } deriving stock (Eq, Show, Generic) diff --git a/libs/wire-api/src/Wire/API/User/Profile.hs b/libs/wire-api/src/Wire/API/User/Profile.hs index 5327fce2975..692220636aa 100644 --- a/libs/wire-api/src/Wire/API/User/Profile.hs +++ b/libs/wire-api/src/Wire/API/User/Profile.hs @@ -69,6 +69,7 @@ import qualified Data.Swagger.Build.Api as Doc import qualified Data.Text as Text import Imports import Wire.API.Arbitrary (Arbitrary (arbitrary), GenericUniform (..)) +import Wire.API.Asset (AssetKey (..)) import Wire.API.User.Orphans () -------------------------------------------------------------------------------- @@ -106,7 +107,7 @@ defaultAccentId = ColourId 0 -- Note: Intended to be turned into a sum type to add further asset types. data Asset = ImageAsset - { assetKey :: Text, + { assetKey :: AssetKey, assetSize :: Maybe AssetSize } deriving stock (Eq, Show, Generic) diff --git a/libs/wire-api/test/golden/Test/Wire/API/Golden/Generated/AddBotResponse_user.hs b/libs/wire-api/test/golden/Test/Wire/API/Golden/Generated/AddBotResponse_user.hs index 93f6f0ade00..25ab06033c6 100644 --- a/libs/wire-api/test/golden/Test/Wire/API/Golden/Generated/AddBotResponse_user.hs +++ b/libs/wire-api/test/golden/Test/Wire/API/Golden/Generated/AddBotResponse_user.hs @@ -24,6 +24,7 @@ import Data.Id (BotId (BotId), ClientId (ClientId, client), Id (Id)) import Data.Qualified import qualified Data.UUID as UUID (fromString) import Imports (Maybe (Just, Nothing), fromJust, read, (.)) +import Wire.API.Asset import Wire.API.Conversation import Wire.API.Conversation.Bot import Wire.API.Conversation.Typing @@ -41,7 +42,14 @@ testObject_AddBotResponse_user_1 = "\77844\129468A\1061088\30365\142096\40918\USc\DC3~0g\ENQr\v\29872\f\154305\1077132u\175940.\1018427v\v-/\bi\bJ\ETXE3\ESC8\53613\1073036\&0@\14466\51733;\27113\SYN\153289\b&\ae]\1042471H\1024555k7\EMJ\1083646[;\140668;J^`0,B\STX\95353N.@Z\v\ENQ\r\19858|'w-\b\157432V\STX \GSW|N\1072850\&3=\22550K245\DC1\142803\168718\7168\147365\ETX" }, rsAddBotColour = ColourId {fromColourId = -3}, - rsAddBotAssets = [ImageAsset "7" Nothing, ImageAsset "" (Just AssetPreview)], + rsAddBotAssets = + [ ImageAsset + (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) + Nothing, + ImageAsset + (AssetKeyV3 (Id (fromJust (UUID.fromString "034efa97-f628-450e-b212-009801b1470b"))) AssetExpiring) + (Just AssetPreview) + ], rsAddBotEvent = Event (Qualified (Id (fromJust (UUID.fromString "00000001-0000-0000-0000-000200000003"))) (Domain "faraway.example.com")) diff --git a/libs/wire-api/test/golden/Test/Wire/API/Golden/Generated/BindingNewTeamUser_user.hs b/libs/wire-api/test/golden/Test/Wire/API/Golden/Generated/BindingNewTeamUser_user.hs index 1eb13e0c5ca..37dc8807bf7 100644 --- a/libs/wire-api/test/golden/Test/Wire/API/Golden/Generated/BindingNewTeamUser_user.hs +++ b/libs/wire-api/test/golden/Test/Wire/API/Golden/Generated/BindingNewTeamUser_user.hs @@ -18,10 +18,14 @@ module Test.Wire.API.Golden.Generated.BindingNewTeamUser_user where import Data.Currency (Alpha (XUA)) +import Data.Id (Id (..)) import Data.Range (unsafeRange) -import Imports (Maybe (Just, Nothing)) +import Data.UUID as UUID +import Imports (Maybe (Just, Nothing), fromJust) +import Wire.API.Asset import Wire.API.Team ( BindingNewTeam (BindingNewTeam), + Icon (..), NewTeam ( NewTeam, _newTeamIcon, @@ -41,9 +45,7 @@ testObject_BindingNewTeamUser_user_1 = { _newTeamName = unsafeRange "\fe\ENQ\1011760zm\166331\&6+)g;5\989956Z\8196\&41\DC1\n\STX\ETX%|\NULM\996272S=`I\59956UK1\1003466]X\r\SUBa\EM!\74407+\ETXepRw\ACK\ENQ#\127835\1061771\1036174\1018930UX\66821]>i&r\137805\1055913Z\1070413\&6\DC4\DC4\1024114\1058863\1044802\ESC\SYNa4\NUL\1059602\1015948\123628\tLZ\ACKw$=\SYNu\ETXE1\63200C'\ENQ\151764\47003\134542$\100516\1112326\&9;#\1044763\1015439&\ESC\1026916k/\tu\\pk\NUL\STX\1083510)\FS/Lni]Q\NUL\SIZ|=\DC1V]]\FS5\156475U6>(\17233'\CAN\179678%'I1-D\"\1098303\n\78699\npkHY#\NUL\1014868u]\1078674\147414\STX\USj'\993967'\CAN\1042144&\35396E\37802=\135058Da\STX\v\1100351=\1083565V#\993183\RS\FSN#`uny\1003178\1094898\&53#\DEL/|,+\243pW\44721i4j", - _newTeamIcon = - unsafeRange - "Coq\52427\v\182208\&7\SYN\\N\134130\8419h3 \30278;X\STX\a\a$|D\NUL\SOHh'\62853\&3-m7\1078900\SOp\22214`\1093812\&6QF\CAN\SOH9\1062958\ETB\15747FP;lm\1075533\173111\134845\22570n:\rf\1044997\\:\35041\GS\GS\26754\EM\22764i\991235\ETXjj}\1010340~\989348{; \119085\1006542\SUBL&%2\170880;@\\2`gA\984195\&0\162341\&2\163058h\FSuF\DC4\17376\ESC\GS\SO\vYnKy?v\129546H\fcLdBy\170730\&4I\1108995i\1017125\ETBc6f\v\SOH\DC3\1018708ce\1083597\SOs3L&", + _newTeamIcon = DefaultIcon, _newTeamIconKey = Just ( unsafeRange @@ -64,7 +66,7 @@ testObject_BindingNewTeamUser_user_2 = { _newTeamName = unsafeRange "G\EOT\DC47\1030077bCy\83226&5\"\96437B$\STX\DC2QJb_\15727\1104659Y \156055\1044397Y\1004994g\v\991186xkJUi\1028168.=-\1054839\&2\1113630U\ESC]\SUB\1091929\DLE}R\157290\DC1\1111740\1096562+R/\1083774\170894p(M\ENQ5Fw<\144133E\1005699R\DLE44\1060383\SO%@FPG\986135JJ\vE\GSz\RS_\tb]0t_Ax}\rt\1057458h\DC3O\ACK\991050`\1038022vm-?$!)~\152722bh\RS\1011653\1007510\&0x \1092001\1078327+)A&mRfL\1109449\ENQ\1049319>K@\US\1006511\ab\vPDWG,\1062888/J~)%7?aRr\989765\&4*^\1035118K*\996771\EM\"\SO\987994\186383l\n\tE\136474\1037228\NAK\a\n\78251c?\\\ENQj\"\ESCpe\98450\NUL=\EM>J", - _newTeamIcon = unsafeRange "\SUB4\NAKF", + _newTeamIcon = Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal), _newTeamIconKey = Just ( unsafeRange diff --git a/libs/wire-api/test/golden/Test/Wire/API/Golden/Generated/BindingNewTeam_team.hs b/libs/wire-api/test/golden/Test/Wire/API/Golden/Generated/BindingNewTeam_team.hs index 95ec210ac87..5b2eae3c44a 100644 --- a/libs/wire-api/test/golden/Test/Wire/API/Golden/Generated/BindingNewTeam_team.hs +++ b/libs/wire-api/test/golden/Test/Wire/API/Golden/Generated/BindingNewTeam_team.hs @@ -19,10 +19,14 @@ module Test.Wire.API.Golden.Generated.BindingNewTeam_team where +import Data.Id (Id (Id)) import Data.Range (unsafeRange) -import Imports (Maybe (Just, Nothing)) +import qualified Data.UUID as UUID (fromString) +import Imports (Maybe (Just, Nothing), fromJust) +import Wire.API.Asset (AssetKey (..), AssetRetention (..)) import Wire.API.Team ( BindingNewTeam (..), + Icon (..), NewTeam ( NewTeam, _newTeamIcon, @@ -40,10 +44,7 @@ testObject_BindingNewTeam_team_1 = ( unsafeRange ("UivH&\54922\98185p\USz\11724\r$\DC4j9P\r\"\1070851\3254\986624aF>E\1078807\139041B\EM&\1088459\DC4\174923+'\1103890R;!\GS\1017122\SIvv|\rmbGHz\1005234\95057\&3h\120904\\U|'\ETX;^&G\CAN\f\41076\&42\teq\1049559\SOV1}\RSaT\1014212aO7<;o\179606\f\1111896m)$PC\ESC7;f{\STXt\9533>\EOTX@4|/\tH\ENQ/D\144082\EM\121436C\99696Q\ENQT\1096609?d\ACK\1073806#H\127523\139127*\166004jo\1079041\74636t\n)1/% hL\DC2Ad\SOHXq6\DC1)\NUL\f6\fV\DC4r\1097128\DC1n\1107359,@\171217\118996\n\SUB%N\176824\ACK\33856Xv)\SYNz?\DC4\EMY\162050\&2\95792um8}\51420\DC2yW\NULHQ\ENQD[Fe\nk\999106\EM\25079Yk@##u}j\169850\153342\STXq\ESCir7) \27756%\1016104~\993971\&8\1085984je\1099724\&0*Gi3\120829je\CANQr>\1033571k1\63774c\1031586L\1015084\93833t\EOTW\999363\SUBo\fgh\ACK\172057C2\38697c\SUB)uW\r\fB\1042942Sf\SUB\SOH*5l\38586\SI\25991\EMB(\ENQ\133758/)!{\1006380\&9\STXA\DEL\16077fx&\180089T&\187029\DC4\52222[\r\v\n\1071241j2\166180/\1086576\ENQQo\fj\134496\129296\nb6\CAN3\RS9\EM\1000086ub\ETB3CY\GSsIz") ), - _newTeamIcon = - ( unsafeRange - (":b6\99159L\1054777K<\1108399\94965C^\SOY8LuXS\156657F\SOH\ETB\49985\1023127\US\1042782J]\ETBA2R$P6\\\ENQ\168330-J\NULt\SI\1047279*\1030368r\1078088M\NAKPL)\94751\SUBJ\72794S\1103633~'kRYj\71198{P{V\SOH!\986239Y~\vV\t\150530{5%i[$7X:ZV\NULy\a\49289\SYN\ENQ\f;!k?O\1029799\1082505K:}\1097011\174391#>\\|(n\STX\165884\ETXD\150060\52125{|\151751\987438+\7022J") - ), + _newTeamIcon = Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "3d4b563b-016c-49da-bad2-876ad0a5ecd2"))) AssetExpiring), _newTeamIconKey = Just ( unsafeRange @@ -97,10 +92,7 @@ testObject_BindingNewTeam_team_4 = BindingNewTeam ( NewTeam { _newTeamName = (unsafeRange ("\ETX\1006830k;")), - _newTeamIcon = - ( unsafeRange - ("tmIV\999157\&3\1101401\1048401HKE{\1076066\58364R9\EOT\ETBE2\68432L\1009801|a\b|C\41601\1054883}\GS\1031260\CANO9$)\NUL\STX\153170\32951\NUL\50288K\1045065\1057248d\25051\GS\vq\1025447B\ETX\aT\SOPt\DELY\NAK\1047285\28492z#k`P\1056790\STX_7LXC]`#-`\ACK\2234\DC2pw59\n\SUB\DLEj\41795\184841F\ETB\1071805\t;\DC2r*\22318\EMS\182587E8e\FSx\1091470A\SUB|j\ad\DLE0RDI\rQ\NAK`\1072156\EM)j{\1062530\142892\1100137f@\t\DC1\f\"\f\1043821\1099467\1105685\6302J`.\110675*\bF%4\1009644\EM-3g\100340\1103476\1101833\STX\n\DLE\DC3]s\178911_\a\1041598\162772\DC2\v\515\DLE\15612v|\b\1052391%\165476g~0\EOTWp\t \173242C\FS\149826x\ENQ\ACK\DC2-DIYa\1004333:\189759'{\1083009\143586\1041756\&6\7690\1000132=xfo\ACKU'\DC4\1102469t\n\DC2\1095515\&6\119535/\1103539tR\SYN#\1109833") - ), + _newTeamIcon = Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "18fef3b3-323c-4c27-bb62-6026d62f77c3"))) AssetExpiring), _newTeamIconKey = Nothing, _newTeamMembers = Nothing } @@ -114,10 +106,7 @@ testObject_BindingNewTeam_team_5 = ( unsafeRange ("\SIB\63473\70352\&3\158300\\#\1061243I\USK\1023384h\DLE\DC3\RS\134858*\998726L\STXw1p\"4\EOT\188995#u\144798\SYN\FS\37122\41625$\376wu\174004\45347\1008628\SUB\a)\DC2?T \49542\&8\39359.\t\NAK1\f\EOTY\128585%\1929\64376\15282 &Z4\1085196\NUL@\SOH\EM\154601\1078303\1098851xtj\182717`\SOH\59489r\r\94098\EOT0\EM\NULLyc D\FS\1085075\1054974)\SUB-\SO\1085196\vl\984336\59601\1114081\CAN\61540\186940f\SIrb/[F\NUL\1099974<1\1027888P\GSxl\"!11E\ESC0\ESC\f$u\1093437N\GSV^\1017313q\170667\n`\1047440\163252:iLXn\CAN\988958\26427O}8!Y\NAK,^X\63902*\\`\38784\DC3\a]\144700\1021165{FKA\b\1102136\178719\DC3\US=UC\179701KQb\1054842\1015593\FSX7@\996116C~-[Db $cx\ETXCzvq ,g\rD\1032170") - ), + _newTeamIcon = Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal), _newTeamIconKey = Just ( unsafeRange @@ -135,10 +124,7 @@ testObject_BindingNewTeam_team_6 = ( unsafeRange ("v\188076hEWefuu\1006804jPx\158137k#\SOH\986725\STX\ETX^\ESC\n\CAN\8325p1D|S1\1064991\1102106\29079\SYN`\t0g\1034469,t\FSw\fDT\RS#H\SOH\145176\US{\1091499\1025650\984364lW\a,uil\SIN`5e:\SYN Y!\SYN\1025115tb\1085213") ), - _newTeamIcon = - ( unsafeRange - ("l\145301\30725\US@/D\t\145930\1019910^f\NAK\DC4[\127098\1002727)\1097841W\1035417\&2\58863\111330\n#\138666|/I\rI\NUL\US;\n\v\b\ESC\SO\b}\1060666Q\168368\&45^mI\10814\138738\1110238k\SO\1071853d0iA7\DC3\rW\985090\1041247Z\166371T\46392u\EOT\SOX\"\996646") - ), + _newTeamIcon = Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "d7a467c6-8cd4-40cb-9e30-99b64bb11307"))) AssetEternal), _newTeamIconKey = Just ( unsafeRange @@ -156,7 +142,7 @@ testObject_BindingNewTeam_team_7 = ( unsafeRange ("\145552\1042892iz\1057971FT\14964;\1108369}\188917\1113471\&9\SO\991633\&7>hAC\NULH2O\177259m\187711\&2R(?W,=,\990725M\992456\aM\194790\SUB\47600q\SOlj\EOTj^.s~\rY%5lM,\26492=\ACK\1016899\188843>{\CAN\DLE\15878f=X9\SYN9\51145\159419TI4\17599\v\NAK6\1014936/\DLE\NAK\ACK\23564H<\ENQ\1029703e\ENQz\1017528:\6137\"rS\a\167660\FS\ETX\1059289\1031786\49012\DC4\DC4Q\"\1065200\&1:\1097556\UST.;\1042663\18380}") ), - _newTeamIcon = (unsafeRange ("_5\63791\aQ\1109163W\8411\&9\43942*\1003379")), + _newTeamIcon = Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "b199431c-e2ee-48c6-8f1b-56726626b493"))) AssetEternal), _newTeamIconKey = Just ( unsafeRange @@ -174,10 +160,7 @@ testObject_BindingNewTeam_team_8 = ( unsafeRange ("YwD\1023517r\NAK}\1083947\ACK\1047823\29742\EOT\1071030iI5g\1012255\t\"r\150087O\DC4?\53005\1100290\1108960\NUL\1060304qgg\DC1X)\NULL\1054528\CAN{\v4\NUL\93999\bvD#\1035811$aYFk\b\1102040\1089491\1042733\47133:1\179810S7\66745V)\1072087\v\96989\&3#\b\1104899c\27119Q/jPy\1015620P@Df\997914\51756H\1113361Xr\SO\ETB3%\1108760aF@3A\SI\ETB\STX mj9T=\DC3'XI\DC2?0\1093231\156858VHp?\1066163YU\42092\33083\72810,)\1113424\ETX96\153338z\42445/4T\136162\ESC\60427\1086321&\ETBS\1098748\14578z[\54638Z\DC2\"e\SUB\173931&rQ\fJG\100066\180037\155435s$\SUB$\50544S\162554E\ETX*\t+\63443WU*\144654\1042128\&8\NAK\999184a\t\EM\1097907_\DELOD\1006385/\23998\1100140SmfX") ), - _newTeamIcon = - ( unsafeRange - ("\9989IT\RS\DEL\1102950\49046%mE\985354\1051208M\a:[fgw\ESC?ye\70096\1096815K\ETBl\1054491\1013010\1037243Qg?\151299{\f!uXA}H)v$\160467\1093098mGkC9\1084965\GS\1092746\1034992\&1DH\166476s\42306\&7[.\187974v+\1091910O^SGjv\1069550Y\1003173n\154396Z\78347\SO{\1060523Q\ETX\RS1I\FS5\ACK\1035980\1083718\1031418_\1105769?gD\4285\fg\15008:g\FS.J<\DC2\ETB\1016548}/\97909\DELOBLa\1051864\a{\1011185-\1064859\v\SI\DLE\145744V \\Ns0t\1081561frR!Qe!$\140066\1007621\SYN$\1077998!SZ\1052672\184571a\DLEB3") - ), + _newTeamIcon = Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal), _newTeamIconKey = Just ( unsafeRange @@ -195,10 +178,7 @@ testObject_BindingNewTeam_team_9 = ( unsafeRange ("\SOLN\GSr\144312\1070871k\181829#\153181lTD[Jh\SOH\1029451\34144\&6\1034706\1062880\NAK}\adb\171356-\\-1\DC42\1046344\DC2\78894\&1/\33084b:\ENQ\1038950;Mw\FS\183866\1113547ITuy\1050264`SP\SOH\SO\GS\NAK\a\r7M\1069326\1064150\18615\n\SYN3V\ETXR\n1$e.\1096261B~yd_z\1047817\rV\1091351\RS\SYN\165050l\DC3\47200u\1058674u\"\aTc|sEw\1011190wTC|F\4735B\t\DC4&\bUEN(+M\SOF;\1099746\134573\EM20\nrPW\1017058$\1064809") ), - _newTeamIcon = - ( unsafeRange - ("i\DLEi|\7196\ETB\1025523\NUL\7866\NULD'\94469Zby\1039174\8663Y\r\1019969\\n\21729\168347>\999971\&6\140502\1039443\37325\1016989|`dN \25830\987680i_\1055665p\1033233J\26000ngp@#\1105667A\988593\&7l{;\180315g4EX\45324\ESC\1068230\151220#z\176275\SYNy\EOT\t\60992G\\\35606\22388#s\1005062Ad\1094868Obh\1008737\DC2\1086579\57353)3R\SUB\FS\97513aw]\1075127\1039396\4324\118950kC\26815\SOH\1002881\1005712d8\46181\DC1\SYN\64570f9") - ), + _newTeamIcon = Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal), _newTeamIconKey = Just ( unsafeRange @@ -213,10 +193,7 @@ testObject_BindingNewTeam_team_10 = BindingNewTeam ( NewTeam { _newTeamName = (unsafeRange ("\b \SOH+\1056054;\t095\42390\n\STX2J\1002251\DC1UzD_\1110746\FS")), - _newTeamIcon = - ( unsafeRange - ("L\1093530j^Xe\DC1\1012858z1{\ENQ\1040620,\1021288\DELB;&\b54f>8+\168322\n\NUL5L[r7_.\DLEl1\176221\US6[EhD\USh\a\1095183\NAKC\139765,\177058,@?y+;\US`/^d\137830\991658HeCd\39028\DC3\1050220\143767\ENQ2O-Hijo\1007768\1045537\1013046X}x\1112190\ETB7\146170\53218C\30013\DLE`k*Gl\1046094\t\77870\1003758\rb}\b\NUL\33414h\SYNynr6d(") - ), + _newTeamIcon = Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal), _newTeamIconKey = Just ( unsafeRange @@ -234,10 +211,7 @@ testObject_BindingNewTeam_team_11 = ( unsafeRange ("\48005H\1082536\132304\157763\&5\RS\986337-\NAK\ESCR\nL\63954&bD\139428\SUBH\US\1040918\f\t;e\1064224\47101\tc\1087740e\1099415\DLE\ETX\DELI\65746\ETB\133884\SUB \SI\43795~FE\CAN6\162836\DEL\46062u\"\135684\1041611\FSFYI\t/{\ENQ\RS]j\1076782\US22\15884l\42366$\ETB\US\180023kL{\STX*\131382RMj\ESC\1091332W3H\1020399\FS\NAK^\"5\29653\32539*\1099111") ), - _newTeamIcon = - ( unsafeRange - ("r\53037\22164\72341u*33{8G\1084742aO\GS%\NUL[\1003678U\ENQ\985387iKL\GSNF\163860\1098258`\EOTT$`i5\92401\ESC\356\&98>") - ), + _newTeamIcon = Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal), _newTeamIconKey = Just ( unsafeRange @@ -255,10 +229,7 @@ testObject_BindingNewTeam_team_12 = ( unsafeRange (";\110872M\EOT\164161P]'\1041089\1094514\4118\1054714iFnRQV\43238@\992926\59902l\1099067\aKZ{\51124S\190890\fg*\n,`!V\STX\991695e'\1039967\SO0\37019p4d\STXs\1020471uK(c'\52929hjB\144953\SOt'h^\SYN\SYN0\1009487_\12064\166805thH\SI\1073479:\1019934l; n4c\1101781D[\1014388\&8Y+\1092407\EOTE\1058506\\0\168273KKTc)P1K\1042475\990753W\ETX<|\24888\&0|5{Y\986771M\DC4\vK\DLE\1089150\SOH\DC4\1013653.\ETBg\991717\DLE\"W\NUL9&0yYZ\1094524\v\11606\58174") ), - _newTeamIcon = - ( unsafeRange - ("\1060773b\EOTch1a iuB\1011795\ESC\DC1\187488\STXV\1046981@1\145144 iY\"m\1036630\SO\\O*(\DC3\178375w7w\1105638\US2ECk\99276\&4\ETX\2892%\EOT@\"k\1013020\993468*\1031577\DC1\ESCYC?\177240\&2>\52504\SYNo8[\aV@9E\1085704\9349\1018050!k0b\t\n+6\\Ki{\DC1\984398\SOH\SYN\1037253{0H\1017165\DC4\ENQ\992581|\CAN\1023332F\37419\1012389d\1045535\n\119327\1054972X\1056743\1052679*\bC\DC2\99475Wz\1070783\37601QWt\ETBAj>eO}Ae\DEL\DC4\94565 \STX\39311\SIF\tAH\160873:\167531\&8\16727Q\1045659\DLE-A\EOT\156588\ESCHOc\v\1007234\DC39\SYN\917845{ \NUL]\1008784I\1054187,\162782f\DC2\1088424q\SOH\129571GA\GST\EOTS\DLEMmnLy\1113365=\131110\&2k\1010420\r~\1059431\&1! \ESCJy\9820J|zgf1}ILN5\1024553Xi\6845Be.\1085513\RS\SYN\95106\1090727\RS+Y;Z$\SO5") - ), + _newTeamIcon = Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal), _newTeamIconKey = Just ( unsafeRange @@ -297,10 +265,7 @@ testObject_BindingNewTeam_team_14 = ( unsafeRange ("2#\DC2N\b9&A\1030886ZL{f\1011542M\1101172\23517\a\DELv\164961\32470\ACKT7\DC3\DC4\1009557O\1103393C\152202\t\DC4l\RS\SOH]\ESC\ACK\95718X;\149660* &\97401}\1111236T\ESCCLkx,\DLE\63803\nbT\1049269fWJ\992800\136973a\US`\DC3\139728\28948\&8r2']\NAK\DC2\133094\nl\DC2NXB\ENQia\1068046]B\989632\DLE\ENQdf#\64677\t6g\FS\SOH\1029760Fp(\GSQTZ\1015396\8630\153801dUJt\SI\EM\194705`\\#g0Qed@a${=Q.\1048388Ld`\35027 \173216sV\SUB\SO5\150360\41997\1107813i\EM\DC3\988956\1049486\SOH\1030355>\1044179\DC3w\1001979Y}\21603\&1q\NAKY:\25626q \ETB=*#\74975\EM\61277\\\21887y9Tfc\DC1\49327k\1096646\\Oxxn&6NtaZ?k:5G@\46350\DC3H\1097149hu4\178807\995883\USR\161801\1024517v\26381\23905\72161\12881\ACKD\985152[bb<\1111873") ), - _newTeamIcon = - ( unsafeRange - ("(r'`\1072313Gd\ETX)u\fq*4\1076827\1031167i\EMM.Ru\1079085\t\148161\1088689m\58073;\f\1001367\1114096\135422m\a\t\1066705wRhv\ar6\64764\";&4\SYNX\GS\SYNw5{%P&\26997\&98\ETX\STXyL\t\1022691XMu(\187856\&6)\SUB\42223Wc\38363#\STX\22842l\1064183Vy\59354\&1_\SUB\\\CAN\1103008\44889Ek>\1005303\ACK]$\EOT\181821\1076265w\r\164187@&V8\a\DLE\DC1\DEL\\\1010644\1053996\NAK)X\nE)\1071775y*%1\NAK\DC2^4hKf\995698|EY`^\DC3\173547\58719\39061\"pX\bg\49396>YR(W\\eS\GS\27701(bn\SYNu\1001078\156831h\41346\FSG\1090155\DLE\34585a\70001n2)\984812\"<\1032188YUq\1049152\1035363\186759\r7\61891\4004\v\1049233\24817\r\1027960|]\ETB\SOh9f\ACK1\bZQ7fmQOQ\986711l!\DC3\44018\27476*\43689*1\f\1097293\&8nk|\NAK\1005998~\fO\162989\100863!:3\ETXn{%\6663\182700if/!\29917] <\1056176Y\1078680\b\DC4~\t\EM\SOH<*\NAK\143397bx4 {\96203\CANVs;g\98929\144388\STXqkI!QJ\1072302J\189512\DC4\64545?_\STX\t\1082190iB3YdKA7@>Q\995699\987049]\1094644\133325>D\1026819wD\ESC|\SI'^\136789\120874Q#q,\"") ), - _newTeamIcon = - ( unsafeRange - ("UZ0\990600t+\167739\12589k|\DEL\DC1\SYN\EM_ch\t\1089768\13109\n\ETB\DC2,x\1106295,RE(,G\GS\"gA\NAKncdJ\162831+\t\1100097FP{v=\45227'e\STX9B#1\1075471\t.\1085742\140286\11416\FSUK\SOH\a;\STX\1078860\143696\&7B\ESC\NULD+\1036884\1094020`\SO\DEL>\ESC\DC1,\171231d\SOH(5\EOTP9iR]\RSNws\1029644\1003476{[H\128669,\DEL5J!\136454\1036165j\1053405eA\1046358\tbj\EMk\DC1l\n\988481H~]u\42907\1029099!kjVS{42\NULE?\EMh\61474\35112B!:\DLEX\DC1T\DEL3W\avimhK\1078443\DC1to*P*\DC1}\986362\1081249H\r\1034017B") ), - _newTeamIcon = - ( unsafeRange - ("_'C\1004343\EOT9\nC\92250f\a\118853Pe\58352\127931\185310\134048\98557\&5\1051407m<\r}\139827@\1053024#.\1058183\STX6%\1111877H%\1030001\60185n\EOTUk\US/\FS\DELpS\156872\DEL\1098001[1np\ACKmD\1011808U\GSI\1083494]I\49341\171558AT\ETX\USOl{\DC1\tYt7U +Q\1073293\CAN\US[\STXJV\EOT`\CANrF\tN\67855\95873\169991\SYN\166546*A\DLEA]4ku\1003232W\1111354\54858I\DC4\58521\SO\94687") - ), + _newTeamIcon = Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal), _newTeamIconKey = Nothing, _newTeamMembers = Nothing } @@ -352,10 +311,7 @@ testObject_BindingNewTeam_team_17 = ( unsafeRange ("|\36324P\US\1040589\159812Y\SOHj\RSYrr\49743\&0m\ENQ\1027954*'\72098\1105368P6\SYN\15236\f\DC2\125109e\1031690\RS\1026891\1003083\69946\rA'\GSA\NAK\53778\1067566J\1016490'T\1037603R2? \FS\US\1032454$\NAKGr(\1008673{\ENQ\62451\&0mJ\SID\STX-\CAN_I\132366\f\147665\FSR\1080205hp\143954B6W2\b\f6\1104867\DC2\180998\b1'7-T-#\3953D\1076345\1082129T]v$Gl\1042148\1032818\&5yg\1025280\nQc.`i\14819\24538}\FS&k4\99627\ACK>#\32013\1036954\EM\131987[vBOPu\1108963@\ACK\NUL\1087882\147841\SO\NAK\98755\31702\EOT\ETX&\1032348?z\989374i\fz\n\1029119\ETB3\a\1108955W\1113557E^\1043345\986117S3'4\ACK\74144*m-\ESC4\USj\ETX__6\1046371\6580M\48069\ESC]\EOTDq\DLEuo\28030$\vUWp1=/o\ETBY\173686\&9\DC2\nQ\177317\1051037)\1102455\"br\SOH\NUL\158808+\47718c^\1003405<`\1111751\149060\STX\986585\ETX\162139D\ENQ\30356nqp\1095539\988368c\RSt\1081319G") ), - _newTeamIcon = - ( unsafeRange - ("Zz]|\b>\NUL\163291\1063651\95675\SOH,q\SOH`\1050846P\987757\1069132\n\EOTIm\1067057\DC4\1013555\1075331HB\GS`\1022663\142641U\162403G\DC3m+Lw\DLE\1023911\"0\119625?-T\ESC\ETXj\DC3|Lq\ETX.\99032hgq\ESCy\99463\&5\ay\ACK\1111685w^(\ETB+\175870\&3\f\113727x\1007957i*E\DC3\179834rTM\CAN\1093029$\160784\190686\EOT\\p\1053146\&1\a\131095\1050682zv\1034137\EMrj\a\1043282u\NAKn\SO\164246\&6\ESCs\GSm9Y\FS%\DLE?6\1039335\STX\f\1063550)RST\r\DLE\1107040\DC1\1078521h\nTS\DC2\US\1097415\STXn\ESC\149926r2\73911\984427hrr-$*j\1110522\35321]@\1003869\15025J\b\"8N\68412e,#", serviceProfileDescr = "D\DEL", serviceProfileAssets = - [ (ImageAsset "" (Nothing)), - (ImageAsset "" (Just AssetComplete)), - (ImageAsset "" (Just AssetComplete)), - (ImageAsset "" (Nothing)), - (ImageAsset "" (Just AssetComplete)) + [ (ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Nothing)), + (ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Just AssetComplete)), + (ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Just AssetComplete)), + (ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Nothing)), + (ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Just AssetComplete)) ], serviceProfileTags = fromList [], serviceProfileEnabled = False @@ -196,7 +197,7 @@ testObject_ServiceProfile_provider_9 = serviceProfileName = Name {fromName = "\EM\73877+\DC2\NUL!\USV\f\1025396\1106635_\1106841H#4\STX\1104704\DEL"}, serviceProfileSummary = "a\1088958", serviceProfileDescr = "AU", - serviceProfileAssets = [(ImageAsset "\DC1" (Nothing))], + serviceProfileAssets = [(ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Nothing))], serviceProfileTags = fromList [BusinessTag, FinanceTag, PollTag], serviceProfileEnabled = False } @@ -209,7 +210,7 @@ testObject_ServiceProfile_provider_10 = serviceProfileName = Name {fromName = ":h[\1059282\1033090\913Y$\ENQ\NAKE\1086801\186280\STX\US\28752"}, serviceProfileSummary = ",AD", serviceProfileDescr = "s&\118974", - serviceProfileAssets = [(ImageAsset "" (Just AssetPreview)), (ImageAsset "" (Nothing))], + serviceProfileAssets = [(ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Nothing))], serviceProfileTags = fromList [], serviceProfileEnabled = False } @@ -256,7 +257,7 @@ testObject_ServiceProfile_provider_13 = serviceProfileName = Name {fromName = ":[\".\152322\USvU\1055877"}, serviceProfileSummary = "", serviceProfileDescr = "A", - serviceProfileAssets = [(ImageAsset "B" (Nothing))], + serviceProfileAssets = [(ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Nothing))], serviceProfileTags = fromList [ProductivityTag], serviceProfileEnabled = False } @@ -286,7 +287,7 @@ testObject_ServiceProfile_provider_15 = }, serviceProfileSummary = "*P`", serviceProfileDescr = "u`\ENQ", - serviceProfileAssets = [(ImageAsset "*" (Nothing))], + serviceProfileAssets = [(ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Nothing))], serviceProfileTags = fromList [MusicTag, RatingTag], serviceProfileEnabled = False } @@ -303,7 +304,7 @@ testObject_ServiceProfile_provider_16 = }, serviceProfileSummary = "U,", serviceProfileDescr = "S\n", - serviceProfileAssets = [(ImageAsset "" (Just AssetPreview)), (ImageAsset "" (Just AssetPreview))], + serviceProfileAssets = [(ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Just AssetPreview))], serviceProfileTags = fromList [], serviceProfileEnabled = False } @@ -320,7 +321,7 @@ testObject_ServiceProfile_provider_17 = }, serviceProfileSummary = "\SO4c", serviceProfileDescr = "\SI", - serviceProfileAssets = [(ImageAsset "" (Just AssetComplete)), (ImageAsset "" (Just AssetComplete))], + serviceProfileAssets = [(ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Just AssetComplete))], serviceProfileTags = fromList [], serviceProfileEnabled = False } diff --git a/libs/wire-api/test/golden/Test/Wire/API/Golden/Generated/Service_provider.hs b/libs/wire-api/test/golden/Test/Wire/API/Golden/Generated/Service_provider.hs index 0ab9afa0e72..80a068190cb 100644 --- a/libs/wire-api/test/golden/Test/Wire/API/Golden/Generated/Service_provider.hs +++ b/libs/wire-api/test/golden/Test/Wire/API/Golden/Generated/Service_provider.hs @@ -48,6 +48,7 @@ import URI.ByteString uriScheme ), ) +import Wire.API.Asset import Wire.API.Provider ( ServiceTag ( AudioTag, @@ -238,7 +239,7 @@ testObject_Service_provider_2 = ] ) ), - serviceAssets = [(ImageAsset "" (Just AssetComplete)), (ImageAsset "" (Just AssetComplete))], + serviceAssets = [(ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Just AssetComplete))], serviceTags = fromList [], serviceEnabled = True } @@ -431,7 +432,7 @@ testObject_Service_provider_4 = ] ) ), - serviceAssets = [(ImageAsset "" (Just AssetComplete))], + serviceAssets = [(ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Just AssetComplete))], serviceTags = fromList [MediaTag], serviceEnabled = False } @@ -570,11 +571,11 @@ testObject_Service_provider_6 = ) ), serviceAssets = - [ (ImageAsset "" (Just AssetComplete)), - (ImageAsset "" (Just AssetPreview)), - (ImageAsset "" (Nothing)), - (ImageAsset "" (Just AssetPreview)), - (ImageAsset "" (Just AssetPreview)) + [ (ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Just AssetComplete)), + (ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Just AssetPreview)), + (ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Nothing)), + (ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Just AssetPreview)), + (ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Just AssetPreview)) ], serviceTags = fromList [FinanceTag, FitnessTag, MoviesTag], serviceEnabled = True @@ -677,7 +678,7 @@ testObject_Service_provider_7 = ] ) ), - serviceAssets = [(ImageAsset "" (Just AssetPreview))], + serviceAssets = [(ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Just AssetPreview))], serviceTags = fromList [MoviesTag], serviceEnabled = True } @@ -1017,7 +1018,7 @@ testObject_Service_provider_11 = ] ) ), - serviceAssets = [(ImageAsset "" (Just AssetComplete)), (ImageAsset "" (Just AssetComplete))], + serviceAssets = [(ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Just AssetComplete))], serviceTags = fromList [], serviceEnabled = False } @@ -1109,9 +1110,9 @@ testObject_Service_provider_12 = ) ), serviceAssets = - [ (ImageAsset "" (Just AssetPreview)), - (ImageAsset "" (Just AssetComplete)), - (ImageAsset "" (Just AssetComplete)) + [ (ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Just AssetPreview)), + (ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Just AssetComplete)), + (ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Just AssetComplete)) ], serviceTags = fromList [MedicalTag, TravelTag, WeatherTag], serviceEnabled = False @@ -1184,7 +1185,7 @@ testObject_Service_provider_13 = ] ) ), - serviceAssets = [(ImageAsset "" (Just AssetComplete))], + serviceAssets = [(ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Just AssetComplete))], serviceTags = fromList [EducationTag, MoviesTag, ShoppingTag], serviceEnabled = False } @@ -1286,7 +1287,7 @@ testObject_Service_provider_14 = ] ) ), - serviceAssets = [(ImageAsset "A" (Just AssetPreview))], + serviceAssets = [(ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Just AssetPreview))], serviceTags = fromList [], serviceEnabled = True } @@ -1354,13 +1355,13 @@ testObject_Service_provider_15 = ) ), serviceAssets = - [ (ImageAsset "" (Just AssetPreview)), - (ImageAsset "" (Just AssetComplete)), - (ImageAsset "" (Just AssetPreview)), - (ImageAsset "" (Just AssetPreview)), - (ImageAsset "" (Nothing)), - (ImageAsset "" (Nothing)), - (ImageAsset "" (Just AssetComplete)) + [ (ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Just AssetPreview)), + (ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Just AssetComplete)), + (ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Just AssetPreview)), + (ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Just AssetPreview)), + (ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Nothing)), + (ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Nothing)), + (ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Just AssetComplete)) ], serviceTags = fromList [DesignTag, LifestyleTag, QuizTag], serviceEnabled = True @@ -1428,7 +1429,7 @@ testObject_Service_provider_16 = ] ) ), - serviceAssets = [(ImageAsset "" (Nothing)), (ImageAsset "" (Just AssetComplete))], + serviceAssets = [(ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Just AssetComplete))], serviceTags = fromList [PollTag], serviceEnabled = False } diff --git a/libs/wire-api/test/golden/Test/Wire/API/Golden/Generated/TeamList_team.hs b/libs/wire-api/test/golden/Test/Wire/API/Golden/Generated/TeamList_team.hs index 9bf6832fbb0..2a448754c25 100644 --- a/libs/wire-api/test/golden/Test/Wire/API/Golden/Generated/TeamList_team.hs +++ b/libs/wire-api/test/golden/Test/Wire/API/Golden/Generated/TeamList_team.hs @@ -23,7 +23,8 @@ import Control.Lens ((.~)) import Data.Id (Id (Id)) import qualified Data.UUID as UUID (fromString) import Imports (Bool (False, True), Maybe (Just, Nothing), fromJust, (&)) -import Wire.API.Team (TeamBinding (Binding, NonBinding), TeamList (..), newTeam, teamIconKey) +import Wire.API.Asset +import Wire.API.Team (Icon (..), TeamBinding (Binding, NonBinding), TeamList (..), newTeam, teamIconKey) testObject_TeamList_team_1 :: TeamList testObject_TeamList_team_1 = @@ -33,7 +34,7 @@ testObject_TeamList_team_1 = ((Id (fromJust (UUID.fromString "00000001-0000-0001-0000-000000000000")))) ((Id (fromJust (UUID.fromString "00000000-0000-0000-0000-000100000000")))) ("") - ("") + (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) (NonBinding) & teamIconKey .~ (Just "") ), @@ -41,7 +42,7 @@ testObject_TeamList_team_1 = ((Id (fromJust (UUID.fromString "00000001-0000-0001-0000-000100000000")))) ((Id (fromJust (UUID.fromString "00000000-0000-0000-0000-000000000001")))) ("") - ("") + DefaultIcon (NonBinding) & teamIconKey .~ (Just "") ), @@ -49,7 +50,7 @@ testObject_TeamList_team_1 = ((Id (fromJust (UUID.fromString "00000001-0000-0000-0000-000000000000")))) ((Id (fromJust (UUID.fromString "00000001-0000-0000-0000-000000000001")))) ("") - ("") + (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) (NonBinding) & teamIconKey .~ (Nothing) ) @@ -65,7 +66,7 @@ testObject_TeamList_team_2 = ((Id (fromJust (UUID.fromString "00000000-0000-0001-0000-000100000000")))) ((Id (fromJust (UUID.fromString "00000001-0000-0001-0000-000000000001")))) ("7") - ("\174380") + DefaultIcon (Binding) & teamIconKey .~ (Just "@") ), @@ -73,7 +74,7 @@ testObject_TeamList_team_2 = ((Id (fromJust (UUID.fromString "00000000-0000-0001-0000-000000000000")))) ((Id (fromJust (UUID.fromString "00000000-0000-0000-0000-000000000000")))) ("") - ("") + (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) (Binding) & teamIconKey .~ (Just "") ) @@ -89,7 +90,7 @@ testObject_TeamList_team_3 = ((Id (fromJust (UUID.fromString "00000001-0000-0002-0000-000200000000")))) ((Id (fromJust (UUID.fromString "00000000-0000-0001-0000-000100000002")))) ("") - ("") + (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) (NonBinding) & teamIconKey .~ (Nothing) ) @@ -105,7 +106,7 @@ testObject_TeamList_team_4 = ((Id (fromJust (UUID.fromString "00000001-0000-0001-0000-000100000001")))) ((Id (fromJust (UUID.fromString "00000000-0000-0001-0000-000100000000")))) ("\1065164") - ("") + (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) (NonBinding) & teamIconKey .~ (Just "") ), @@ -113,7 +114,7 @@ testObject_TeamList_team_4 = ((Id (fromJust (UUID.fromString "00000001-0000-0000-0000-000100000001")))) ((Id (fromJust (UUID.fromString "00000001-0000-0001-0000-000100000000")))) ("") - ("") + (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) (NonBinding) & teamIconKey .~ (Just "") ) @@ -129,7 +130,7 @@ testObject_TeamList_team_5 = ((Id (fromJust (UUID.fromString "00000001-0000-0000-0000-000000000001")))) ((Id (fromJust (UUID.fromString "00000000-0000-0001-0000-000100000001")))) ("") - ("") + (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) (NonBinding) & teamIconKey .~ (Just "") ), @@ -137,7 +138,7 @@ testObject_TeamList_team_5 = ((Id (fromJust (UUID.fromString "00000001-0000-0000-0000-000000000000")))) ((Id (fromJust (UUID.fromString "00000001-0000-0001-0000-000100000001")))) ("") - ("") + (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) (Binding) & teamIconKey .~ (Just "") ), @@ -145,7 +146,7 @@ testObject_TeamList_team_5 = ((Id (fromJust (UUID.fromString "00000000-0000-0001-0000-000000000000")))) ((Id (fromJust (UUID.fromString "00000001-0000-0001-0000-000000000001")))) ("") - ("") + (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) (NonBinding) & teamIconKey .~ (Just "") ), @@ -153,7 +154,7 @@ testObject_TeamList_team_5 = ((Id (fromJust (UUID.fromString "00000000-0000-0001-0000-000000000000")))) ((Id (fromJust (UUID.fromString "00000001-0000-0001-0000-000100000000")))) ("") - ("") + (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) (NonBinding) & teamIconKey .~ (Just "") ), @@ -161,7 +162,7 @@ testObject_TeamList_team_5 = ((Id (fromJust (UUID.fromString "00000000-0000-0000-0000-000100000001")))) ((Id (fromJust (UUID.fromString "00000000-0000-0000-0000-000100000000")))) ("") - ("") + (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) (Binding) & teamIconKey .~ (Just "") ), @@ -169,7 +170,7 @@ testObject_TeamList_team_5 = ((Id (fromJust (UUID.fromString "00000000-0000-0000-0000-000100000000")))) ((Id (fromJust (UUID.fromString "00000001-0000-0001-0000-000000000000")))) ("") - ("") + (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) (NonBinding) & teamIconKey .~ (Nothing) ), @@ -177,7 +178,7 @@ testObject_TeamList_team_5 = ((Id (fromJust (UUID.fromString "00000001-0000-0001-0000-000100000000")))) ((Id (fromJust (UUID.fromString "00000001-0000-0000-0000-000100000000")))) ("") - ("") + (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) (NonBinding) & teamIconKey .~ (Just "") ) @@ -193,7 +194,7 @@ testObject_TeamList_team_6 = ((Id (fromJust (UUID.fromString "00000000-0000-0001-0000-000000000000")))) ((Id (fromJust (UUID.fromString "00000001-0000-0000-0000-000000000000")))) (" ") - ("\1027039") + (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) (NonBinding) & teamIconKey .~ (Nothing) ) @@ -209,7 +210,7 @@ testObject_TeamList_team_7 = ((Id (fromJust (UUID.fromString "00000001-0000-0000-0000-000000000001")))) ((Id (fromJust (UUID.fromString "00000001-0000-0001-0000-000100000001")))) ("") - ("\DC1") + (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) (NonBinding) & teamIconKey .~ (Nothing) ), @@ -217,7 +218,7 @@ testObject_TeamList_team_7 = ((Id (fromJust (UUID.fromString "00000000-0000-0001-0000-000100000001")))) ((Id (fromJust (UUID.fromString "00000000-0000-0001-0000-000000000001")))) ("") - ("") + (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) (Binding) & teamIconKey .~ (Just "") ) @@ -236,7 +237,7 @@ testObject_TeamList_team_9 = ((Id (fromJust (UUID.fromString "00000000-0000-0001-0000-000000000000")))) ((Id (fromJust (UUID.fromString "00000001-0000-0000-0000-000000000001")))) ("") - ("") + (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) (NonBinding) & teamIconKey .~ (Just "") ), @@ -244,7 +245,7 @@ testObject_TeamList_team_9 = ((Id (fromJust (UUID.fromString "00000000-0000-0001-0000-000100000000")))) ((Id (fromJust (UUID.fromString "00000001-0000-0000-0000-000000000001")))) ("") - ("") + (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) (NonBinding) & teamIconKey .~ (Just "") ), @@ -252,7 +253,7 @@ testObject_TeamList_team_9 = ((Id (fromJust (UUID.fromString "00000000-0000-0000-0000-000100000000")))) ((Id (fromJust (UUID.fromString "00000001-0000-0000-0000-000000000001")))) ("") - ("") + (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) (NonBinding) & teamIconKey .~ (Nothing) ), @@ -260,7 +261,7 @@ testObject_TeamList_team_9 = ((Id (fromJust (UUID.fromString "00000000-0000-0000-0000-000100000000")))) ((Id (fromJust (UUID.fromString "00000000-0000-0000-0000-000100000000")))) ("") - ("") + (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) (Binding) & teamIconKey .~ (Just "") ), @@ -268,7 +269,7 @@ testObject_TeamList_team_9 = ((Id (fromJust (UUID.fromString "00000001-0000-0000-0000-000000000000")))) ((Id (fromJust (UUID.fromString "00000000-0000-0000-0000-000000000000")))) ("") - ("") + (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) (NonBinding) & teamIconKey .~ (Just "") ), @@ -276,7 +277,7 @@ testObject_TeamList_team_9 = ((Id (fromJust (UUID.fromString "00000000-0000-0001-0000-000100000001")))) ((Id (fromJust (UUID.fromString "00000000-0000-0000-0000-000100000001")))) ("") - ("") + (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) (NonBinding) & teamIconKey .~ (Just "") ) @@ -298,7 +299,7 @@ testObject_TeamList_team_12 = ((Id (fromJust (UUID.fromString "00000000-0000-0002-0000-000200000001")))) ((Id (fromJust (UUID.fromString "00000002-0000-0000-0000-000100000000")))) ("/\38175") - ("bi") + (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) (NonBinding) & teamIconKey .~ (Just "") ) @@ -317,7 +318,7 @@ testObject_TeamList_team_14 = ((Id (fromJust (UUID.fromString "00000000-0000-0001-0000-000000000000")))) ((Id (fromJust (UUID.fromString "00000000-0000-0001-0000-000000000000")))) ("") - ("") + (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) (NonBinding) & teamIconKey .~ (Just "") ), @@ -325,7 +326,7 @@ testObject_TeamList_team_14 = ((Id (fromJust (UUID.fromString "00000001-0000-0000-0000-000100000001")))) ((Id (fromJust (UUID.fromString "00000001-0000-0001-0000-000000000001")))) ("") - ("") + DefaultIcon (NonBinding) & teamIconKey .~ (Just "") ), @@ -333,7 +334,7 @@ testObject_TeamList_team_14 = ((Id (fromJust (UUID.fromString "00000001-0000-0000-0000-000000000001")))) ((Id (fromJust (UUID.fromString "00000000-0000-0001-0000-000100000001")))) ("") - ("") + DefaultIcon (NonBinding) & teamIconKey .~ (Just "") ), @@ -341,7 +342,7 @@ testObject_TeamList_team_14 = ((Id (fromJust (UUID.fromString "00000000-0000-0001-0000-000100000000")))) ((Id (fromJust (UUID.fromString "00000000-0000-0001-0000-000100000001")))) ("") - ("") + DefaultIcon (NonBinding) & teamIconKey .~ (Just "") ), @@ -349,7 +350,7 @@ testObject_TeamList_team_14 = ((Id (fromJust (UUID.fromString "00000001-0000-0000-0000-000100000001")))) ((Id (fromJust (UUID.fromString "00000001-0000-0001-0000-000100000000")))) ("") - ("") + DefaultIcon (NonBinding) & teamIconKey .~ (Just "") ), @@ -357,7 +358,7 @@ testObject_TeamList_team_14 = ((Id (fromJust (UUID.fromString "00000000-0000-0001-0000-000100000001")))) ((Id (fromJust (UUID.fromString "00000000-0000-0000-0000-000000000000")))) ("") - ("") + (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) (NonBinding) & teamIconKey .~ (Nothing) ) @@ -373,7 +374,7 @@ testObject_TeamList_team_15 = ((Id (fromJust (UUID.fromString "00000001-0000-0001-0000-000000000000")))) ((Id (fromJust (UUID.fromString "00000001-0000-0001-0000-000000000001")))) ("") - ("") + (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) (NonBinding) & teamIconKey .~ (Nothing) ), @@ -381,7 +382,7 @@ testObject_TeamList_team_15 = ((Id (fromJust (UUID.fromString "00000000-0000-0000-0000-000100000000")))) ((Id (fromJust (UUID.fromString "00000000-0000-0000-0000-000100000001")))) ("") - ("") + (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) (NonBinding) & teamIconKey .~ (Just "") ), @@ -389,7 +390,7 @@ testObject_TeamList_team_15 = ((Id (fromJust (UUID.fromString "00000000-0000-0001-0000-000100000000")))) ((Id (fromJust (UUID.fromString "00000001-0000-0000-0000-000000000001")))) ("") - ("") + (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) (Binding) & teamIconKey .~ (Nothing) ), @@ -397,7 +398,7 @@ testObject_TeamList_team_15 = ((Id (fromJust (UUID.fromString "00000000-0000-0000-0000-000100000000")))) ((Id (fromJust (UUID.fromString "00000000-0000-0000-0000-000100000001")))) ("") - ("") + (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) (NonBinding) & teamIconKey .~ (Just "") ), @@ -405,7 +406,7 @@ testObject_TeamList_team_15 = ((Id (fromJust (UUID.fromString "00000001-0000-0001-0000-000000000001")))) ((Id (fromJust (UUID.fromString "00000001-0000-0000-0000-000000000000")))) ("") - ("") + (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) (Binding) & teamIconKey .~ (Nothing) ) @@ -421,7 +422,7 @@ testObject_TeamList_team_16 = ((Id (fromJust (UUID.fromString "00000001-0000-0001-0000-000100000002")))) ((Id (fromJust (UUID.fromString "00000002-0000-0000-0000-000200000000")))) ("\170783") - ("e\20069") + (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) (Binding) & teamIconKey .~ (Just "\1113463(") ) @@ -440,7 +441,7 @@ testObject_TeamList_team_18 = ((Id (fromJust (UUID.fromString "00000000-0000-0000-0000-000000000002")))) ((Id (fromJust (UUID.fromString "00000002-0000-0000-0000-000000000000")))) ("W1") - ("!") + (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) (NonBinding) & teamIconKey .~ (Nothing) ) @@ -456,7 +457,7 @@ testObject_TeamList_team_19 = ((Id (fromJust (UUID.fromString "00000001-0000-0002-0000-000200000000")))) ((Id (fromJust (UUID.fromString "00000001-0000-0001-0000-000200000002")))) ("") - ("7") + (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) (Binding) & teamIconKey .~ (Just "\189413(") ) @@ -472,7 +473,7 @@ testObject_TeamList_team_20 = ((Id (fromJust (UUID.fromString "00000001-0000-0001-0000-000000000000")))) ((Id (fromJust (UUID.fromString "00000000-0000-0000-0000-000000000001")))) ("") - ("") + (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) (Binding) & teamIconKey .~ (Nothing) ), @@ -480,7 +481,7 @@ testObject_TeamList_team_20 = ((Id (fromJust (UUID.fromString "00000001-0000-0000-0000-000000000000")))) ((Id (fromJust (UUID.fromString "00000000-0000-0001-0000-000000000000")))) ("") - ("") + (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) (Binding) & teamIconKey .~ (Just "") ), @@ -488,7 +489,7 @@ testObject_TeamList_team_20 = ((Id (fromJust (UUID.fromString "00000000-0000-0001-0000-000100000001")))) ((Id (fromJust (UUID.fromString "00000000-0000-0001-0000-000000000001")))) ("") - ("") + (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) (Binding) & teamIconKey .~ (Just "") ), @@ -496,7 +497,7 @@ testObject_TeamList_team_20 = ((Id (fromJust (UUID.fromString "00000001-0000-0001-0000-000000000001")))) ((Id (fromJust (UUID.fromString "00000001-0000-0001-0000-000000000000")))) ("") - ("") + (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) (NonBinding) & teamIconKey .~ (Nothing) ) diff --git a/libs/wire-api/test/golden/Test/Wire/API/Golden/Generated/Team_team.hs b/libs/wire-api/test/golden/Test/Wire/API/Golden/Generated/Team_team.hs index bb67fc2c4b0..8298467e0c0 100644 --- a/libs/wire-api/test/golden/Test/Wire/API/Golden/Generated/Team_team.hs +++ b/libs/wire-api/test/golden/Test/Wire/API/Golden/Generated/Team_team.hs @@ -23,7 +23,8 @@ import Control.Lens ((.~)) import Data.Id (Id (Id)) import qualified Data.UUID as UUID (fromString) import Imports (Maybe (Just, Nothing), fromJust, (&)) -import Wire.API.Team (Team, TeamBinding (Binding, NonBinding), newTeam, teamIconKey) +import Wire.API.Asset +import Wire.API.Team (Icon (..), Team, TeamBinding (Binding, NonBinding), newTeam, teamIconKey) testObject_Team_team_1 :: Team testObject_Team_team_1 = @@ -31,7 +32,7 @@ testObject_Team_team_1 = ((Id (fromJust (UUID.fromString "00000004-0000-0003-0000-000200000000")))) ((Id (fromJust (UUID.fromString "00000003-0000-0001-0000-000100000002")))) ("TJ\EOT") - ("Jw\USTB") + (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) (Binding) & teamIconKey .~ (Just "\1040673V") ) @@ -42,7 +43,7 @@ testObject_Team_team_2 = ((Id (fromJust (UUID.fromString "00000004-0000-0003-0000-000000000004")))) ((Id (fromJust (UUID.fromString "00000000-0000-0004-0000-000000000001")))) ("Yc\5828") - ("\1104693\t5") + (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) (NonBinding) & teamIconKey .~ (Just "\34417R3q") ) @@ -53,7 +54,7 @@ testObject_Team_team_3 = ((Id (fromJust (UUID.fromString "00000004-0000-0003-0000-000000000003")))) ((Id (fromJust (UUID.fromString "00000003-0000-0004-0000-000100000000")))) ("2E\1092885") - ("") + DefaultIcon (NonBinding) & teamIconKey .~ (Just "s\1056436") ) @@ -64,7 +65,7 @@ testObject_Team_team_4 = ((Id (fromJust (UUID.fromString "00000000-0000-0002-0000-000100000004")))) ((Id (fromJust (UUID.fromString "00000004-0000-0000-0000-000100000003")))) ("\177218\bk") - ("\1078494u\FSC\SOH") + (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) (NonBinding) & teamIconKey .~ (Just "X") ) @@ -75,7 +76,7 @@ testObject_Team_team_5 = ((Id (fromJust (UUID.fromString "00000004-0000-0003-0000-000000000004")))) ((Id (fromJust (UUID.fromString "00000000-0000-0004-0000-000200000002")))) ("\ACK\99388\20164") - ("\1073797") + (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) (Binding) & teamIconKey .~ (Just "?&\ESC") ) @@ -86,7 +87,7 @@ testObject_Team_team_6 = ((Id (fromJust (UUID.fromString "00000000-0000-0002-0000-000000000001")))) ((Id (fromJust (UUID.fromString "00000000-0000-0003-0000-000000000003")))) ("\1018732x\1035024]\15985") - ("_'\DC1\STX") + (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) (NonBinding) & teamIconKey .~ (Nothing) ) @@ -97,7 +98,7 @@ testObject_Team_team_7 = ((Id (fromJust (UUID.fromString "00000002-0000-0003-0000-000000000002")))) ((Id (fromJust (UUID.fromString "00000001-0000-0002-0000-000400000000")))) ("\9929\1053910\1017456\&7\1059453") - ("X\n|\1041562") + (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) (Binding) & teamIconKey .~ (Just "\96549") ) @@ -108,7 +109,7 @@ testObject_Team_team_8 = ((Id (fromJust (UUID.fromString "00000003-0000-0004-0000-000000000001")))) ((Id (fromJust (UUID.fromString "00000002-0000-0003-0000-000400000001")))) ("\r\37334{\DC3\\") - ("\57585\1029014") + (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) (NonBinding) & teamIconKey .~ (Nothing) ) @@ -119,7 +120,7 @@ testObject_Team_team_9 = ((Id (fromJust (UUID.fromString "00000004-0000-0002-0000-000200000003")))) ((Id (fromJust (UUID.fromString "00000002-0000-0000-0000-000000000004")))) ("G[Hu{") - ("d\ETXU") + (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) (NonBinding) & teamIconKey .~ (Nothing) ) @@ -130,7 +131,7 @@ testObject_Team_team_10 = ((Id (fromJust (UUID.fromString "00000002-0000-0000-0000-000300000004")))) ((Id (fromJust (UUID.fromString "00000000-0000-0004-0000-000300000000")))) ("\1043846") - (" ") + (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) (Binding) & teamIconKey .~ (Just "\1107305") ) @@ -141,7 +142,7 @@ testObject_Team_team_11 = ((Id (fromJust (UUID.fromString "00000002-0000-0004-0000-000300000003")))) ((Id (fromJust (UUID.fromString "00000001-0000-0001-0000-000200000003")))) ("") - ("b@\STX\47358") + (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) (NonBinding) & teamIconKey .~ (Nothing) ) @@ -152,7 +153,7 @@ testObject_Team_team_12 = ((Id (fromJust (UUID.fromString "00000001-0000-0002-0000-000000000001")))) ((Id (fromJust (UUID.fromString "00000003-0000-0001-0000-000200000001")))) ("yR\EOTU}") - ("P\185409") + (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) (Binding) & teamIconKey .~ (Just "J\SI`\1074001\DEL") ) @@ -163,7 +164,7 @@ testObject_Team_team_13 = ((Id (fromJust (UUID.fromString "00000001-0000-0000-0000-000200000002")))) ((Id (fromJust (UUID.fromString "00000003-0000-0002-0000-000200000004")))) ("E\ESC") - ("") + (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) (NonBinding) & teamIconKey .~ (Nothing) ) @@ -174,7 +175,7 @@ testObject_Team_team_14 = ((Id (fromJust (UUID.fromString "00000000-0000-0004-0000-000100000004")))) ((Id (fromJust (UUID.fromString "00000002-0000-0002-0000-000100000003")))) (".\27232,") - ("") + DefaultIcon (NonBinding) & teamIconKey .~ (Just "N\EM\ETX") ) @@ -185,7 +186,7 @@ testObject_Team_team_15 = ((Id (fromJust (UUID.fromString "00000003-0000-0004-0000-000000000003")))) ((Id (fromJust (UUID.fromString "00000004-0000-0000-0000-000400000002")))) ("#k\NUL,;") - ("yM\RS\ENQ") + (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) (Binding) & teamIconKey .~ (Just "T\f)\tR") ) @@ -196,7 +197,7 @@ testObject_Team_team_16 = ((Id (fromJust (UUID.fromString "00000000-0000-0002-0000-000200000000")))) ((Id (fromJust (UUID.fromString "00000001-0000-0000-0000-000400000004")))) ("") - ("Se") + (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) (Binding) & teamIconKey .~ (Just "\SOHC") ) @@ -207,7 +208,7 @@ testObject_Team_team_17 = ((Id (fromJust (UUID.fromString "00000003-0000-0004-0000-000400000004")))) ((Id (fromJust (UUID.fromString "00000003-0000-0001-0000-000000000004")))) ("\t\b ") - ("A\1029674'W") + (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) (Binding) & teamIconKey .~ (Nothing) ) @@ -218,7 +219,7 @@ testObject_Team_team_18 = ((Id (fromJust (UUID.fromString "00000002-0000-0002-0000-000200000002")))) ((Id (fromJust (UUID.fromString "00000002-0000-0001-0000-000100000002")))) ("\23385\1046442") - ("_\1029329\170131") + (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) (NonBinding) & teamIconKey .~ (Just "x:\40938L") ) @@ -229,7 +230,7 @@ testObject_Team_team_19 = ((Id (fromJust (UUID.fromString "00000003-0000-0000-0000-000100000001")))) ((Id (fromJust (UUID.fromString "00000004-0000-0003-0000-000200000004")))) ("P\187859;gi") - (")\ETB\ENQ") + (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) (Binding) & teamIconKey .~ (Just "V>A") ) @@ -240,7 +241,7 @@ testObject_Team_team_20 = ((Id (fromJust (UUID.fromString "00000000-0000-0004-0000-000400000003")))) ((Id (fromJust (UUID.fromString "00000000-0000-0004-0000-000000000004")))) ("\191094c") - ("\1019354I\STX\ETX") + (Icon (AssetKeyV3 (Id (fromJust (UUID.fromString "55b9ad19-315c-4bda-8c0f-5d7b0e143008"))) AssetEternal)) (NonBinding) & teamIconKey .~ (Just "v0\1099892\&3") ) diff --git a/libs/wire-api/test/golden/Test/Wire/API/Golden/Generated/UpdateService_provider.hs b/libs/wire-api/test/golden/Test/Wire/API/Golden/Generated/UpdateService_provider.hs index cc37255a820..7d735155dee 100644 --- a/libs/wire-api/test/golden/Test/Wire/API/Golden/Generated/UpdateService_provider.hs +++ b/libs/wire-api/test/golden/Test/Wire/API/Golden/Generated/UpdateService_provider.hs @@ -19,9 +19,12 @@ module Test.Wire.API.Golden.Generated.UpdateService_provider where +import Data.Id (Id (Id)) import Data.Range (unsafeRange) +import qualified Data.UUID as UUID (fromString) import GHC.Exts (IsList (fromList)) -import Imports (Maybe (Just, Nothing)) +import Imports (Maybe (Just, Nothing), fromJust) +import Wire.API.Asset import Wire.API.Provider ( ServiceTag ( AudioTag, @@ -67,7 +70,7 @@ testObject_UpdateService_provider_1 = ( unsafeRange ("\a+/z\986763hI}/\DLEkB\1059760\1062810\25608\SYNYC}\135783\EM\SIa\r\43515\ETXh\ESC\17873\4008\SOHCUoR[\160369c\78378fbtV4\DC4\60971<\156071\ACKd}\DC3\164303\541\186277@\DC38|\174852\ENQg\SOH#\1058252KO|\174852\1008939\166018\FSm\a\1053371\1036429\1056854\20649;~k\GSP\NAK\ACK\175008s\1051918A\150295\ESC\NULpY\1054181\26848\EM\1078098T\1011719\992748!W\EOT\SO\152351\v]\v\ETB\98006N\1097932\143101\9071\f8]J\14943\SI\EMY\29869p\NAKvk\99744\1017040\176615\998969\STX\151238q\1035677\RS\v\1030236\&6\f\SUB\DC4\\\SOHw\DC1w[\DC3\1103346r+\983054/s\10708\995966\CAN\DC3~/\SO\1039052\1022548%F\DC4h\1000751\78726z\EOT\1015388\ETXdt-b\157874,DzM\1008898G\1039612\16538\1074902\DC2\18234\16087\&0-pE42\t:<\66329}[\ETX~lac\42511/\a\151380Z,(\\\1077666\127957GM\190643#\191090\SOH+%\1084834\STX\175168|\1007726\\\28896\EM\51660\1094971\a[\57676\1023212\1053746\f2@cczh3?`\n$\STX\1094726\EM\fN\180929z/D\179845.(]g9\3442o\STX%{w\1075429\&4m\STXF\ENQ\49942\16059\CANm\DC1\ENQ/\ESC\42264\1028339QM\991027\176346'43\36345~\t\1036026!\v\14557`qY\1088128zm\DC4fRZGvL\ETB(t\1007154\SYNswr\145599\58315%\1043578\NAK%\1082059G\1691l'\ACK\1029069\137530\170139\149719 \8297\NAK\f>@\40665\1029420\CANu\STX\143750Y\GSVj\DC2\t@O\184863\44709\&4\rf\b\1002476\r_F\DC3\NUL\47001\ETXX$#\t\1093906\ESC7\EOT\b\983099\143369\SO\ETB\EOTA\185268\159378\1015274/:N\DC3\1068202\&1D\96979\1042904 V\DLE\SUB\1087165#\20680\1005166\&8\ETB\a\DLE\RS\995866\USP\ETB\SOH7\r|L\145137R j\ESC\SOH2F>dV=\EMr?\1046227\119883\"&\DC1O\11375\SODuQL$\1032099d\US\157568` <1\\O\445\993915/H\f\r\143532Ah\1032005\ETX\162288uu.lf\1057288/1\1106120\1028078/\7411\138984`9\bq\SUB[Z`\118961eLNyTq\1048960k?{\nWg\72112\1100487\120674q\151928u-\DLE\1008080(\DLE\DC1f\127138\ETB,\rP\7088\&4V\40697\159724(7)..\70295$\n\SOH\78896\989166\92348\134295\FS\5319\47941/0\166710:\94593\SI{]$&\1074979m\1114097\&0\144077\&7)\183400b5f\SYNGyYxU):\1015140L\USQd\121515p\ESC?<\DEL7\DC4W\ESCN\45294;\a\987395\NULm\143966K\ETX\146218\51248\ETB\17306\"\987854*S{G\349r\1010831g\DC4>\NUL\SOH\97274i\NUL\NAKk\ENQK\20758r\1027971!rE\t^\78529@|h'0F'\1037224\157621\1023969\&9)\SYN^\ACKm^\STX\1078787M]\181147R\12517+\1015063^p\43086\&2AzeS\DEL`\141901\DC4\985596\182797e\ENQ\CAN\ETB\36060h=0&kp4\ETB\1023228c\999060\ENQ8$\STX\EOTk\t\CAN\173228y]M\bA\64661x(\STXV\fT\vOO=\1086015`D\1031911i*c\1010700g3\RS\998099\FS\fr\7033g\181534MX\15333\136960\43015x\1089585Rz\154544(P${\98672\DC1*~e\n\t0]z\DC3\EMY\173001\1112133g\152066!\182207@\ACKp\162647\1015149=\62520X\1013875r\65890\1025377\&3u\t\STX\SO\139037n\DC1`\42999;,\DC4\161373D.:\SOH") ), - updateServiceAssets = Just [(ImageAsset "\35113s\1105959" (Just AssetComplete))], + updateServiceAssets = Just [(ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Just AssetComplete))], updateServiceTags = Just (unsafeRange (fromList [WeatherTag])) } @@ -89,10 +92,10 @@ testObject_UpdateService_provider_2 = ), updateServiceAssets = Just - [ (ImageAsset "" (Nothing)), - (ImageAsset "\182860" (Just AssetPreview)), - (ImageAsset "#" (Just AssetPreview)), - (ImageAsset "" (Just AssetComplete)) + [ (ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Nothing)), + (ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Just AssetPreview)), + (ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Just AssetPreview)), + (ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Just AssetComplete)) ], updateServiceTags = Just (unsafeRange (fromList [AudioTag, EducationTag, WeatherTag])) } @@ -109,9 +112,9 @@ testObject_UpdateService_provider_3 = updateServiceDescr = Nothing, updateServiceAssets = Just - [ (ImageAsset "t\100362" (Just AssetPreview)), - (ImageAsset "" (Just AssetComplete)), - (ImageAsset "\fu\US" (Just AssetPreview)) + [ (ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Just AssetPreview)), + (ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Just AssetComplete)), + (ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Just AssetPreview)) ], updateServiceTags = Just (unsafeRange (fromList [GraphicsTag])) } @@ -136,7 +139,7 @@ testObject_UpdateService_provider_4 = ( unsafeRange ("<\1090124#FE\1086106s*!\62593\DC4;\31772^WMr\1060834\&8RB\NAK\128903\1007550$\t,C\ETX0\11070\1023381\58817\27286j\\nF\175225W\1113162\&7\SO@\94549w\ENQ*g>=-m+\128253\997485JpQGB\1044309\&4\1060466\SOH!'w*M;c\ENQ\98836\1003286\&3)R\29851sZVy\DLEV\ETX\144137\US\EMJ08\DC2\\\ENQ\1081494\1001187a\1018101$\SUBt\181563\DC3f=\141465%:!\\6\172907\aES\1016438;|\67631\1046123*\32113@1p*Y;uGE\1069430e\1102664\f5\SOHWA\ENQ|\SOH\ESC\1009746\&4:*}$7]Z{/*\DC3`\STX&\155842P\t\1053171N\SYNRL&\SI\169000\USs\162298c2t\NUL\SOH)\26500\&2/rm\1051265wkD>}\1070334\NUL\DLE\128068\178727\&1%\1005755\ra\35525J\13316\19695,\1056622\nU\NAKY\1011081\1058839-#!\SYN3\190953\83058z\ESCl!`\DC3e\1102400\t}GW[P\ESC\1004676\189533[\1061401\ESCJF\21715\&9RA\1068756\"\t7[\1111740\n5\NAK~mEU<\nL|)&.Cu5T\121142 y>\9286$^\45932") ), - updateServiceAssets = Just [(ImageAsset "h" (Just AssetComplete)), (ImageAsset "\180491)p" (Nothing))], + updateServiceAssets = Just [(ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Nothing))], updateServiceTags = Just (unsafeRange (fromList [BooksTag, BusinessTag, SocialTag])) } @@ -152,12 +155,12 @@ testObject_UpdateService_provider_5 = updateServiceDescr = Just (unsafeRange ("\ETBI\\.z\96610\CANQaIC\1065269\32625\36609k\1091140J\SUB8/\110715")), updateServiceAssets = Just - [ (ImageAsset "7_" (Just AssetComplete)), - (ImageAsset "p" (Nothing)), - (ImageAsset "\19289u9" (Just AssetComplete)), - (ImageAsset "\172627\182076*" (Nothing)), - (ImageAsset "\1014021\DLE" (Just AssetComplete)), - (ImageAsset "\1004268\52075\985717" (Just AssetPreview)) + [ (ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Just AssetComplete)), + (ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Nothing)), + (ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Just AssetComplete)), + (ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Nothing)), + (ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Just AssetComplete)), + (ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Just AssetPreview)) ], updateServiceTags = Just (unsafeRange (fromList [MediaTag, ShoppingTag, SportsTag])) } @@ -176,7 +179,7 @@ testObject_UpdateService_provider_6 = ( unsafeRange ("f\SI4 \1063170|\995839;T\139513E\NAK(Qp!X<#\ETBA\NULuW\44248cis\f=~C\1732\1027485N\161808S\SOH\988099;\EOT2\fA&\187694@RHN\1011941\137440\NAK42!#qAM1I\tu\120271\b\t\19488Q\ACKDi\127780tX\990666\1103592EI\SI\ESC\bK\GS\NULo\1044109k\DLE\187241\1005849Z\CANI\10594l\1044875\137688jg]\SUB\1100178\1078023 +e'u1\ao\175647e\US1\t\9732\9316\&0-d-UJTP\1092036W~\184365\&7\1098050tly\1087376\46624Ozw\tH\nW\1062958d:E\NAK@\DLE\1086957f#=\97609\&1\61954g!]\1051221\1055847pz\78590OA\1056922,\\xDL\CAN\1073075\SYNeF*s_/\f25 \1088055\EM\1053116\986882Aj5\74938\DLE\12992eDbG\SUB`\66727uW@\6764\DC32q-pq\DC2%j\ESC\EMq\993522\153753v\ESC/\1050068|\DC1,\DELw\ETX-\25497K\1048380\US\n:\98876\1102356\RS\142008\1050738 4\93016MxyOMq9~c\1082301\1028090!\RSQ\30115ql ?>\ETB\149698>(\EOT\t>\20400A\1079649/c O\59065]\ETX>}\NAK\1071442\75027\ETX\1048970%g\ESCWc\153028B\171118\ESCc!Aq\1045328a\7285\180743\155835\96854\167241\175754\46512\DLEas;\13803\1026445Z[Fs\180513*m\SI\n\DC1\t\155458ML\nX\tTD+\SO\1107343]a3\1082869&i\1000299:X\CAN\1001282s|\az-\1098006\NUL\187905\CAN\CAN/\ACK@v\150658\1010455^o\191090$+k\EOT)>\FS") ), - updateServiceAssets = Just [(ImageAsset "" (Just AssetPreview))], + updateServiceAssets = Just [(ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Just AssetPreview))], updateServiceTags = Just (unsafeRange (fromList [MoviesTag, NewsTag, VideoTag])) } @@ -233,12 +236,12 @@ testObject_UpdateService_provider_9 = updateServiceDescr = Nothing, updateServiceAssets = Just - [ (ImageAsset "\74850\1096630" (Just AssetPreview)), - (ImageAsset "\SO" (Just AssetPreview)), - (ImageAsset "`" (Just AssetPreview)), - (ImageAsset "N\32418$" (Just AssetComplete)), - (ImageAsset "" (Just AssetComplete)), - (ImageAsset "" (Nothing)) + [ (ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Just AssetPreview)), + (ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Just AssetPreview)), + (ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Just AssetPreview)), + (ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Just AssetComplete)), + (ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Just AssetComplete)), + (ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Nothing)) ], updateServiceTags = Just (unsafeRange (fromList [AudioTag, ShoppingTag])) } @@ -285,9 +288,9 @@ testObject_UpdateService_provider_11 = ), updateServiceAssets = Just - [ (ImageAsset "\ETX\95687" (Just AssetComplete)), - (ImageAsset "\1111812" (Nothing)), - (ImageAsset "" (Just AssetPreview)) + [ (ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Just AssetComplete)), + (ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Nothing)), + (ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Just AssetPreview)) ], updateServiceTags = Just (unsafeRange (fromList [QuizTag, TutorialTag])) } @@ -306,7 +309,7 @@ testObject_UpdateService_provider_12 = ( unsafeRange ("\US\FSX;,\DC3\149563=VNF\NAK%;i\EOT\996832$k\ETBc7\SOH\143354|:d\SO\GS\RSN\10748/\"V\1021294o\DC14\1047613\54437\ESCj\SUB,\1095459}i0m\CAN\31240x_ \1049571\175311Q\1022107JiC1p/[1\\A[o\51780\FS\CAN\NUL\STX+\127172\120462w\EM=\121430dH\1004989Il(#\GSvd+\69876d\anEh\1002617\nQD\\:@{\"\ETXZ\1014379i\1053082J`&;t}zQ\DC3.\1020713Co6\NUL^vvsh\51873\\a\1051720R<\SI{\NAK;%f\144785{\"\22777\&2\140005kp\ENQ\t\ETB\1112840o\97260|@.\RSX\1052971\a>\ETXek\DLE\FS>") ), - updateServiceAssets = Just [(ImageAsset "e\987785\&4" (Just AssetPreview))], + updateServiceAssets = Just [(ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Just AssetPreview))], updateServiceTags = Just (unsafeRange (fromList [IntegrationTag, ProductivityTag])) } @@ -364,7 +367,7 @@ testObject_UpdateService_provider_15 = ( unsafeRange ("x\a\136203\SUB^\ESC<4\n\17873\SO>v\157431|\1020922(\185983{\US\30184A\SYN/\1034793\FS&\24692w5945i\n4\DC1+nk\118834ZSV\1011086R\996947\GS\a\CAN\ESC;D_g7T\61134NN.\1080365,\1035561\SOdPu\SUBF\"e\1071157V\1072899o\1019597\SOH\ETX\RS\1090025J\brXcs<\41273eYl)'\DC3F{wjCio\10430\EOT\DEL\66434=F\EOT\1011500\FSAe\99614\29782j\987688\RS\93035_^7\FSzLW\DEL\v9Oy&\1019281\158269=j:\161191\EOTxXF\v!\SI\DEL{\182824\CAN(q#A\f#Y\GSm\1029668\SYN\33488\1091890Q\21517\DC4N\13674bj\21932H;\55134\26121fz\183843\135947.p\147443X\SI+\22973\29225\14419\b\n\35820\1092258\ACK8\1003849\99533dUVae|'3g\STX\SOH\177742xA\190959T\1088684M\167371\&7\60761:\NUL\100886\DC3\GSs\SIyw\1063851Q_u}\SOH>\1069485\134333?\US\SUB\1106685\6158]5Z\1034719%\57389\183657_\DC4\41432^\28540qa\329\1097112/-\ACK\EOT\45370\1089284~H$\FS\9526\b\SOEVy2obJ\138789FK(\995061H[^\1088420\25954n\160665/\FS\US#\1066635db\1006679\&5?\nM\SO\44147Xs\150820\1112961\f]XR,\GS8{A0.T\ESC4\SIL\SYN\EOT\1028786\GSkX\ESCa=6\"qA7\RS\ETBG\ETXD\DEL\1100961d;\185997\EM\NAK5\DEL\1076613Qj\f'D#\v\1087346gY\110778\CAN\8773\&4P2\ETX_\1048072P+V.F9\SOH\156486-oK&\EOTo*\SYN@\174461&w\1082933\n{\b/\39070<'>\148084GFoF\25642\SOH\t]vwT{+\987769\b(mO\35465\47334xR\1099279\SOHk\120988#\DLEJ\n\1111066/R|^\SYNXj\177224(Dc\RS\64631$jM\1058526\n|_\1023319s\181256\1081025U\1077048'\144694\f\NUL\GS\179974puJ\14349 1PH\986811\147997\DC3p0%!\1096149\&8Q3Hc\DLEb3\1063888\DEL^o~\1054122&u\a1,mgg\1046750\141023'J4\r[6\45643o\FS9\SYN\1020964<\RS\31175\fa\DC2\v\1046951b^2\DC3*\DC2Y\8803&p\ETB\27260#*\DEL\41812\SO~mcH#qFe\1015266\DEL\DC4Aq\DC4(\GS[\CAN%%h3U\1013273U\1099555\131387\1019990\&4\166361Tt\43506d7Z\1059964~\984571") ), - updateServiceAssets = Just [(ImageAsset "\SONG" (Nothing))], + updateServiceAssets = Just [(ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Nothing))], updateServiceTags = Just (unsafeRange (fromList [FitnessTag, TutorialTag])) } @@ -402,7 +405,7 @@ testObject_UpdateService_provider_17 = ("Y\37457\171247\NUL\1102605\19452;\40109l\1091643\1038961\164211\&3\1060552/\NUL[\STX\ETB\r\1050187\&9\SO9\SUB\NAK?yC&\1087572K\19408X\1008435Z\1043931A\FS\ETB\a\FS\1068870\&2(\FS\1081735Wh\1105128;\30117\SYN\177561\121419F'\ACK,\1008576t\b\148040\178770]Ea.Sr\STX\1021147/\1091479 O&\167108P\1051535\12083 P\fvL\1072069xTw\171454R\CAN") ), updateServiceDescr = Nothing, - updateServiceAssets = Just [(ImageAsset "\1032928j\92521" (Just AssetPreview))], + updateServiceAssets = Just [(ImageAsset (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) (Just AssetPreview))], updateServiceTags = Nothing } @@ -420,7 +423,7 @@ testObject_UpdateService_provider_18 = ( unsafeRange ("\ETX62P\SOH\DC4\1109991=\NUL8}\1103539R\1014278Y\187048\CANz-\50831t\NAK\30991:\1108518\\q5!\CANsz\986662.]\1091331}\EOT\SOHk<\1076580jo\ACK*\1006270<\1068043\v\162015'\\Ky\\d\67224Ea\186085\42476\&7\145875@3.`[\83186%\1013254\1103673\2547^o'\NAK3\DEL\f\32802\&7\155976\US\178005\182126\11804\13566\ETX<2\37455\\\EM7u\1101747\996895\1030597`\aF\DC2\1002903\1065461G\SIUMj??\1082038\163609[q\53362\STX|\STX\f\39680?\60538\US\ETB8\STX\EM\1113089\1024191\DLEZ\n#[ \1010523\RSh(\1031090\&3\142124\&1\bC?2rx7\NULjE\nU\1056190\n)4\EOT*\18936r\NAK\EM\vA\DC42TSw,\SI0\1061258\176021\&6RX\1104923KEU\99028as\DC3/\SYN5`,d\"\60033\DC3\180441y\ACKe&|\SO\USE\991388\NUL\34162\3233\SO;\DLEh,|z0\GSZPK#WSNOu𑍠jꨶE\u00026e󰊟\u000e\u001b𡂟34􃤪ꀨ󸤧8􂒦𧹈uxWꏟ􇹽Y\u0006𢥁(\u0018\u001c$D􁪲𤋤跃\u000f3􈒰#\u0016?\u0003\u00060*W3\u0006􉄿i覟h\u0015-꘡󼪝\u0006H?\\Tv􌐘퐺Q띕\u0010-@k%{=4\u001a!w&󾠃D\u0012cuT^\u0014\u001dH\u0008𡫡^]󰭄jXA󶦥𠧁@fV,OA𭋵霕F𥦖Az^g7𫘰),C󹏯}.𑰠󳏡~V􆽕󺂺(9^z󷯅𐜚3}Gj􇑫\u000cd>􉪙Y𫑵p#^􁜧L`S~􌺀\u00123\u0004𣞧怏𖩋㑪as:F\u0003", "name": "\u000ce\u0005󷀰zm𨦻6+)g;5󱬄Z 41\u0011\n\u0002\u0003%|\u0000M󳎰S=`IUK1󴿊]X\r\u001aa\u0019!𒊧+\u0003epRw\u0006\u0005#🍛􃎋󼾎󸰲UX𐔅]>i&r𡩍􁲩Z􅕍6\u0014\u0014󺁲􂠯󿅂\u001b\u0016a4\u0000􂬒󸂌𞋬\tLZ\u0006w$=\u0016u\u0003E1C'\u0005𥃔랛𠶎$𘢤􏤆9;#󿄛󷺏&\u001b󺭤k/\tu\\pk\u0000\u0002􈡶)\u001c/Lni]Q\u0000\u000fZ|=\u0011V]]\u001c5𦌻U6>(䍑'\u0018𫷞%'I1-D\"􌈿\n𓍫\npkHY#\u0000󷱔u]􇖒𣿖\u0002\u001fj'󲪯'\u0018󾛠&詄E鎪=𠾒Da\u0002\u000b􌨿=􈢭V#󲞟\u001e\u001cN#`uny󴺪􋓲53#/|,+ópW꺱i4j" } diff --git a/libs/wire-api/test/golden/testObject_BindingNewTeamUser_user_2.json b/libs/wire-api/test/golden/testObject_BindingNewTeamUser_user_2.json index b744f820aeb..d2731f22528 100644 --- a/libs/wire-api/test/golden/testObject_BindingNewTeamUser_user_2.json +++ b/libs/wire-api/test/golden/testObject_BindingNewTeamUser_user_2.json @@ -1,5 +1,5 @@ { - "icon": "\u001a4\u0015F", + "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", "icon_key": "-\u0006v^\u0001_>p㙳\u0003\u0016\u0004\u0005୪􇯆]덀󠁰\u000f;v}q릎𮧸\u0007\u000f􏴖&~쬌<\u001d󺉸`,󼕲snਜ਼H𧆂􌯊𫉶:qNi]􀴜'󴊤#\u0007#T𩳫}󱸗\u0012󶊣M_\u001c\u0014󱘬􊤎\u0019,\u000e\u0018^]𓀫9􏧾-\u0007\u0001ID. FAp\u0004󼓃󵔴(S􀵪𐭀🡠\u0010sI\u0003e|Mv-\"q뿏zM㠌$H\u0001𡽺󵍯D]\u001a􁻕\u001b𤺴qW2\u0005􍦐\u001ey󸧓gg󸯗 /􇣧𘊟䧰~&y\u0008\u0006􈮮󿯅赦\u000e\u001c\u0016\u001et\\a.V\u000eHy8k\u001f$OʻXu/=", "name": "G\u0004\u00147󻞽bCy𔔚&5\"𗢵B$\u0002\u0012QJb_㵯􍬓Y 𦆗󾾭Y󵗂g\u000b󱿒xkJUi󻁈.=-􁡷2􏸞U\u001b]\u001a􊥙\u0010}R𦙪\u0011􏚼􋭲+R/􈥾𩮎p(M\u00055Fw<𣌅E󵢃R\u001044􂸟\u000e%@FPG󰰗JJ\u000bE\u001dz\u001e_\tb]0t_Ax}\rt􂊲h\u0013O\u0006󱽊`󽛆vm-?$!)~𥒒bh\u001e󶿅󵾖0x 􊦡􇐷+)A&mRfL􎷉\u0005􀋧>K@\u001f󵮯\u0007b\u000bPDWG,􃟨/J~)%7?aRr󱩅4*^󼭮K*󳖣\u0019\"\u000e󱍚𭠏l\n\tE𡔚󽎬\u0015\u0007\n𓆫c?\\\u0005j\"\u001bpe𘂒\u0000=\u0019>J" } diff --git a/libs/wire-api/test/golden/testObject_BindingNewTeam_team_1.json b/libs/wire-api/test/golden/testObject_BindingNewTeam_team_1.json index 612828bf06d..8171d316919 100644 --- a/libs/wire-api/test/golden/testObject_BindingNewTeam_team_1.json +++ b/libs/wire-api/test/golden/testObject_BindingNewTeam_team_1.json @@ -1,5 +1,5 @@ { - "icon": "~c\u0004~汸Y🁉\rO奿KH􌷲:𢁄𡹌\u0000WfA\u001aj<5_𠶦mx3^Em潜\u001af􍟲\u0014Wx $゛􃡶I-􃮄NhzWDC\"􄖩\u0001􈌑I&i\u000c!;-?X舒\ro󴯋G6\u001d􆼅i􍨏#yH%f@6qb?;􅦁󴃱&wQ\u0016\u0019z𗠣c𬎿\u000cJ𬦦$U\u0016\u0004𑐹0]\u000c\u000f7󻛤𪜚\ru)\u0016\u0014\u001byL𡙤n𣋪mm`\u0011/\u0013􄨵,𤙲𘉂DX纇\u0004}\u0004\u0002􈗐𘝘vE", + "icon": "default", "icon_key": "󻚍W.\u001e틕E\u000bS_6ZzJ{'\u000c&M󻉧󳲿𤴄唂󸯡t;C󺱊'a𩟏[(X\u000f:󷫰\u000f\u001f`􆤢zK[䈙􆔗a\u000b", "name": "UivH&횊𗾉p\u001fzⷌ\r$\u0014j9P\r\"􅜃ಶ󰸀aF>E􇘗𡼡B\u0019&􉯋\u0014𪭋+'􍠒R;!\u001d󸔢\u000fvv|\rmbGHz󵚲𗍑3h𝡈\\U|'\u0003;^&G\u0018\u000cꁴ42\teq􀏗\u000eV1}\u001eaT󷧄aO7<;o𫶖\u000c􏝘m)$PC\u001b7;f{\u0002t┽>\u0004X@4|/\tH\u0005/D𣋒\u0019𝩜C𘕰Q\u0005T􋮡?d\u0006􆊎#H🈣𡽷*𨡴jo8+𩆂\n\u00005L[r7_.\u0010l1𫁝\u001f6[EhD\u001fh\u0007􋘏\u0015C𢇵,𫎢,@?y+;\u001f`/^d𡩦󲆪HeCd顴\u0013􀙬𣆗\u00052O-Hijo󶂘󿐡󷔶X}x􏡾\u00177𣫺쿢C甽\u0010`k*Gl󿙎\t𓀮󵃮\rb}\u0008\u0000芆h\u0016ynr6d(", + "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", "icon_key": "\u0004𠇱\u0017:󰚡HL\u0001^bs\u000bG𦜤{I􋥵]-J\u001c􎟗\u000bs9\u0010󴔽vI`N밟MZz", "name": "\u0008 \u0001+􁴶;\t095ꖖ\n\u00022J󴬋\u0011UzD_􏋚\u001c" } diff --git a/libs/wire-api/test/golden/testObject_BindingNewTeam_team_11.json b/libs/wire-api/test/golden/testObject_BindingNewTeam_team_11.json index b9317a5f4b3..a52117b520d 100644 --- a/libs/wire-api/test/golden/testObject_BindingNewTeam_team_11.json +++ b/libs/wire-api/test/golden/testObject_BindingNewTeam_team_11.json @@ -1,5 +1,5 @@ { - "icon": "r켭嚔𑪕u*33{8G􈵆aO\u001d%\u0000[󵂞U\u0005󰤫iKL\u001dNF𨀔􌈒`\u0004T$`i5𖣱\u001bŤ98>", + "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", "icon_key": "􎸃I\u0006.𦱂@y0\u0010􈛝n\\#skj󸸍Y_󽔌&x󵹳\u001d\u000fy􍩉B\u00160\u0013VP1􉓪q󺌶􈆙渳R􌨓*+\u001e,MP槄*;\n\u0015롫\t𧋏\nGj.ꅊ􍪛lㅎ\u001c~􆭊\u0000.􈧂&\u0001}\u000f􇺚\u0011+f^ZC\u0007'T\u0001\n󹏻􋹧U􎠓`W\r\\fX\n􋛆TF􎬔`h𗲐[듫ERdP5<<󺁭;\r􋣛\u0000Dy漆5N/^𡏆(\u0013󿉋􃋤6e\u000c:\u000fB\u0010F-􏂸䏱􃿵Rfb긦\u0007DrB󱌬㖬桲\u0000+2.\u0007\u0007}\u0015psFw\u0017\u0013 𭚗𥂍k~", "name": "뮅H􈒨𠓐𦡃5\u001e󰳡-\u0015\u001bR\nL戮&bD𢂤\u001aH\u001f󾈖\u000c\t;e􃴠럽\tc􉣼e􌚗\u0010\u0003I𐃒\u0017𠫼\u001a \u000fꬓ~FE\u00186𧰔돮u\"𡈄󾓋\u001cFYI\t/{\u0005\u001e]j􆸮\u001f22㸌lꕾ$\u0017\u001f𫼷kL{\u0002*𠄶RMj\u001b􊜄W3H󹇯\u001c\u0015^\"5珕缛*􌕧" } diff --git a/libs/wire-api/test/golden/testObject_BindingNewTeam_team_12.json b/libs/wire-api/test/golden/testObject_BindingNewTeam_team_12.json index 2764ebff6c9..175e5cdad62 100644 --- a/libs/wire-api/test/golden/testObject_BindingNewTeam_team_12.json +++ b/libs/wire-api/test/golden/testObject_BindingNewTeam_team_12.json @@ -1,5 +1,5 @@ { - "icon": "􂾥b\u0004ch1a iuB󷁓\u001b\u0011𭱠\u0002V󿧅@1𣛸 iY\"m󽅖\u000e\\O*(\u0013𫣇w7w􍻦\u001f2ECk𘏌4\u0003ୌ%\u0004@\"k󷔜󲢼*󻶙\u0011\u001bYC?𫑘2>촘\u0016o8[\u0007V@9E􉄈⒅󸣂!k0b\t\n+6\\Ki{\u0011󰕎\u0001\u0016󽏅{0H󸕍\u0014\u0005󲕅|\u0018󹵤F鈫󷊥d󿐟\n𝈟􁣼X􁿧􁀇*\u0008C\u0012𘒓Wz􅚿鋡QWt\u0017Aj>eO}Ae\u0014\u0017\nl􃄦g\"󳗩,6K滠􁙀[󸱽󸆑N庝eB!𮇶C\u0004\u0002X#El\u0017`e 􋯾\u0006\u0003PBC􏑎fa𫬟", "name": ";𛄘M\u0004𨅁P]'󾋁􋍲ဖ􁟺iFnRQV꣦@󲚞l􌔻\u0007KZ{잴S𮦪\u000cg*\n,`!V\u0002󲇏e'󽹟\u000e0邛p4d\u0002s󹈷uK(c'컁hjB𣘹\u000et'h^\u0016\u00160󶝏_⼠𨮕thH\u000f􆅇:󹀞l; n4c􌿕D[󷩴8Y+􊬷\u0004E􂛊\\0𩅑KKTc)P1K󾠫󱸡W\u0003<|愸0|5{Y󰺓M\u0014\u000bK\u0010􉹾\u0001\u0014󷞕.\u0017g󲇥\u0010\"W\u00009&0yYZ􋍼\u000bⵖ" } diff --git a/libs/wire-api/test/golden/testObject_BindingNewTeam_team_13.json b/libs/wire-api/test/golden/testObject_BindingNewTeam_team_13.json index ec9417ccfb1..7c084d93b7d 100644 --- a/libs/wire-api/test/golden/testObject_BindingNewTeam_team_13.json +++ b/libs/wire-api/test/golden/testObject_BindingNewTeam_team_13.json @@ -1,5 +1,5 @@ { - "icon": "0^􋚞7>𗅥 \u0002馏\u000fF\tAH𧑩:𨹫8䅗Q󿒛\u0010-A\u0004𦎬\u001bHOc\u000b󵺂\u00139\u0016󠅕{ \u0000]󶒐I􁗫,𧯞f\u0012􉮨q\u0001🨣GA\u001dT\u0004S\u0010MmnLy􏴕=𠀦2k󶫴\r~􂩧1! \u001bJy♜J|zgf1}ILN5󺈩Xi᪽Be.􉁉\u001e\u0016𗎂􊒧\u001e+Y;Z$\u000e5", + "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", "icon_key": "oﲕ􁂈\u000f[aoM\u001d􏉓}q躷4^\u0017-*%𤎉8􄨋`􅝘#pH}\u0013?w`A/𖼹􎩙󲼀 􍦹\nXꀛ󳡲\u0013u\u001e\u0001(󾒲󵮑6\u0002]t{\u0014\";*\rヌq􄐓⾵+w&笭(3#𬈙PY]\u001ef\\?F4\u001a\u001fT􎩣Rnfq%𐔹p𥨈𬠶j🏭0P\u0008n\u000e\u001c\t䯈\nN.aGx", "name": "G쩷𑐙rLb<􁴯!\u001e|RD𧠁\u0006𔐎𨏿눢Ag墘 \u000by`\u000b󿌣K㗃e䠣,𣘥DQEO\u001e|\u000f􆭓􃨋gr􏲼\u0000\n*1럩R\u000e𐔍-Y󽙱n􉃤]])􉉻C\u0013𣰗\"M@(K㮂\u001e1諷\u001c\u001a󺜆T?}\u000e=*𭇂\n𑄉\u000b_\"7􃹱?Lk𤪸x\u0014bu:𣸰㣱󼻩<󷼔6\u000e`􅣒U죑yp𬰚7%" } diff --git a/libs/wire-api/test/golden/testObject_BindingNewTeam_team_14.json b/libs/wire-api/test/golden/testObject_BindingNewTeam_team_14.json index 690eaabb6fa..add730db131 100644 --- a/libs/wire-api/test/golden/testObject_BindingNewTeam_team_14.json +++ b/libs/wire-api/test/golden/testObject_BindingNewTeam_team_14.json @@ -1,4 +1,4 @@ { - "icon": "(r'`􅲹Gd\u0003)u\u000cq*4􆹛󻯿i\u0019M.Ru􇜭\t𤋁􉲱m;\u000c󴞗􏿰𡃾m\u0007\t􄛑wRhv\u0007r6ﳼ\";&4\u0016X\u001d\u0016w5{%P&極98\u0003\u0002yL\t󹫣XMu(𭷐6)\u001aꓯWc闛#\u0002夺l􃳷Vy1_\u001a\\\u0018􍒠꽙Ek>󵛷\u0006]$\u0004𬘽􆰩w\r𨅛@&V8\u0007\u0010\u0011\\󶯔􁔬\u0015)X\nE)􅪟y*%1\u0015\u0012^4hKf󳅲|EY`^\u0013𪗫颕\"pX\u0008g샴>YR(W\\eS\u001d氵(bn\u0016u󴙶𦒟hꆂ\u001cG􊉫\u0010蜙a𑅱n2)󰛬\"<󻿼YUq􀉀󼱣𭦇\r7ྤ\u000b􀊑惱\r󺽸|]\u0017\u000eh9f󾻓\u0013w󴧻Y}呣1q\u0015Y:搚q \u0017=*#𒓟\u0019\\啿y9Tfc\u0011삯k􋯆\\Oxxn&6NtaZ?k:5G@딎\u0013H􋶽hu4𫩷󳈫\u001fR𧠉󺈅v服嵡𑧡㉑\u0006D󰡀[bb<􏝁" } diff --git a/libs/wire-api/test/golden/testObject_BindingNewTeam_team_15.json b/libs/wire-api/test/golden/testObject_BindingNewTeam_team_15.json index f5bbb69dba3..ea408149f95 100644 --- a/libs/wire-api/test/golden/testObject_BindingNewTeam_team_15.json +++ b/libs/wire-api/test/golden/testObject_BindingNewTeam_team_15.json @@ -1,5 +1,5 @@ { - "icon": "UZ0󱶈t+𨼻ㄭk|\u0011\u0016\u0019_ch\t􊃨㌵\n\u0017\u0012,x􎅷,RE(,G\u001d\"gA\u0015ncdJ𧰏+\t􌥁FP{v=낫'e\u00029B#1􆤏\t.􉄮𢏾Ⲙ\u001cUK\u0001\u0007;\u0002􇙌𣅐7B\u001b\u0000D+󽉔􋆄`\u000e>\u001b\u0011,𩳟d\u0001(5\u0004P9iR]\u001eNws󻘌󴿔{[H🚝,5J!𡔆󼾅\u00061\u0008ZQ7fmQOQ󰹗l!\u0013꯲歔*ꪩ*1\u000c􋹍8nk|\u0015󵦮~\u000cO𧲭𘧿!:3\u0003n{%ᨇ𬦬if/!瓝] <􁶰Y􇖘\u0008\u0014~\t\u0019\u0001<*\u0015𣀥bx4 {𗟋\u0018Vs;g𘉱𣐄\u0002qkI!QJ􅲮J𮑈\u0014ﰡ?_\u0002\t􈍎iB3YdKA7@>Q󳅳󰾩]􋏴𠣍>D󺬃wD\u001b|\u000f'^𡙕𝠪Q#q,\"" } diff --git a/libs/wire-api/test/golden/testObject_BindingNewTeam_team_16.json b/libs/wire-api/test/golden/testObject_BindingNewTeam_team_16.json index f248cde64c7..c0de11ca757 100644 --- a/libs/wire-api/test/golden/testObject_BindingNewTeam_team_16.json +++ b/libs/wire-api/test/golden/testObject_BindingNewTeam_team_16.json @@ -1,4 +1,4 @@ { - "icon": "_'C󵌷\u00049\nC𖡚f\u0007𝁅Pe🎻𭏞𠮠𘃽5􀬏m<\r}𢈳@􁅠#.􂖇\u00026%􏝅H%󻝱n\u0004Uk\u001f/\u001cpS𦓈􌄑[1np\u0006mD󷁠U\u001dI􈡦]I삽𩸦AT\u0003\u001fOl{\u0011\tYt7U +Q􆂍\u0018\u001f[\u0002JV\u0004`\u0018rF\tN𐤏𗚁𩠇\u0016𨪒*A\u0010A]4ku󴻠W􏔺홊I\u0014\u000e𗇟", + "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", "name": "r\u001e\u0017뚌𢯠7X \u0019𤸰J\u0018尹􇥏/`󳬿mg𠵮2\u000b/7cI)&\u0000\r\u0019=m$\u0013rv\u0012W:उ\u0000!:\u0005x󿅤𘆆iy𒌊\u000f\u0005>j􁋝eA󿝖\tbj\u0019k\u0011l\n󱕁H~]uꞛ󻏫!kjVS{42\u0000E?\u0019h褨B!:\u0010X\u0011T3W\u0007vimhK􇒫\u0011to*P*\u0011}󰳺􇾡H\r󼜡B" } diff --git a/libs/wire-api/test/golden/testObject_BindingNewTeam_team_17.json b/libs/wire-api/test/golden/testObject_BindingNewTeam_team_17.json index 3c5f696fac3..6ed4e3b484f 100644 --- a/libs/wire-api/test/golden/testObject_BindingNewTeam_team_17.json +++ b/libs/wire-api/test/golden/testObject_BindingNewTeam_team_17.json @@ -1,5 +1,5 @@ { - "icon": "~󻂃C]\u0018S7a𐙣'󶎸u\u001ee\u00148쨞圈9=𠸕\u001b\u0007'󲅋jqUiA𬏟i!\u0002Pl\u0012􃵣\\\u000b;Pq|\rUA߀D4􊤫;arv\u0007h8/\u001e\u0010𩮉PZ􍽒𮈨|O󹖾\u000c􍩄E/6\t᾿f?,x\":{q::Z橳\u0000\u0018DBd\u0001𢓾a\u0003Z􉄣0~r@F", + "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", "icon_key": "1\r4]N!\"􅦩R&\u000f1i\u000ee𪙓ygO\u00064\u000bO\u0006~𘝚\u0000𓅀b1a𗭜Q\u000c\"󿣣􀳈)􃛢*x猤C_\u0001a[*9۵𡹿N[Y􎗮r\u0019\n3􆩙.(|as 6H\u001b󿭵󹡖􏎇\u00016\u0015Bmh/\t􎧕䬴~󻴋󷼗qbRp𢳼<􋅻讷N/󽭥;\u0014l𠜂\u001d𥗂ac\u0015C\u0016\u0004U\u0000\u0013pW[#u𝨩\u001e􌑫𨁋\u0012\u001d\u001ar\u0012D#􀱀󴸥𒔭(@i󾻹𩿙𝕗DY\u0019L1\u0013|q{&􎤪󺒬1{'􄅑y𬛅E)\u0012󴔸!0kdCOX:E󱄥\\󺜙C\u001eISa65N\u0016[i\u000e\u001e\u0000#:q", "name": "|跤P\u001f󾃍𧁄Y\u0001j\u001eYrr쉏0m\u0005󺽲*'𑦢􍷘P6\u0016㮄\u000c\u0012𞢵e󻸊\u001e󺭋󴹋𑄺\rA'\u001dA\u0015툒􄨮J󸊪'T󽔣R2? \u001c\u001f󼄆$\u0015Gr(󶐡{\u00050mJ\u000fD\u0002-\u0018_I𠔎\u000c𤃑\u001cR􇮍hp𣉒B6W2\u0008\u000c6􍯣\u0012𬌆\u00081'7-T-#ཱD􆱹􈌑T]v$Gl󾛤󼉲5yg󺔀\nQc.`i㧣忚}\u001c&k4𘔫\u0006>#納󽊚\u0019𠎓[vBOPu􎯣@\u0006\u0000􉦊𤆁\u000e\u0015𘇃篖\u0004\u0003&󼂜?z󱢾i\u000cz\n󻏿\u00173\u0007􎯛W􏷕E^󾮑󶱉\u0015aR𣛯;쮷\u0001\u0019\na\nvt𠠗\u0003a𢕖 J𠸂uX􆽹?Wz&<\u0014C\u000cx`󽝑#\u000f懶邵ꩤ\u001e\u0002#\u0016\u0014-Oj\u0004d󽗌'FoHqexoh\u001ax􎋻𭉐\u0008i󳰵yr\u000f􃼯w􍥢\n8T󶋓2'󺁼􏋦􍒽\u001enxW[棁󲜚𗧓𥝏i㔕4󶌓YHZ뺃VZ\u0010^0\u0002C􂌻󽍘", "name": "𪐝|Z凅?l\u00084D乛K0#OV>󰰅S3'4\u0006𒆠*m-\u001b4\u001fj\u0003__6󿝣ᦴM믅\u001b]\u0004Dq\u0010uo浾$\u000bUWp1=/o\u0017Y𪙶9\u0012\nQ𫒥􀦝)􍉷4wa𗐋leQ*󴑞󼡨>@,󿖻𮦮RF4QcNY96𩉓􀮈G􅆔&J\\TzHUiG.C\u001a&\u001cx춈𨿱3􍳊A􁔸B)燖穲r󵌈\u0005&VCPa{\u0001\u0019Wꧬ𗰙\u0010/􇔳\u000fc:b\u0001𠒪)襈􌫒鉲@5󰊈I02g%%1bJl} :󹙳\u0016署𦲖𢻉", "name": ";𭏚@m\u0008Z󹔛1}\r9\u001e)\u0000𧷛􃫣𗖻\u0001,q\u0001`􀣞P󱉭􅁌\n\u0004Im􄠱\u0014󷜳􆢃HB\u001d`󹫇𢴱U𧩣G\u0013m+Lw\u0010󹾧\"0𝍉?-T\u001b\u0003j\u0013|Lq\u0003.𘋘hgq\u001by𘒇5\u0007y\u0006􏚅w^(\u0017+𪻾3\u000c𛰿x󶅕i*E\u0013𫹺rTM\u0018􊶥$𧐐𮣞\u0004\\p􁇚1\u0007𠀗􀠺zv󼞙\u0019rj\u0007󾭒u\u0015n\u000e𨆖6\u001bs\u001dm9Y\u001c%\u0010?6󽯧\u0002\u000c􃩾)RST\r\u0010􎑠\u0011􇓹h\nTS\u0012\u001f􋻇\u0002n\u001b𤦦r2𒂷󰕫hrr-$*j􏇺觹]@󵅝㪱J\u0008\"8N𐬼e,\"br\u0001\u0000𦱘+멦c^󴾍<`􏛇𤙄\u0002󰷙\u0003𧥛D\u0005皔nqp􋝳󱓐c\u001et􇿧G" } diff --git a/libs/wire-api/test/golden/testObject_BindingNewTeam_team_3.json b/libs/wire-api/test/golden/testObject_BindingNewTeam_team_3.json index 8fa459aa876..8e455519f46 100644 --- a/libs/wire-api/test/golden/testObject_BindingNewTeam_team_3.json +++ b/libs/wire-api/test/golden/testObject_BindingNewTeam_team_3.json @@ -1,5 +1,5 @@ { - "icon": ":b6𘍗L􁠹K<􎦯𗋵C^\u000eY8LuXS𦏱F\u0001\u0017썁󹲗\u001f󾥞J]\u0017A2R$P6\\\u0005𩆊-J\u0000t\u000f󿫯*󻣠r􇍈M\u0015PL)𗈟\u001aJ𑱚S􍜑~'kRYj𑘞{P{V\u0001!󰱿Y~\u000bV\t𤰂{5%i[$7X:ZV\u0000y\u0007삉\u0016\u0005\u000c;!k?O󻚧􈒉K:}􋴳𪤷#>\\|(n\u0002𨟼\u0003D𤨬쮝{|𥃇󱄮+᭮J", + "icon": "3-5-3d4b563b-016c-49da-bad2-876ad0a5ecd2", "icon_key": "\u001c\u001eP󱖗Gt\u0016-렬nJ󶲘g^\n\r𫙿\u001dR󶦍􇜁𒎌t\n)1/% hL\u0012Ad\u0001Xq6\u0011)\u0000\u000c6\u000cV\u0014r􋶨\u0011n􎖟,@𩳑𝃔\n\u001a%N𫊸\u0006葀Xv)\u0016z?\u0014\u0019Y𧤂2𗘰um8}죜\u0012yW\u0000HQ\u0005D[Fe\nk󳻂\u0019懷Yk@##u}j𩝺𥛾\u0002q\u001bir7) 汬%󸄨~󲪳8􉈠je􌟌0*Gi3𝟽je\u0018Qr>󼕣k1爛c󻶢L󷴬𖺉t\u0004W󳿃\u001ao\u000cgh\u0006𪀙C2霩c\u001a)uW\r\u000cB󾧾Sf\u001a\u0001*5l隺\u000f文\u0019B(\u0005𠩾/)!{󵬬9\u0002A㻍fx&𫽹T&𭪕\u0014쯾[\r\u000b\n􅢉j2𨤤/􉑰\u0005Qo\u000cj𠵠🤐\nb6\u00183\u001e9\u0019󴊖ub\u00173CY\u001dsIz" } diff --git a/libs/wire-api/test/golden/testObject_BindingNewTeam_team_4.json b/libs/wire-api/test/golden/testObject_BindingNewTeam_team_4.json index 4ed974f0ca4..8cfe6417c05 100644 --- a/libs/wire-api/test/golden/testObject_BindingNewTeam_team_4.json +++ b/libs/wire-api/test/golden/testObject_BindingNewTeam_team_4.json @@ -1,4 +1,4 @@ { - "icon": "tmIV󳻵3􌹙󿽑HKE{􆭢R9\u0004\u0017E2𐭐L󶢉|a\u0008|Cꊁ􁢣}\u001d󻱜\u0018O9$)\u0000\u0002𥙒肷\u0000쑰K󿉉􂇠d懛\u001d\u000bq󺖧B\u0003\u0007T\u000ePtY\u0015󿫵潌z#k`P􂀖\u0002_7LXC]`#-`\u0006ࢺ\u0012pw59\n\u001a\u0010jꍃ𭈉F\u0017􅪽\t;\u0012r*圮\u0019S𬤻E8e\u001cx􊞎A\u001a|j\u0007d\u00100RDI\rQ\u0015`􅰜\u0019)j{􃚂𢸬􌥩f@\t\u0011\u000c\"\u000c󾵭􌛋􍼕ᢞJ`.𛁓*\u0008F%4󶟬\u0019-3g𘟴􍙴􍀉\u0002\n\u0010\u0013]s𫫟_\u0007󾒾𧯔\u0012\u000bȃ\u0010㳼v|\u0008􀻧%𨙤g~0\u0004Wp\t 𪒺C\u001c𤥂x\u0005\u0006\u0012-DIYa󵌭:𮔿'{􈚁𣃢󾕜6Ḋ󴋄=xfo\u0006U'\u0014􍊅t\n\u0012􋝛6𝋯/􍚳tR\u0016#􎽉", + "icon": "3-5-18fef3b3-323c-4c27-bb62-6026d62f77c3", "name": "\u0003󵳮k;" } diff --git a/libs/wire-api/test/golden/testObject_BindingNewTeam_team_5.json b/libs/wire-api/test/golden/testObject_BindingNewTeam_team_5.json index ed2cc6465cc..d7f0bc88c30 100644 --- a/libs/wire-api/test/golden/testObject_BindingNewTeam_team_5.json +++ b/libs/wire-api/test/golden/testObject_BindingNewTeam_team_5.json @@ -1,5 +1,5 @@ { - "icon": "![\u000181潅󰋙䘎𤗈𧗎\u001b􀷘\u0007\u0018\u0004}r􍅵\u001bt𫞣𪐝􎟩繤𥞓M󲷤1\u0018$;\r\u0002\u000e\u0003P\u00193)R=E?9\u0010$>*\\`鞀\u0013\u0007]𣔼󹓭{FKA\u0008􍄸𫨟\u0013\u001f=UC𫷵KQb􁡺󷼩\u001cX7@󳌔C~-[Db $cx\u0003Czvq ,g\rD󻿪", + "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", "icon_key": "s𡜶:\u001fdm㒛\u0015I⸈Y􅌌𬜈􋪠>q󱙒\nQ\u001e􁔾\u001d#w𤇠𩻗􃿿𡖭B\u0014\u001aLv\"S>𝤅!]sB+6\u0011oc\u00177蛑lR𗙺\u0019r%E􇋯B𘆔A􄡥N\u0017?{􄈤/|cU𢟋]𖫠􍇌\u0010𣾄􆣶+󲃎\t$F𗧊he4𨰴|k/!5Z~𔔮\u0017󸛵\u0001\u0005􂃝3E!{^茖4fh󻗈N􏚙v\u000c\u001d󳪍mde!5󺻟y&􃔋xo,\u0002rk􅨸\u0005\u0001JoS󰹇X䧱󲸿a󱽇\u001e󿘄\u0019\u00013j༽Z4\u0014􄸣l컬n\u001b@ve#\u0016\u001d𬴣P4􇀲\u001b𩣣:𦠊z1*\u001fs\u000bd`􂬥/餄𨜲", "name": "\u000fB𑋐3𦩜\\#􃅻I\u001fK󹶘h\u0010\u0013\u001e𠻊*󳵆L\u0002w1p\"4\u0004𮉃#u𣖞\u0016\u001c鄂ꊙ$Ÿwu𪞴넣󶏴\u001a\u0007)\u0012?T 솆8馿.\t\u00151\u000c\u0004Y🙉%މﭸ㮲 &Z4􈼌\u0000@\u0001\u0019𥯩􇐟􌑣xtj𬦽`\u0001r\r𖾒\u00040\u0019\u0000Lyc D\u001c􈺓􁣾)\u001a-\u000e􈼌\u000bl󰔐􏿡\u0018𭨼f\u000frb/[F\u0000􌣆<1󺼰P\u001dxl\"!11E\u001b0\u001b\u000c$u􊼽N\u001dV^󸗡q𩪫\n`󿮐𧶴:iLXn\u0018󱜞朻O}8!Y\u0015,^X咽hEa\u0010^\u0005\u0008]`􏭴<\u001dZG󵉂\u0001𮞘廑*8p\u001cF@OLpnXTmW𗤩f𐨎􆮍敢Ze1 \u0016Em汵f\u0006󱀇", "name": "v𭺬hEWefuu󵳔jPx𦦹k#\u0001󰹥\u0002\u0003^\u001b\n\u0018₅p1D|S1􄀟􍄚熗\u0016`\t0g󼣥,t\u001cw\u000cDT\u001e#H\u0001𣜘\u001f{􊞫󺙲󰔬lW\u0007,uil\u000fN`5e:\u0016 Y!\u0016󺑛tb􈼝" } diff --git a/libs/wire-api/test/golden/testObject_BindingNewTeam_team_7.json b/libs/wire-api/test/golden/testObject_BindingNewTeam_team_7.json index a03c29a6247..65f8d616ff5 100644 --- a/libs/wire-api/test/golden/testObject_BindingNewTeam_team_7.json +++ b/libs/wire-api/test/golden/testObject_BindingNewTeam_team_7.json @@ -1,5 +1,5 @@ { - "icon": "_5勞\u0007Q􎲫W⃛9ꮦ*󴽳", + "icon": "3-1-b199431c-e2ee-48c6-8f1b-56726626b493", "icon_key": "D\u001e𩉨\u0001󼓤🚱Ll\u001d\tW􂂹o\u0018멤b\u0003|\u001f*=󶶐􄖘󱓧6󴆄", "name": "𣢐󾧌iz􂒳FT㩴;􎦑}𮇵􏵿9\u000e󲆑7>hAC\u0000H2O𫑫m𭴿2R(?W,=,󱸅M󲓈\u0007M椔\u001a맰q\u000elj\u0004j^.s~\rY%5lM,杼=\u0006󸑃𮆫>{\u0018\u0010㸆f=X9\u00169쟉𦺻TI4䒿\u000b\u00156󷲘/\u0010\u0015\u0006尌H<\u0005󻙇e\u0005z󸚸:៹\"rS\u0007𨻬\u001c\u0003􂧙󻹪뽴\u0014\u0014Q\"􄃰1:􋽔\u001fT.;󾣧䟌}" } diff --git a/libs/wire-api/test/golden/testObject_BindingNewTeam_team_8.json b/libs/wire-api/test/golden/testObject_BindingNewTeam_team_8.json index 79c17c026bb..3a3f84deee3 100644 --- a/libs/wire-api/test/golden/testObject_BindingNewTeam_team_8.json +++ b/libs/wire-api/test/golden/testObject_BindingNewTeam_team_8.json @@ -1,5 +1,5 @@ { - "icon": "✅IT\u001e􍑦뾖%mE󰤊􀩈M\u0007:[fgw\u001b?ye𑇐􋱯K\u0017l􁜛󷔒󽎻Qg?𤼃{\u000c!uXA}H)v$𧋓􊷪mGkC9􈸥\u001d􊲊󼫰1DH𨩌sꕂ7[.𭹆v+􊥆O^SGjv􅇮Y󴺥n𥬜Z𓈋\u000e{􂺫Q\u0003\u001e1I\u001c5\u0006󼻌􈥆󻳺_􍽩?gDႽ\u000cg㪠:g\u001c.J<\u0012\u0017󸋤}/𗹵OBLa􀳘\u0007{󶷱-􃾛\u000b\u000f\u0010𣥐V \\Ns0t􈃙frR!Qe!$𢌢󶀅\u0016$􇋮!SZ􁀀𭃻a\u0010B3", + "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", "icon_key": "v𑈬땻h\u0001_󲋫\u0013\u0006i󴋤\u0011\u0003W𑱑譟\u0012嫢󺥖\u0004\u000c%_􃹩\u001d\u0016\u0017 N\u0000F󵞛\u0005LUua3􉻐M↝\"𗊟\u0001\u001e\n-='\u0011B#\u001c𡚱>\u0013𠓴\u000f\u001d􉩪G7v6w Zቆ􀦮𬥤𩬵\u001bP>𠀧􀫷􆷹\u000b}?ᓄJg\u0001\u001a^pl􌽧2.\u000eV\u0013坣ﯽ\u0005B󿏻􆷽𢃤<\u000c2䬴Tz@6\u0013𑢫x?𤪑週\u0008\u0010\u0018p􈃰\u0016\u0003N􌠀C\u000f\u001a\u0011l]R\u0000vL󺵶Nz\u000c-bf}f>\u0002H\u0019𡔤+Zo󴈣6𢓖󽱓重󸒝|`dN 擦󱈠i_􁮱p󼐑J斐ngp@#􍼃A󱖱7l{;𬁛g4EX넌\u001b􄳆𤺴#z𫂓\u0016y\u0004\tG\\謖坴#s󵘆Ad􋓔Obh󶑡\u0012􉑳)3R\u001a\u001c𗳩aw]􆞷󽰤ფ𝂦kC梿\u0001󴶁󵢐d8둥\u0011\u0016ﰺf9", + "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", "icon_key": "X󸸽;\u0005W\u0006Lk󳌎𣔖\u0017\n][~⠨&U亝v`I\u0017\u001fl󰉫\t􊋾?䍋KM3c􄨽󻧳= \u0017t5vKOg\u0015/NC2~i'􃝴Ojb\u0008\u0003􊇳\u0011\u0001\u0000FWc󷭕sU>P\u0001~\u0019wUHU\u000e#훞􈅯!Nwn󵠡e\u0001\u001a\u000c\u0003\u0017Tl𛀥BYU;a󷋠K7?,m𥪤Xpa뺹𡰽\u0019 ,M!~^g6}(踑\u001eᾋgX}𧓻)c\n\u00012E", "name": "\u000eLN\u001dr𣎸􅜗k𬙅#𥙝lTD[Jh\u0001󻕋蕠6󼧒􃟠\u0015}\u0007db𩵜-\\-1\u00142󿝈\u0012𓐮1/脼b:\u0005󽩦;Mw\u001c𬸺􏷋ITuy􀚘`SP\u0001\u000e\u001d\u0015\u0007\r7M􅄎􃳖䢷\n\u00163V\u0003R\n1$e.􋩅B~yd_z󿴉\rV􊜗\u001e\u0016𨒺l\u0013론u􂝲u\"\u0007Tc|sEw󶷶wTC|FቿB\t\u0014&\u0008UEN(+M\u000eF;􌟢𠶭\u001920\nrPW󸓢$􃽩" } diff --git a/libs/wire-api/test/golden/testObject_Event_team_1.json b/libs/wire-api/test/golden/testObject_Event_team_1.json index 8cbbc5ac0ef..05172b99c6a 100644 --- a/libs/wire-api/test/golden/testObject_Event_team_1.json +++ b/libs/wire-api/test/golden/testObject_Event_team_1.json @@ -2,7 +2,7 @@ "data": { "binding": true, "creator": "00000003-0000-0001-0000-000300000002", - "icon": "#𖺗匞(󳡭", + "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", "id": "00000003-0000-0004-0000-000000000001", "name": "\u0004X󳒌h" }, diff --git a/libs/wire-api/test/golden/testObject_Event_team_13.json b/libs/wire-api/test/golden/testObject_Event_team_13.json index 587d5713db3..5c1522c9c1d 100644 --- a/libs/wire-api/test/golden/testObject_Event_team_13.json +++ b/libs/wire-api/test/golden/testObject_Event_team_13.json @@ -2,7 +2,7 @@ "data": { "binding": false, "creator": "00000000-0000-0002-0000-000400000000", - "icon": "\u0008􆿱", + "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", "icon_key": ",7\u0007S", "id": "00000002-0000-0003-0000-000200000001", "name": "\u0008h0󺴴" diff --git a/libs/wire-api/test/golden/testObject_NewBotResponse_provider_10.json b/libs/wire-api/test/golden/testObject_NewBotResponse_provider_10.json index 8c206d3e0e5..97834f65c1f 100644 --- a/libs/wire-api/test/golden/testObject_NewBotResponse_provider_10.json +++ b/libs/wire-api/test/golden/testObject_NewBotResponse_provider_10.json @@ -2,7 +2,7 @@ "accent_id": -5, "assets": [ { - "key": "", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "type": "image" } ], diff --git a/libs/wire-api/test/golden/testObject_NewBotResponse_provider_13.json b/libs/wire-api/test/golden/testObject_NewBotResponse_provider_13.json index 10c2c3e593b..3f8a4222ac5 100644 --- a/libs/wire-api/test/golden/testObject_NewBotResponse_provider_13.json +++ b/libs/wire-api/test/golden/testObject_NewBotResponse_provider_13.json @@ -2,30 +2,30 @@ "accent_id": -6, "assets": [ { - "key": "\u0010k", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "preview", "type": "image" }, { - "key": "/", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "type": "image" }, { - "key": "", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "preview", "type": "image" }, { - "key": "", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "type": "image" }, { - "key": "呬𮀉", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "complete", "type": "image" }, { - "key": "\u000c􇀊E", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "preview", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_NewBotResponse_provider_16.json b/libs/wire-api/test/golden/testObject_NewBotResponse_provider_16.json index 490d5905858..06779bb3835 100644 --- a/libs/wire-api/test/golden/testObject_NewBotResponse_provider_16.json +++ b/libs/wire-api/test/golden/testObject_NewBotResponse_provider_16.json @@ -2,12 +2,7 @@ "accent_id": -5, "assets": [ { - "key": "\"吝󿳖", - "size": "complete", - "type": "image" - }, - { - "key": "", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "complete", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_NewBotResponse_provider_18.json b/libs/wire-api/test/golden/testObject_NewBotResponse_provider_18.json index e2c845c07f1..bd39b093114 100644 --- a/libs/wire-api/test/golden/testObject_NewBotResponse_provider_18.json +++ b/libs/wire-api/test/golden/testObject_NewBotResponse_provider_18.json @@ -2,17 +2,17 @@ "accent_id": 8, "assets": [ { - "key": "\u001c", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "complete", "type": "image" }, { - "key": "𖫳󰑑", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "preview", "type": "image" }, { - "key": "", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "preview", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_NewBotResponse_provider_19.json b/libs/wire-api/test/golden/testObject_NewBotResponse_provider_19.json index 779f6e45c78..d69befdcbc7 100644 --- a/libs/wire-api/test/golden/testObject_NewBotResponse_provider_19.json +++ b/libs/wire-api/test/golden/testObject_NewBotResponse_provider_19.json @@ -1,27 +1,27 @@ { "assets": [ { - "key": "𦳝\u0011", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "complete", "type": "image" }, { - "key": "\t", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "preview", "type": "image" }, { - "key": "V#", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "complete", "type": "image" }, { - "key": "", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "preview", "type": "image" }, { - "key": "(\u0003", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "complete", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_NewBotResponse_provider_2.json b/libs/wire-api/test/golden/testObject_NewBotResponse_provider_2.json index 8da98068cc8..eb75d9b63dc 100644 --- a/libs/wire-api/test/golden/testObject_NewBotResponse_provider_2.json +++ b/libs/wire-api/test/golden/testObject_NewBotResponse_provider_2.json @@ -1,22 +1,22 @@ { "assets": [ { - "key": "C#􁹦", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "complete", "type": "image" }, { - "key": "\u0014\n", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "complete", "type": "image" }, { - "key": "V", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "complete", "type": "image" }, { - "key": "Y+_", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "complete", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_NewBotResponse_provider_20.json b/libs/wire-api/test/golden/testObject_NewBotResponse_provider_20.json index aa68bf97097..0a7b710fff6 100644 --- a/libs/wire-api/test/golden/testObject_NewBotResponse_provider_20.json +++ b/libs/wire-api/test/golden/testObject_NewBotResponse_provider_20.json @@ -1,17 +1,17 @@ { "assets": [ { - "key": "\"", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "preview", "type": "image" }, { - "key": "􆵛d", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "preview", "type": "image" }, { - "key": "8", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "complete", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_NewBotResponse_provider_3.json b/libs/wire-api/test/golden/testObject_NewBotResponse_provider_3.json index e7dc04b5481..7d833c75372 100644 --- a/libs/wire-api/test/golden/testObject_NewBotResponse_provider_3.json +++ b/libs/wire-api/test/golden/testObject_NewBotResponse_provider_3.json @@ -2,16 +2,16 @@ "accent_id": 0, "assets": [ { - "key": "'\u0012", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "type": "image" }, { - "key": "`", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "preview", "type": "image" }, { - "key": "?􈯅\u001b", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "preview", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_NewBotResponse_provider_8.json b/libs/wire-api/test/golden/testObject_NewBotResponse_provider_8.json index 161483bf34e..fc11374d349 100644 --- a/libs/wire-api/test/golden/testObject_NewBotResponse_provider_8.json +++ b/libs/wire-api/test/golden/testObject_NewBotResponse_provider_8.json @@ -1,21 +1,21 @@ { "assets": [ { - "key": "ᘻ~", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "preview", "type": "image" }, { - "key": "i𗳫", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "preview", "type": "image" }, { - "key": "\\", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "type": "image" }, { - "key": "%o", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "preview", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_NewService_provider_10.json b/libs/wire-api/test/golden/testObject_NewService_provider_10.json index 7164b7e67eb..88656b0eb3c 100644 --- a/libs/wire-api/test/golden/testObject_NewService_provider_10.json +++ b/libs/wire-api/test/golden/testObject_NewService_provider_10.json @@ -1,16 +1,7 @@ { "assets": [ { - "key": "", - "size": "complete", - "type": "image" - }, - { - "key": "", - "type": "image" - }, - { - "key": "", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "complete", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_NewService_provider_11.json b/libs/wire-api/test/golden/testObject_NewService_provider_11.json index b819e5500ac..2a6646e7857 100644 --- a/libs/wire-api/test/golden/testObject_NewService_provider_11.json +++ b/libs/wire-api/test/golden/testObject_NewService_provider_11.json @@ -1,16 +1,7 @@ { "assets": [ { - "key": "", - "type": "image" - }, - { - "key": "", - "size": "preview", - "type": "image" - }, - { - "key": "", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "complete", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_NewService_provider_12.json b/libs/wire-api/test/golden/testObject_NewService_provider_12.json index 9b31888d423..77d144457f4 100644 --- a/libs/wire-api/test/golden/testObject_NewService_provider_12.json +++ b/libs/wire-api/test/golden/testObject_NewService_provider_12.json @@ -1,7 +1,7 @@ { "assets": [ { - "key": "", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "type": "image" } ], diff --git a/libs/wire-api/test/golden/testObject_NewService_provider_13.json b/libs/wire-api/test/golden/testObject_NewService_provider_13.json index 0c81a7abb80..1ecdd4e4744 100644 --- a/libs/wire-api/test/golden/testObject_NewService_provider_13.json +++ b/libs/wire-api/test/golden/testObject_NewService_provider_13.json @@ -1,7 +1,7 @@ { "assets": [ { - "key": "g", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "preview", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_NewService_provider_14.json b/libs/wire-api/test/golden/testObject_NewService_provider_14.json index 842bfede2f6..54a58187f36 100644 --- a/libs/wire-api/test/golden/testObject_NewService_provider_14.json +++ b/libs/wire-api/test/golden/testObject_NewService_provider_14.json @@ -1,7 +1,7 @@ { "assets": [ { - "key": "", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "preview", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_NewService_provider_15.json b/libs/wire-api/test/golden/testObject_NewService_provider_15.json index 8f4761c8d7f..fc9655b8ca4 100644 --- a/libs/wire-api/test/golden/testObject_NewService_provider_15.json +++ b/libs/wire-api/test/golden/testObject_NewService_provider_15.json @@ -1,12 +1,7 @@ { "assets": [ { - "key": "", - "size": "complete", - "type": "image" - }, - { - "key": "", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "preview", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_NewService_provider_16.json b/libs/wire-api/test/golden/testObject_NewService_provider_16.json index 1edf7e274d3..b1ae02f07cb 100644 --- a/libs/wire-api/test/golden/testObject_NewService_provider_16.json +++ b/libs/wire-api/test/golden/testObject_NewService_provider_16.json @@ -1,21 +1,21 @@ { "assets": [ { - "key": "", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "complete", "type": "image" }, { - "key": "", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "type": "image" }, { - "key": "", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "preview", "type": "image" }, { - "key": "", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "complete", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_NewService_provider_18.json b/libs/wire-api/test/golden/testObject_NewService_provider_18.json index 03ec6a44e2c..3b3d9dbc070 100644 --- a/libs/wire-api/test/golden/testObject_NewService_provider_18.json +++ b/libs/wire-api/test/golden/testObject_NewService_provider_18.json @@ -1,15 +1,7 @@ { "assets": [ { - "key": "", - "type": "image" - }, - { - "key": "", - "type": "image" - }, - { - "key": "", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "type": "image" } ], diff --git a/libs/wire-api/test/golden/testObject_NewService_provider_19.json b/libs/wire-api/test/golden/testObject_NewService_provider_19.json index 05a1aab2612..710d35140c6 100644 --- a/libs/wire-api/test/golden/testObject_NewService_provider_19.json +++ b/libs/wire-api/test/golden/testObject_NewService_provider_19.json @@ -1,7 +1,7 @@ { "assets": [ { - "key": "", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "type": "image" } ], diff --git a/libs/wire-api/test/golden/testObject_NewService_provider_20.json b/libs/wire-api/test/golden/testObject_NewService_provider_20.json index b01417adb15..7305469136c 100644 --- a/libs/wire-api/test/golden/testObject_NewService_provider_20.json +++ b/libs/wire-api/test/golden/testObject_NewService_provider_20.json @@ -1,7 +1,7 @@ { "assets": [ { - "key": "", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "preview", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_NewService_provider_4.json b/libs/wire-api/test/golden/testObject_NewService_provider_4.json index 5ab941b4e13..a992cbef58a 100644 --- a/libs/wire-api/test/golden/testObject_NewService_provider_4.json +++ b/libs/wire-api/test/golden/testObject_NewService_provider_4.json @@ -1,17 +1,7 @@ { "assets": [ { - "key": "", - "size": "complete", - "type": "image" - }, - { - "key": "", - "size": "preview", - "type": "image" - }, - { - "key": "", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "preview", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_NewService_provider_5.json b/libs/wire-api/test/golden/testObject_NewService_provider_5.json index 38ea4547e38..c3f5c2c30bc 100644 --- a/libs/wire-api/test/golden/testObject_NewService_provider_5.json +++ b/libs/wire-api/test/golden/testObject_NewService_provider_5.json @@ -1,31 +1,31 @@ { "assets": [ { - "key": "", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "preview", "type": "image" }, { - "key": "", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "preview", "type": "image" }, { - "key": "", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "type": "image" }, { - "key": "", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "preview", "type": "image" }, { - "key": "", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "preview", "type": "image" }, { - "key": "", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "complete", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_NewService_provider_6.json b/libs/wire-api/test/golden/testObject_NewService_provider_6.json index 3371cc45021..7ed1a9376b2 100644 --- a/libs/wire-api/test/golden/testObject_NewService_provider_6.json +++ b/libs/wire-api/test/golden/testObject_NewService_provider_6.json @@ -1,7 +1,7 @@ { "assets": [ { - "key": "", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "type": "image" } ], diff --git a/libs/wire-api/test/golden/testObject_NewService_provider_7.json b/libs/wire-api/test/golden/testObject_NewService_provider_7.json index 7b607c78134..784130b735d 100644 --- a/libs/wire-api/test/golden/testObject_NewService_provider_7.json +++ b/libs/wire-api/test/golden/testObject_NewService_provider_7.json @@ -1,7 +1,7 @@ { "assets": [ { - "key": "\u0006", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "complete", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_NewService_provider_8.json b/libs/wire-api/test/golden/testObject_NewService_provider_8.json index ad7c718ad30..dc5ccf6a385 100644 --- a/libs/wire-api/test/golden/testObject_NewService_provider_8.json +++ b/libs/wire-api/test/golden/testObject_NewService_provider_8.json @@ -1,12 +1,7 @@ { "assets": [ { - "key": "", - "size": "preview", - "type": "image" - }, - { - "key": "", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "complete", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_NewUserPublic_user_1.json b/libs/wire-api/test/golden/testObject_NewUserPublic_user_1.json index 536556b965d..f4c138be250 100644 --- a/libs/wire-api/test/golden/testObject_NewUserPublic_user_1.json +++ b/libs/wire-api/test/golden/testObject_NewUserPublic_user_1.json @@ -2,16 +2,16 @@ "accent_id": 39125, "assets": [ { - "key": "", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "complete", "type": "image" }, { - "key": "(󼊊\u001bp󳢼u]'􅄻", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "type": "image" }, { - "key": "􁿐f", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "preview", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_NewUser_user_1.json b/libs/wire-api/test/golden/testObject_NewUser_user_1.json index 6fb028d3955..975b72224b9 100644 --- a/libs/wire-api/test/golden/testObject_NewUser_user_1.json +++ b/libs/wire-api/test/golden/testObject_NewUser_user_1.json @@ -2,17 +2,17 @@ "accent_id": -7404, "assets": [ { - "key": "ᏸ5\u0014󸾲𗓰`\u0007\u001aG{?", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "preview", "type": "image" }, { - "key": "something", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "complete", "type": "image" }, { - "key": "KE", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "type": "image" } ], diff --git a/libs/wire-api/test/golden/testObject_NewUser_user_7.json b/libs/wire-api/test/golden/testObject_NewUser_user_7.json index a778929fa94..291e71c640d 100644 --- a/libs/wire-api/test/golden/testObject_NewUser_user_7.json +++ b/libs/wire-api/test/golden/testObject_NewUser_user_7.json @@ -5,7 +5,7 @@ "phone": "+12345678", "team": { "currency": "XUA", - "icon": "Coq쳋\u000b𬟀", + "icon": "default", "icon_key": "\u0006c𥁱L ,", "name": "\u000ce\u0005󷀰zm" } diff --git a/libs/wire-api/test/golden/testObject_ServiceProfilePage_provider_11.json b/libs/wire-api/test/golden/testObject_ServiceProfilePage_provider_11.json index 5de6225d157..7ab7a1a8984 100644 --- a/libs/wire-api/test/golden/testObject_ServiceProfilePage_provider_11.json +++ b/libs/wire-api/test/golden/testObject_ServiceProfilePage_provider_11.json @@ -4,7 +4,7 @@ { "assets": [ { - "key": "", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "preview", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_ServiceProfile_provider_1.json b/libs/wire-api/test/golden/testObject_ServiceProfile_provider_1.json index f489283e9eb..163fe345386 100644 --- a/libs/wire-api/test/golden/testObject_ServiceProfile_provider_1.json +++ b/libs/wire-api/test/golden/testObject_ServiceProfile_provider_1.json @@ -1,7 +1,7 @@ { "assets": [ { - "key": "\u001b", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "type": "image" } ], diff --git a/libs/wire-api/test/golden/testObject_ServiceProfile_provider_10.json b/libs/wire-api/test/golden/testObject_ServiceProfile_provider_10.json index d7a79140493..80a10f49374 100644 --- a/libs/wire-api/test/golden/testObject_ServiceProfile_provider_10.json +++ b/libs/wire-api/test/golden/testObject_ServiceProfile_provider_10.json @@ -1,12 +1,7 @@ { "assets": [ { - "key": "", - "size": "preview", - "type": "image" - }, - { - "key": "", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "type": "image" } ], diff --git a/libs/wire-api/test/golden/testObject_ServiceProfile_provider_13.json b/libs/wire-api/test/golden/testObject_ServiceProfile_provider_13.json index 7d4a6540b94..79478060368 100644 --- a/libs/wire-api/test/golden/testObject_ServiceProfile_provider_13.json +++ b/libs/wire-api/test/golden/testObject_ServiceProfile_provider_13.json @@ -1,7 +1,7 @@ { "assets": [ { - "key": "B", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "type": "image" } ], diff --git a/libs/wire-api/test/golden/testObject_ServiceProfile_provider_15.json b/libs/wire-api/test/golden/testObject_ServiceProfile_provider_15.json index 40320f66c4e..0c42a0a0b79 100644 --- a/libs/wire-api/test/golden/testObject_ServiceProfile_provider_15.json +++ b/libs/wire-api/test/golden/testObject_ServiceProfile_provider_15.json @@ -1,7 +1,7 @@ { "assets": [ { - "key": "*", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "type": "image" } ], diff --git a/libs/wire-api/test/golden/testObject_ServiceProfile_provider_16.json b/libs/wire-api/test/golden/testObject_ServiceProfile_provider_16.json index 0939bdefb07..3c3c435f0f5 100644 --- a/libs/wire-api/test/golden/testObject_ServiceProfile_provider_16.json +++ b/libs/wire-api/test/golden/testObject_ServiceProfile_provider_16.json @@ -1,12 +1,7 @@ { "assets": [ { - "key": "", - "size": "preview", - "type": "image" - }, - { - "key": "", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "preview", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_ServiceProfile_provider_17.json b/libs/wire-api/test/golden/testObject_ServiceProfile_provider_17.json index add08735159..62ecef784b4 100644 --- a/libs/wire-api/test/golden/testObject_ServiceProfile_provider_17.json +++ b/libs/wire-api/test/golden/testObject_ServiceProfile_provider_17.json @@ -1,12 +1,7 @@ { "assets": [ { - "key": "", - "size": "complete", - "type": "image" - }, - { - "key": "", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "complete", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_ServiceProfile_provider_2.json b/libs/wire-api/test/golden/testObject_ServiceProfile_provider_2.json index c4f71c210a3..eccf6c18d40 100644 --- a/libs/wire-api/test/golden/testObject_ServiceProfile_provider_2.json +++ b/libs/wire-api/test/golden/testObject_ServiceProfile_provider_2.json @@ -1,22 +1,22 @@ { "assets": [ { - "key": "", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "complete", "type": "image" }, { - "key": "", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "complete", "type": "image" }, { - "key": "", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "complete", "type": "image" }, { - "key": "", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "complete", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_ServiceProfile_provider_3.json b/libs/wire-api/test/golden/testObject_ServiceProfile_provider_3.json index 5aea13d2406..bf3d110ee57 100644 --- a/libs/wire-api/test/golden/testObject_ServiceProfile_provider_3.json +++ b/libs/wire-api/test/golden/testObject_ServiceProfile_provider_3.json @@ -1,11 +1,7 @@ { "assets": [ { - "key": "", - "type": "image" - }, - { - "key": "", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "preview", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_ServiceProfile_provider_4.json b/libs/wire-api/test/golden/testObject_ServiceProfile_provider_4.json index 20897d07227..62ec6cb9e72 100644 --- a/libs/wire-api/test/golden/testObject_ServiceProfile_provider_4.json +++ b/libs/wire-api/test/golden/testObject_ServiceProfile_provider_4.json @@ -1,7 +1,7 @@ { "assets": [ { - "key": "1", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "complete", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_ServiceProfile_provider_6.json b/libs/wire-api/test/golden/testObject_ServiceProfile_provider_6.json index 06d9b7c11d5..2a9ce8c82b8 100644 --- a/libs/wire-api/test/golden/testObject_ServiceProfile_provider_6.json +++ b/libs/wire-api/test/golden/testObject_ServiceProfile_provider_6.json @@ -1,25 +1,25 @@ { "assets": [ { - "key": "", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "type": "image" }, { - "key": "", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "complete", "type": "image" }, { - "key": "", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "complete", "type": "image" }, { - "key": "", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "type": "image" }, { - "key": "", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "complete", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_ServiceProfile_provider_9.json b/libs/wire-api/test/golden/testObject_ServiceProfile_provider_9.json index ccbb904285c..282f807626b 100644 --- a/libs/wire-api/test/golden/testObject_ServiceProfile_provider_9.json +++ b/libs/wire-api/test/golden/testObject_ServiceProfile_provider_9.json @@ -1,7 +1,7 @@ { "assets": [ { - "key": "\u0011", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "type": "image" } ], diff --git a/libs/wire-api/test/golden/testObject_Service_provider_11.json b/libs/wire-api/test/golden/testObject_Service_provider_11.json index a6f0e648e72..24237ec49e1 100644 --- a/libs/wire-api/test/golden/testObject_Service_provider_11.json +++ b/libs/wire-api/test/golden/testObject_Service_provider_11.json @@ -1,12 +1,7 @@ { "assets": [ { - "key": "", - "size": "complete", - "type": "image" - }, - { - "key": "", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "complete", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_Service_provider_12.json b/libs/wire-api/test/golden/testObject_Service_provider_12.json index 4de5b9715ee..275a1c0f8c9 100644 --- a/libs/wire-api/test/golden/testObject_Service_provider_12.json +++ b/libs/wire-api/test/golden/testObject_Service_provider_12.json @@ -1,17 +1,17 @@ { "assets": [ { - "key": "", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "preview", "type": "image" }, { - "key": "", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "complete", "type": "image" }, { - "key": "", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "complete", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_Service_provider_13.json b/libs/wire-api/test/golden/testObject_Service_provider_13.json index 7259671be23..1662fda8125 100644 --- a/libs/wire-api/test/golden/testObject_Service_provider_13.json +++ b/libs/wire-api/test/golden/testObject_Service_provider_13.json @@ -1,7 +1,7 @@ { "assets": [ { - "key": "", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "complete", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_Service_provider_14.json b/libs/wire-api/test/golden/testObject_Service_provider_14.json index d3e8f5e933e..533ab463127 100644 --- a/libs/wire-api/test/golden/testObject_Service_provider_14.json +++ b/libs/wire-api/test/golden/testObject_Service_provider_14.json @@ -1,7 +1,7 @@ { "assets": [ { - "key": "A", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "preview", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_Service_provider_15.json b/libs/wire-api/test/golden/testObject_Service_provider_15.json index 113b41b921a..11b50f74dd0 100644 --- a/libs/wire-api/test/golden/testObject_Service_provider_15.json +++ b/libs/wire-api/test/golden/testObject_Service_provider_15.json @@ -1,35 +1,35 @@ { "assets": [ { - "key": "", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "preview", "type": "image" }, { - "key": "", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "complete", "type": "image" }, { - "key": "", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "preview", "type": "image" }, { - "key": "", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "preview", "type": "image" }, { - "key": "", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "type": "image" }, { - "key": "", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "type": "image" }, { - "key": "", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "complete", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_Service_provider_16.json b/libs/wire-api/test/golden/testObject_Service_provider_16.json index 8013b050279..2968134faac 100644 --- a/libs/wire-api/test/golden/testObject_Service_provider_16.json +++ b/libs/wire-api/test/golden/testObject_Service_provider_16.json @@ -1,11 +1,7 @@ { "assets": [ { - "key": "", - "type": "image" - }, - { - "key": "", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "complete", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_Service_provider_2.json b/libs/wire-api/test/golden/testObject_Service_provider_2.json index a129126c8eb..8463539f0e5 100644 --- a/libs/wire-api/test/golden/testObject_Service_provider_2.json +++ b/libs/wire-api/test/golden/testObject_Service_provider_2.json @@ -1,12 +1,7 @@ { "assets": [ { - "key": "", - "size": "complete", - "type": "image" - }, - { - "key": "", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "complete", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_Service_provider_4.json b/libs/wire-api/test/golden/testObject_Service_provider_4.json index b227bc0a2ac..8e3c74622d8 100644 --- a/libs/wire-api/test/golden/testObject_Service_provider_4.json +++ b/libs/wire-api/test/golden/testObject_Service_provider_4.json @@ -1,7 +1,7 @@ { "assets": [ { - "key": "", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "complete", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_Service_provider_6.json b/libs/wire-api/test/golden/testObject_Service_provider_6.json index ef2d363e957..ea1d4c176e0 100644 --- a/libs/wire-api/test/golden/testObject_Service_provider_6.json +++ b/libs/wire-api/test/golden/testObject_Service_provider_6.json @@ -1,26 +1,26 @@ { "assets": [ { - "key": "", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "complete", "type": "image" }, { - "key": "", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "preview", "type": "image" }, { - "key": "", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "type": "image" }, { - "key": "", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "preview", "type": "image" }, { - "key": "", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "preview", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_Service_provider_7.json b/libs/wire-api/test/golden/testObject_Service_provider_7.json index 5c3fdd8cd07..3a434d76102 100644 --- a/libs/wire-api/test/golden/testObject_Service_provider_7.json +++ b/libs/wire-api/test/golden/testObject_Service_provider_7.json @@ -1,7 +1,7 @@ { "assets": [ { - "key": "", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "preview", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_TeamList_team_1.json b/libs/wire-api/test/golden/testObject_TeamList_team_1.json index 9253c096fd3..bff30e166e2 100644 --- a/libs/wire-api/test/golden/testObject_TeamList_team_1.json +++ b/libs/wire-api/test/golden/testObject_TeamList_team_1.json @@ -4,7 +4,7 @@ { "binding": false, "creator": "00000000-0000-0000-0000-000100000000", - "icon": "", + "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", "icon_key": "", "id": "00000001-0000-0001-0000-000000000000", "name": "" @@ -12,7 +12,7 @@ { "binding": false, "creator": "00000000-0000-0000-0000-000000000001", - "icon": "", + "icon": "default", "icon_key": "", "id": "00000001-0000-0001-0000-000100000000", "name": "" @@ -20,7 +20,7 @@ { "binding": false, "creator": "00000001-0000-0000-0000-000000000001", - "icon": "", + "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", "id": "00000001-0000-0000-0000-000000000000", "name": "" } diff --git a/libs/wire-api/test/golden/testObject_TeamList_team_12.json b/libs/wire-api/test/golden/testObject_TeamList_team_12.json index ed1c32bbfdf..c7d736fbd40 100644 --- a/libs/wire-api/test/golden/testObject_TeamList_team_12.json +++ b/libs/wire-api/test/golden/testObject_TeamList_team_12.json @@ -4,7 +4,7 @@ { "binding": false, "creator": "00000002-0000-0000-0000-000100000000", - "icon": "bi", + "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", "icon_key": "", "id": "00000000-0000-0002-0000-000200000001", "name": "/锟" diff --git a/libs/wire-api/test/golden/testObject_TeamList_team_14.json b/libs/wire-api/test/golden/testObject_TeamList_team_14.json index 88c4fec2777..7a2e8a767d4 100644 --- a/libs/wire-api/test/golden/testObject_TeamList_team_14.json +++ b/libs/wire-api/test/golden/testObject_TeamList_team_14.json @@ -4,7 +4,7 @@ { "binding": false, "creator": "00000000-0000-0001-0000-000000000000", - "icon": "", + "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", "icon_key": "", "id": "00000000-0000-0001-0000-000000000000", "name": "" @@ -12,7 +12,7 @@ { "binding": false, "creator": "00000001-0000-0001-0000-000000000001", - "icon": "", + "icon": "default", "icon_key": "", "id": "00000001-0000-0000-0000-000100000001", "name": "" @@ -20,7 +20,7 @@ { "binding": false, "creator": "00000000-0000-0001-0000-000100000001", - "icon": "", + "icon": "default", "icon_key": "", "id": "00000001-0000-0000-0000-000000000001", "name": "" @@ -28,7 +28,7 @@ { "binding": false, "creator": "00000000-0000-0001-0000-000100000001", - "icon": "", + "icon": "default", "icon_key": "", "id": "00000000-0000-0001-0000-000100000000", "name": "" @@ -36,7 +36,7 @@ { "binding": false, "creator": "00000001-0000-0001-0000-000100000000", - "icon": "", + "icon": "default", "icon_key": "", "id": "00000001-0000-0000-0000-000100000001", "name": "" @@ -44,7 +44,7 @@ { "binding": false, "creator": "00000000-0000-0000-0000-000000000000", - "icon": "", + "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", "id": "00000000-0000-0001-0000-000100000001", "name": "" } diff --git a/libs/wire-api/test/golden/testObject_TeamList_team_15.json b/libs/wire-api/test/golden/testObject_TeamList_team_15.json index 6596778c10f..28c5a4b1e0d 100644 --- a/libs/wire-api/test/golden/testObject_TeamList_team_15.json +++ b/libs/wire-api/test/golden/testObject_TeamList_team_15.json @@ -4,14 +4,14 @@ { "binding": false, "creator": "00000001-0000-0001-0000-000000000001", - "icon": "", + "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", "id": "00000001-0000-0001-0000-000000000000", "name": "" }, { "binding": false, "creator": "00000000-0000-0000-0000-000100000001", - "icon": "", + "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", "icon_key": "", "id": "00000000-0000-0000-0000-000100000000", "name": "" @@ -19,14 +19,14 @@ { "binding": true, "creator": "00000001-0000-0000-0000-000000000001", - "icon": "", + "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", "id": "00000000-0000-0001-0000-000100000000", "name": "" }, { "binding": false, "creator": "00000000-0000-0000-0000-000100000001", - "icon": "", + "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", "icon_key": "", "id": "00000000-0000-0000-0000-000100000000", "name": "" @@ -34,7 +34,7 @@ { "binding": true, "creator": "00000001-0000-0000-0000-000000000000", - "icon": "", + "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", "id": "00000001-0000-0001-0000-000000000001", "name": "" } diff --git a/libs/wire-api/test/golden/testObject_TeamList_team_16.json b/libs/wire-api/test/golden/testObject_TeamList_team_16.json index 0cf64604e2b..3fdaa492cc8 100644 --- a/libs/wire-api/test/golden/testObject_TeamList_team_16.json +++ b/libs/wire-api/test/golden/testObject_TeamList_team_16.json @@ -4,7 +4,7 @@ { "binding": true, "creator": "00000002-0000-0000-0000-000200000000", - "icon": "e乥", + "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", "icon_key": "􏵷(", "id": "00000001-0000-0001-0000-000100000002", "name": "𩬟" diff --git a/libs/wire-api/test/golden/testObject_TeamList_team_18.json b/libs/wire-api/test/golden/testObject_TeamList_team_18.json index c6c35099637..eb3fcc22530 100644 --- a/libs/wire-api/test/golden/testObject_TeamList_team_18.json +++ b/libs/wire-api/test/golden/testObject_TeamList_team_18.json @@ -4,7 +4,7 @@ { "binding": false, "creator": "00000002-0000-0000-0000-000000000000", - "icon": "!", + "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", "id": "00000000-0000-0000-0000-000000000002", "name": "W1" } diff --git a/libs/wire-api/test/golden/testObject_TeamList_team_19.json b/libs/wire-api/test/golden/testObject_TeamList_team_19.json index 0a14a863117..84fbbb6ecff 100644 --- a/libs/wire-api/test/golden/testObject_TeamList_team_19.json +++ b/libs/wire-api/test/golden/testObject_TeamList_team_19.json @@ -4,7 +4,7 @@ { "binding": true, "creator": "00000001-0000-0001-0000-000200000002", - "icon": "7", + "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", "icon_key": "𮏥(", "id": "00000001-0000-0002-0000-000200000000", "name": "" diff --git a/libs/wire-api/test/golden/testObject_TeamList_team_2.json b/libs/wire-api/test/golden/testObject_TeamList_team_2.json index d9bbcfc9d92..2c6a45a51ab 100644 --- a/libs/wire-api/test/golden/testObject_TeamList_team_2.json +++ b/libs/wire-api/test/golden/testObject_TeamList_team_2.json @@ -4,7 +4,7 @@ { "binding": true, "creator": "00000001-0000-0001-0000-000000000001", - "icon": "𪤬", + "icon": "default", "icon_key": "@", "id": "00000000-0000-0001-0000-000100000000", "name": "7" @@ -12,7 +12,7 @@ { "binding": true, "creator": "00000000-0000-0000-0000-000000000000", - "icon": "", + "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", "icon_key": "", "id": "00000000-0000-0001-0000-000000000000", "name": "" diff --git a/libs/wire-api/test/golden/testObject_TeamList_team_20.json b/libs/wire-api/test/golden/testObject_TeamList_team_20.json index d2d074718a3..50abbb73582 100644 --- a/libs/wire-api/test/golden/testObject_TeamList_team_20.json +++ b/libs/wire-api/test/golden/testObject_TeamList_team_20.json @@ -4,14 +4,14 @@ { "binding": true, "creator": "00000000-0000-0000-0000-000000000001", - "icon": "", + "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", "id": "00000001-0000-0001-0000-000000000000", "name": "" }, { "binding": true, "creator": "00000000-0000-0001-0000-000000000000", - "icon": "", + "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", "icon_key": "", "id": "00000001-0000-0000-0000-000000000000", "name": "" @@ -19,7 +19,7 @@ { "binding": true, "creator": "00000000-0000-0001-0000-000000000001", - "icon": "", + "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", "icon_key": "", "id": "00000000-0000-0001-0000-000100000001", "name": "" @@ -27,7 +27,7 @@ { "binding": false, "creator": "00000001-0000-0001-0000-000000000000", - "icon": "", + "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", "id": "00000001-0000-0001-0000-000000000001", "name": "" } diff --git a/libs/wire-api/test/golden/testObject_TeamList_team_3.json b/libs/wire-api/test/golden/testObject_TeamList_team_3.json index 93425d17390..0596d30a2bc 100644 --- a/libs/wire-api/test/golden/testObject_TeamList_team_3.json +++ b/libs/wire-api/test/golden/testObject_TeamList_team_3.json @@ -4,7 +4,7 @@ { "binding": false, "creator": "00000000-0000-0001-0000-000100000002", - "icon": "", + "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", "id": "00000001-0000-0002-0000-000200000000", "name": "" } diff --git a/libs/wire-api/test/golden/testObject_TeamList_team_4.json b/libs/wire-api/test/golden/testObject_TeamList_team_4.json index ee8f255d4cd..bfd1d2ba4d9 100644 --- a/libs/wire-api/test/golden/testObject_TeamList_team_4.json +++ b/libs/wire-api/test/golden/testObject_TeamList_team_4.json @@ -4,7 +4,7 @@ { "binding": false, "creator": "00000000-0000-0001-0000-000100000000", - "icon": "", + "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", "icon_key": "", "id": "00000001-0000-0001-0000-000100000001", "name": "􄃌" @@ -12,7 +12,7 @@ { "binding": false, "creator": "00000001-0000-0001-0000-000100000000", - "icon": "", + "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", "icon_key": "", "id": "00000001-0000-0000-0000-000100000001", "name": "" diff --git a/libs/wire-api/test/golden/testObject_TeamList_team_5.json b/libs/wire-api/test/golden/testObject_TeamList_team_5.json index 5c31ced6d52..d3d0eb0e8d2 100644 --- a/libs/wire-api/test/golden/testObject_TeamList_team_5.json +++ b/libs/wire-api/test/golden/testObject_TeamList_team_5.json @@ -4,7 +4,7 @@ { "binding": false, "creator": "00000000-0000-0001-0000-000100000001", - "icon": "", + "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", "icon_key": "", "id": "00000001-0000-0000-0000-000000000001", "name": "" @@ -12,7 +12,7 @@ { "binding": true, "creator": "00000001-0000-0001-0000-000100000001", - "icon": "", + "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", "icon_key": "", "id": "00000001-0000-0000-0000-000000000000", "name": "" @@ -20,7 +20,7 @@ { "binding": false, "creator": "00000001-0000-0001-0000-000000000001", - "icon": "", + "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", "icon_key": "", "id": "00000000-0000-0001-0000-000000000000", "name": "" @@ -28,7 +28,7 @@ { "binding": false, "creator": "00000001-0000-0001-0000-000100000000", - "icon": "", + "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", "icon_key": "", "id": "00000000-0000-0001-0000-000000000000", "name": "" @@ -36,7 +36,7 @@ { "binding": true, "creator": "00000000-0000-0000-0000-000100000000", - "icon": "", + "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", "icon_key": "", "id": "00000000-0000-0000-0000-000100000001", "name": "" @@ -44,14 +44,14 @@ { "binding": false, "creator": "00000001-0000-0001-0000-000000000000", - "icon": "", + "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", "id": "00000000-0000-0000-0000-000100000000", "name": "" }, { "binding": false, "creator": "00000001-0000-0000-0000-000100000000", - "icon": "", + "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", "icon_key": "", "id": "00000001-0000-0001-0000-000100000000", "name": "" diff --git a/libs/wire-api/test/golden/testObject_TeamList_team_6.json b/libs/wire-api/test/golden/testObject_TeamList_team_6.json index de67b8024a0..7509a92e1da 100644 --- a/libs/wire-api/test/golden/testObject_TeamList_team_6.json +++ b/libs/wire-api/test/golden/testObject_TeamList_team_6.json @@ -4,7 +4,7 @@ { "binding": false, "creator": "00000001-0000-0000-0000-000000000000", - "icon": "󺯟", + "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", "id": "00000000-0000-0001-0000-000000000000", "name": " " } diff --git a/libs/wire-api/test/golden/testObject_TeamList_team_7.json b/libs/wire-api/test/golden/testObject_TeamList_team_7.json index 7a6e537de35..ec65a7d3037 100644 --- a/libs/wire-api/test/golden/testObject_TeamList_team_7.json +++ b/libs/wire-api/test/golden/testObject_TeamList_team_7.json @@ -4,14 +4,14 @@ { "binding": false, "creator": "00000001-0000-0001-0000-000100000001", - "icon": "\u0011", + "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", "id": "00000001-0000-0000-0000-000000000001", "name": "" }, { "binding": true, "creator": "00000000-0000-0001-0000-000000000001", - "icon": "", + "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", "icon_key": "", "id": "00000000-0000-0001-0000-000100000001", "name": "" diff --git a/libs/wire-api/test/golden/testObject_TeamList_team_9.json b/libs/wire-api/test/golden/testObject_TeamList_team_9.json index da14cb80b1f..8ed2ea75d48 100644 --- a/libs/wire-api/test/golden/testObject_TeamList_team_9.json +++ b/libs/wire-api/test/golden/testObject_TeamList_team_9.json @@ -4,7 +4,7 @@ { "binding": false, "creator": "00000001-0000-0000-0000-000000000001", - "icon": "", + "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", "icon_key": "", "id": "00000000-0000-0001-0000-000000000000", "name": "" @@ -12,7 +12,7 @@ { "binding": false, "creator": "00000001-0000-0000-0000-000000000001", - "icon": "", + "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", "icon_key": "", "id": "00000000-0000-0001-0000-000100000000", "name": "" @@ -20,14 +20,14 @@ { "binding": false, "creator": "00000001-0000-0000-0000-000000000001", - "icon": "", + "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", "id": "00000000-0000-0000-0000-000100000000", "name": "" }, { "binding": true, "creator": "00000000-0000-0000-0000-000100000000", - "icon": "", + "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", "icon_key": "", "id": "00000000-0000-0000-0000-000100000000", "name": "" @@ -35,7 +35,7 @@ { "binding": false, "creator": "00000000-0000-0000-0000-000000000000", - "icon": "", + "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", "icon_key": "", "id": "00000001-0000-0000-0000-000000000000", "name": "" @@ -43,7 +43,7 @@ { "binding": false, "creator": "00000000-0000-0000-0000-000100000001", - "icon": "", + "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", "icon_key": "", "id": "00000000-0000-0001-0000-000100000001", "name": "" diff --git a/libs/wire-api/test/golden/testObject_Team_team_1.json b/libs/wire-api/test/golden/testObject_Team_team_1.json index 1e19543ce8c..886e64a3a07 100644 --- a/libs/wire-api/test/golden/testObject_Team_team_1.json +++ b/libs/wire-api/test/golden/testObject_Team_team_1.json @@ -1,7 +1,7 @@ { "binding": true, "creator": "00000003-0000-0001-0000-000100000002", - "icon": "Jw\u001fTB", + "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", "icon_key": "󾄡V", "id": "00000004-0000-0003-0000-000200000000", "name": "TJ\u0004" diff --git a/libs/wire-api/test/golden/testObject_Team_team_10.json b/libs/wire-api/test/golden/testObject_Team_team_10.json index 140e0689a6f..d92c6611cb3 100644 --- a/libs/wire-api/test/golden/testObject_Team_team_10.json +++ b/libs/wire-api/test/golden/testObject_Team_team_10.json @@ -1,7 +1,7 @@ { "binding": true, "creator": "00000000-0000-0004-0000-000300000000", - "icon": " ", + "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", "icon_key": "􎕩", "id": "00000002-0000-0000-0000-000300000004", "name": "󾶆" diff --git a/libs/wire-api/test/golden/testObject_Team_team_11.json b/libs/wire-api/test/golden/testObject_Team_team_11.json index a1d1d1b4971..7ef218c4dd0 100644 --- a/libs/wire-api/test/golden/testObject_Team_team_11.json +++ b/libs/wire-api/test/golden/testObject_Team_team_11.json @@ -1,7 +1,7 @@ { "binding": false, "creator": "00000001-0000-0001-0000-000200000003", - "icon": "b@\u0002룾", + "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", "id": "00000002-0000-0004-0000-000300000003", "name": "" } diff --git a/libs/wire-api/test/golden/testObject_Team_team_12.json b/libs/wire-api/test/golden/testObject_Team_team_12.json index 442197f003c..6e5c098936e 100644 --- a/libs/wire-api/test/golden/testObject_Team_team_12.json +++ b/libs/wire-api/test/golden/testObject_Team_team_12.json @@ -1,7 +1,7 @@ { "binding": true, "creator": "00000003-0000-0001-0000-000200000001", - "icon": "P𭑁", + "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", "icon_key": "J\u000f`􆍑", "id": "00000001-0000-0002-0000-000000000001", "name": "yR\u0004U}" diff --git a/libs/wire-api/test/golden/testObject_Team_team_13.json b/libs/wire-api/test/golden/testObject_Team_team_13.json index 61098e5eb86..399fdb76103 100644 --- a/libs/wire-api/test/golden/testObject_Team_team_13.json +++ b/libs/wire-api/test/golden/testObject_Team_team_13.json @@ -1,7 +1,7 @@ { "binding": false, "creator": "00000003-0000-0002-0000-000200000004", - "icon": "", + "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", "id": "00000001-0000-0000-0000-000200000002", "name": "E\u001b" } diff --git a/libs/wire-api/test/golden/testObject_Team_team_14.json b/libs/wire-api/test/golden/testObject_Team_team_14.json index 94c180ac811..9129fb0aca6 100644 --- a/libs/wire-api/test/golden/testObject_Team_team_14.json +++ b/libs/wire-api/test/golden/testObject_Team_team_14.json @@ -1,7 +1,7 @@ { "binding": false, "creator": "00000002-0000-0002-0000-000100000003", - "icon": "", + "icon": "default", "icon_key": "N\u0019\u0003", "id": "00000000-0000-0004-0000-000100000004", "name": ".橠," diff --git a/libs/wire-api/test/golden/testObject_Team_team_15.json b/libs/wire-api/test/golden/testObject_Team_team_15.json index a2f8c404988..8aa916bd06f 100644 --- a/libs/wire-api/test/golden/testObject_Team_team_15.json +++ b/libs/wire-api/test/golden/testObject_Team_team_15.json @@ -1,7 +1,7 @@ { "binding": true, "creator": "00000004-0000-0000-0000-000400000002", - "icon": "yM\u001e\u0005", + "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", "icon_key": "T\u000c)\tR", "id": "00000003-0000-0004-0000-000000000003", "name": "#k\u0000,;" diff --git a/libs/wire-api/test/golden/testObject_Team_team_16.json b/libs/wire-api/test/golden/testObject_Team_team_16.json index d67c357b648..d9aa2cc530e 100644 --- a/libs/wire-api/test/golden/testObject_Team_team_16.json +++ b/libs/wire-api/test/golden/testObject_Team_team_16.json @@ -1,7 +1,7 @@ { "binding": true, "creator": "00000001-0000-0000-0000-000400000004", - "icon": "Se", + "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", "icon_key": "\u0001C", "id": "00000000-0000-0002-0000-000200000000", "name": "" diff --git a/libs/wire-api/test/golden/testObject_Team_team_17.json b/libs/wire-api/test/golden/testObject_Team_team_17.json index 7cbd2e7cb3b..42db147e830 100644 --- a/libs/wire-api/test/golden/testObject_Team_team_17.json +++ b/libs/wire-api/test/golden/testObject_Team_team_17.json @@ -1,7 +1,7 @@ { "binding": true, "creator": "00000003-0000-0001-0000-000000000004", - "icon": "A󻘪'W", + "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", "id": "00000003-0000-0004-0000-000400000004", "name": "\t\u0008 " } diff --git a/libs/wire-api/test/golden/testObject_Team_team_18.json b/libs/wire-api/test/golden/testObject_Team_team_18.json index bd9e0f25a87..e79f9d8fac2 100644 --- a/libs/wire-api/test/golden/testObject_Team_team_18.json +++ b/libs/wire-api/test/golden/testObject_Team_team_18.json @@ -1,7 +1,7 @@ { "binding": false, "creator": "00000002-0000-0001-0000-000100000002", - "icon": "_󻓑𩢓", + "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", "icon_key": "x:鿪L", "id": "00000002-0000-0002-0000-000200000002", "name": "孙󿞪" diff --git a/libs/wire-api/test/golden/testObject_Team_team_19.json b/libs/wire-api/test/golden/testObject_Team_team_19.json index 5faec888a31..39c23c6290d 100644 --- a/libs/wire-api/test/golden/testObject_Team_team_19.json +++ b/libs/wire-api/test/golden/testObject_Team_team_19.json @@ -1,7 +1,7 @@ { "binding": true, "creator": "00000004-0000-0003-0000-000200000004", - "icon": ")\u0017\u0005", + "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", "icon_key": "V>A", "id": "00000003-0000-0000-0000-000100000001", "name": "P𭷓;gi" diff --git a/libs/wire-api/test/golden/testObject_Team_team_2.json b/libs/wire-api/test/golden/testObject_Team_team_2.json index 895a61e70d1..826ec582ba7 100644 --- a/libs/wire-api/test/golden/testObject_Team_team_2.json +++ b/libs/wire-api/test/golden/testObject_Team_team_2.json @@ -1,7 +1,7 @@ { "binding": false, "creator": "00000000-0000-0004-0000-000000000001", - "icon": "􍬵\t5", + "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", "icon_key": "虱R3q", "id": "00000004-0000-0003-0000-000000000004", "name": "Ycᛄ" diff --git a/libs/wire-api/test/golden/testObject_Team_team_20.json b/libs/wire-api/test/golden/testObject_Team_team_20.json index a2e88fc5df0..5899393e6f2 100644 --- a/libs/wire-api/test/golden/testObject_Team_team_20.json +++ b/libs/wire-api/test/golden/testObject_Team_team_20.json @@ -1,7 +1,7 @@ { "binding": false, "creator": "00000000-0000-0004-0000-000000000004", - "icon": "󸷚I\u0002\u0003", + "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", "icon_key": "v0􌡴3", "id": "00000000-0000-0004-0000-000400000003", "name": "𮩶c" diff --git a/libs/wire-api/test/golden/testObject_Team_team_3.json b/libs/wire-api/test/golden/testObject_Team_team_3.json index d06ee96c92f..bacd42f414c 100644 --- a/libs/wire-api/test/golden/testObject_Team_team_3.json +++ b/libs/wire-api/test/golden/testObject_Team_team_3.json @@ -1,7 +1,7 @@ { "binding": false, "creator": "00000003-0000-0004-0000-000100000000", - "icon": "", + "icon": "default", "icon_key": "s􁺴", "id": "00000004-0000-0003-0000-000000000003", "name": "2E􊴕" diff --git a/libs/wire-api/test/golden/testObject_Team_team_4.json b/libs/wire-api/test/golden/testObject_Team_team_4.json index e2c72e1c830..939cc911f07 100644 --- a/libs/wire-api/test/golden/testObject_Team_team_4.json +++ b/libs/wire-api/test/golden/testObject_Team_team_4.json @@ -1,7 +1,7 @@ { "binding": false, "creator": "00000004-0000-0000-0000-000100000003", - "icon": "􇓞u\u001cC\u0001", + "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", "icon_key": "X", "id": "00000000-0000-0002-0000-000100000004", "name": "𫑂\u0008k" diff --git a/libs/wire-api/test/golden/testObject_Team_team_5.json b/libs/wire-api/test/golden/testObject_Team_team_5.json index 5b259bd37a0..00e49fe7506 100644 --- a/libs/wire-api/test/golden/testObject_Team_team_5.json +++ b/libs/wire-api/test/golden/testObject_Team_team_5.json @@ -1,7 +1,7 @@ { "binding": true, "creator": "00000000-0000-0004-0000-000200000002", - "icon": "􆊅", + "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", "icon_key": "?&\u001b", "id": "00000004-0000-0003-0000-000000000004", "name": "\u0006𘐼仄" diff --git a/libs/wire-api/test/golden/testObject_Team_team_6.json b/libs/wire-api/test/golden/testObject_Team_team_6.json index b9ce15d026b..debe6299327 100644 --- a/libs/wire-api/test/golden/testObject_Team_team_6.json +++ b/libs/wire-api/test/golden/testObject_Team_team_6.json @@ -1,7 +1,7 @@ { "binding": false, "creator": "00000000-0000-0003-0000-000000000003", - "icon": "_'\u0011\u0002", + "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", "id": "00000000-0000-0002-0000-000000000001", "name": "󸭬x󼬐]㹱" } diff --git a/libs/wire-api/test/golden/testObject_Team_team_7.json b/libs/wire-api/test/golden/testObject_Team_team_7.json index 6ed09fa61bd..28718021fd8 100644 --- a/libs/wire-api/test/golden/testObject_Team_team_7.json +++ b/libs/wire-api/test/golden/testObject_Team_team_7.json @@ -1,7 +1,7 @@ { "binding": true, "creator": "00000001-0000-0002-0000-000400000000", - "icon": "X\n|󾒚", + "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", "icon_key": "𗤥", "id": "00000002-0000-0003-0000-000000000002", "name": "⛉􁓖󸙰7􂩽" diff --git a/libs/wire-api/test/golden/testObject_Team_team_8.json b/libs/wire-api/test/golden/testObject_Team_team_8.json index 3b010018380..940b270dd31 100644 --- a/libs/wire-api/test/golden/testObject_Team_team_8.json +++ b/libs/wire-api/test/golden/testObject_Team_team_8.json @@ -1,7 +1,7 @@ { "binding": false, "creator": "00000002-0000-0003-0000-000400000001", - "icon": "󻎖", + "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", "id": "00000003-0000-0004-0000-000000000001", "name": "\r釖{\u0013\\" } diff --git a/libs/wire-api/test/golden/testObject_Team_team_9.json b/libs/wire-api/test/golden/testObject_Team_team_9.json index 2765bd238bb..bf120473c4a 100644 --- a/libs/wire-api/test/golden/testObject_Team_team_9.json +++ b/libs/wire-api/test/golden/testObject_Team_team_9.json @@ -1,7 +1,7 @@ { "binding": false, "creator": "00000002-0000-0000-0000-000000000004", - "icon": "d\u0003U", + "icon": "3-1-55b9ad19-315c-4bda-8c0f-5d7b0e143008", "id": "00000004-0000-0002-0000-000200000003", "name": "G[Hu{" } diff --git a/libs/wire-api/test/golden/testObject_UpdateService_provider_1.json b/libs/wire-api/test/golden/testObject_UpdateService_provider_1.json index 65e1ab329e6..e532e3870c1 100644 --- a/libs/wire-api/test/golden/testObject_UpdateService_provider_1.json +++ b/libs/wire-api/test/golden/testObject_UpdateService_provider_1.json @@ -1,7 +1,7 @@ { "assets": [ { - "key": "褩s􎀧", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "complete", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_UpdateService_provider_11.json b/libs/wire-api/test/golden/testObject_UpdateService_provider_11.json index a88563d44e2..bc5f15c3f18 100644 --- a/libs/wire-api/test/golden/testObject_UpdateService_provider_11.json +++ b/libs/wire-api/test/golden/testObject_UpdateService_provider_11.json @@ -1,16 +1,16 @@ { "assets": [ { - "key": "\u0003𗗇", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "complete", "type": "image" }, { - "key": "􏜄", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "type": "image" }, { - "key": "", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "preview", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_UpdateService_provider_12.json b/libs/wire-api/test/golden/testObject_UpdateService_provider_12.json index 5a6989defa3..33b1b1ecc11 100644 --- a/libs/wire-api/test/golden/testObject_UpdateService_provider_12.json +++ b/libs/wire-api/test/golden/testObject_UpdateService_provider_12.json @@ -1,7 +1,7 @@ { "assets": [ { - "key": "e󱊉4", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "preview", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_UpdateService_provider_15.json b/libs/wire-api/test/golden/testObject_UpdateService_provider_15.json index 35c19a29f64..67b54804627 100644 --- a/libs/wire-api/test/golden/testObject_UpdateService_provider_15.json +++ b/libs/wire-api/test/golden/testObject_UpdateService_provider_15.json @@ -1,7 +1,7 @@ { "assets": [ { - "key": "\u000eNG", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "type": "image" } ], diff --git a/libs/wire-api/test/golden/testObject_UpdateService_provider_17.json b/libs/wire-api/test/golden/testObject_UpdateService_provider_17.json index 5fa9959c912..5c75fbbb1b3 100644 --- a/libs/wire-api/test/golden/testObject_UpdateService_provider_17.json +++ b/libs/wire-api/test/golden/testObject_UpdateService_provider_17.json @@ -1,7 +1,7 @@ { "assets": [ { - "key": "󼋠j𖥩", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "preview", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_UpdateService_provider_18.json b/libs/wire-api/test/golden/testObject_UpdateService_provider_18.json index 79134b0c607..d78c2d45b76 100644 --- a/libs/wire-api/test/golden/testObject_UpdateService_provider_18.json +++ b/libs/wire-api/test/golden/testObject_UpdateService_provider_18.json @@ -1,12 +1,7 @@ { "assets": [ { - "key": "󿔉w\u0015", - "size": "complete", - "type": "image" - }, - { - "key": "K", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "type": "image" } ], diff --git a/libs/wire-api/test/golden/testObject_UpdateService_provider_19.json b/libs/wire-api/test/golden/testObject_UpdateService_provider_19.json index 1241cd1a8db..4bf04aebe9a 100644 --- a/libs/wire-api/test/golden/testObject_UpdateService_provider_19.json +++ b/libs/wire-api/test/golden/testObject_UpdateService_provider_19.json @@ -1,31 +1,31 @@ { "assets": [ { - "key": "q", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "complete", "type": "image" }, { - "key": "", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "complete", "type": "image" }, { - "key": "]䊇", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "preview", "type": "image" }, { - "key": "\u001b笜F", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "preview", "type": "image" }, { - "key": "", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "type": "image" }, { - "key": ";K", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "complete", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_UpdateService_provider_2.json b/libs/wire-api/test/golden/testObject_UpdateService_provider_2.json index 078f95b752c..a761085ef8c 100644 --- a/libs/wire-api/test/golden/testObject_UpdateService_provider_2.json +++ b/libs/wire-api/test/golden/testObject_UpdateService_provider_2.json @@ -1,21 +1,21 @@ { "assets": [ { - "key": "", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "type": "image" }, { - "key": "𬩌", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "preview", "type": "image" }, { - "key": "#", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "preview", "type": "image" }, { - "key": "", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "complete", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_UpdateService_provider_20.json b/libs/wire-api/test/golden/testObject_UpdateService_provider_20.json index ccd58adb6f7..7f5496c3fd3 100644 --- a/libs/wire-api/test/golden/testObject_UpdateService_provider_20.json +++ b/libs/wire-api/test/golden/testObject_UpdateService_provider_20.json @@ -1,16 +1,16 @@ { "assets": [ { - "key": "𬃈", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "type": "image" }, { - "key": "𫸍", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "complete", "type": "image" }, { - "key": "\u0019", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "complete", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_UpdateService_provider_3.json b/libs/wire-api/test/golden/testObject_UpdateService_provider_3.json index 551074fd629..6283ed2835f 100644 --- a/libs/wire-api/test/golden/testObject_UpdateService_provider_3.json +++ b/libs/wire-api/test/golden/testObject_UpdateService_provider_3.json @@ -1,17 +1,17 @@ { "assets": [ { - "key": "t𘠊", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "preview", "type": "image" }, { - "key": "", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "complete", "type": "image" }, { - "key": "\u000cu\u001f", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "preview", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_UpdateService_provider_4.json b/libs/wire-api/test/golden/testObject_UpdateService_provider_4.json index b95439f7d39..0d212c6e7f2 100644 --- a/libs/wire-api/test/golden/testObject_UpdateService_provider_4.json +++ b/libs/wire-api/test/golden/testObject_UpdateService_provider_4.json @@ -1,12 +1,7 @@ { "assets": [ { - "key": "h", - "size": "complete", - "type": "image" - }, - { - "key": "𬄋)p", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "type": "image" } ], diff --git a/libs/wire-api/test/golden/testObject_UpdateService_provider_5.json b/libs/wire-api/test/golden/testObject_UpdateService_provider_5.json index 84e3f829c6c..a6a10f2f204 100644 --- a/libs/wire-api/test/golden/testObject_UpdateService_provider_5.json +++ b/libs/wire-api/test/golden/testObject_UpdateService_provider_5.json @@ -1,30 +1,30 @@ { "assets": [ { - "key": "7_", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "complete", "type": "image" }, { - "key": "p", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "type": "image" }, { - "key": "䭙u9", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "complete", "type": "image" }, { - "key": "𪉓𬜼*", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "type": "image" }, { - "key": "󷤅\u0010", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "complete", "type": "image" }, { - "key": "󵋬쭫󰩵", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "preview", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_UpdateService_provider_6.json b/libs/wire-api/test/golden/testObject_UpdateService_provider_6.json index e453bc425b3..a1e4e137360 100644 --- a/libs/wire-api/test/golden/testObject_UpdateService_provider_6.json +++ b/libs/wire-api/test/golden/testObject_UpdateService_provider_6.json @@ -1,7 +1,7 @@ { "assets": [ { - "key": "", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "preview", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_UpdateService_provider_9.json b/libs/wire-api/test/golden/testObject_UpdateService_provider_9.json index 3f5156f32de..e1a72f991ab 100644 --- a/libs/wire-api/test/golden/testObject_UpdateService_provider_9.json +++ b/libs/wire-api/test/golden/testObject_UpdateService_provider_9.json @@ -1,32 +1,32 @@ { "assets": [ { - "key": "𒑢􋮶", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "preview", "type": "image" }, { - "key": "\u000e", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "preview", "type": "image" }, { - "key": "`", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "preview", "type": "image" }, { - "key": "N红$", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "complete", "type": "image" }, { - "key": "", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "complete", "type": "image" }, { - "key": "", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "type": "image" } ], diff --git a/libs/wire-api/test/golden/testObject_UserUpdate_user_2.json b/libs/wire-api/test/golden/testObject_UserUpdate_user_2.json index 1db9d874fed..50ab64fbde0 100644 --- a/libs/wire-api/test/golden/testObject_UserUpdate_user_2.json +++ b/libs/wire-api/test/golden/testObject_UserUpdate_user_2.json @@ -2,7 +2,7 @@ "accent_id": 3, "assets": [ { - "key": "", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "complete", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_User_2eProfile_2eAsset_user_1.json b/libs/wire-api/test/golden/testObject_User_2eProfile_2eAsset_user_1.json index 125af7b7827..fbc67ff2734 100644 --- a/libs/wire-api/test/golden/testObject_User_2eProfile_2eAsset_user_1.json +++ b/libs/wire-api/test/golden/testObject_User_2eProfile_2eAsset_user_1.json @@ -1,4 +1,4 @@ { - "key": "\u001d", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_User_2eProfile_2eAsset_user_10.json b/libs/wire-api/test/golden/testObject_User_2eProfile_2eAsset_user_10.json index bb06cdf13d7..51fa25cac0a 100644 --- a/libs/wire-api/test/golden/testObject_User_2eProfile_2eAsset_user_10.json +++ b/libs/wire-api/test/golden/testObject_User_2eProfile_2eAsset_user_10.json @@ -1,5 +1,5 @@ { - "key": "'\u001c􊘾RoR\u001e4&e@`5", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "preview", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_User_2eProfile_2eAsset_user_11.json b/libs/wire-api/test/golden/testObject_User_2eProfile_2eAsset_user_11.json index 3e280ceaf9c..51fa25cac0a 100644 --- a/libs/wire-api/test/golden/testObject_User_2eProfile_2eAsset_user_11.json +++ b/libs/wire-api/test/golden/testObject_User_2eProfile_2eAsset_user_11.json @@ -1,5 +1,5 @@ { - "key": "eUb􎃾", + "key": "3-5-5cd81cc4-c643-4e9c-849c-c596a88c27fd", "size": "preview", "type": "image" } diff --git a/libs/wire-api/test/golden/testObject_User_2eProfile_2eAsset_user_12.json b/libs/wire-api/test/golden/testObject_User_2eProfile_2eAsset_user_12.json index 21efd8ce27b..64170445338 100644 --- a/libs/wire-api/test/golden/testObject_User_2eProfile_2eAsset_user_12.json +++ b/libs/wire-api/test/golden/testObject_User_2eProfile_2eAsset_user_12.json @@ -1,5 +1,5 @@ { - "key": " Config -> Manager -> DB.ClientState -> Brig -> Cannon -> Galley -> IO TestTree @@ -1561,7 +1562,11 @@ defServiceTags :: Range 1 3 (Set ServiceTag) defServiceTags = unsafeRange (Set.singleton SocialTag) defServiceAssets :: [Asset] -defServiceAssets = [ImageAsset "key" (Just AssetComplete)] +defServiceAssets = + [ ImageAsset + (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) + (Just AssetComplete) + ] -- TODO: defServiceToken :: ServiceToken diff --git a/services/brig/test/integration/API/Team.hs b/services/brig/test/integration/API/Team.hs index 654f274fc8c..5f59e081150 100644 --- a/services/brig/test/integration/API/Team.hs +++ b/services/brig/test/integration/API/Team.hs @@ -42,6 +42,7 @@ import Data.Id hiding (client) import Data.Json.Util (UTCTimeMillis, toUTCTimeMillis) import qualified Data.Text.Ascii as Ascii import Data.Time (addUTCTime, getCurrentTime) +import qualified Data.UUID as UUID (fromString) import qualified Data.UUID.V4 as UUID import qualified Galley.Types.Teams as Team import qualified Galley.Types.Teams.Intra as Team @@ -56,6 +57,7 @@ import UnliftIO.Async (mapConcurrently_, pooledForConcurrentlyN_, replicateConcu import Util import Util.AWS as Util import Web.Cookie (parseSetCookie, setCookieName) +import Wire.API.Asset import Wire.API.User.Identity (mkSimpleSampleUref) newtype TeamSizeLimit = TeamSizeLimit Word32 @@ -149,7 +151,7 @@ testUpdateEvents brig cannon = do void $ getConnection brig alice bob TeamId -> TeamFeatureStatusValue -> Galley -> Http () putLegalHoldEnabled tid enabled g = do diff --git a/services/brig/test/integration/API/User/Account.hs b/services/brig/test/integration/API/User/Account.hs index 5483a764036..04aebbd3b6c 100644 --- a/services/brig/test/integration/API/User/Account.hs +++ b/services/brig/test/integration/API/User/Account.hs @@ -82,6 +82,7 @@ import UnliftIO (mapConcurrently_) import Util import Util.AWS as Util import Web.Cookie (parseSetCookie) +import Wire.API.Asset hiding (Asset) import qualified Wire.API.Asset as Asset import Wire.API.Federation.API.Brig (UserDeletedConnectionsNotification (..)) import qualified Wire.API.Federation.API.Brig as FedBrig @@ -816,7 +817,12 @@ testUserUpdate brig cannon aws = do aliceNewName <- randomName connectUsers brig alice (singleton bob) let newColId = Just 5 - newAssets = Just [ImageAsset "abc" (Just AssetComplete)] + newAssets = + Just + [ ImageAsset + (AssetKeyV3 (Id (fromJust (UUID.fromString "5cd81cc4-c643-4e9c-849c-c596a88c27fd"))) AssetExpiring) + (Just AssetComplete) + ] mNewName = Just $ aliceNewName newPic = Nothing -- Legacy userUpdate = UserUpdate mNewName newPic newAssets newColId @@ -1336,7 +1342,7 @@ testDeleteWithProfilePic brig cargohold = do let newAssets = Just [ ImageAsset - (T.decodeLatin1 $ toByteString' (qUnqualified (ast ^. Asset.assetKey))) + (qUnqualified $ ast ^. Asset.assetKey) (Just AssetComplete) ] userUpdate = UserUpdate Nothing Nothing newAssets Nothing diff --git a/services/brig/test/integration/API/UserPendingActivation.hs b/services/brig/test/integration/API/UserPendingActivation.hs index 3c7565d8b1d..4e3e02b60be 100644 --- a/services/brig/test/integration/API/UserPendingActivation.hs +++ b/services/brig/test/integration/API/UserPendingActivation.hs @@ -64,6 +64,7 @@ import qualified Web.Scim.Schema.Meta as Scim import qualified Web.Scim.Schema.User as Scim.User import qualified Web.Scim.Schema.User.Email as Email import qualified Web.Scim.Schema.User.Phone as Phone +import Wire.API.Team (Icon (..)) import Wire.API.User.RichInfo (RichInfo) import Wire.API.User.Scim (CreateScimToken (..), ScimToken, ScimUserExtra (ScimUserExtra)) @@ -151,7 +152,7 @@ getInvitationByEmail brig email = ) newTeam :: Galley.BindingNewTeam -newTeam = Galley.BindingNewTeam $ Galley.newNewTeam (unsafeRange "teamName") (unsafeRange "defaultIcon") +newTeam = Galley.BindingNewTeam $ Galley.newNewTeam (unsafeRange "teamName") DefaultIcon createUserWithTeamDisableSSO :: (HasCallStack, MonadCatch m, MonadHttp m, MonadIO m, MonadFail m) => Brig -> Galley -> m (UserId, TeamId) createUserWithTeamDisableSSO brg gly = do diff --git a/services/galley/src/Galley/Cassandra/Instances.hs b/services/galley/src/Galley/Cassandra/Instances.hs index 0e3ebaf5ec1..937b54ad435 100644 --- a/services/galley/src/Galley/Cassandra/Instances.hs +++ b/services/galley/src/Galley/Cassandra/Instances.hs @@ -25,13 +25,16 @@ where import Cassandra.CQL import Control.Error (note) +import Data.ByteString.Conversion import Data.Domain (Domain, domainText, mkDomain) +import qualified Data.Text.Encoding as T import Galley.Types import Galley.Types.Bot () import Galley.Types.Teams import Galley.Types.Teams.Intra import Galley.Types.Teams.SearchVisibility import Imports +import Wire.API.Team import qualified Wire.API.Team.Feature as Public deriving instance Cql MutedStatus @@ -168,3 +171,9 @@ instance Cql Public.EnforceAppLock where 1 -> pure (Public.EnforceAppLock True) _ -> Left "fromCql EnforceAppLock: int out of range" fromCql _ = Left "fromCql EnforceAppLock: int expected" + +instance Cql Icon where + ctype = Tagged TextColumn + toCql = CqlText . T.decodeUtf8 . toByteString' + fromCql (CqlText txt) = pure . fromRight DefaultIcon . runParser parser . T.encodeUtf8 $ txt + fromCql _ = Left "Icon: Text expected" diff --git a/services/galley/src/Galley/Cassandra/Queries.hs b/services/galley/src/Galley/Cassandra/Queries.hs index 4d199920a53..69df6ae0500 100644 --- a/services/galley/src/Galley/Cassandra/Queries.hs +++ b/services/galley/src/Galley/Cassandra/Queries.hs @@ -36,10 +36,11 @@ import Galley.Types.Teams.Intra import Galley.Types.Teams.SearchVisibility import Imports import Text.RawString.QQ +import Wire.API.Team -- Teams -------------------------------------------------------------------- -selectTeam :: PrepQuery R (Identity TeamId) (UserId, Text, Text, Maybe Text, Bool, Maybe TeamStatus, Maybe (Writetime TeamStatus), Maybe TeamBinding) +selectTeam :: PrepQuery R (Identity TeamId) (UserId, Text, Icon, Maybe Text, Bool, Maybe TeamStatus, Maybe (Writetime TeamStatus), Maybe TeamBinding) selectTeam = "select creator, name, icon, icon_key, deleted, status, writetime(status), binding from team where team = ?" selectTeamName :: PrepQuery R (Identity TeamId) (Identity Text) @@ -135,7 +136,7 @@ selectUserTeamsIn = "select team from user_team where user = ? and team in ? ord selectUserTeamsFrom :: PrepQuery R (UserId, TeamId) (Identity TeamId) selectUserTeamsFrom = "select team from user_team where user = ? and team > ? order by team" -insertTeam :: PrepQuery W (TeamId, UserId, Text, Text, Maybe Text, TeamStatus, TeamBinding) () +insertTeam :: PrepQuery W (TeamId, UserId, Text, Icon, Maybe Text, TeamStatus, TeamBinding) () insertTeam = "insert into team (team, creator, name, icon, icon_key, deleted, status, binding) values (?, ?, ?, ?, ?, false, ?, ?)" insertTeamConv :: PrepQuery W (TeamId, ConvId) () diff --git a/services/galley/src/Galley/Cassandra/Team.hs b/services/galley/src/Galley/Cassandra/Team.hs index c0ae2938f10..629dc165767 100644 --- a/services/galley/src/Galley/Cassandra/Team.hs +++ b/services/galley/src/Galley/Cassandra/Team.hs @@ -62,6 +62,7 @@ import Imports hiding (Set, max) import Polysemy import Polysemy.Input import qualified UnliftIO +import Wire.API.Team (Icon (..)) import Wire.API.Team.Member interpretTeamStoreToCassandra :: @@ -137,11 +138,11 @@ createTeam :: Maybe TeamId -> UserId -> Range 1 256 Text -> - Range 1 256 Text -> + Icon -> Maybe (Range 1 256 Text) -> TeamBinding -> Client Team -createTeam t uid (fromRange -> n) (fromRange -> i) k b = do +createTeam t uid (fromRange -> n) i k b = do tid <- maybe (Id <$> liftIO nextRandom) return t retry x5 $ write Cql.insertTeam (params LocalQuorum (tid, uid, n, i, fromRange <$> k, initialStatus b, b)) pure (newTeam tid uid n i b & teamIconKey .~ (fromRange <$> k)) diff --git a/services/galley/src/Galley/Effects/TeamStore.hs b/services/galley/src/Galley/Effects/TeamStore.hs index 9fa4dd42d63..cc2495e7ccb 100644 --- a/services/galley/src/Galley/Effects/TeamStore.hs +++ b/services/galley/src/Galley/Effects/TeamStore.hs @@ -85,6 +85,7 @@ import Imports import Polysemy import Polysemy.Error import qualified Proto.TeamEvents as E +import Wire.API.Team (Icon) data TeamStore m a where CreateTeamMember :: TeamId -> TeamMember -> TeamStore m () @@ -93,7 +94,7 @@ data TeamStore m a where Maybe TeamId -> UserId -> Range 1 256 Text -> - Range 1 256 Text -> + Icon -> Maybe (Range 1 256 Text) -> TeamBinding -> TeamStore m Team diff --git a/services/galley/test/integration/API/Teams.hs b/services/galley/test/integration/API/Teams.hs index f16d2178e71..9eddbddca32 100644 --- a/services/galley/test/integration/API/Teams.hs +++ b/services/galley/test/integration/API/Teams.hs @@ -75,6 +75,7 @@ import Test.Tasty.HUnit import TestHelpers (test, viewFederationDomain) import TestSetup (TestM, TestSetup, tsBrig, tsCannon, tsGConf, tsGalley) import UnliftIO (mapConcurrently, mapConcurrently_) +import Wire.API.Team (Icon (..)) import Wire.API.Team.Export (TeamExportUser (..)) import qualified Wire.API.Team.Feature as Public import qualified Wire.API.Team.Member as Member @@ -204,7 +205,7 @@ testCreateMultipleBindingTeams = do _ <- Util.createBindingTeamInternal "foo" owner assertQueue "create team" tActivate -- Cannot create more teams if bound (used internal API) - let nt = NonBindingNewTeam $ newNewTeam (unsafeRange "owner") (unsafeRange "icon") + let nt = NonBindingNewTeam $ newNewTeam (unsafeRange "owner") DefaultIcon post (g . path "/teams" . zUser owner . zConn "conn" . json nt) !!! const 403 === statusCode -- If never used the internal API, can create multiple teams diff --git a/services/galley/test/integration/API/Util.hs b/services/galley/test/integration/API/Util.hs index 73fd845971e..1918884601b 100644 --- a/services/galley/test/integration/API/Util.hs +++ b/services/galley/test/integration/API/Util.hs @@ -119,6 +119,7 @@ import Wire.API.Message import qualified Wire.API.Message.Proto as Proto import Wire.API.Routes.Internal.Brig.Connection import Wire.API.Routes.MultiTablePaging +import Wire.API.Team (Icon (..)) import Wire.API.Team.Member (mkNewTeamMember) import Wire.API.User.Client (ClientCapability (..), UserClientsFull (UserClientsFull)) import qualified Wire.API.User.Client as Client @@ -225,7 +226,7 @@ createNonBindingTeam :: HasCallStack => Text -> UserId -> [TeamMember] -> TestM createNonBindingTeam name owner mems = do g <- view tsGalley let mm = if null mems then Nothing else Just $ unsafeRange (take 127 mems) - let nt = NonBindingNewTeam $ newNewTeam (unsafeRange name) (unsafeRange "icon") & newTeamMembers .~ mm + let nt = NonBindingNewTeam $ newNewTeam (unsafeRange name) DefaultIcon & newTeamMembers .~ mm resp <- post (g . path "/teams" . zUser owner . zConn "conn" . zType "access" . json nt) Text -> UserId -> TestM T createBindingTeamInternalNoActivate name owner = do g <- view tsGalley tid <- randomId - let nt = BindingNewTeam $ newNewTeam (unsafeRange name) (unsafeRange "icon") + let nt = BindingNewTeam $ newNewTeam (unsafeRange name) DefaultIcon _ <- put (g . paths ["/i/teams", toByteString' tid] . zUser owner . zConn "conn" . zType "access" . json nt) ["password" .= defPassword | hasPassword] <> ["email" .= fromEmail e | hasEmail] - <> ["team" .= Team.BindingNewTeam (Team.newNewTeam (unsafeRange "teamName") (unsafeRange "defaultIcon")) | isCreator] + <> ["team" .= Team.BindingNewTeam (Team.newNewTeam (unsafeRange "teamName") DefaultIcon) | isCreator] responseJsonUnsafe <$> (post (b . path "/i/users" . json p) TestM UserId diff --git a/services/spar/test-integration/Util/Core.hs b/services/spar/test-integration/Util/Core.hs index 1ef07088d7e..87f97d4c9a7 100644 --- a/services/spar/test-integration/Util/Core.hs +++ b/services/spar/test-integration/Util/Core.hs @@ -200,6 +200,7 @@ import Util.Types import qualified Web.Cookie as Web import Wire.API.Cookie import Wire.API.Routes.Public.Spar +import Wire.API.Team (Icon (..)) import Wire.API.Team.Feature (TeamFeatureStatusValue (..)) import qualified Wire.API.Team.Feature as Public import qualified Wire.API.Team.Invitation as TeamInvitation @@ -622,7 +623,7 @@ zAuthAccess :: UserId -> SBS -> Request -> Request zAuthAccess u c = header "Z-Type" "access" . zUser u . zConn c newTeam :: Galley.BindingNewTeam -newTeam = Galley.BindingNewTeam $ Galley.newNewTeam (unsafeRange "teamName") (unsafeRange "defaultIcon") +newTeam = Galley.BindingNewTeam $ Galley.newNewTeam (unsafeRange "teamName") DefaultIcon randomEmail :: MonadIO m => m Brig.Email randomEmail = do From 523d7c3f43aeae45d00c104ff8e1d817b74c88a2 Mon Sep 17 00:00:00 2001 From: Matthias Fischmann Date: Mon, 7 Mar 2022 20:09:14 +0100 Subject: [PATCH 5/5] hi ci