diff --git a/.changeset/config.json b/.changeset/config.json index e17c6af222..9f7d010d33 100644 --- a/.changeset/config.json +++ b/.changeset/config.json @@ -2,7 +2,7 @@ "$schema": "https://unpkg.com/@changesets/config@2.3.0/schema.json", "changelog": "@changesets/cli/changelog", "commit": false, - "fixed": [["@lens-protocol/react", "@lens-protocol/react-web"]], + "fixed": [["@lens-protocol/react", "@lens-protocol/react-web", "@lens-protocol/react-native"]], "linked": [], "access": "public", "baseBranch": "develop", diff --git a/.changeset/early-keys-know.md b/.changeset/early-keys-know.md new file mode 100644 index 0000000000..376cd73c93 --- /dev/null +++ b/.changeset/early-keys-know.md @@ -0,0 +1,11 @@ +--- +"@lens-protocol/blockchain-bindings": minor +"@lens-protocol/api-bindings": minor +"@lens-protocol/domain": minor +"@lens-protocol/react": minor +"@lens-protocol/react-native": minor +"@lens-protocol/react-web": minor +--- + +**feat:** added `useSignFrameAction` hook +**feat:** added `useIdentityToken` hook diff --git a/.changeset/hot-pumas-doubt.md b/.changeset/hot-pumas-doubt.md new file mode 100644 index 0000000000..e87c71c45e --- /dev/null +++ b/.changeset/hot-pumas-doubt.md @@ -0,0 +1,9 @@ +--- +"@lens-protocol/api-bindings": patch +"@lens-protocol/client": patch +"@lens-protocol/react": patch +"@lens-protocol/react-native": patch +"@lens-protocol/react-web": patch +--- + +**fix:** adds missing `small` and `medium` aliases to `EncryptedImageSet` and `ImageSet` fragments. diff --git a/.changeset/little-emus-lick.md b/.changeset/little-emus-lick.md new file mode 100644 index 0000000000..0a35ee54c7 --- /dev/null +++ b/.changeset/little-emus-lick.md @@ -0,0 +1,14 @@ +--- +"@lens-protocol/client": minor +--- + +**feat:** added Frames module + + - `client.frames.createFrameTypedData` - create Frame action typed data to be signed by user wallet + - `client.frames.signFrameAction` - sign Frame action with Lens Manager if enabled + - `client.frames.verifyFrameSignature` - verify Frame signature + +**feat:** added support for Identity Token + + - `client.authentication.getIdentityToken` - retrieve Identity Token from authenticated LensClient + - `client.authentication.verify({ identityToken })` - verify the token, notice new argument format diff --git a/.changeset/modern-poems-battle.md b/.changeset/modern-poems-battle.md new file mode 100644 index 0000000000..a623cf88fd --- /dev/null +++ b/.changeset/modern-poems-battle.md @@ -0,0 +1,7 @@ +--- +"@lens-protocol/react-native": patch +"@lens-protocol/react-web": patch +"@lens-protocol/react": patch +--- + +**fix:** `useAccessToken` not picking up all possible token changes diff --git a/.changeset/pre.json b/.changeset/pre.json index c1e21c84d7..b1d9e074e4 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -58,6 +58,7 @@ "dry-cobras-bow", "dull-bags-nail", "early-gorillas-enjoy", + "early-keys-know", "early-penguins-whisper", "early-spiders-scream", "eighty-timers-mix", @@ -108,6 +109,7 @@ "honest-drinks-try", "hot-eels-divide", "hot-hornets-drum", + "hot-pumas-doubt", "itchy-mails-shout", "khaki-students-pump", "kind-wombats-serve", @@ -121,6 +123,7 @@ "lemon-terms-perform", "light-seas-cheat", "light-suits-glow", + "little-emus-lick", "long-ants-guess", "long-carpets-marry", "long-moose-reflect", @@ -132,6 +135,7 @@ "metal-bikes-applaud", "metal-cougars-train", "mighty-planets-retire", + "modern-poems-battle", "modern-spies-confess", "modern-taxis-share", "neat-cycles-doubt", @@ -165,6 +169,7 @@ "rare-birds-breathe", "rude-suns-visit", "serious-bats-shake", + "serious-comics-jog", "shaggy-carrots-cry", "shaggy-colts-turn", "shaggy-eagles-scream", @@ -207,6 +212,7 @@ "thin-falcons-tap", "thin-news-pull", "thirty-eyes-act", + "three-books-sit", "three-cougars-pay", "three-tools-fly", "tidy-kangaroos-bake", diff --git a/.changeset/serious-comics-jog.md b/.changeset/serious-comics-jog.md new file mode 100644 index 0000000000..6877b715b3 --- /dev/null +++ b/.changeset/serious-comics-jog.md @@ -0,0 +1,7 @@ +--- +"@lens-protocol/react": patch +"@lens-protocol/react-native": patch +"@lens-protocol/react-web": patch +--- + +**fix:** proactive refresh credentials diff --git a/.changeset/three-books-sit.md b/.changeset/three-books-sit.md new file mode 100644 index 0000000000..e99a4d748b --- /dev/null +++ b/.changeset/three-books-sit.md @@ -0,0 +1,10 @@ +--- +"@lens-protocol/blockchain-bindings": patch +"@lens-protocol/api-bindings": patch +"@lens-protocol/client": patch +"@lens-protocol/react": patch +"@lens-protocol/react-native": patch +"@lens-protocol/react-web": patch +--- + +**chore:** exported missing gql types diff --git a/examples/node/scripts/authentication/authenticate.ts b/examples/node/scripts/authentication/authenticate.ts index 1d4f9bee29..d4d9bebfda 100644 --- a/examples/node/scripts/authentication/authenticate.ts +++ b/examples/node/scripts/authentication/authenticate.ts @@ -35,7 +35,7 @@ async function main() { console.log(`Is LensClient authenticated? `, await client.authentication.isAuthenticated()); console.log(`Authenticated profileId: `, profileId); console.log(`Access token: `, accessToken); - console.log(`Is access token valid? `, await client.authentication.verify(accessToken)); + console.log(`Is access token valid? `, await client.authentication.verify({ accessToken })); } main(); diff --git a/examples/node/scripts/authentication/authenticateWithWallet.ts b/examples/node/scripts/authentication/authenticateWithWallet.ts index 112c04316a..07b2eb32da 100644 --- a/examples/node/scripts/authentication/authenticateWithWallet.ts +++ b/examples/node/scripts/authentication/authenticateWithWallet.ts @@ -25,7 +25,7 @@ async function main() { console.log(`Is LensClient authenticated? `, await client.authentication.isAuthenticated()); console.log(`Authenticated wallet: `, walletAddress); console.log(`Access token: `, accessToken); - console.log(`Is access token valid? `, await client.authentication.verify(accessToken)); + console.log(`Is access token valid? `, await client.authentication.verify({ accessToken })); } main(); diff --git a/examples/node/scripts/authentication/verifyIdentityToken.ts b/examples/node/scripts/authentication/verifyIdentityToken.ts new file mode 100644 index 0000000000..88f2985fe2 --- /dev/null +++ b/examples/node/scripts/authentication/verifyIdentityToken.ts @@ -0,0 +1,35 @@ +import { LensClient, development } from '@lens-protocol/client'; + +import { setupWallet } from '../shared/setupWallet'; + +async function main() { + const client = new LensClient({ + environment: development, + }); + + const wallet = setupWallet(); + const address = await wallet.getAddress(); + + const managedProfiles = await client.wallet.profilesManaged({ for: wallet.address }); + + if (managedProfiles.items.length === 0) { + throw new Error(`You don't manage any profiles, create one first`); + } + + const { id, text } = await client.authentication.generateChallenge({ + signedBy: address, + for: managedProfiles.items[0].id, + }); + + const signature = await wallet.signMessage(text); + + await client.authentication.authenticate({ id, signature }); + + const identityTokenResult = await client.authentication.getIdentityToken(); + const identityToken = identityTokenResult.unwrap(); + + console.log(`Identity token: `, identityToken); + console.log(`Is identity token valid? `, await client.authentication.verify({ identityToken })); +} + +main(); diff --git a/examples/node/scripts/frames/createFrameTypedData.ts b/examples/node/scripts/frames/createFrameTypedData.ts new file mode 100644 index 0000000000..6fd0ccb321 --- /dev/null +++ b/examples/node/scripts/frames/createFrameTypedData.ts @@ -0,0 +1,23 @@ +import { LensClient, development } from '@lens-protocol/client'; + +async function main() { + const client = new LensClient({ + environment: development, + }); + + const result = await client.frames.createFrameTypedData({ + actionResponse: '0x0000000000000000000000000000000000000000', + buttonIndex: 2, + deadline: new Date(Date.now() + 30 * 60 * 1000).getTime(), // 30 minutes from now + inputText: 'Hello, World!', + profileId: '0x01', + pubId: '0x01-0x01', + specVersion: '1.0.0', + state: '{"counter":1,"idempotency_key":"431b8b38-eb4d-455b"}', + url: 'https://mylensframe.xyz', + }); + + console.log(`Result: `, result); +} + +main(); diff --git a/examples/node/scripts/frames/signFrameAction.ts b/examples/node/scripts/frames/signFrameAction.ts new file mode 100644 index 0000000000..1e24f21599 --- /dev/null +++ b/examples/node/scripts/frames/signFrameAction.ts @@ -0,0 +1,29 @@ +import { getAuthenticatedClient } from '../shared/getAuthenticatedClient'; +import { setupWallet } from '../shared/setupWallet'; + +async function main() { + const wallet = setupWallet(); + const client = await getAuthenticatedClient(wallet); + + const result = await client.frames.signFrameAction({ + actionResponse: '0x0000000000000000000000000000000000000000', + buttonIndex: 2, + inputText: 'Hello, World!', + profileId: '0x01', + pubId: '0x01-0x01', + specVersion: '1.0.0', + state: '{"counter":1,"idempotency_key":"431b8b38-eb4d-455b"}', + url: 'https://mylensframe.xyz', + }); + + if (result.isFailure()) { + console.error(result.error); // CredentialsExpiredError or NotAuthenticatedError + process.exit(1); + } + + const data = result.value; + + console.log(`Result: `, data); +} + +main(); diff --git a/examples/node/scripts/frames/verifyFrameSignature.ts b/examples/node/scripts/frames/verifyFrameSignature.ts new file mode 100644 index 0000000000..937d5a0541 --- /dev/null +++ b/examples/node/scripts/frames/verifyFrameSignature.ts @@ -0,0 +1,47 @@ +import { FrameVerifySignatureResult } from '@lens-protocol/client'; + +import { getAuthenticatedClient } from '../shared/getAuthenticatedClient'; +import { setupWallet } from '../shared/setupWallet'; + +async function main() { + const wallet = setupWallet(); + const client = await getAuthenticatedClient(wallet); + const profileId = await client.authentication.getProfileId(); + + if (!profileId) { + throw new Error('Profile not authenticated'); + } + + const identityTokenResult = await client.authentication.getIdentityToken(); + const identityToken = identityTokenResult.unwrap(); + + // get signature + const result = await client.frames.signFrameAction({ + actionResponse: '0x0000000000000000000000000000000000000000', + buttonIndex: 2, + inputText: 'Hello, World!', + profileId: profileId, + pubId: '0x01-0x01', + specVersion: '1.0.0', + state: '{"counter":1,"idempotency_key":"431b8b38-eb4d-455b"}', + url: 'https://mylensframe.xyz', + }); + + if (result.isFailure()) { + console.error(result.error); // CredentialsExpiredError or NotAuthenticatedError + process.exit(1); + } + + const data = result.value; + + // verify + const verifyResult = await client.frames.verifyFrameSignature({ + identityToken, + signature: data.signature, + signedTypedData: data.signedTypedData, + }); + + console.log(`Is signature valid? `, verifyResult === FrameVerifySignatureResult.Verified); +} + +main(); diff --git a/examples/web/src/App.tsx b/examples/web/src/App.tsx index 71b16c1bd9..2771d514a4 100644 --- a/examples/web/src/App.tsx +++ b/examples/web/src/App.tsx @@ -34,6 +34,7 @@ import { UseInviteWallets, UseNotifications, UseResolveAddress, + UseSignFrameAction, UseValidateHandle, } from './misc'; import { @@ -193,6 +194,7 @@ export function App() { path="lensClientInteroperability" element={} /> + } /> (); + const storage = useStorage(); + const client = useMemo( + () => + new LensClient({ + environment: development, + storage, + }), + [storage], + ); + + useEffect(() => { + void (async () => { + const status = await client.frames.verifyFrameSignature(toVerify); + setVerified(status); + })(); + }, [client, toVerify]); + + return Server verifications status: {verified}; +} + +export function UseSignFrameActionInner({ profile }: { profile: Profile }) { + const [frameActionToVerify, setFrameActionToVerify] = useState(); + + const { data, execute, loading } = useSignFrameAction(); + const identityToken = useIdentityToken(); + + const sign = async () => { + const result = await execute({ + actionResponse: '0x0000000000000000000000000000000000000000', + buttonIndex: 2, + inputText: 'Hello, World!', + profileId: profile.id, + pubId: publicationId('0x01-0x01'), + specVersion: '1.0.0', + state: '{"counter":1,"idempotency_key":"431b8b38-eb4d-455b"}', + url: uri('https://mylensframe.xyz'), + }); + + if (result.isFailure()) { + toast.error(result.error.message); + return; + } + + const { signature, signedTypedData } = result.value; + + if (!identityToken) { + throw new Error('No identity token found'); + } + + setFrameActionToVerify({ + signature, + signedTypedData, + identityToken, + }); + }; + + return ( + + + Sign the frame action + + {data && Signature: {data.signature}} + {frameActionToVerify && } + + ); +} + +export function UseSignFrameAction() { + return ( + + + useSignFrameAction + + + + {({ profile }) => } + + + ); +} diff --git a/examples/web/src/misc/index.ts b/examples/web/src/misc/index.ts index 504b7ebd17..53e77c56c6 100644 --- a/examples/web/src/misc/index.ts +++ b/examples/web/src/misc/index.ts @@ -6,4 +6,5 @@ export * from './UseCurrencies'; export * from './UseInviteWallets'; export * from './UseNotifications'; export * from './UseResolveAddress'; +export * from './UseSignFrameAction'; export * from './UseValidateHandle'; diff --git a/packages/api-bindings/CHANGELOG.md b/packages/api-bindings/CHANGELOG.md index e62c0f087b..ec080ab1cc 100644 --- a/packages/api-bindings/CHANGELOG.md +++ b/packages/api-bindings/CHANGELOG.md @@ -1,5 +1,19 @@ # @lens-protocol/api-bindings +## 0.11.0-alpha.33 + +### Minor Changes + +- cdaf25268: **feat:** added `useSignFrameAction` hook + **feat:** added `useIdentityToken` hook + +### Patch Changes + +- dbb1657e3: **fix:** adds missing `small` and `medium` aliases to `EncryptedImageSet` and `ImageSet` fragments. +- 4183f686a: **chore:** exported missing gql types +- Updated dependencies [cdaf25268] + - @lens-protocol/domain@0.11.0-alpha.26 + ## 0.11.0-alpha.32 ### Minor Changes diff --git a/packages/api-bindings/package.json b/packages/api-bindings/package.json index a9d0191bc2..65fd5b59be 100644 --- a/packages/api-bindings/package.json +++ b/packages/api-bindings/package.json @@ -1,6 +1,6 @@ { "name": "@lens-protocol/api-bindings", - "version": "0.11.0-alpha.32", + "version": "0.11.0-alpha.33", "description": "Graphql fragments, react hooks, typescript types of lens API.", "repository": { "directory": "packages/api-bindings", diff --git a/packages/api-bindings/src/lens/ReferenceModule.ts b/packages/api-bindings/src/lens/ReferenceModule.ts index d15f80a726..2e9104e407 100644 --- a/packages/api-bindings/src/lens/ReferenceModule.ts +++ b/packages/api-bindings/src/lens/ReferenceModule.ts @@ -81,7 +81,7 @@ export type ReferencePolicy = * } * ``` * - * @param args - The {@link AnyPublication} to resolve {@link ReferencePolicy} from + * @param publication - The {@link AnyPublication} to resolve {@link ReferencePolicy} from * @returns {@link ReferencePolicy} */ export function resolveReferencePolicy(publication: AnyPublication): ReferencePolicy { diff --git a/packages/api-bindings/src/lens/graphql/auth.graphql b/packages/api-bindings/src/lens/graphql/auth.graphql index 9ebcb720fd..02d780cc85 100644 --- a/packages/api-bindings/src/lens/graphql/auth.graphql +++ b/packages/api-bindings/src/lens/graphql/auth.graphql @@ -18,6 +18,7 @@ mutation AuthAuthenticate($request: SignedAuthChallenge!) { result: authenticate(request: $request) { accessToken refreshToken + identityToken } } @@ -25,6 +26,7 @@ mutation AuthRefresh($request: RefreshRequest!) { result: refresh(request: $request) { accessToken refreshToken + identityToken } } @@ -34,6 +36,7 @@ mutation WalletAuthenticationToProfileAuthentication( result: walletAuthenticationToProfileAuthentication(request: $request) { accessToken refreshToken + identityToken } } diff --git a/packages/api-bindings/src/lens/graphql/fragments.graphql b/packages/api-bindings/src/lens/graphql/fragments.graphql index b53ca389bd..a4641e66bb 100644 --- a/packages/api-bindings/src/lens/graphql/fragments.graphql +++ b/packages/api-bindings/src/lens/graphql/fragments.graphql @@ -118,6 +118,12 @@ fragment EncryptableImageSet on EncryptableImageSet { optimized { ...Image } + small: transformed(request: $imageSmallSize) { + ...Image + } + medium: transformed(request: $imageMediumSize) { + ...Image + } } fragment Video on Video { diff --git a/packages/api-bindings/src/lens/graphql/frames.graphql b/packages/api-bindings/src/lens/graphql/frames.graphql new file mode 100644 index 0000000000..186b03a0eb --- /dev/null +++ b/packages/api-bindings/src/lens/graphql/frames.graphql @@ -0,0 +1,41 @@ +query CreateFrameTypedData($request: FrameEIP712Request!) { + result: createFrameTypedData(request: $request) { + ...CreateFrameEIP712TypedData + } +} + +fragment CreateFrameEIP712TypedData on CreateFrameEIP712TypedData { + types { + FrameData { + name + type + } + } + domain { + ...EIP712TypedDataDomain + } + value { + specVersion + url + buttonIndex + profileId + pubId + inputText + state + actionResponse + deadline + } +} + +fragment FrameLensManagerSignatureResult on FrameLensManagerSignatureResult { + signedTypedData { + ...CreateFrameEIP712TypedData + } + signature +} + +mutation SignFrameAction($request: FrameLensManagerEIP712Request!) { + result: signFrameAction(request: $request) { + ...FrameLensManagerSignatureResult + } +} diff --git a/packages/api-bindings/src/lens/graphql/generated.ts b/packages/api-bindings/src/lens/graphql/generated.ts index 18db273a8a..9f6348762b 100644 --- a/packages/api-bindings/src/lens/graphql/generated.ts +++ b/packages/api-bindings/src/lens/graphql/generated.ts @@ -223,6 +223,14 @@ export type ClaimProfileWithHandleRequest = { id?: InputMaybe; }; +export type ClaimTokensRequest = { + for: ClaimableTokenType; +}; + +export enum ClaimableTokenType { + Bonsai = 'BONSAI', +} + export type CollectActionModuleInput = { multirecipientCollectOpenAction?: InputMaybe; simpleCollectOpenAction?: InputMaybe; @@ -259,6 +267,32 @@ export enum ComparisonOperatorConditionType { NotEqual = 'NOT_EQUAL', } +export type CreateFrameEip712TypedDataInput = { + /** The typed data domain */ + domain: Eip712TypedDataDomainInput; + /** The types */ + types: CreateFrameEip712TypedDataTypesInput; + /** The values */ + value: CreateFrameEip712TypedDataValueInput; +}; + +export type CreateFrameEip712TypedDataTypesInput = { + FrameData: Array; +}; + +export type CreateFrameEip712TypedDataValueInput = { + actionResponse: Scalars['String']; + buttonIndex: Scalars['Int']; + deadline: Scalars['UnixTimestamp']; + inputText: Scalars['String']; + profileId: Scalars['ProfileId']; + pubId: Scalars['PublicationId']; + /** The EIP-721 spec version, must be 1.0.0 */ + specVersion: Scalars['String']; + state: Scalars['String']; + url: Scalars['URI']; +}; + export type CreateProfileRequest = { followModule?: InputMaybe; to: Scalars['EvmAddress']; @@ -309,10 +343,38 @@ export type DegreesOfSeparationReferenceModuleInput = { sourceProfileId?: InputMaybe; }; +export type DidReactOnPublicationPublicationIdAndProfileId = { + profileId: Scalars['ProfileId']; + publicationId: Scalars['PublicationId']; +}; + +export type DidReactOnPublicationRequest = { + for: Array; + where?: InputMaybe; +}; + export type DismissRecommendedProfilesRequest = { dismiss: Array; }; +export type Eip712TypedDataDomainInput = { + /** The chainId */ + chainId: Scalars['ChainId']; + /** The name of the typed data domain */ + name: Scalars['String']; + /** The verifying contract */ + verifyingContract: Scalars['EvmAddress']; + /** The version */ + version: Scalars['String']; +}; + +export type Eip712TypedDataFieldInput = { + /** The name of the typed data field */ + name: Scalars['String']; + /** The type of the typed data field */ + type: Scalars['String']; +}; + /** Possible sort criteria for exploring profiles */ export enum ExploreProfilesOrderByType { CreatedOn = 'CREATED_ON', @@ -406,6 +468,7 @@ export type FeedRequest = { }; export type FeedWhere = { + customFilters?: InputMaybe>; feedEventItemTypes?: InputMaybe>; for?: InputMaybe; metadata?: InputMaybe; @@ -481,6 +544,48 @@ export type FollowingRequest = { orderBy?: InputMaybe; }; +export type FrameEip712Request = { + actionResponse: Scalars['String']; + buttonIndex: Scalars['Int']; + deadline: Scalars['UnixTimestamp']; + inputText: Scalars['String']; + profileId: Scalars['ProfileId']; + pubId: Scalars['PublicationId']; + /** The EIP-721 spec version, must be 1.0.0 */ + specVersion: Scalars['String']; + state: Scalars['String']; + url: Scalars['URI']; +}; + +export type FrameLensManagerEip712Request = { + actionResponse: Scalars['String']; + buttonIndex: Scalars['Int']; + inputText: Scalars['String']; + profileId: Scalars['ProfileId']; + pubId: Scalars['PublicationId']; + /** The EIP-721 spec version, must be 1.0.0 */ + specVersion: Scalars['String']; + state: Scalars['String']; + url: Scalars['URI']; +}; + +export type FrameVerifySignature = { + /** The identity token */ + identityToken: Scalars['Jwt']; + /** The signature */ + signature: Scalars['Signature']; + /** The typed data signed */ + signedTypedData: CreateFrameEip712TypedDataInput; +}; + +export enum FrameVerifySignatureResult { + DeadlineExpired = 'DEADLINE_EXPIRED', + IdentityCannotUseProfile = 'IDENTITY_CANNOT_USE_PROFILE', + IdentityUnauthorized = 'IDENTITY_UNAUTHORIZED', + SignerAddressCannotUseProfile = 'SIGNER_ADDRESS_CANNOT_USE_PROFILE', + Verified = 'VERIFIED', +} + export type FraudReasonInput = { reason: PublicationReportingReason; subreason: PublicationReportingFraudSubreason; @@ -514,6 +619,11 @@ export type HideCommentRequest = { for: Scalars['PublicationId']; }; +export type HideManagedProfileRequest = { + /** The profile to hide */ + profileId: Scalars['ProfileId']; +}; + export type HidePublicationRequest = { for: Scalars['PublicationId']; }; @@ -611,6 +721,12 @@ export type InternalInvitesRequest = { secret: Scalars['String']; }; +export type InternalMintHandleAndProfileRequest = { + a: Scalars['EvmAddress']; + h: Scalars['String']; + secret: Scalars['String']; +}; + export type InternalNftIndexRequest = { n: Array; secret: Scalars['String']; @@ -621,6 +737,11 @@ export type InternalNftVerifyRequest = { secret: Scalars['String']; }; +export type InternalPaymentHandleInfoRequest = { + p: Scalars['String']; + secret: Scalars['String']; +}; + export type InternalProfileStatusRequest = { hhh: Scalars['String']; secret: Scalars['String']; @@ -660,6 +781,10 @@ export type LatestPaidActionsFilter = { openActionPublicationMetadataFilters?: InputMaybe; }; +export type LatestPaidActionsWhere = { + customFilters?: InputMaybe>; +}; + export type LegacyCollectRequest = { on: Scalars['PublicationId']; referrer?: InputMaybe; @@ -704,6 +829,13 @@ export type LinkHandleToProfileRequest = { handle: Scalars['Handle']; }; +/** Managed profile visibility type */ +export enum ManagedProfileVisibility { + All = 'ALL', + HiddenOnly = 'HIDDEN_ONLY', + NoneHidden = 'NONE_HIDDEN', +} + export enum MarketplaceMetadataAttributeDisplayType { Date = 'DATE', Number = 'NUMBER', @@ -1313,6 +1445,7 @@ export type ProfilesManagedRequest = { cursor?: InputMaybe; /** The Ethereum address for which to retrieve managed profiles */ for: Scalars['EvmAddress']; + hiddenFilter?: InputMaybe; includeOwned?: InputMaybe; limit?: InputMaybe; }; @@ -1648,6 +1781,7 @@ export enum RelayRoleKey { CreateProfileWithHandleUsingCredits_8 = 'CREATE_PROFILE_WITH_HANDLE_USING_CREDITS_8', CreateProfileWithHandleUsingCredits_9 = 'CREATE_PROFILE_WITH_HANDLE_USING_CREDITS_9', CreateProfileWithHandleUsingCredits_10 = 'CREATE_PROFILE_WITH_HANDLE_USING_CREDITS_10', + CreateProfileWithHandleUsingCreditsUnderCharLimit = 'CREATE_PROFILE_WITH_HANDLE_USING_CREDITS_UNDER_CHAR_LIMIT', LensManager_1 = 'LENS_MANAGER_1', LensManager_2 = 'LENS_MANAGER_2', LensManager_3 = 'LENS_MANAGER_3', @@ -1821,6 +1955,11 @@ export type UnhideCommentRequest = { for: Scalars['PublicationId']; }; +export type UnhideManagedProfileRequest = { + /** The profile to unhide */ + profileId: Scalars['ProfileId']; +}; + export type UnknownFollowModuleInput = { address: Scalars['EvmAddress']; data: Scalars['BlockchainData']; @@ -1869,7 +2008,9 @@ export type ValidatePublicationMetadataRequest = { export type VerifyRequest = { /** The access token to verify */ - accessToken: Scalars['Jwt']; + accessToken?: InputMaybe; + /** The identity token to verify */ + identityToken?: InputMaybe; }; export type WalletAuthenticationToProfileAuthenticationRequest = { @@ -1975,20 +2116,24 @@ export type AuthAuthenticateVariables = Exact<{ request: SignedAuthChallenge; }>; -export type AuthAuthenticateData = { result: { accessToken: string; refreshToken: string } }; +export type AuthAuthenticateData = { + result: { accessToken: string; refreshToken: string; identityToken: string }; +}; export type AuthRefreshVariables = Exact<{ request: RefreshRequest; }>; -export type AuthRefreshData = { result: { accessToken: string; refreshToken: string } }; +export type AuthRefreshData = { + result: { accessToken: string; refreshToken: string; identityToken: string }; +}; export type WalletAuthenticationToProfileAuthenticationVariables = Exact<{ request: WalletAuthenticationToProfileAuthenticationRequest; }>; export type WalletAuthenticationToProfileAuthenticationData = { - result: { accessToken: string; refreshToken: string }; + result: { accessToken: string; refreshToken: string; identityToken: string }; }; export type RevokeAuthenticationVariables = Exact<{ @@ -2163,6 +2308,8 @@ export type EncryptableImageSet = { __typename: 'EncryptableImageSet'; raw: EncryptableImage; optimized: Image | null; + small: Image | null; + medium: Image | null; }; export type Video = { __typename: 'Video'; uri: URI; mimeType: string | null }; @@ -3243,6 +3390,39 @@ export type CreateMomokaPublicationResult = { momokaId: string; }; +export type CreateFrameTypedDataVariables = Exact<{ + request: FrameEip712Request; +}>; + +export type CreateFrameTypedDataData = { result: CreateFrameEip712TypedData }; + +export type CreateFrameEip712TypedData = { + types: { FrameData: Array<{ name: string; type: string }> }; + domain: Eip712TypedDataDomain; + value: { + specVersion: string; + url: URI; + buttonIndex: number; + profileId: ProfileId; + pubId: PublicationId; + inputText: string; + state: string; + actionResponse: string; + deadline: number; + }; +}; + +export type FrameLensManagerSignatureResult = { + signature: string; + signedTypedData: CreateFrameEip712TypedData; +}; + +export type SignFrameActionVariables = Exact<{ + request: FrameLensManagerEip712Request; +}>; + +export type SignFrameActionData = { result: FrameLensManagerSignatureResult }; + export type HandleToAddressVariables = Exact<{ request: HandleToAddressRequest; }>; @@ -10969,6 +11149,38 @@ export const FragmentEncryptableImageSet = /*#__PURE__*/ { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], }, }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'small' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageSmallSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'medium' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageMediumSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, ], }, }, @@ -11116,6 +11328,38 @@ export const FragmentPublicationMetadataMediaAudio = /*#__PURE__*/ { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], }, }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'small' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageSmallSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'medium' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageMediumSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, ], }, }, @@ -11380,6 +11624,38 @@ export const FragmentPublicationMetadataMediaVideo = /*#__PURE__*/ { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], }, }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'small' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageSmallSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'medium' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageMediumSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, ], }, }, @@ -11537,6 +11813,38 @@ export const FragmentPublicationMetadataMediaImage = /*#__PURE__*/ { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], }, }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'small' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageSmallSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'medium' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageMediumSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, ], }, }, @@ -11912,6 +12220,38 @@ export const FragmentAudioMetadataV3 = /*#__PURE__*/ { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], }, }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'small' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageSmallSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'medium' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageMediumSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, ], }, }, @@ -13071,6 +13411,38 @@ export const FragmentVideoMetadataV3 = /*#__PURE__*/ { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], }, }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'small' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageSmallSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'medium' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageMediumSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, ], }, }, @@ -14229,6 +14601,38 @@ export const FragmentImageMetadataV3 = /*#__PURE__*/ { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], }, }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'small' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageSmallSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'medium' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageMediumSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, ], }, }, @@ -15374,6 +15778,38 @@ export const FragmentArticleMetadataV3 = /*#__PURE__*/ { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], }, }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'small' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageSmallSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'medium' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageMediumSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, ], }, }, @@ -16550,6 +16986,38 @@ export const FragmentEventMetadataV3 = /*#__PURE__*/ { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], }, }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'small' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageSmallSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'medium' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageMediumSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, ], }, }, @@ -17709,6 +18177,38 @@ export const FragmentLinkMetadataV3 = /*#__PURE__*/ { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], }, }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'small' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageSmallSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'medium' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageMediumSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, ], }, }, @@ -18854,6 +19354,38 @@ export const FragmentEmbedMetadataV3 = /*#__PURE__*/ { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], }, }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'small' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageSmallSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'medium' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageMediumSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, ], }, }, @@ -20009,6 +20541,38 @@ export const FragmentCheckingInMetadataV3 = /*#__PURE__*/ { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], }, }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'small' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageSmallSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'medium' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageMediumSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, ], }, }, @@ -21991,6 +22555,38 @@ export const FragmentThreeDMetadataV3 = /*#__PURE__*/ { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], }, }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'small' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageSmallSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'medium' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageMediumSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, ], }, }, @@ -23151,6 +23747,38 @@ export const FragmentStoryMetadataV3 = /*#__PURE__*/ { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], }, }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'small' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageSmallSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'medium' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageMediumSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, ], }, }, @@ -24298,6 +24926,38 @@ export const FragmentTransactionMetadataV3 = /*#__PURE__*/ { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], }, }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'small' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageSmallSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'medium' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageMediumSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, ], }, }, @@ -25443,6 +26103,38 @@ export const FragmentMintMetadataV3 = /*#__PURE__*/ { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], }, }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'small' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageSmallSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'medium' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageMediumSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, ], }, }, @@ -26590,6 +27282,38 @@ export const FragmentSpaceMetadataV3 = /*#__PURE__*/ { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], }, }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'small' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageSmallSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'medium' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageMediumSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, ], }, }, @@ -27740,6 +28464,38 @@ export const FragmentLiveStreamMetadataV3 = /*#__PURE__*/ { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], }, }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'small' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageSmallSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'medium' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageMediumSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, ], }, }, @@ -31591,6 +32347,38 @@ export const FragmentPost = /*#__PURE__*/ { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], }, }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'small' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageSmallSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'medium' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageMediumSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, ], }, }, @@ -36882,6 +37670,38 @@ export const FragmentQuoteFields = /*#__PURE__*/ { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], }, }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'small' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageSmallSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'medium' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageMediumSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, ], }, }, @@ -42174,6 +42994,38 @@ export const FragmentCommentFields = /*#__PURE__*/ { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], }, }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'small' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageSmallSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'medium' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageMediumSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, ], }, }, @@ -48155,6 +49007,38 @@ export const FragmentQuote = /*#__PURE__*/ { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], }, }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'small' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageSmallSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'medium' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageMediumSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, ], }, }, @@ -54749,6 +55633,38 @@ export const FragmentExplorePublication = /*#__PURE__*/ { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], }, }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'small' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageSmallSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'medium' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageMediumSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, ], }, }, @@ -61447,6 +62363,38 @@ export const FragmentComment = /*#__PURE__*/ { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], }, }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'small' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageSmallSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'medium' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageMediumSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, ], }, }, @@ -68091,6 +69039,38 @@ export const FragmentMirror = /*#__PURE__*/ { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], }, }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'small' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageSmallSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'medium' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageMediumSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, ], }, }, @@ -75848,6 +76828,38 @@ export const FragmentFeedItem = /*#__PURE__*/ { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], }, }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'small' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageSmallSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'medium' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageMediumSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, ], }, }, @@ -82648,6 +83660,38 @@ export const FragmentFeedHighlight = /*#__PURE__*/ { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], }, }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'small' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageSmallSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'medium' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageMediumSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, ], }, }, @@ -89341,6 +90385,38 @@ export const FragmentAnyPublicationInternal = /*#__PURE__*/ { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], }, }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'small' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageSmallSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'medium' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageMediumSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, ], }, }, @@ -95860,6 +96936,193 @@ export const FragmentCreateMomokaPublicationResult = /*#__PURE__*/ { }, ], } as unknown as DocumentNode; +export const FragmentCreateFrameEip712TypedData = /*#__PURE__*/ { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'CreateFrameEIP712TypedData' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'CreateFrameEIP712TypedData' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'types' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'FrameData' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'domain' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'EIP712TypedDataDomain' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'value' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'specVersion' } }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + { kind: 'Field', name: { kind: 'Name', value: 'buttonIndex' } }, + { kind: 'Field', name: { kind: 'Name', value: 'profileId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'pubId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'inputText' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'actionResponse' } }, + { kind: 'Field', name: { kind: 'Name', value: 'deadline' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'EIP712TypedDataDomain' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'EIP712TypedDataDomain' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'chainId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'version' } }, + { kind: 'Field', name: { kind: 'Name', value: 'verifyingContract' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const FragmentFrameLensManagerSignatureResult = /*#__PURE__*/ { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'FrameLensManagerSignatureResult' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'FrameLensManagerSignatureResult' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'signedTypedData' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'CreateFrameEIP712TypedData' }, + }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'signature' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'EIP712TypedDataDomain' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'EIP712TypedDataDomain' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'chainId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'version' } }, + { kind: 'Field', name: { kind: 'Name', value: 'verifyingContract' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'CreateFrameEIP712TypedData' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'CreateFrameEIP712TypedData' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'types' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'FrameData' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'domain' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'EIP712TypedDataDomain' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'value' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'specVersion' } }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + { kind: 'Field', name: { kind: 'Name', value: 'buttonIndex' } }, + { kind: 'Field', name: { kind: 'Name', value: 'profileId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'pubId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'inputText' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'actionResponse' } }, + { kind: 'Field', name: { kind: 'Name', value: 'deadline' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; export const FragmentInvitedResult = /*#__PURE__*/ { kind: 'Document', definitions: [ @@ -98319,6 +99582,38 @@ export const FragmentReactionNotification = /*#__PURE__*/ { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], }, }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'small' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageSmallSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'medium' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageMediumSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, ], }, }, @@ -105079,6 +106374,38 @@ export const FragmentCommentNotification = /*#__PURE__*/ { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], }, }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'small' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageSmallSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'medium' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageMediumSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, ], }, }, @@ -112741,6 +114068,38 @@ export const FragmentMirrorNotification = /*#__PURE__*/ { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], }, }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'small' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageSmallSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'medium' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageMediumSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, ], }, }, @@ -119480,6 +120839,38 @@ export const FragmentQuoteNotification = /*#__PURE__*/ { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], }, }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'small' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageSmallSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'medium' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageMediumSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, ], }, }, @@ -127346,6 +128737,38 @@ export const FragmentActedNotification = /*#__PURE__*/ { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], }, }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'small' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageSmallSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'medium' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageMediumSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, ], }, }, @@ -135237,6 +136660,38 @@ export const FragmentMentionNotification = /*#__PURE__*/ { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], }, }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'small' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageSmallSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'medium' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageMediumSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, ], }, }, @@ -142036,6 +143491,38 @@ export const FragmentNotification = /*#__PURE__*/ { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], }, }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'small' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageSmallSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'medium' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageMediumSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, ], }, }, @@ -152539,6 +154026,38 @@ export const FragmentPublicationRevenue = /*#__PURE__*/ { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], }, }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'small' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageSmallSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'medium' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageMediumSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, ], }, }, @@ -159714,6 +161233,7 @@ export const AuthAuthenticateDocument = /*#__PURE__*/ { selections: [ { kind: 'Field', name: { kind: 'Name', value: 'accessToken' } }, { kind: 'Field', name: { kind: 'Name', value: 'refreshToken' } }, + { kind: 'Field', name: { kind: 'Name', value: 'identityToken' } }, ], }, }, @@ -159795,6 +161315,7 @@ export const AuthRefreshDocument = /*#__PURE__*/ { selections: [ { kind: 'Field', name: { kind: 'Name', value: 'accessToken' } }, { kind: 'Field', name: { kind: 'Name', value: 'refreshToken' } }, + { kind: 'Field', name: { kind: 'Name', value: 'identityToken' } }, ], }, }, @@ -159873,6 +161394,7 @@ export const WalletAuthenticationToProfileAuthenticationDocument = /*#__PURE__*/ selections: [ { kind: 'Field', name: { kind: 'Name', value: 'accessToken' } }, { kind: 'Field', name: { kind: 'Name', value: 'refreshToken' } }, + { kind: 'Field', name: { kind: 'Name', value: 'identityToken' } }, ], }, }, @@ -160522,6 +162044,38 @@ export const ExplorePublicationsDocument = /*#__PURE__*/ { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], }, }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'small' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageSmallSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'medium' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageMediumSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, ], }, }, @@ -168607,6 +170161,38 @@ export const FeedDocument = /*#__PURE__*/ { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], }, }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'small' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageSmallSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'medium' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageMediumSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, ], }, }, @@ -175608,6 +177194,38 @@ export const FeedHighlightsDocument = /*#__PURE__*/ { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], }, }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'small' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageSmallSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'medium' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageMediumSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, ], }, }, @@ -181972,6 +183590,361 @@ export type FeedHighlightsQueryResult = Apollo.QueryResult< FeedHighlightsData, FeedHighlightsVariables >; +export const CreateFrameTypedDataDocument = /*#__PURE__*/ { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'CreateFrameTypedData' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'request' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'FrameEIP712Request' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + alias: { kind: 'Name', value: 'result' }, + name: { kind: 'Name', value: 'createFrameTypedData' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'request' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'CreateFrameEIP712TypedData' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'EIP712TypedDataDomain' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'EIP712TypedDataDomain' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'chainId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'version' } }, + { kind: 'Field', name: { kind: 'Name', value: 'verifyingContract' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'CreateFrameEIP712TypedData' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'CreateFrameEIP712TypedData' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'types' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'FrameData' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'domain' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'EIP712TypedDataDomain' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'value' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'specVersion' } }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + { kind: 'Field', name: { kind: 'Name', value: 'buttonIndex' } }, + { kind: 'Field', name: { kind: 'Name', value: 'profileId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'pubId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'inputText' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'actionResponse' } }, + { kind: 'Field', name: { kind: 'Name', value: 'deadline' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; + +/** + * __useCreateFrameTypedData__ + * + * To run a query within a React component, call `useCreateFrameTypedData` and pass it any options that fit your needs. + * When your component renders, `useCreateFrameTypedData` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useCreateFrameTypedData({ + * variables: { + * request: // value for 'request' + * }, + * }); + */ +export function useCreateFrameTypedData( + baseOptions: Apollo.QueryHookOptions, +) { + const options = { ...defaultOptions, ...baseOptions }; + return Apollo.useQuery( + CreateFrameTypedDataDocument, + options, + ); +} +export function useCreateFrameTypedDataLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + CreateFrameTypedDataData, + CreateFrameTypedDataVariables + >, +) { + const options = { ...defaultOptions, ...baseOptions }; + return Apollo.useLazyQuery( + CreateFrameTypedDataDocument, + options, + ); +} +export type CreateFrameTypedDataHookResult = ReturnType; +export type CreateFrameTypedDataLazyQueryHookResult = ReturnType< + typeof useCreateFrameTypedDataLazyQuery +>; +export type CreateFrameTypedDataQueryResult = Apollo.QueryResult< + CreateFrameTypedDataData, + CreateFrameTypedDataVariables +>; +export const SignFrameActionDocument = /*#__PURE__*/ { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'SignFrameAction' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'request' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'FrameLensManagerEIP712Request' }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + alias: { kind: 'Name', value: 'result' }, + name: { kind: 'Name', value: 'signFrameAction' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'request' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'FrameLensManagerSignatureResult' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'EIP712TypedDataDomain' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'EIP712TypedDataDomain' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'chainId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'version' } }, + { kind: 'Field', name: { kind: 'Name', value: 'verifyingContract' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'CreateFrameEIP712TypedData' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'CreateFrameEIP712TypedData' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'types' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'FrameData' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'domain' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'EIP712TypedDataDomain' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'value' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'specVersion' } }, + { kind: 'Field', name: { kind: 'Name', value: 'url' } }, + { kind: 'Field', name: { kind: 'Name', value: 'buttonIndex' } }, + { kind: 'Field', name: { kind: 'Name', value: 'profileId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'pubId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'inputText' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'actionResponse' } }, + { kind: 'Field', name: { kind: 'Name', value: 'deadline' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'FrameLensManagerSignatureResult' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'FrameLensManagerSignatureResult' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'signedTypedData' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'CreateFrameEIP712TypedData' }, + }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'signature' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export type SignFrameActionMutationFn = Apollo.MutationFunction< + SignFrameActionData, + SignFrameActionVariables +>; + +/** + * __useSignFrameAction__ + * + * To run a mutation, you first call `useSignFrameAction` within a React component and pass it any options that fit your needs. + * When your component renders, `useSignFrameAction` returns a tuple that includes: + * - A mutate function that you can call at any time to execute the mutation + * - An object with fields that represent the current status of the mutation's execution + * + * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; + * + * @example + * const [signFrameAction, { data, loading, error }] = useSignFrameAction({ + * variables: { + * request: // value for 'request' + * }, + * }); + */ +export function useSignFrameAction( + baseOptions?: Apollo.MutationHookOptions, +) { + const options = { ...defaultOptions, ...baseOptions }; + return Apollo.useMutation( + SignFrameActionDocument, + options, + ); +} +export type SignFrameActionHookResult = ReturnType; +export type SignFrameActionMutationResult = Apollo.MutationResult; +export type SignFrameActionMutationOptions = Apollo.BaseMutationOptions< + SignFrameActionData, + SignFrameActionVariables +>; export const HandleToAddressDocument = /*#__PURE__*/ { kind: 'Document', definitions: [ @@ -184163,6 +186136,38 @@ export const NotificationsDocument = /*#__PURE__*/ { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], }, }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'small' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageSmallSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'medium' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageMediumSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, ], }, }, @@ -204462,6 +206467,38 @@ export const PublicationDocument = /*#__PURE__*/ { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], }, }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'small' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageSmallSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'medium' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageMediumSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, ], }, }, @@ -211471,6 +213508,38 @@ export const PublicationsDocument = /*#__PURE__*/ { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], }, }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'small' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageSmallSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'medium' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageMediumSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, ], }, }, @@ -218730,6 +220799,38 @@ export const PublicationBookmarksDocument = /*#__PURE__*/ { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], }, }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'small' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageSmallSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'medium' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageMediumSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, ], }, }, @@ -230749,6 +232850,38 @@ export const RevenueFromPublicationsDocument = /*#__PURE__*/ { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], }, }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'small' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageSmallSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'medium' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageMediumSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, ], }, }, @@ -237787,6 +239920,38 @@ export const RevenueFromPublicationDocument = /*#__PURE__*/ { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], }, }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'small' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageSmallSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'medium' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageMediumSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, ], }, }, @@ -245130,6 +247295,38 @@ export const SearchPublicationsDocument = /*#__PURE__*/ { selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], }, }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'small' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageSmallSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'medium' }, + name: { kind: 'Name', value: 'transformed' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'request' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'imageMediumSize' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Image' } }], + }, + }, ], }, }, @@ -256124,11 +258321,13 @@ export type AuthChallengeResultFieldPolicy = { }; export type AuthenticationResultKeySpecifier = ( | 'accessToken' + | 'identityToken' | 'refreshToken' | AuthenticationResultKeySpecifier )[]; export type AuthenticationResultFieldPolicy = { accessToken?: FieldPolicy | FieldReadFunction; + identityToken?: FieldPolicy | FieldReadFunction; refreshToken?: FieldPolicy | FieldReadFunction; }; export type CanClaimResultKeySpecifier = ('address' | 'canClaim' | CanClaimResultKeySpecifier)[]; @@ -256198,6 +258397,10 @@ export type ClaimableProfilesResultFieldPolicy = { canMintProfileWithFreeTextHandle?: FieldPolicy | FieldReadFunction; reserved?: FieldPolicy | FieldReadFunction; }; +export type ClaimableTokensResultKeySpecifier = ('bonsai' | ClaimableTokensResultKeySpecifier)[]; +export type ClaimableTokensResultFieldPolicy = { + bonsai?: FieldPolicy | FieldReadFunction; +}; export type CollectConditionKeySpecifier = ( | 'publicationId' | 'thisPublication' @@ -256449,6 +258652,47 @@ export type CreateFollowEIP712TypedDataValueFieldPolicy = { idsOfProfilesToFollow?: FieldPolicy | FieldReadFunction; nonce?: FieldPolicy | FieldReadFunction; }; +export type CreateFrameEIP712TypedDataKeySpecifier = ( + | 'domain' + | 'types' + | 'value' + | CreateFrameEIP712TypedDataKeySpecifier +)[]; +export type CreateFrameEIP712TypedDataFieldPolicy = { + domain?: FieldPolicy | FieldReadFunction; + types?: FieldPolicy | FieldReadFunction; + value?: FieldPolicy | FieldReadFunction; +}; +export type CreateFrameEIP712TypedDataTypesKeySpecifier = ( + | 'FrameData' + | CreateFrameEIP712TypedDataTypesKeySpecifier +)[]; +export type CreateFrameEIP712TypedDataTypesFieldPolicy = { + FrameData?: FieldPolicy | FieldReadFunction; +}; +export type CreateFrameEIP712TypedDataValueKeySpecifier = ( + | 'actionResponse' + | 'buttonIndex' + | 'deadline' + | 'inputText' + | 'profileId' + | 'pubId' + | 'specVersion' + | 'state' + | 'url' + | CreateFrameEIP712TypedDataValueKeySpecifier +)[]; +export type CreateFrameEIP712TypedDataValueFieldPolicy = { + actionResponse?: FieldPolicy | FieldReadFunction; + buttonIndex?: FieldPolicy | FieldReadFunction; + deadline?: FieldPolicy | FieldReadFunction; + inputText?: FieldPolicy | FieldReadFunction; + profileId?: FieldPolicy | FieldReadFunction; + pubId?: FieldPolicy | FieldReadFunction; + specVersion?: FieldPolicy | FieldReadFunction; + state?: FieldPolicy | FieldReadFunction; + url?: FieldPolicy | FieldReadFunction; +}; export type CreateLegacyCollectBroadcastItemResultKeySpecifier = ( | 'expiresAt' | 'id' @@ -257236,6 +259480,17 @@ export type DegreesOfSeparationReferenceModuleSettingsFieldPolicy = { sourceProfileId?: FieldPolicy | FieldReadFunction; type?: FieldPolicy | FieldReadFunction; }; +export type DidReactOnPublicationResultKeySpecifier = ( + | 'profileId' + | 'publicationId' + | 'result' + | DidReactOnPublicationResultKeySpecifier +)[]; +export type DidReactOnPublicationResultFieldPolicy = { + profileId?: FieldPolicy | FieldReadFunction; + publicationId?: FieldPolicy | FieldReadFunction; + result?: FieldPolicy | FieldReadFunction; +}; export type EIP712TypedDataDomainKeySpecifier = ( | 'chainId' | 'name' @@ -257495,6 +259750,15 @@ export type FollowStatusBulkResultFieldPolicy = { profileId?: FieldPolicy | FieldReadFunction; status?: FieldPolicy | FieldReadFunction; }; +export type FrameLensManagerSignatureResultKeySpecifier = ( + | 'signature' + | 'signedTypedData' + | FrameLensManagerSignatureResultKeySpecifier +)[]; +export type FrameLensManagerSignatureResultFieldPolicy = { + signature?: FieldPolicy | FieldReadFunction; + signedTypedData?: FieldPolicy | FieldReadFunction; +}; export type GenerateModuleCurrencyApprovalResultKeySpecifier = ( | 'data' | 'from' @@ -257532,8 +259796,18 @@ export type GetModuleMetadataResultFieldPolicy = { sponsoredApproved?: FieldPolicy | FieldReadFunction; verified?: FieldPolicy | FieldReadFunction; }; +export type HandleGuardianResultKeySpecifier = ( + | 'cooldownEndsOn' + | 'protected' + | HandleGuardianResultKeySpecifier +)[]; +export type HandleGuardianResultFieldPolicy = { + cooldownEndsOn?: FieldPolicy | FieldReadFunction; + protected?: FieldPolicy | FieldReadFunction; +}; export type HandleInfoKeySpecifier = ( | 'fullHandle' + | 'guardian' | 'id' | 'linkedTo' | 'localName' @@ -257544,6 +259818,7 @@ export type HandleInfoKeySpecifier = ( )[]; export type HandleInfoFieldPolicy = { fullHandle?: FieldPolicy | FieldReadFunction; + guardian?: FieldPolicy | FieldReadFunction; id?: FieldPolicy | FieldReadFunction; linkedTo?: FieldPolicy | FieldReadFunction; localName?: FieldPolicy | FieldReadFunction; @@ -257556,6 +259831,12 @@ export type HandleLinkedToFieldPolicy = { contract?: FieldPolicy | FieldReadFunction; nftTokenId?: FieldPolicy | FieldReadFunction; }; +export type IPHResultKeySpecifier = ('h' | 'hda' | 'hs' | IPHResultKeySpecifier)[]; +export type IPHResultFieldPolicy = { + h?: FieldPolicy | FieldReadFunction; + hda?: FieldPolicy | FieldReadFunction; + hs?: FieldPolicy | FieldReadFunction; +}; export type ImageKeySpecifier = ('height' | 'mimeType' | 'uri' | 'width' | ImageKeySpecifier)[]; export type ImageFieldPolicy = { height?: FieldPolicy | FieldReadFunction; @@ -258069,6 +260350,17 @@ export type MirrorNotificationFieldPolicy = { mirrors?: FieldPolicy | FieldReadFunction; publication?: FieldPolicy | FieldReadFunction; }; +export type ModFollowerResultKeySpecifier = ( + | 'createdAt' + | 'follower' + | 'following' + | ModFollowerResultKeySpecifier +)[]; +export type ModFollowerResultFieldPolicy = { + createdAt?: FieldPolicy | FieldReadFunction; + follower?: FieldPolicy | FieldReadFunction; + following?: FieldPolicy | FieldReadFunction; +}; export type ModuleInfoKeySpecifier = ('name' | 'type' | ModuleInfoKeySpecifier)[]; export type ModuleInfoFieldPolicy = { name?: FieldPolicy | FieldReadFunction; @@ -258285,6 +260577,7 @@ export type MutationKeySpecifier = ( | 'dismissRecommendedProfiles' | 'follow' | 'hideComment' + | 'hideManagedProfile' | 'hidePublication' | 'idKitPhoneVerifyWebhook' | 'internalAddCuratedTag' @@ -258293,6 +260586,7 @@ export type MutationKeySpecifier = ( | 'internalBoostProfile' | 'internalClaim' | 'internalCuratedUpdate' + | 'internalMintHandleAndProfile' | 'internalNftIndex' | 'internalNftVerify' | 'internalRemoveCuratedTag' @@ -258321,10 +260615,12 @@ export type MutationKeySpecifier = ( | 'setDefaultProfile' | 'setFollowModule' | 'setProfileMetadata' + | 'signFrameAction' | 'unblock' | 'undoPublicationNotInterested' | 'unfollow' | 'unhideComment' + | 'unhideManagedProfile' | 'unlinkHandleFromProfile' | 'updateNftGalleryInfo' | 'updateNftGalleryItems' @@ -258371,6 +260667,7 @@ export type MutationFieldPolicy = { dismissRecommendedProfiles?: FieldPolicy | FieldReadFunction; follow?: FieldPolicy | FieldReadFunction; hideComment?: FieldPolicy | FieldReadFunction; + hideManagedProfile?: FieldPolicy | FieldReadFunction; hidePublication?: FieldPolicy | FieldReadFunction; idKitPhoneVerifyWebhook?: FieldPolicy | FieldReadFunction; internalAddCuratedTag?: FieldPolicy | FieldReadFunction; @@ -258379,6 +260676,7 @@ export type MutationFieldPolicy = { internalBoostProfile?: FieldPolicy | FieldReadFunction; internalClaim?: FieldPolicy | FieldReadFunction; internalCuratedUpdate?: FieldPolicy | FieldReadFunction; + internalMintHandleAndProfile?: FieldPolicy | FieldReadFunction; internalNftIndex?: FieldPolicy | FieldReadFunction; internalNftVerify?: FieldPolicy | FieldReadFunction; internalRemoveCuratedTag?: FieldPolicy | FieldReadFunction; @@ -258407,10 +260705,12 @@ export type MutationFieldPolicy = { setDefaultProfile?: FieldPolicy | FieldReadFunction; setFollowModule?: FieldPolicy | FieldReadFunction; setProfileMetadata?: FieldPolicy | FieldReadFunction; + signFrameAction?: FieldPolicy | FieldReadFunction; unblock?: FieldPolicy | FieldReadFunction; undoPublicationNotInterested?: FieldPolicy | FieldReadFunction; unfollow?: FieldPolicy | FieldReadFunction; unhideComment?: FieldPolicy | FieldReadFunction; + unhideManagedProfile?: FieldPolicy | FieldReadFunction; unlinkHandleFromProfile?: FieldPolicy | FieldReadFunction; updateNftGalleryInfo?: FieldPolicy | FieldReadFunction; updateNftGalleryItems?: FieldPolicy | FieldReadFunction; @@ -258637,6 +260937,15 @@ export type PaginatedModExplorePublicationResultFieldPolicy = { items?: FieldPolicy | FieldReadFunction; pageInfo?: FieldPolicy | FieldReadFunction; }; +export type PaginatedModFollowersResultKeySpecifier = ( + | 'items' + | 'pageInfo' + | PaginatedModFollowersResultKeySpecifier +)[]; +export type PaginatedModFollowersResultFieldPolicy = { + items?: FieldPolicy | FieldReadFunction; + pageInfo?: FieldPolicy | FieldReadFunction; +}; export type PaginatedNftCollectionsResultKeySpecifier = ( | 'items' | 'pageInfo' @@ -259275,11 +261584,15 @@ export type QueryKeySpecifier = ( | 'approvedModuleAllowanceAmount' | 'canClaim' | 'challenge' + | 'claimTokens' | 'claimableProfiles' | 'claimableStatus' + | 'claimableTokens' + | 'createFrameTypedData' | 'currencies' | 'currentSession' | 'defaultProfile' + | 'didReactOnPublication' | 'exploreProfiles' | 'explorePublications' | 'feed' @@ -259297,6 +261610,7 @@ export type QueryKeySpecifier = ( | 'internalCuratedHandles' | 'internalCuratedTags' | 'internalInvites' + | 'internalPaymentHandleInfo' | 'internalProfileStatus' | 'invitedProfiles' | 'lastLoggedInProfile' @@ -259305,6 +261619,7 @@ export type QueryKeySpecifier = ( | 'lensProtocolVersion' | 'lensTransactionStatus' | 'modExplorePublications' + | 'modFollowers' | 'moduleMetadata' | 'momokaSubmitters' | 'momokaSummary' @@ -259350,6 +261665,7 @@ export type QueryKeySpecifier = ( | 'userSigNonces' | 'validatePublicationMetadata' | 'verify' + | 'verifyFrameSignature' | 'whoActedOnPublication' | 'whoHaveBlocked' | 'whoReactedPublication' @@ -259360,11 +261676,15 @@ export type QueryFieldPolicy = { approvedModuleAllowanceAmount?: FieldPolicy | FieldReadFunction; canClaim?: FieldPolicy | FieldReadFunction; challenge?: FieldPolicy | FieldReadFunction; + claimTokens?: FieldPolicy | FieldReadFunction; claimableProfiles?: FieldPolicy | FieldReadFunction; claimableStatus?: FieldPolicy | FieldReadFunction; + claimableTokens?: FieldPolicy | FieldReadFunction; + createFrameTypedData?: FieldPolicy | FieldReadFunction; currencies?: FieldPolicy | FieldReadFunction; currentSession?: FieldPolicy | FieldReadFunction; defaultProfile?: FieldPolicy | FieldReadFunction; + didReactOnPublication?: FieldPolicy | FieldReadFunction; exploreProfiles?: FieldPolicy | FieldReadFunction; explorePublications?: FieldPolicy | FieldReadFunction; feed?: FieldPolicy | FieldReadFunction; @@ -259382,6 +261702,7 @@ export type QueryFieldPolicy = { internalCuratedHandles?: FieldPolicy | FieldReadFunction; internalCuratedTags?: FieldPolicy | FieldReadFunction; internalInvites?: FieldPolicy | FieldReadFunction; + internalPaymentHandleInfo?: FieldPolicy | FieldReadFunction; internalProfileStatus?: FieldPolicy | FieldReadFunction; invitedProfiles?: FieldPolicy | FieldReadFunction; lastLoggedInProfile?: FieldPolicy | FieldReadFunction; @@ -259390,6 +261711,7 @@ export type QueryFieldPolicy = { lensProtocolVersion?: FieldPolicy | FieldReadFunction; lensTransactionStatus?: FieldPolicy | FieldReadFunction; modExplorePublications?: FieldPolicy | FieldReadFunction; + modFollowers?: FieldPolicy | FieldReadFunction; moduleMetadata?: FieldPolicy | FieldReadFunction; momokaSubmitters?: FieldPolicy | FieldReadFunction; momokaSummary?: FieldPolicy | FieldReadFunction; @@ -259435,6 +261757,7 @@ export type QueryFieldPolicy = { userSigNonces?: FieldPolicy
Signature: {data.signature}
useSignFrameAction