From fd55f957175d4ef966ff92e1e61cd6bf502692b3 Mon Sep 17 00:00:00 2001 From: Kris Urbas <605420+krzysu@users.noreply.github.com> Date: Tue, 16 Apr 2024 10:32:58 +0200 Subject: [PATCH] client: add asFiat to Amount fragment --- .changeset/long-feet-knock.md | 5 + .../client/src/graphql/fragments.generated.ts | 882 +++++++++++++++--- packages/client/src/graphql/fragments.graphql | 3 + .../explore/graphql/explore.generated.ts | 30 + .../submodules/feed/graphql/feed.generated.ts | 120 +++ .../invites/graphql/invites.generated.ts | 30 + .../modules/graphql/modules.generated.ts | 30 + .../submodules/nfts/graphql/nfts.generated.ts | 15 + .../graphql/notifications.generated.ts | 135 +++ .../profile/graphql/profile.generated.ts | 135 +++ .../graphql/publication.generated.ts | 30 + .../bookmarks/graphql/bookmarks.generated.ts | 15 + .../reactions/graphql/reactions.generated.ts | 30 + .../revenue/graphql/revenue.generated.ts | 75 ++ .../search/graphql/search.generated.ts | 30 + .../wallet/graphql/wallet.generated.ts | 30 + 16 files changed, 1447 insertions(+), 148 deletions(-) create mode 100644 .changeset/long-feet-knock.md diff --git a/.changeset/long-feet-knock.md b/.changeset/long-feet-knock.md new file mode 100644 index 000000000..ff5827423 --- /dev/null +++ b/.changeset/long-feet-knock.md @@ -0,0 +1,5 @@ +--- +"@lens-protocol/client": patch +--- + +**feat:** added asFiat to AmountFragment, exposes amount value in requested fiat currency diff --git a/packages/client/src/graphql/fragments.generated.ts b/packages/client/src/graphql/fragments.generated.ts index 8eca380ee..1c09f98a7 100644 --- a/packages/client/src/graphql/fragments.generated.ts +++ b/packages/client/src/graphql/fragments.generated.ts @@ -28,6 +28,7 @@ export type AmountFragment = { value: string; asset: Erc20Fragment; rate: FiatAmountFragment | null; + asFiat: FiatAmountFragment | null; }; export type FeeFollowModuleSettingsFragment = { @@ -1454,6 +1455,21 @@ export const AmountFragmentDoc = { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], }, }, + { + kind: 'Field', + name: { kind: 'Name', value: 'asFiat' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'rateRequest' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], + }, + }, ], }, }, @@ -1656,6 +1672,21 @@ export const FeeFollowModuleSettingsFragmentDoc = { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], }, }, + { + kind: 'Field', + name: { kind: 'Name', value: 'asFiat' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'rateRequest' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], + }, + }, ], }, }, @@ -2857,6 +2888,21 @@ export const ProfileFragmentDoc = { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], }, }, + { + kind: 'Field', + name: { kind: 'Name', value: 'asFiat' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'rateRequest' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], + }, + }, ], }, }, @@ -4316,6 +4362,21 @@ export const Erc20OwnershipConditionFragmentDoc = { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], }, }, + { + kind: 'Field', + name: { kind: 'Name', value: 'asFiat' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'rateRequest' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], + }, + }, ], }, }, @@ -4672,6 +4733,21 @@ export const AndConditionFragmentDoc = { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], }, }, + { + kind: 'Field', + name: { kind: 'Name', value: 'asFiat' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'rateRequest' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], + }, + }, ], }, }, @@ -5036,6 +5112,21 @@ export const OrConditionFragmentDoc = { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], }, }, + { + kind: 'Field', + name: { kind: 'Name', value: 'asFiat' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'rateRequest' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], + }, + }, ], }, }, @@ -5426,6 +5517,21 @@ export const RootConditionFragmentDoc = { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], }, }, + { + kind: 'Field', + name: { kind: 'Name', value: 'asFiat' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'rateRequest' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], + }, + }, ], }, }, @@ -5942,6 +6048,21 @@ export const PublicationMetadataLitEncryptionFragmentDoc = { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], }, }, + { + kind: 'Field', + name: { kind: 'Name', value: 'asFiat' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'rateRequest' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], + }, + }, ], }, }, @@ -7556,6 +7677,21 @@ export const AudioMetadataV3FragmentDoc = { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], }, }, + { + kind: 'Field', + name: { kind: 'Name', value: 'asFiat' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'rateRequest' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], + }, + }, ], }, }, @@ -8792,6 +8928,21 @@ export const VideoMetadataV3FragmentDoc = { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], }, }, + { + kind: 'Field', + name: { kind: 'Name', value: 'asFiat' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'rateRequest' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], + }, + }, ], }, }, @@ -10027,6 +10178,21 @@ export const ImageMetadataV3FragmentDoc = { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], }, }, + { + kind: 'Field', + name: { kind: 'Name', value: 'asFiat' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'rateRequest' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], + }, + }, ], }, }, @@ -11249,6 +11415,21 @@ export const ArticleMetadataV3FragmentDoc = { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], }, }, + { + kind: 'Field', + name: { kind: 'Name', value: 'asFiat' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'rateRequest' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], + }, + }, ], }, }, @@ -12502,6 +12683,21 @@ export const EventMetadataV3FragmentDoc = { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], }, }, + { + kind: 'Field', + name: { kind: 'Name', value: 'asFiat' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'rateRequest' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], + }, + }, ], }, }, @@ -13738,6 +13934,21 @@ export const LinkMetadataV3FragmentDoc = { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], }, }, + { + kind: 'Field', + name: { kind: 'Name', value: 'asFiat' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'rateRequest' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], + }, + }, ], }, }, @@ -14960,6 +15171,21 @@ export const EmbedMetadataV3FragmentDoc = { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], }, }, + { + kind: 'Field', + name: { kind: 'Name', value: 'asFiat' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'rateRequest' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], + }, + }, ], }, }, @@ -16192,6 +16418,21 @@ export const CheckingInMetadataV3FragmentDoc = { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], }, }, + { + kind: 'Field', + name: { kind: 'Name', value: 'asFiat' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'rateRequest' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], + }, + }, ], }, }, @@ -17370,6 +17611,21 @@ export const TextOnlyMetadataV3FragmentDoc = { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], }, }, + { + kind: 'Field', + name: { kind: 'Name', value: 'asFiat' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'rateRequest' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], + }, + }, ], }, }, @@ -18326,6 +18582,21 @@ export const ThreeDMetadataV3FragmentDoc = { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], }, }, + { + kind: 'Field', + name: { kind: 'Name', value: 'asFiat' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'rateRequest' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], + }, + }, ], }, }, @@ -19563,6 +19834,21 @@ export const StoryMetadataV3FragmentDoc = { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], }, }, + { + kind: 'Field', + name: { kind: 'Name', value: 'asFiat' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'rateRequest' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], + }, + }, ], }, }, @@ -20787,6 +21073,21 @@ export const TransactionMetadataV3FragmentDoc = { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], }, }, + { + kind: 'Field', + name: { kind: 'Name', value: 'asFiat' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'rateRequest' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], + }, + }, ], }, }, @@ -22009,6 +22310,21 @@ export const MintMetadataV3FragmentDoc = { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], }, }, + { + kind: 'Field', + name: { kind: 'Name', value: 'asFiat' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'rateRequest' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], + }, + }, ], }, }, @@ -23233,6 +23549,21 @@ export const SpaceMetadataV3FragmentDoc = { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], }, }, + { + kind: 'Field', + name: { kind: 'Name', value: 'asFiat' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'rateRequest' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], + }, + }, ], }, }, @@ -24460,6 +24791,21 @@ export const LiveStreamMetadataV3FragmentDoc = { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], }, }, + { + kind: 'Field', + name: { kind: 'Name', value: 'asFiat' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'rateRequest' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], + }, + }, ], }, }, @@ -25639,6 +25985,21 @@ export const LegacyFeeCollectModuleSettingsFragmentDoc = { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], }, }, + { + kind: 'Field', + name: { kind: 'Name', value: 'asFiat' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'rateRequest' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], + }, + }, ], }, }, @@ -25788,6 +26149,21 @@ export const LegacyLimitedFeeCollectModuleSettingsFragmentDoc = { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], }, }, + { + kind: 'Field', + name: { kind: 'Name', value: 'asFiat' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'rateRequest' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], + }, + }, ], }, }, @@ -25938,6 +26314,21 @@ export const LegacyLimitedTimedFeeCollectModuleSettingsFragmentDoc = { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], }, }, + { + kind: 'Field', + name: { kind: 'Name', value: 'asFiat' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'rateRequest' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], + }, + }, ], }, }, @@ -26130,6 +26521,21 @@ export const LegacyTimedFeeCollectModuleSettingsFragmentDoc = { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], }, }, + { + kind: 'Field', + name: { kind: 'Name', value: 'asFiat' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'rateRequest' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], + }, + }, ], }, }, @@ -26290,6 +26696,21 @@ export const LegacyMultirecipientFeeCollectModuleSettingsFragmentDoc = { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], }, }, + { + kind: 'Field', + name: { kind: 'Name', value: 'asFiat' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'rateRequest' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], + }, + }, ], }, }, @@ -26440,6 +26861,195 @@ export const LegacySimpleCollectModuleSettingsFragmentDoc = { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], }, }, + { + kind: 'Field', + name: { kind: 'Name', value: 'asFiat' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'rateRequest' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'NetworkAddress' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'NetworkAddress' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: '__typename' } }, + { kind: 'Field', name: { kind: 'Name', value: 'address' } }, + { kind: 'Field', name: { kind: 'Name', value: 'chainId' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const LegacyErc4626FeeCollectModuleSettingsFragmentDoc = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'LegacyERC4626FeeCollectModuleSettings' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'LegacyERC4626FeeCollectModuleSettings' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: '__typename' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'contract' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'NetworkAddress' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'vault' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'NetworkAddress' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'amount' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Amount' } }], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'recipient' } }, + { kind: 'Field', name: { kind: 'Name', value: 'referralFee' } }, + { kind: 'Field', name: { kind: 'Name', value: 'followerOnly' } }, + { kind: 'Field', name: { kind: 'Name', value: 'collectLimit' } }, + { kind: 'Field', name: { kind: 'Name', value: 'endsAt' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Erc20' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Erc20' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: '__typename' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'symbol' } }, + { kind: 'Field', name: { kind: 'Name', value: 'decimals' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'contract' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'NetworkAddress' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'FiatAmount' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'FiatAmount' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: '__typename' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'asset' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Fiat' } }], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'value' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Fiat' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Fiat' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: '__typename' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'symbol' } }, + { kind: 'Field', name: { kind: 'Name', value: 'decimals' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Amount' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Amount' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: '__typename' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'asset' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Erc20' } }], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'value' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'rate' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'rateRequest' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'asFiat' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'rateRequest' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], + }, + }, ], }, }, @@ -26458,15 +27068,15 @@ export const LegacySimpleCollectModuleSettingsFragmentDoc = { }, ], } as unknown as DocumentNode; -export const LegacyErc4626FeeCollectModuleSettingsFragmentDoc = { +export const LegacyAaveFeeCollectModuleSettingsFragmentDoc = { kind: 'Document', definitions: [ { kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'LegacyERC4626FeeCollectModuleSettings' }, + name: { kind: 'Name', value: 'LegacyAaveFeeCollectModuleSettings' }, typeCondition: { kind: 'NamedType', - name: { kind: 'Name', value: 'LegacyERC4626FeeCollectModuleSettings' }, + name: { kind: 'Name', value: 'LegacyAaveFeeCollectModuleSettings' }, }, selectionSet: { kind: 'SelectionSet', @@ -26483,16 +27093,6 @@ export const LegacyErc4626FeeCollectModuleSettingsFragmentDoc = { ], }, }, - { - kind: 'Field', - name: { kind: 'Name', value: 'vault' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'FragmentSpread', name: { kind: 'Name', value: 'NetworkAddress' } }, - ], - }, - }, { kind: 'Field', name: { kind: 'Name', value: 'amount' }, @@ -26599,143 +27199,9 @@ export const LegacyErc4626FeeCollectModuleSettingsFragmentDoc = { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], }, }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'NetworkAddress' }, - typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'NetworkAddress' } }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: '__typename' } }, - { kind: 'Field', name: { kind: 'Name', value: 'address' } }, - { kind: 'Field', name: { kind: 'Name', value: 'chainId' } }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const LegacyAaveFeeCollectModuleSettingsFragmentDoc = { - kind: 'Document', - definitions: [ - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'LegacyAaveFeeCollectModuleSettings' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'LegacyAaveFeeCollectModuleSettings' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: '__typename' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'contract' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'FragmentSpread', name: { kind: 'Name', value: 'NetworkAddress' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'amount' }, - selectionSet: { - kind: 'SelectionSet', - selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Amount' } }], - }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'recipient' } }, - { kind: 'Field', name: { kind: 'Name', value: 'referralFee' } }, - { kind: 'Field', name: { kind: 'Name', value: 'followerOnly' } }, - { kind: 'Field', name: { kind: 'Name', value: 'collectLimit' } }, - { kind: 'Field', name: { kind: 'Name', value: 'endsAt' } }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'Erc20' }, - typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Erc20' } }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: '__typename' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'symbol' } }, - { kind: 'Field', name: { kind: 'Name', value: 'decimals' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'contract' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'FragmentSpread', name: { kind: 'Name', value: 'NetworkAddress' } }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'FiatAmount' }, - typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'FiatAmount' } }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: '__typename' } }, { kind: 'Field', - name: { kind: 'Name', value: 'asset' }, - selectionSet: { - kind: 'SelectionSet', - selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Fiat' } }], - }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'value' } }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'Fiat' }, - typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Fiat' } }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: '__typename' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'symbol' } }, - { kind: 'Field', name: { kind: 'Name', value: 'decimals' } }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'Amount' }, - typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Amount' } }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: '__typename' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'asset' }, - selectionSet: { - kind: 'SelectionSet', - selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Erc20' } }], - }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'value' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'rate' }, + name: { kind: 'Name', value: 'asFiat' }, arguments: [ { kind: 'Argument', @@ -26909,6 +27375,21 @@ export const MultirecipientFeeCollectOpenActionSettingsFragmentDoc = { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], }, }, + { + kind: 'Field', + name: { kind: 'Name', value: 'asFiat' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'rateRequest' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], + }, + }, ], }, }, @@ -27059,6 +27540,21 @@ export const SimpleCollectOpenActionSettingsFragmentDoc = { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], }, }, + { + kind: 'Field', + name: { kind: 'Name', value: 'asFiat' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'rateRequest' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], + }, + }, ], }, }, @@ -28032,6 +28528,21 @@ export const PostFragmentDoc = { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], }, }, + { + kind: 'Field', + name: { kind: 'Name', value: 'asFiat' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'rateRequest' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], + }, + }, ], }, }, @@ -33388,6 +33899,21 @@ export const CommentBaseFragmentDoc = { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], }, }, + { + kind: 'Field', + name: { kind: 'Name', value: 'asFiat' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'rateRequest' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], + }, + }, ], }, }, @@ -38610,6 +39136,21 @@ export const QuoteBaseFragmentDoc = { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], }, }, + { + kind: 'Field', + name: { kind: 'Name', value: 'asFiat' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'rateRequest' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], + }, + }, ], }, }, @@ -43380,6 +43921,21 @@ export const CommentFragmentDoc = { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], }, }, + { + kind: 'Field', + name: { kind: 'Name', value: 'asFiat' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'rateRequest' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], + }, + }, ], }, }, @@ -49932,6 +50488,21 @@ export const QuoteFragmentDoc = { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], }, }, + { + kind: 'Field', + name: { kind: 'Name', value: 'asFiat' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'rateRequest' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], + }, + }, ], }, }, @@ -56484,6 +57055,21 @@ export const MirrorFragmentDoc = { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], }, }, + { + kind: 'Field', + name: { kind: 'Name', value: 'asFiat' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'rateRequest' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], + }, + }, ], }, }, diff --git a/packages/client/src/graphql/fragments.graphql b/packages/client/src/graphql/fragments.graphql index 69895d28d..d91a50868 100644 --- a/packages/client/src/graphql/fragments.graphql +++ b/packages/client/src/graphql/fragments.graphql @@ -39,6 +39,9 @@ fragment Amount on Amount { rate(request: $rateRequest) { ...FiatAmount } + asFiat(request: $rateRequest) { + ...FiatAmount + } } fragment FeeFollowModuleSettings on FeeFollowModuleSettings { diff --git a/packages/client/src/submodules/explore/graphql/explore.generated.ts b/packages/client/src/submodules/explore/graphql/explore.generated.ts index 68d75ef79..133618e80 100644 --- a/packages/client/src/submodules/explore/graphql/explore.generated.ts +++ b/packages/client/src/submodules/explore/graphql/explore.generated.ts @@ -1211,6 +1211,21 @@ export const ExplorePublicationsDocument = { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], }, }, + { + kind: 'Field', + name: { kind: 'Name', value: 'asFiat' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'rateRequest' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], + }, + }, ], }, }, @@ -7282,6 +7297,21 @@ export const ExploreProfilesDocument = { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], }, }, + { + kind: 'Field', + name: { kind: 'Name', value: 'asFiat' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'rateRequest' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], + }, + }, ], }, }, diff --git a/packages/client/src/submodules/feed/graphql/feed.generated.ts b/packages/client/src/submodules/feed/graphql/feed.generated.ts index 322d8085b..58eb0fe72 100644 --- a/packages/client/src/submodules/feed/graphql/feed.generated.ts +++ b/packages/client/src/submodules/feed/graphql/feed.generated.ts @@ -507,6 +507,21 @@ export const ReactionEventFragmentDoc = { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], }, }, + { + kind: 'Field', + name: { kind: 'Name', value: 'asFiat' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'rateRequest' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], + }, + }, ], }, }, @@ -1498,6 +1513,21 @@ export const FeedItemFragmentDoc = { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], }, }, + { + kind: 'Field', + name: { kind: 'Name', value: 'asFiat' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'rateRequest' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], + }, + }, ], }, }, @@ -8241,6 +8271,21 @@ export const LatestActedFragmentDoc = { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], }, }, + { + kind: 'Field', + name: { kind: 'Name', value: 'asFiat' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'rateRequest' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], + }, + }, ], }, }, @@ -9188,6 +9233,21 @@ export const FollowPaidActionFragmentDoc = { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], }, }, + { + kind: 'Field', + name: { kind: 'Name', value: 'asFiat' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'rateRequest' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], + }, + }, ], }, }, @@ -10164,6 +10224,21 @@ export const OpenActionPaidActionFragmentDoc = { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], }, }, + { + kind: 'Field', + name: { kind: 'Name', value: 'asFiat' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'rateRequest' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], + }, + }, ], }, }, @@ -17064,6 +17139,21 @@ export const FeedDocument = { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], }, }, + { + kind: 'Field', + name: { kind: 'Name', value: 'asFiat' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'rateRequest' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], + }, + }, ], }, }, @@ -23980,6 +24070,21 @@ export const FeedHighlightsDocument = { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], }, }, + { + kind: 'Field', + name: { kind: 'Name', value: 'asFiat' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'rateRequest' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], + }, + }, ], }, }, @@ -30860,6 +30965,21 @@ export const LatestPaidActionsDocument = { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], }, }, + { + kind: 'Field', + name: { kind: 'Name', value: 'asFiat' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'rateRequest' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], + }, + }, ], }, }, diff --git a/packages/client/src/submodules/invites/graphql/invites.generated.ts b/packages/client/src/submodules/invites/graphql/invites.generated.ts index 952bc02eb..ad2ea0ef8 100644 --- a/packages/client/src/submodules/invites/graphql/invites.generated.ts +++ b/packages/client/src/submodules/invites/graphql/invites.generated.ts @@ -441,6 +441,21 @@ export const InvitedResultFragmentDoc = { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], }, }, + { + kind: 'Field', + name: { kind: 'Name', value: 'asFiat' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'rateRequest' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], + }, + }, ], }, }, @@ -1426,6 +1441,21 @@ export const InvitedProfilesDocument = { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], }, }, + { + kind: 'Field', + name: { kind: 'Name', value: 'asFiat' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'rateRequest' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], + }, + }, ], }, }, diff --git a/packages/client/src/submodules/modules/graphql/modules.generated.ts b/packages/client/src/submodules/modules/graphql/modules.generated.ts index 00af4970b..e30153ee5 100644 --- a/packages/client/src/submodules/modules/graphql/modules.generated.ts +++ b/packages/client/src/submodules/modules/graphql/modules.generated.ts @@ -350,6 +350,21 @@ export const ApprovedAllowanceAmountResultFragmentDoc = { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], }, }, + { + kind: 'Field', + name: { kind: 'Name', value: 'asFiat' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'rateRequest' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], + }, + }, ], }, }, @@ -742,6 +757,21 @@ export const ApprovedModuleAllowanceAmountDocument = { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], }, }, + { + kind: 'Field', + name: { kind: 'Name', value: 'asFiat' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'rateRequest' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], + }, + }, ], }, }, diff --git a/packages/client/src/submodules/nfts/graphql/nfts.generated.ts b/packages/client/src/submodules/nfts/graphql/nfts.generated.ts index c92f02d8d..81dd26747 100644 --- a/packages/client/src/submodules/nfts/graphql/nfts.generated.ts +++ b/packages/client/src/submodules/nfts/graphql/nfts.generated.ts @@ -1678,6 +1678,21 @@ export const NftCollectionOwnersDocument = { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], }, }, + { + kind: 'Field', + name: { kind: 'Name', value: 'asFiat' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'rateRequest' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], + }, + }, ], }, }, diff --git a/packages/client/src/submodules/notifications/graphql/notifications.generated.ts b/packages/client/src/submodules/notifications/graphql/notifications.generated.ts index b3372c313..b4976a295 100644 --- a/packages/client/src/submodules/notifications/graphql/notifications.generated.ts +++ b/packages/client/src/submodules/notifications/graphql/notifications.generated.ts @@ -557,6 +557,21 @@ export const ReactionNotificationFragmentDoc = { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], }, }, + { + kind: 'Field', + name: { kind: 'Name', value: 'asFiat' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'rateRequest' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], + }, + }, ], }, }, @@ -7223,6 +7238,21 @@ export const CommentNotificationFragmentDoc = { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], }, }, + { + kind: 'Field', + name: { kind: 'Name', value: 'asFiat' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'rateRequest' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], + }, + }, ], }, }, @@ -13863,6 +13893,21 @@ export const MirrorNotificationFragmentDoc = { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], }, }, + { + kind: 'Field', + name: { kind: 'Name', value: 'asFiat' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'rateRequest' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], + }, + }, ], }, }, @@ -20529,6 +20574,21 @@ export const QuoteNotificationFragmentDoc = { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], }, }, + { + kind: 'Field', + name: { kind: 'Name', value: 'asFiat' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'rateRequest' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], + }, + }, ], }, }, @@ -27110,6 +27170,21 @@ export const OpenActionProfileActedFragmentDoc = { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], }, }, + { + kind: 'Field', + name: { kind: 'Name', value: 'asFiat' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'rateRequest' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], + }, + }, ], }, }, @@ -28179,6 +28254,21 @@ export const ActedNotificationFragmentDoc = { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], }, }, + { + kind: 'Field', + name: { kind: 'Name', value: 'asFiat' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'rateRequest' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], + }, + }, ], }, }, @@ -34921,6 +35011,21 @@ export const FollowNotificationFragmentDoc = { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], }, }, + { + kind: 'Field', + name: { kind: 'Name', value: 'asFiat' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'rateRequest' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], + }, + }, ], }, }, @@ -35867,6 +35972,21 @@ export const MentionNotificationFragmentDoc = { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], }, }, + { + kind: 'Field', + name: { kind: 'Name', value: 'asFiat' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'rateRequest' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], + }, + }, ], }, }, @@ -43140,6 +43260,21 @@ export const NotificationsDocument = { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], }, }, + { + kind: 'Field', + name: { kind: 'Name', value: 'asFiat' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'rateRequest' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], + }, + }, ], }, }, diff --git a/packages/client/src/submodules/profile/graphql/profile.generated.ts b/packages/client/src/submodules/profile/graphql/profile.generated.ts index f72927ff0..bbe689ffb 100644 --- a/packages/client/src/submodules/profile/graphql/profile.generated.ts +++ b/packages/client/src/submodules/profile/graphql/profile.generated.ts @@ -1867,6 +1867,21 @@ export const ProfileDocument = { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], }, }, + { + kind: 'Field', + name: { kind: 'Name', value: 'asFiat' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'rateRequest' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], + }, + }, ], }, }, @@ -2845,6 +2860,21 @@ export const DefaultProfileDocument = { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], }, }, + { + kind: 'Field', + name: { kind: 'Name', value: 'asFiat' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'rateRequest' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], + }, + }, ], }, }, @@ -3847,6 +3877,21 @@ export const ProfilesDocument = { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], }, }, + { + kind: 'Field', + name: { kind: 'Name', value: 'asFiat' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'rateRequest' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], + }, + }, ], }, }, @@ -4953,6 +4998,21 @@ export const ProfileRecommendationsDocument = { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], }, }, + { + kind: 'Field', + name: { kind: 'Name', value: 'asFiat' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'rateRequest' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], + }, + }, ], }, }, @@ -5967,6 +6027,21 @@ export const FollowingDocument = { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], }, }, + { + kind: 'Field', + name: { kind: 'Name', value: 'asFiat' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'rateRequest' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], + }, + }, ], }, }, @@ -6981,6 +7056,21 @@ export const FollowersDocument = { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], }, }, + { + kind: 'Field', + name: { kind: 'Name', value: 'asFiat' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'rateRequest' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], + }, + }, ], }, }, @@ -7995,6 +8085,21 @@ export const MutualFollowersDocument = { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], }, }, + { + kind: 'Field', + name: { kind: 'Name', value: 'asFiat' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'rateRequest' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], + }, + }, ], }, }, @@ -9090,6 +9195,21 @@ export const WhoActedOnPublicationDocument = { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], }, }, + { + kind: 'Field', + name: { kind: 'Name', value: 'asFiat' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'rateRequest' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], + }, + }, ], }, }, @@ -10202,6 +10322,21 @@ export const WhoHaveBlockedDocument = { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], }, }, + { + kind: 'Field', + name: { kind: 'Name', value: 'asFiat' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'rateRequest' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], + }, + }, ], }, }, diff --git a/packages/client/src/submodules/publication/graphql/publication.generated.ts b/packages/client/src/submodules/publication/graphql/publication.generated.ts index 4b9597819..641badb1d 100644 --- a/packages/client/src/submodules/publication/graphql/publication.generated.ts +++ b/packages/client/src/submodules/publication/graphql/publication.generated.ts @@ -2639,6 +2639,21 @@ export const PublicationDocument = { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], }, }, + { + kind: 'Field', + name: { kind: 'Name', value: 'asFiat' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'rateRequest' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], + }, + }, ], }, }, @@ -9569,6 +9584,21 @@ export const PublicationsDocument = { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], }, }, + { + kind: 'Field', + name: { kind: 'Name', value: 'asFiat' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'rateRequest' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], + }, + }, ], }, }, diff --git a/packages/client/src/submodules/publication/submodules/bookmarks/graphql/bookmarks.generated.ts b/packages/client/src/submodules/publication/submodules/bookmarks/graphql/bookmarks.generated.ts index 874fbd5eb..eba875e54 100644 --- a/packages/client/src/submodules/publication/submodules/bookmarks/graphql/bookmarks.generated.ts +++ b/packages/client/src/submodules/publication/submodules/bookmarks/graphql/bookmarks.generated.ts @@ -1241,6 +1241,21 @@ export const PublicationBookmarksDocument = { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], }, }, + { + kind: 'Field', + name: { kind: 'Name', value: 'asFiat' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'rateRequest' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], + }, + }, ], }, }, diff --git a/packages/client/src/submodules/publication/submodules/reactions/graphql/reactions.generated.ts b/packages/client/src/submodules/publication/submodules/reactions/graphql/reactions.generated.ts index 2c5d047b4..d475ab52b 100644 --- a/packages/client/src/submodules/publication/submodules/reactions/graphql/reactions.generated.ts +++ b/packages/client/src/submodules/publication/submodules/reactions/graphql/reactions.generated.ts @@ -488,6 +488,21 @@ export const ProfileWhoReactedResultFragmentDoc = { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], }, }, + { + kind: 'Field', + name: { kind: 'Name', value: 'asFiat' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'rateRequest' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], + }, + }, ], }, }, @@ -1611,6 +1626,21 @@ export const WhoReactedPublicationDocument = { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], }, }, + { + kind: 'Field', + name: { kind: 'Name', value: 'asFiat' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'rateRequest' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], + }, + }, ], }, }, diff --git a/packages/client/src/submodules/revenue/graphql/revenue.generated.ts b/packages/client/src/submodules/revenue/graphql/revenue.generated.ts index 51f94add2..517310899 100644 --- a/packages/client/src/submodules/revenue/graphql/revenue.generated.ts +++ b/packages/client/src/submodules/revenue/graphql/revenue.generated.ts @@ -125,6 +125,21 @@ export const RevenueAggregateFragmentDoc = { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], }, }, + { + kind: 'Field', + name: { kind: 'Name', value: 'asFiat' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'rateRequest' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], + }, + }, ], }, }, @@ -321,6 +336,21 @@ export const PublicationRevenueFragmentDoc = { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], }, }, + { + kind: 'Field', + name: { kind: 'Name', value: 'asFiat' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'rateRequest' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], + }, + }, ], }, }, @@ -7294,6 +7324,21 @@ export const RevenueFromPublicationsDocument = { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], }, }, + { + kind: 'Field', + name: { kind: 'Name', value: 'asFiat' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'rateRequest' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], + }, + }, ], }, }, @@ -14254,6 +14299,21 @@ export const RevenueFromPublicationDocument = { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], }, }, + { + kind: 'Field', + name: { kind: 'Name', value: 'asFiat' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'rateRequest' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], + }, + }, ], }, }, @@ -21049,6 +21109,21 @@ export const FollowRevenuesDocument = { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], }, }, + { + kind: 'Field', + name: { kind: 'Name', value: 'asFiat' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'rateRequest' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], + }, + }, ], }, }, diff --git a/packages/client/src/submodules/search/graphql/search.generated.ts b/packages/client/src/submodules/search/graphql/search.generated.ts index 39bdd4e9e..5cdff2a22 100644 --- a/packages/client/src/submodules/search/graphql/search.generated.ts +++ b/packages/client/src/submodules/search/graphql/search.generated.ts @@ -1227,6 +1227,21 @@ export const SearchPublicationsDocument = { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], }, }, + { + kind: 'Field', + name: { kind: 'Name', value: 'asFiat' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'rateRequest' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], + }, + }, ], }, }, @@ -7392,6 +7407,21 @@ export const SearchProfilesDocument = { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], }, }, + { + kind: 'Field', + name: { kind: 'Name', value: 'asFiat' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'rateRequest' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], + }, + }, ], }, }, diff --git a/packages/client/src/submodules/wallet/graphql/wallet.generated.ts b/packages/client/src/submodules/wallet/graphql/wallet.generated.ts index d3f36ea13..eeb8ccab6 100644 --- a/packages/client/src/submodules/wallet/graphql/wallet.generated.ts +++ b/packages/client/src/submodules/wallet/graphql/wallet.generated.ts @@ -997,6 +997,21 @@ export const ProfilesManagedDocument = { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], }, }, + { + kind: 'Field', + name: { kind: 'Name', value: 'asFiat' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'rateRequest' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], + }, + }, ], }, }, @@ -2087,6 +2102,21 @@ export const LastLoggedInProfileDocument = { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], }, }, + { + kind: 'Field', + name: { kind: 'Name', value: 'asFiat' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'rateRequest' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FiatAmount' } }], + }, + }, ], }, },