From be2a039d23f38f0f5c3b7ba2eabb063c863f05d5 Mon Sep 17 00:00:00 2001 From: Juan Garcia Date: Fri, 29 Nov 2024 12:08:32 +0100 Subject: [PATCH 1/4] Implement follow/unfollow --- packages/client/src/actions/follow.ts | 51 +++++++ packages/client/src/actions/index.ts | 1 + packages/graphql/schema.graphql | 208 ++++++++++++++++++++++++++ packages/graphql/src/follow.ts | 87 +++++++++++ packages/graphql/src/graphql-env.d.ts | 52 ++++++- packages/graphql/src/index.ts | 1 + 6 files changed, 393 insertions(+), 7 deletions(-) create mode 100644 packages/client/src/actions/follow.ts create mode 100644 packages/graphql/src/follow.ts diff --git a/packages/client/src/actions/follow.ts b/packages/client/src/actions/follow.ts new file mode 100644 index 000000000..dd3db096b --- /dev/null +++ b/packages/client/src/actions/follow.ts @@ -0,0 +1,51 @@ +import type { + CreateFollowRequest, + CreateUnfollowRequest, + FollowResult, + UnfollowResult, +} from '@lens-protocol/graphql'; +import { FollowMutation, UnfollowMutation } from '@lens-protocol/graphql'; +import type { ResultAsync } from '@lens-protocol/types'; + +import type { SessionClient } from '../clients'; +import type { UnauthenticatedError, UnexpectedError } from '../errors'; + +/** + * Follow an Account + * + * ```ts + * const result = await follow(sessionClient, + * { account: EvmAddress('0x90c8c68d0Abfb40D4fCD72316A65e42161520BC3') } + * ); + * ``` + * + * @param client - The session client for the authenticated Account. + * @param request - The mutation request. + * @returns Tiered transaction result. + */ +export function follow( + client: SessionClient, + request: CreateFollowRequest, +): ResultAsync { + return client.mutation(FollowMutation, { request }); +} + +/** + * Unfollow an Account + * + * ```ts + * const result = await unfollow(sessionClient, + * { account: EvmAddress('0x90c8c68d0Abfb40D4fCD72316A65e42161520BC3') } + * ); + * ``` + * + * @param client - The session client for the authenticated Account. + * @param request - The mutation request. + * @returns Tiered transaction result. + */ +export function unfollow( + client: SessionClient, + request: CreateUnfollowRequest, +): ResultAsync { + return client.mutation(UnfollowMutation, { request }); +} diff --git a/packages/client/src/actions/index.ts b/packages/client/src/actions/index.ts index e906d9a83..f9bbb6bfe 100644 --- a/packages/client/src/actions/index.ts +++ b/packages/client/src/actions/index.ts @@ -1,6 +1,7 @@ export * from './account'; export * from './app'; export * from './authentication'; +export * from './follow'; export * from './post'; export * from './posts'; export * from './transactions'; diff --git a/packages/graphql/schema.graphql b/packages/graphql/schema.graphql index af41b274d..7ed07c698 100644 --- a/packages/graphql/schema.graphql +++ b/packages/graphql/schema.graphql @@ -35,6 +35,9 @@ type Account { """The operations for the account.""" operations: LoggedInAccountOperations + + """Get the rules for the account.""" + rules(request: RuleInput): FollowRulesConfig! } union AccountAvailable = AccountManaged | AccountOwned @@ -488,6 +491,7 @@ type App { defaultFeedAddress: EvmAddress namespaceAddress: EvmAddress treasuryAddress: EvmAddress + sourceStampVerificationEnabled: Boolean! createdAt: DateTime! metadata: AppMetadata } @@ -534,6 +538,10 @@ input AppRequest { txHash: TxHash } +type ApprovalGroupRule { + rule: EvmAddress! +} + enum AppsOrderBy { ALPHABETICAL LATEST_FIRST @@ -737,6 +745,16 @@ input ChallengeRequest { onboardingUser: OnboardingUserChallengeRequest } +type CharsetUsernameNamespaceRule { + rule: EvmAddress! + allowNumeric: Boolean! + allowLatinLowercase: Boolean! + allowLatinUppercase: Boolean! + customAllowedCharset: [String!] + customDisallowedCharset: [String!] + cannotStartWith: String +} + type CheckingInMetadata { """The optional address of the location.""" address: PhysicalAddress @@ -1703,6 +1721,7 @@ input FeeFollowRuleInput { type Feed { address: EvmAddress! metadata: FeedMetadata + rules(request: RuleInput): FeedRulesConfig! } type FeedMetadata { @@ -1730,6 +1749,13 @@ input FeedRequest { txHash: TxHash } +union FeedRule = TokenGatedFeedRule | GroupGatedFeedRule | RestrictedSignersFeedRule | SimplePaymentFeedRule | UserBlockingRule | UnknownFeedRule + +type FeedRulesConfig { + required: [FeedRule!]! + anyOf: [FeedRule!]! +} + input FeedRulesInput { unknownFeedRule: UnknownFeedRuleInput } @@ -1771,6 +1797,13 @@ type FollowResponse { union FollowResult = FollowResponse | SponsoredTransactionRequest | SelfFundedTransactionRequest | TransactionWillFail +union FollowRule = TokenGatedFollowRule | SimplePaymentFollowRule | UnknownFollowRule + +type FollowRulesConfig { + required: [FollowRule!]! + anyOf: [FollowRule!]! +} + input FollowRulesInput { feeFollowRule: FeeFollowRuleInput unknownFollowRule: UnknownFollowRuleInput @@ -1795,6 +1828,14 @@ type Follower { followedOn: DateTime! } +type FollowerOnlyPostRule { + rule: EvmAddress! + graph: EvmAddress! + repliesRestricted: Boolean! + repostsRestricted: Boolean! + quotesRestricted: Boolean! +} + enum FollowersOrderBy { DESC ASC @@ -1892,6 +1933,7 @@ scalar GeneratedNotificationId type Graph { address: EvmAddress! metadata: GraphMetadata + rules(request: RuleInput): GraphRulesConfig! } type GraphMetadata { @@ -1919,6 +1961,13 @@ input GraphRequest { txHash: TxHash } +union GraphRule = TokenGatedGraphRule | RestrictedSignerGraphRule | UserBlockingRule | UnknownGraphRule + +type GraphRulesConfig { + required: [GraphRule!]! + anyOf: [GraphRule!]! +} + input GraphRulesInput { unknownGraphRule: UnknownGraphRuleInput } @@ -1927,6 +1976,12 @@ type Group { address: EvmAddress! timestamp: DateTime! metadata: GroupMetadata + rules(request: RuleInput): GroupRulesConfig! +} + +type GroupGatedFeedRule { + rule: EvmAddress! + group: Group! } enum GroupMembersOrderBy { @@ -1977,6 +2032,13 @@ input GroupRequest { txHash: TxHash } +union GroupRule = TokenGatedGroupRule | SimplePaymentGroupRule | ApprovalGroupRule | UnknownGroupRule + +type GroupRulesConfig { + required: [GroupRule!]! + anyOf: [GroupRule!]! +} + input GroupsFilter { """The name of the group""" name: String @@ -2104,6 +2166,12 @@ scalar LegacyPublicationId scalar LegacyRefreshToken +type LengthUsernameNamespaceRule { + rule: EvmAddress! + minLength: Int! + maxLength: Int! +} + type LinkMetadata { """The other attachments you want to include with it.""" attachments: [AnyMedia!]! @@ -3395,6 +3463,7 @@ type Post { operations: LoggedInPostOperations stats: PostStats! mentions: [AccountMention!]! + rules(request: RuleInput): PostRulesConfig! } input PostAccountPair { @@ -3571,6 +3640,13 @@ type PostResponse { union PostResult = PostResponse | SponsoredTransactionRequest | SelfFundedTransactionRequest | TransactionWillFail +union PostRule = FollowerOnlyPostRule | UnknownPostRule + +type PostRulesConfig { + required: [PostRule!]! + anyOf: [PostRule!]! +} + type PostStats { """The total number of bookmarks.""" bookmarks: Int! @@ -3851,6 +3927,21 @@ type RepostNotification { post: Post! } +type RestrictedSigner { + label: String! + signer: EvmAddress! +} + +type RestrictedSignerGraphRule { + rule: EvmAddress! + signers: [RestrictedSigner!]! +} + +type RestrictedSignersFeedRule { + rule: EvmAddress! + signers: [RestrictedSigner!]! +} + input RevokeAuthenticationRequest { authenticationId: UUID! } @@ -3863,6 +3954,10 @@ input RolloverRefreshRequest { refreshToken: LegacyRefreshToken! } +input RuleInput { + rules: [EvmAddress!]! +} + input SearchGroupsRequest { """The search query""" query: String! @@ -3958,6 +4053,30 @@ type SimpleCollectActionSettings { recipients: [RecipientDataOutput!]! } +type SimplePaymentFeedRule { + rule: EvmAddress! + amount: Amount! + recipient: EvmAddress! +} + +type SimplePaymentFollowRule { + rule: EvmAddress! + amount: Amount! + recipient: EvmAddress! +} + +type SimplePaymentGroupRule { + rule: EvmAddress! + amount: Amount! + recipient: EvmAddress! +} + +type SimplePaymentUsernameNamespaceRule { + rule: EvmAddress! + amount: Amount! + recipient: EvmAddress! +} + type SpaceMetadata { """The other attachments you want to include with it.""" attachments: [AnyMedia!]! @@ -4195,6 +4314,52 @@ input TimelineRequest { cursor: Cursor } +type TokenGatedFeedRule { + rule: EvmAddress! + tokenStandard: TokenStandard! + typeId: BigInt! + token: EvmAddress! + amount: Amount! +} + +type TokenGatedFollowRule { + rule: EvmAddress! + tokenStandard: TokenStandard! + typeId: BigInt! + token: EvmAddress! + amount: Amount! +} + +type TokenGatedGraphRule { + rule: EvmAddress! + tokenStandard: TokenStandard! + typeId: BigInt! + token: EvmAddress! + amount: Amount! +} + +type TokenGatedGroupRule { + rule: EvmAddress! + tokenStandard: TokenStandard! + typeId: BigInt! + token: EvmAddress! + amount: Amount! +} + +type TokenGatedUsernameNamespaceRule { + rule: EvmAddress! + tokenStandard: TokenStandard! + typeId: BigInt! + token: EvmAddress! + amount: Amount! +} + +enum TokenStandard { + ERC_20 + ERC_721 + ERC_1155 +} + """AccessCondition""" type TopLevelAccessCondition { criteria: [AnyAccessCondition!]! @@ -4362,6 +4527,11 @@ type UnknownActionSettings { collectNft: EvmAddress } +type UnknownFeedRule { + rule: EvmAddress! + configData: BlockchainData! +} + input UnknownFeedRuleInput { """The rule contract address.""" address: EvmAddress! @@ -4370,6 +4540,11 @@ input UnknownFeedRuleInput { data: BlockchainData! } +type UnknownFollowRule { + rule: EvmAddress! + configData: BlockchainData! +} + input UnknownFollowRuleInput { """The rule contract address.""" address: EvmAddress! @@ -4378,6 +4553,11 @@ input UnknownFollowRuleInput { data: BlockchainData! } +type UnknownGraphRule { + rule: EvmAddress! + configData: BlockchainData! +} + input UnknownGraphRuleInput { """The rule contract address.""" address: EvmAddress! @@ -4386,6 +4566,21 @@ input UnknownGraphRuleInput { data: BlockchainData! } +type UnknownGroupRule { + rule: EvmAddress! + configData: BlockchainData! +} + +type UnknownPostRule { + rule: EvmAddress! + configData: BlockchainData! +} + +type UnknownUsernameNamespaceRule { + rule: EvmAddress! + configData: BlockchainData! +} + input UpdateAccountManagerRequest { """The address to update as a manager.""" manager: EvmAddress! @@ -4396,6 +4591,11 @@ input UpdateAccountManagerRequest { union UpdateAccountManagerResult = SponsoredTransactionRequest | SelfFundedTransactionRequest | TransactionWillFail +type UserBlockingRule { + rule: EvmAddress! + blockedUsers: [EvmAddress!]! +} + type Username { """A unique identifier for the username entry.""" id: ID! @@ -4434,6 +4634,7 @@ type UsernameNamespace { """The namespace for example `lens`""" namespace: String! metadata: UsernameNamespaceMetadata + rules(request: RuleInput): UsernameNamespaceRulesConfig! } type UsernameNamespaceMetadata { @@ -4455,6 +4656,13 @@ input UsernameNamespaceRequest { txHash: TxHash } +union UsernameNamespaceRule = TokenGatedUsernameNamespaceRule | SimplePaymentUsernameNamespaceRule | CharsetUsernameNamespaceRule | LengthUsernameNamespaceRule | UnknownUsernameNamespaceRule + +type UsernameNamespaceRulesConfig { + required: [UsernameNamespaceRule!]! + anyOf: [UsernameNamespaceRule!]! +} + """You must provide either an id or a username, not both.""" input UsernameRequest { """The username ID.""" diff --git a/packages/graphql/src/follow.ts b/packages/graphql/src/follow.ts new file mode 100644 index 000000000..61b3c1cc7 --- /dev/null +++ b/packages/graphql/src/follow.ts @@ -0,0 +1,87 @@ +import type { FragmentOf } from 'gql.tada'; + +import { + SelfFundedTransactionRequest, + SponsoredTransactionRequest, + TransactionWillFail, +} from './fragments'; +import { type RequestOf, graphql } from './graphql'; + +const FollowResponse = graphql( + `fragment FollowResponse on FollowResponse { + __typename + hash + }`, +); +export type FollowResponse = FragmentOf; + +const FollowResult = graphql( + `fragment FollowResult on FollowResult{ + ...on FollowResponse { + ...FollowResponse + } + ...on SponsoredTransactionRequest { + ...SponsoredTransactionRequest + } + ...on SelfFundedTransactionRequest { + ...SelfFundedTransactionRequest + } + ...on TransactionWillFail { + ...TransactionWillFail + } + }`, + [FollowResponse, SelfFundedTransactionRequest, SponsoredTransactionRequest, TransactionWillFail], +); +export type FollowResult = FragmentOf; + +export const FollowMutation = graphql( + `mutation Follow ($request: CreateFollowRequest!) { + value: follow(request: $request) { + ...FollowResult + } + }`, + [FollowResult], +); +export type CreateFollowRequest = RequestOf; + +const UnfollowResponse = graphql( + `fragment UnfollowResponse on UnfollowResponse { + __typename + hash + }`, +); +export type UnfollowResponse = FragmentOf; + +const UnfollowResult = graphql( + `fragment UnfollowResult on UnfollowResult{ + ...on UnfollowResponse { + ...UnfollowResponse + } + ...on SponsoredTransactionRequest { + ...SponsoredTransactionRequest + } + ...on SelfFundedTransactionRequest { + ...SelfFundedTransactionRequest + } + ...on TransactionWillFail { + ...TransactionWillFail + } + }`, + [ + UnfollowResponse, + SelfFundedTransactionRequest, + SponsoredTransactionRequest, + TransactionWillFail, + ], +); +export type UnfollowResult = FragmentOf; + +export const UnfollowMutation = graphql( + `mutation Unfollow ($request: CreateUnfollowRequest!) { + value: unfollow(request: $request) { + ...UnfollowResult + } + }`, + [UnfollowResult], +); +export type CreateUnfollowRequest = RequestOf; diff --git a/packages/graphql/src/graphql-env.d.ts b/packages/graphql/src/graphql-env.d.ts index 37ce2f3e1..4aa471fca 100644 --- a/packages/graphql/src/graphql-env.d.ts +++ b/packages/graphql/src/graphql-env.d.ts @@ -5,7 +5,7 @@ export type introspection_types = { 'AccessConditionComparison': { name: 'AccessConditionComparison'; enumValues: 'EQUAL' | 'NOT_EQUAL' | 'GREATER_THAN' | 'GREATER_THAN_OR_EQUAL' | 'LESS_THAN' | 'LESS_THAN_OR_EQUAL'; }; 'AccessConditionType': { kind: 'UNION'; name: 'AccessConditionType'; fields: {}; possibleTypes: 'AdvancedContractCondition' | 'CollectCondition' | 'EoaOwnershipCondition' | 'Erc20OwnershipCondition' | 'FollowCondition' | 'NftOwnershipCondition' | 'ProfileOwnershipCondition'; }; 'AccessToken': unknown; - 'Account': { kind: 'OBJECT'; name: 'Account'; fields: { 'address': { name: 'address'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'metadata': { name: 'metadata'; type: { kind: 'OBJECT'; name: 'AccountMetadata'; ofType: null; } }; 'operations': { name: 'operations'; type: { kind: 'OBJECT'; name: 'LoggedInAccountOperations'; ofType: null; } }; 'owner': { name: 'owner'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'score': { name: 'score'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; } }; 'username': { name: 'username'; type: { kind: 'OBJECT'; name: 'Username'; ofType: null; } }; }; }; + 'Account': { kind: 'OBJECT'; name: 'Account'; fields: { 'address': { name: 'address'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'metadata': { name: 'metadata'; type: { kind: 'OBJECT'; name: 'AccountMetadata'; ofType: null; } }; 'operations': { name: 'operations'; type: { kind: 'OBJECT'; name: 'LoggedInAccountOperations'; ofType: null; } }; 'owner': { name: 'owner'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'rules': { name: 'rules'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'FollowRulesConfig'; ofType: null; }; } }; 'score': { name: 'score'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; } }; 'username': { name: 'username'; type: { kind: 'OBJECT'; name: 'Username'; ofType: null; } }; }; }; 'AccountAvailable': { kind: 'UNION'; name: 'AccountAvailable'; fields: {}; possibleTypes: 'AccountManaged' | 'AccountOwned'; }; 'AccountBlocked': { kind: 'OBJECT'; name: 'AccountBlocked'; fields: { 'account': { name: 'account'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Account'; ofType: null; }; } }; 'blockedAt': { name: 'blockedAt'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; }; }; 'AccountFeedsStats': { kind: 'OBJECT'; name: 'AccountFeedsStats'; fields: { 'collects': { name: 'collects'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; } }; 'comments': { name: 'comments'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; } }; 'posts': { name: 'posts'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; } }; 'quotes': { name: 'quotes'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; } }; 'reacted': { name: 'reacted'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; } }; 'reactions': { name: 'reactions'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; } }; 'reposts': { name: 'reposts'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; } }; }; }; @@ -51,10 +51,11 @@ export type introspection_types = { 'AnyAccessCondition': { kind: 'UNION'; name: 'AnyAccessCondition'; fields: {}; possibleTypes: 'AdvancedContractCondition' | 'BooleanAndCondition' | 'BooleanOrCondition' | 'CollectCondition' | 'EoaOwnershipCondition' | 'Erc20OwnershipCondition' | 'FollowCondition' | 'NftOwnershipCondition' | 'ProfileOwnershipCondition'; }; 'AnyMedia': { kind: 'UNION'; name: 'AnyMedia'; fields: {}; possibleTypes: 'MediaAudio' | 'MediaImage' | 'MediaVideo'; }; 'AnyPost': { kind: 'UNION'; name: 'AnyPost'; fields: {}; possibleTypes: 'Post' | 'Repost'; }; - 'App': { kind: 'OBJECT'; name: 'App'; fields: { 'address': { name: 'address'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'createdAt': { name: 'createdAt'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; 'defaultFeedAddress': { name: 'defaultFeedAddress'; type: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; } }; 'graphAddress': { name: 'graphAddress'; type: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; } }; 'metadata': { name: 'metadata'; type: { kind: 'OBJECT'; name: 'AppMetadata'; ofType: null; } }; 'namespaceAddress': { name: 'namespaceAddress'; type: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; } }; 'sponsorshipAddress': { name: 'sponsorshipAddress'; type: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; } }; 'treasuryAddress': { name: 'treasuryAddress'; type: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; } }; }; }; + 'App': { kind: 'OBJECT'; name: 'App'; fields: { 'address': { name: 'address'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'createdAt': { name: 'createdAt'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; 'defaultFeedAddress': { name: 'defaultFeedAddress'; type: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; } }; 'graphAddress': { name: 'graphAddress'; type: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; } }; 'metadata': { name: 'metadata'; type: { kind: 'OBJECT'; name: 'AppMetadata'; ofType: null; } }; 'namespaceAddress': { name: 'namespaceAddress'; type: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; } }; 'sourceStampVerificationEnabled': { name: 'sourceStampVerificationEnabled'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'sponsorshipAddress': { name: 'sponsorshipAddress'; type: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; } }; 'treasuryAddress': { name: 'treasuryAddress'; type: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; } }; }; }; 'AppMetadata': { kind: 'OBJECT'; name: 'AppMetadata'; fields: { 'description': { name: 'description'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'developer': { name: 'developer'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'logo': { name: 'logo'; type: { kind: 'SCALAR'; name: 'URI'; ofType: null; } }; 'name': { name: 'name'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'platforms': { name: 'platforms'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'AppMetadataLensPlatformsItem'; ofType: null; }; }; }; } }; 'privacyPolicy': { name: 'privacyPolicy'; type: { kind: 'SCALAR'; name: 'URI'; ofType: null; } }; 'termsOfService': { name: 'termsOfService'; type: { kind: 'SCALAR'; name: 'URI'; ofType: null; } }; 'url': { name: 'url'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'URI'; ofType: null; }; } }; }; }; 'AppMetadataLensPlatformsItem': { name: 'AppMetadataLensPlatformsItem'; enumValues: 'WEB' | 'IOS' | 'ANDROID'; }; 'AppRequest': { kind: 'INPUT_OBJECT'; name: 'AppRequest'; isOneOf: false; inputFields: [{ name: 'app'; type: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; defaultValue: null }, { name: 'txHash'; type: { kind: 'SCALAR'; name: 'TxHash'; ofType: null; }; defaultValue: null }]; }; + 'ApprovalGroupRule': { kind: 'OBJECT'; name: 'ApprovalGroupRule'; fields: { 'rule': { name: 'rule'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; }; }; 'AppsOrderBy': { name: 'AppsOrderBy'; enumValues: 'ALPHABETICAL' | 'LATEST_FIRST' | 'OLDEST_FIRST'; }; 'AppsRequest': { kind: 'INPUT_OBJECT'; name: 'AppsRequest'; isOneOf: false; inputFields: [{ name: 'pageSize'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'PageSize'; ofType: null; }; }; defaultValue: "FIFTY" }, { name: 'cursor'; type: { kind: 'SCALAR'; name: 'Cursor'; ofType: null; }; defaultValue: null }, { name: 'orderBy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'AppsOrderBy'; ofType: null; }; }; defaultValue: "LATEST_FIRST" }]; }; 'ArticleMetadata': { kind: 'OBJECT'; name: 'ArticleMetadata'; fields: { 'attachments': { name: 'attachments'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'AnyMedia'; ofType: null; }; }; }; } }; 'attributes': { name: 'attributes'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'MetadataAttribute'; ofType: null; }; }; }; } }; 'content': { name: 'content'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Encryptable'; ofType: null; }; } }; 'contentWarning': { name: 'contentWarning'; type: { kind: 'ENUM'; name: 'ContentWarning'; ofType: null; } }; 'encryptedWith': { name: 'encryptedWith'; type: { kind: 'UNION'; name: 'EncryptionStrategy'; ofType: null; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'MetadataId'; ofType: null; }; } }; 'locale': { name: 'locale'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Locale'; ofType: null; }; } }; 'mainContentFocus': { name: 'mainContentFocus'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'MainContentFocus'; ofType: null; }; } }; 'tags': { name: 'tags'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Tag'; ofType: null; }; }; } }; 'title': { name: 'title'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; }; }; @@ -86,6 +87,7 @@ export type introspection_types = { 'CanUnfollowRequest': { kind: 'INPUT_OBJECT'; name: 'CanUnfollowRequest'; isOneOf: false; inputFields: [{ name: 'graph'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }]; }; 'ChainId': unknown; 'ChallengeRequest': { kind: 'INPUT_OBJECT'; name: 'ChallengeRequest'; isOneOf: false; inputFields: [{ name: 'builder'; type: { kind: 'INPUT_OBJECT'; name: 'BuilderChallengeRequest'; ofType: null; }; defaultValue: null }, { name: 'accountManager'; type: { kind: 'INPUT_OBJECT'; name: 'AccountManagerChallengeRequest'; ofType: null; }; defaultValue: null }, { name: 'accountOwner'; type: { kind: 'INPUT_OBJECT'; name: 'AccountOwnerChallengeRequest'; ofType: null; }; defaultValue: null }, { name: 'onboardingUser'; type: { kind: 'INPUT_OBJECT'; name: 'OnboardingUserChallengeRequest'; ofType: null; }; defaultValue: null }]; }; + 'CharsetUsernameNamespaceRule': { kind: 'OBJECT'; name: 'CharsetUsernameNamespaceRule'; fields: { 'allowLatinLowercase': { name: 'allowLatinLowercase'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'allowLatinUppercase': { name: 'allowLatinUppercase'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'allowNumeric': { name: 'allowNumeric'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'cannotStartWith': { name: 'cannotStartWith'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'customAllowedCharset': { name: 'customAllowedCharset'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; }; } }; 'customDisallowedCharset': { name: 'customDisallowedCharset'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; }; } }; 'rule': { name: 'rule'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; }; }; 'CheckingInMetadata': { kind: 'OBJECT'; name: 'CheckingInMetadata'; fields: { 'address': { name: 'address'; type: { kind: 'OBJECT'; name: 'PhysicalAddress'; ofType: null; } }; 'attachments': { name: 'attachments'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'AnyMedia'; ofType: null; }; }; }; } }; 'attributes': { name: 'attributes'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'MetadataAttribute'; ofType: null; }; }; }; } }; 'content': { name: 'content'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Encryptable'; ofType: null; }; } }; 'contentWarning': { name: 'contentWarning'; type: { kind: 'ENUM'; name: 'ContentWarning'; ofType: null; } }; 'encryptedWith': { name: 'encryptedWith'; type: { kind: 'UNION'; name: 'EncryptionStrategy'; ofType: null; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'MetadataId'; ofType: null; }; } }; 'locale': { name: 'locale'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Locale'; ofType: null; }; } }; 'location': { name: 'location'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Encryptable'; ofType: null; }; } }; 'mainContentFocus': { name: 'mainContentFocus'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'MainContentFocus'; ofType: null; }; } }; 'position': { name: 'position'; type: { kind: 'SCALAR'; name: 'Encryptable'; ofType: null; } }; 'tags': { name: 'tags'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Tag'; ofType: null; }; }; } }; }; }; 'CollectActionInput': { kind: 'INPUT_OBJECT'; name: 'CollectActionInput'; isOneOf: false; inputFields: [{ name: 'simpleCollectAction'; type: { kind: 'INPUT_OBJECT'; name: 'SimpleCollectActionInput'; ofType: null; }; defaultValue: null }]; }; 'CollectCondition': { kind: 'OBJECT'; name: 'CollectCondition'; fields: { 'publicationId': { name: 'publicationId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'LegacyPublicationId'; ofType: null; }; } }; 'thisPublication': { name: 'thisPublication'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'type': { name: 'type'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; }; }; @@ -145,9 +147,11 @@ export type introspection_types = { 'ExpiredChallengeError': { kind: 'OBJECT'; name: 'ExpiredChallengeError'; fields: { 'reason': { name: 'reason'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; }; }; 'FailedTransactionStatus': { kind: 'OBJECT'; name: 'FailedTransactionStatus'; fields: { 'blockTimestamp': { name: 'blockTimestamp'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; 'reason': { name: 'reason'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; }; }; 'FeeFollowRuleInput': { kind: 'INPUT_OBJECT'; name: 'FeeFollowRuleInput'; isOneOf: false; inputFields: [{ name: 'amount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'AmountInput'; ofType: null; }; }; defaultValue: null }]; }; - 'Feed': { kind: 'OBJECT'; name: 'Feed'; fields: { 'address': { name: 'address'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'metadata': { name: 'metadata'; type: { kind: 'OBJECT'; name: 'FeedMetadata'; ofType: null; } }; }; }; + 'Feed': { kind: 'OBJECT'; name: 'Feed'; fields: { 'address': { name: 'address'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'metadata': { name: 'metadata'; type: { kind: 'OBJECT'; name: 'FeedMetadata'; ofType: null; } }; 'rules': { name: 'rules'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'FeedRulesConfig'; ofType: null; }; } }; }; }; 'FeedMetadata': { kind: 'OBJECT'; name: 'FeedMetadata'; fields: { 'description': { name: 'description'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'name': { name: 'name'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'title': { name: 'title'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; }; }; 'FeedRequest': { kind: 'INPUT_OBJECT'; name: 'FeedRequest'; isOneOf: false; inputFields: [{ name: 'feed'; type: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; defaultValue: null }, { name: 'txHash'; type: { kind: 'SCALAR'; name: 'TxHash'; ofType: null; }; defaultValue: null }]; }; + 'FeedRule': { kind: 'UNION'; name: 'FeedRule'; fields: {}; possibleTypes: 'GroupGatedFeedRule' | 'RestrictedSignersFeedRule' | 'SimplePaymentFeedRule' | 'TokenGatedFeedRule' | 'UnknownFeedRule' | 'UserBlockingRule'; }; + 'FeedRulesConfig': { kind: 'OBJECT'; name: 'FeedRulesConfig'; fields: { 'anyOf': { name: 'anyOf'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'FeedRule'; ofType: null; }; }; }; } }; 'required': { name: 'required'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'FeedRule'; ofType: null; }; }; }; } }; }; }; 'FeedRulesInput': { kind: 'INPUT_OBJECT'; name: 'FeedRulesInput'; isOneOf: false; inputFields: [{ name: 'unknownFeedRule'; type: { kind: 'INPUT_OBJECT'; name: 'UnknownFeedRuleInput'; ofType: null; }; defaultValue: null }]; }; 'FinishedTransactionStatus': { kind: 'OBJECT'; name: 'FinishedTransactionStatus'; fields: { 'blockTimestamp': { name: 'blockTimestamp'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; }; }; 'Float': unknown; @@ -156,10 +160,13 @@ export type introspection_types = { 'FollowPair': { kind: 'INPUT_OBJECT'; name: 'FollowPair'; isOneOf: false; inputFields: [{ name: 'graph'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: "\"0x9e7085a6cc3A02F6026817997cE44B26Ba4Df557\"" }, { name: 'follower'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'account'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }]; }; 'FollowResponse': { kind: 'OBJECT'; name: 'FollowResponse'; fields: { 'hash': { name: 'hash'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'TxHash'; ofType: null; }; } }; }; }; 'FollowResult': { kind: 'UNION'; name: 'FollowResult'; fields: {}; possibleTypes: 'FollowResponse' | 'SelfFundedTransactionRequest' | 'SponsoredTransactionRequest' | 'TransactionWillFail'; }; + 'FollowRule': { kind: 'UNION'; name: 'FollowRule'; fields: {}; possibleTypes: 'SimplePaymentFollowRule' | 'TokenGatedFollowRule' | 'UnknownFollowRule'; }; + 'FollowRulesConfig': { kind: 'OBJECT'; name: 'FollowRulesConfig'; fields: { 'anyOf': { name: 'anyOf'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'FollowRule'; ofType: null; }; }; }; } }; 'required': { name: 'required'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'FollowRule'; ofType: null; }; }; }; } }; }; }; 'FollowRulesInput': { kind: 'INPUT_OBJECT'; name: 'FollowRulesInput'; isOneOf: false; inputFields: [{ name: 'feeFollowRule'; type: { kind: 'INPUT_OBJECT'; name: 'FeeFollowRuleInput'; ofType: null; }; defaultValue: null }, { name: 'unknownFollowRule'; type: { kind: 'INPUT_OBJECT'; name: 'UnknownFollowRuleInput'; ofType: null; }; defaultValue: null }]; }; 'FollowStatusRequest': { kind: 'INPUT_OBJECT'; name: 'FollowStatusRequest'; isOneOf: false; inputFields: [{ name: 'pairs'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'FollowPair'; ofType: null; }; }; }; }; defaultValue: null }]; }; 'FollowStatusResult': { kind: 'OBJECT'; name: 'FollowStatusResult'; fields: { 'account': { name: 'account'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'follower': { name: 'follower'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'graph': { name: 'graph'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'isFollowing': { name: 'isFollowing'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'BooleanValue'; ofType: null; }; } }; }; }; 'Follower': { kind: 'OBJECT'; name: 'Follower'; fields: { 'followedOn': { name: 'followedOn'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; 'follower': { name: 'follower'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Account'; ofType: null; }; } }; }; }; + 'FollowerOnlyPostRule': { kind: 'OBJECT'; name: 'FollowerOnlyPostRule'; fields: { 'graph': { name: 'graph'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'quotesRestricted': { name: 'quotesRestricted'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'repliesRestricted': { name: 'repliesRestricted'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'repostsRestricted': { name: 'repostsRestricted'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'rule': { name: 'rule'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; }; }; 'FollowersOrderBy': { name: 'FollowersOrderBy'; enumValues: 'DESC' | 'ASC' | 'ACCOUNT_SCORE'; }; 'FollowersRequest': { kind: 'INPUT_OBJECT'; name: 'FollowersRequest'; isOneOf: false; inputFields: [{ name: 'pageSize'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'PageSize'; ofType: null; }; }; defaultValue: "FIFTY" }, { name: 'cursor'; type: { kind: 'SCALAR'; name: 'Cursor'; ofType: null; }; defaultValue: null }, { name: 'account'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'forGraphs'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; }; }; defaultValue: "[\"0x9e7085a6cc3A02F6026817997cE44B26Ba4Df557\"]" }, { name: 'orderBy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'FollowersOrderBy'; ofType: null; }; }; defaultValue: "DESC" }]; }; 'FollowersYouKnowOrderBy': { name: 'FollowersYouKnowOrderBy'; enumValues: 'DESC' | 'ASC'; }; @@ -169,15 +176,20 @@ export type introspection_types = { 'FollowingRequest': { kind: 'INPUT_OBJECT'; name: 'FollowingRequest'; isOneOf: false; inputFields: [{ name: 'pageSize'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'PageSize'; ofType: null; }; }; defaultValue: "FIFTY" }, { name: 'cursor'; type: { kind: 'SCALAR'; name: 'Cursor'; ofType: null; }; defaultValue: null }, { name: 'account'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'forGraphs'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; }; }; defaultValue: "[\"0x9e7085a6cc3A02F6026817997cE44B26Ba4Df557\"]" }, { name: 'orderBy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'FollowingOrderBy'; ofType: null; }; }; defaultValue: "DESC" }]; }; 'ForbiddenError': { kind: 'OBJECT'; name: 'ForbiddenError'; fields: { 'reason': { name: 'reason'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; }; }; 'GeneratedNotificationId': unknown; - 'Graph': { kind: 'OBJECT'; name: 'Graph'; fields: { 'address': { name: 'address'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'metadata': { name: 'metadata'; type: { kind: 'OBJECT'; name: 'GraphMetadata'; ofType: null; } }; }; }; + 'Graph': { kind: 'OBJECT'; name: 'Graph'; fields: { 'address': { name: 'address'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'metadata': { name: 'metadata'; type: { kind: 'OBJECT'; name: 'GraphMetadata'; ofType: null; } }; 'rules': { name: 'rules'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'GraphRulesConfig'; ofType: null; }; } }; }; }; 'GraphMetadata': { kind: 'OBJECT'; name: 'GraphMetadata'; fields: { 'description': { name: 'description'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'name': { name: 'name'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'title': { name: 'title'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; }; }; 'GraphRequest': { kind: 'INPUT_OBJECT'; name: 'GraphRequest'; isOneOf: false; inputFields: [{ name: 'graph'; type: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; defaultValue: null }, { name: 'txHash'; type: { kind: 'SCALAR'; name: 'TxHash'; ofType: null; }; defaultValue: null }]; }; + 'GraphRule': { kind: 'UNION'; name: 'GraphRule'; fields: {}; possibleTypes: 'RestrictedSignerGraphRule' | 'TokenGatedGraphRule' | 'UnknownGraphRule' | 'UserBlockingRule'; }; + 'GraphRulesConfig': { kind: 'OBJECT'; name: 'GraphRulesConfig'; fields: { 'anyOf': { name: 'anyOf'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'GraphRule'; ofType: null; }; }; }; } }; 'required': { name: 'required'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'GraphRule'; ofType: null; }; }; }; } }; }; }; 'GraphRulesInput': { kind: 'INPUT_OBJECT'; name: 'GraphRulesInput'; isOneOf: false; inputFields: [{ name: 'unknownGraphRule'; type: { kind: 'INPUT_OBJECT'; name: 'UnknownGraphRuleInput'; ofType: null; }; defaultValue: null }]; }; - 'Group': { kind: 'OBJECT'; name: 'Group'; fields: { 'address': { name: 'address'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'metadata': { name: 'metadata'; type: { kind: 'OBJECT'; name: 'GroupMetadata'; ofType: null; } }; 'timestamp': { name: 'timestamp'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; }; }; + 'Group': { kind: 'OBJECT'; name: 'Group'; fields: { 'address': { name: 'address'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'metadata': { name: 'metadata'; type: { kind: 'OBJECT'; name: 'GroupMetadata'; ofType: null; } }; 'rules': { name: 'rules'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'GroupRulesConfig'; ofType: null; }; } }; 'timestamp': { name: 'timestamp'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; }; }; + 'GroupGatedFeedRule': { kind: 'OBJECT'; name: 'GroupGatedFeedRule'; fields: { 'group': { name: 'group'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Group'; ofType: null; }; } }; 'rule': { name: 'rule'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; }; }; 'GroupMembersOrderBy': { name: 'GroupMembersOrderBy'; enumValues: 'LAST_JOINED' | 'FIRST_JOINED' | 'ACCOUNT_SCORE'; }; 'GroupMembersRequest': { kind: 'INPUT_OBJECT'; name: 'GroupMembersRequest'; isOneOf: false; inputFields: [{ name: 'group'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'orderBy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'GroupMembersOrderBy'; ofType: null; }; }; defaultValue: "LAST_JOINED" }, { name: 'pageSize'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'PageSize'; ofType: null; }; }; defaultValue: "FIFTY" }, { name: 'cursor'; type: { kind: 'SCALAR'; name: 'Cursor'; ofType: null; }; defaultValue: null }]; }; 'GroupMetadata': { kind: 'OBJECT'; name: 'GroupMetadata'; fields: { 'description': { name: 'description'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'icon': { name: 'icon'; type: { kind: 'SCALAR'; name: 'URI'; ofType: null; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'name': { name: 'name'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'slug': { name: 'slug'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; }; }; 'GroupRequest': { kind: 'INPUT_OBJECT'; name: 'GroupRequest'; isOneOf: false; inputFields: [{ name: 'group'; type: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; defaultValue: null }, { name: 'txHash'; type: { kind: 'SCALAR'; name: 'TxHash'; ofType: null; }; defaultValue: null }]; }; + 'GroupRule': { kind: 'UNION'; name: 'GroupRule'; fields: {}; possibleTypes: 'ApprovalGroupRule' | 'SimplePaymentGroupRule' | 'TokenGatedGroupRule' | 'UnknownGroupRule'; }; + 'GroupRulesConfig': { kind: 'OBJECT'; name: 'GroupRulesConfig'; fields: { 'anyOf': { name: 'anyOf'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'GroupRule'; ofType: null; }; }; }; } }; 'required': { name: 'required'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'GroupRule'; ofType: null; }; }; }; } }; }; }; 'GroupsFilter': { kind: 'INPUT_OBJECT'; name: 'GroupsFilter'; isOneOf: false; inputFields: [{ name: 'name'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; }; defaultValue: null }]; }; 'GroupsOrderBy': { name: 'GroupsOrderBy'; enumValues: 'LATEST_JOINED' | 'NAME'; }; 'GroupsRequest': { kind: 'INPUT_OBJECT'; name: 'GroupsRequest'; isOneOf: false; inputFields: [{ name: 'member'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'filter'; type: { kind: 'INPUT_OBJECT'; name: 'GroupsFilter'; ofType: null; }; defaultValue: null }, { name: 'orderBy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'GroupsOrderBy'; ofType: null; }; }; defaultValue: "LATEST_JOINED" }, { name: 'pageSize'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'PageSize'; ofType: null; }; }; defaultValue: "FIFTY" }, { name: 'cursor'; type: { kind: 'SCALAR'; name: 'Cursor'; ofType: null; }; defaultValue: null }]; }; @@ -202,6 +214,7 @@ export type introspection_types = { 'LegacyProfileId': unknown; 'LegacyPublicationId': unknown; 'LegacyRefreshToken': unknown; + 'LengthUsernameNamespaceRule': { kind: 'OBJECT'; name: 'LengthUsernameNamespaceRule'; fields: { 'maxLength': { name: 'maxLength'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; } }; 'minLength': { name: 'minLength'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; } }; 'rule': { name: 'rule'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; }; }; 'LinkMetadata': { kind: 'OBJECT'; name: 'LinkMetadata'; fields: { 'attachments': { name: 'attachments'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'AnyMedia'; ofType: null; }; }; }; } }; 'attributes': { name: 'attributes'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'MetadataAttribute'; ofType: null; }; }; }; } }; 'content': { name: 'content'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Encryptable'; ofType: null; }; } }; 'contentWarning': { name: 'contentWarning'; type: { kind: 'ENUM'; name: 'ContentWarning'; ofType: null; } }; 'encryptedWith': { name: 'encryptedWith'; type: { kind: 'UNION'; name: 'EncryptionStrategy'; ofType: null; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'MetadataId'; ofType: null; }; } }; 'locale': { name: 'locale'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Locale'; ofType: null; }; } }; 'mainContentFocus': { name: 'mainContentFocus'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'MainContentFocus'; ofType: null; }; } }; 'sharingLink': { name: 'sharingLink'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Encryptable'; ofType: null; }; } }; 'tags': { name: 'tags'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Tag'; ofType: null; }; }; } }; }; }; 'LitProtocolEncryptionStrategy': { kind: 'OBJECT'; name: 'LitProtocolEncryptionStrategy'; fields: { 'accessCondition': { name: 'accessCondition'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TopLevelAccessCondition'; ofType: null; }; } }; 'encryptedPaths': { name: 'encryptedPaths'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; }; }; } }; 'encryptionKey': { name: 'encryptionKey'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; }; }; 'LivestreamMetadata': { kind: 'OBJECT'; name: 'LivestreamMetadata'; fields: { 'attachments': { name: 'attachments'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'AnyMedia'; ofType: null; }; }; }; } }; 'attributes': { name: 'attributes'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'MetadataAttribute'; ofType: null; }; }; }; } }; 'checkLiveApi': { name: 'checkLiveApi'; type: { kind: 'SCALAR'; name: 'Encryptable'; ofType: null; } }; 'content': { name: 'content'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Encryptable'; ofType: null; }; } }; 'contentWarning': { name: 'contentWarning'; type: { kind: 'ENUM'; name: 'ContentWarning'; ofType: null; } }; 'encryptedWith': { name: 'encryptedWith'; type: { kind: 'UNION'; name: 'EncryptionStrategy'; ofType: null; } }; 'endsAt': { name: 'endsAt'; type: { kind: 'SCALAR'; name: 'Encryptable'; ofType: null; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'MetadataId'; ofType: null; }; } }; 'liveUrl': { name: 'liveUrl'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Encryptable'; ofType: null; }; } }; 'locale': { name: 'locale'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Locale'; ofType: null; }; } }; 'mainContentFocus': { name: 'mainContentFocus'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'MainContentFocus'; ofType: null; }; } }; 'playbackUrl': { name: 'playbackUrl'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Encryptable'; ofType: null; }; } }; 'startsAt': { name: 'startsAt'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Encryptable'; ofType: null; }; } }; 'tags': { name: 'tags'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Tag'; ofType: null; }; }; } }; 'title': { name: 'title'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; }; }; @@ -262,7 +275,7 @@ export type introspection_types = { 'PaymasterParams': { kind: 'OBJECT'; name: 'PaymasterParams'; fields: { 'paymaster': { name: 'paymaster'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'paymasterInput': { name: 'paymasterInput'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'BlockchainData'; ofType: null; }; } }; }; }; 'PendingTransactionStatus': { kind: 'OBJECT'; name: 'PendingTransactionStatus'; fields: { 'blockTimestamp': { name: 'blockTimestamp'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; }; }; 'PhysicalAddress': { kind: 'OBJECT'; name: 'PhysicalAddress'; fields: { 'country': { name: 'country'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Encryptable'; ofType: null; }; } }; 'formatted': { name: 'formatted'; type: { kind: 'SCALAR'; name: 'Encryptable'; ofType: null; } }; 'locality': { name: 'locality'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Encryptable'; ofType: null; }; } }; 'postalCode': { name: 'postalCode'; type: { kind: 'SCALAR'; name: 'Encryptable'; ofType: null; } }; 'region': { name: 'region'; type: { kind: 'SCALAR'; name: 'Encryptable'; ofType: null; } }; 'streetAddress': { name: 'streetAddress'; type: { kind: 'SCALAR'; name: 'Encryptable'; ofType: null; } }; }; }; - 'Post': { kind: 'OBJECT'; name: 'Post'; fields: { 'actions': { name: 'actions'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'PostAction'; ofType: null; }; }; }; } }; 'app': { name: 'app'; type: { kind: 'OBJECT'; name: 'App'; ofType: null; } }; 'author': { name: 'author'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Account'; ofType: null; }; } }; 'commentOn': { name: 'commentOn'; type: { kind: 'UNION'; name: 'NestedPost'; ofType: null; } }; 'feed': { name: 'feed'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Feed'; ofType: null; }; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'PostId'; ofType: null; }; } }; 'isDeleted': { name: 'isDeleted'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'isEdited': { name: 'isEdited'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'mentions': { name: 'mentions'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'AccountMention'; ofType: null; }; }; }; } }; 'metadata': { name: 'metadata'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'PostMetadata'; ofType: null; }; } }; 'operations': { name: 'operations'; type: { kind: 'OBJECT'; name: 'LoggedInPostOperations'; ofType: null; } }; 'quoteOf': { name: 'quoteOf'; type: { kind: 'UNION'; name: 'NestedPost'; ofType: null; } }; 'root': { name: 'root'; type: { kind: 'UNION'; name: 'NestedPost'; ofType: null; } }; 'stats': { name: 'stats'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PostStats'; ofType: null; }; } }; 'timestamp': { name: 'timestamp'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; }; }; + 'Post': { kind: 'OBJECT'; name: 'Post'; fields: { 'actions': { name: 'actions'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'PostAction'; ofType: null; }; }; }; } }; 'app': { name: 'app'; type: { kind: 'OBJECT'; name: 'App'; ofType: null; } }; 'author': { name: 'author'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Account'; ofType: null; }; } }; 'commentOn': { name: 'commentOn'; type: { kind: 'UNION'; name: 'NestedPost'; ofType: null; } }; 'feed': { name: 'feed'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Feed'; ofType: null; }; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'PostId'; ofType: null; }; } }; 'isDeleted': { name: 'isDeleted'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'isEdited': { name: 'isEdited'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'mentions': { name: 'mentions'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'AccountMention'; ofType: null; }; }; }; } }; 'metadata': { name: 'metadata'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'PostMetadata'; ofType: null; }; } }; 'operations': { name: 'operations'; type: { kind: 'OBJECT'; name: 'LoggedInPostOperations'; ofType: null; } }; 'quoteOf': { name: 'quoteOf'; type: { kind: 'UNION'; name: 'NestedPost'; ofType: null; } }; 'root': { name: 'root'; type: { kind: 'UNION'; name: 'NestedPost'; ofType: null; } }; 'rules': { name: 'rules'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PostRulesConfig'; ofType: null; }; } }; 'stats': { name: 'stats'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PostStats'; ofType: null; }; } }; 'timestamp': { name: 'timestamp'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; }; }; 'PostAccountPair': { kind: 'INPUT_OBJECT'; name: 'PostAccountPair'; isOneOf: false; inputFields: [{ name: 'post'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'PostId'; ofType: null; }; }; defaultValue: null }, { name: 'account'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }]; }; 'PostAction': { kind: 'UNION'; name: 'PostAction'; fields: {}; possibleTypes: 'SimpleCollectActionSettings' | 'UnknownActionSettings'; }; 'PostActionCategoryType': { name: 'PostActionCategoryType'; enumValues: 'COLLECT'; }; @@ -290,6 +303,8 @@ export type introspection_types = { 'PostRequest': { kind: 'INPUT_OBJECT'; name: 'PostRequest'; isOneOf: false; inputFields: [{ name: 'post'; type: { kind: 'SCALAR'; name: 'PostId'; ofType: null; }; defaultValue: null }, { name: 'txHash'; type: { kind: 'SCALAR'; name: 'TxHash'; ofType: null; }; defaultValue: null }]; }; 'PostResponse': { kind: 'OBJECT'; name: 'PostResponse'; fields: { 'hash': { name: 'hash'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'TxHash'; ofType: null; }; } }; }; }; 'PostResult': { kind: 'UNION'; name: 'PostResult'; fields: {}; possibleTypes: 'PostResponse' | 'SelfFundedTransactionRequest' | 'SponsoredTransactionRequest' | 'TransactionWillFail'; }; + 'PostRule': { kind: 'UNION'; name: 'PostRule'; fields: {}; possibleTypes: 'FollowerOnlyPostRule' | 'UnknownPostRule'; }; + 'PostRulesConfig': { kind: 'OBJECT'; name: 'PostRulesConfig'; fields: { 'anyOf': { name: 'anyOf'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'PostRule'; ofType: null; }; }; }; } }; 'required': { name: 'required'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'PostRule'; ofType: null; }; }; }; } }; }; }; 'PostStats': { kind: 'OBJECT'; name: 'PostStats'; fields: { 'bookmarks': { name: 'bookmarks'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; } }; 'collects': { name: 'collects'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; } }; 'comments': { name: 'comments'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; } }; 'quotes': { name: 'quotes'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; } }; 'reactions': { name: 'reactions'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; } }; 'reposts': { name: 'reposts'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; } }; }; }; 'PostTagsOrderBy': { name: 'PostTagsOrderBy'; enumValues: 'MOST_POPULAR' | 'ALPHABETICAL'; }; 'PostTagsRequest': { kind: 'INPUT_OBJECT'; name: 'PostTagsRequest'; isOneOf: false; inputFields: [{ name: 'forFeeds'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; }; }; defaultValue: null }, { name: 'orderBy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'PostTagsOrderBy'; ofType: null; }; }; defaultValue: "MOST_POPULAR" }, { name: 'pageSize'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'PageSize'; ofType: null; }; }; defaultValue: "FIFTY" }, { name: 'cursor'; type: { kind: 'SCALAR'; name: 'Cursor'; ofType: null; }; defaultValue: null }]; }; @@ -315,8 +330,12 @@ export type introspection_types = { 'ReportPostRequest': { kind: 'INPUT_OBJECT'; name: 'ReportPostRequest'; isOneOf: false; inputFields: [{ name: 'post'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'PostId'; ofType: null; }; }; defaultValue: null }, { name: 'reason'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'PostReportReason'; ofType: null; }; }; defaultValue: null }, { name: 'additionalComment'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; }; defaultValue: null }]; }; 'Repost': { kind: 'OBJECT'; name: 'Repost'; fields: { 'app': { name: 'app'; type: { kind: 'OBJECT'; name: 'App'; ofType: null; } }; 'author': { name: 'author'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Account'; ofType: null; }; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'PostId'; ofType: null; }; } }; 'isDeleted': { name: 'isDeleted'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'repostOf': { name: 'repostOf'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Post'; ofType: null; }; } }; 'timestamp': { name: 'timestamp'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; }; }; 'RepostNotification': { kind: 'OBJECT'; name: 'RepostNotification'; fields: { 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'GeneratedNotificationId'; ofType: null; }; } }; 'post': { name: 'post'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Post'; ofType: null; }; } }; 'reposts': { name: 'reposts'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'NotificationAccountRepost'; ofType: null; }; }; }; } }; }; }; + 'RestrictedSigner': { kind: 'OBJECT'; name: 'RestrictedSigner'; fields: { 'label': { name: 'label'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'signer': { name: 'signer'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; }; }; + 'RestrictedSignerGraphRule': { kind: 'OBJECT'; name: 'RestrictedSignerGraphRule'; fields: { 'rule': { name: 'rule'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'signers': { name: 'signers'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'RestrictedSigner'; ofType: null; }; }; }; } }; }; }; + 'RestrictedSignersFeedRule': { kind: 'OBJECT'; name: 'RestrictedSignersFeedRule'; fields: { 'rule': { name: 'rule'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'signers': { name: 'signers'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'RestrictedSigner'; ofType: null; }; }; }; } }; }; }; 'RevokeAuthenticationRequest': { kind: 'INPUT_OBJECT'; name: 'RevokeAuthenticationRequest'; isOneOf: false; inputFields: [{ name: 'authenticationId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'UUID'; ofType: null; }; }; defaultValue: null }]; }; 'RolloverRefreshRequest': { kind: 'INPUT_OBJECT'; name: 'RolloverRefreshRequest'; isOneOf: false; inputFields: [{ name: 'app'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'refreshToken'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'LegacyRefreshToken'; ofType: null; }; }; defaultValue: null }]; }; + 'RuleInput': { kind: 'INPUT_OBJECT'; name: 'RuleInput'; isOneOf: false; inputFields: [{ name: 'rules'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; }; }; defaultValue: null }]; }; 'SearchGroupsRequest': { kind: 'INPUT_OBJECT'; name: 'SearchGroupsRequest'; isOneOf: false; inputFields: [{ name: 'query'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; }; defaultValue: null }, { name: 'pageSize'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'PageSize'; ofType: null; }; }; defaultValue: "FIFTY" }, { name: 'cursor'; type: { kind: 'SCALAR'; name: 'Cursor'; ofType: null; }; defaultValue: null }]; }; 'SearchPostsFilter': { kind: 'INPUT_OBJECT'; name: 'SearchPostsFilter'; isOneOf: false; inputFields: [{ name: 'postTypes'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'PostType'; ofType: null; }; }; }; defaultValue: null }, { name: 'metadata'; type: { kind: 'INPUT_OBJECT'; name: 'PostMetadataFilter'; ofType: null; }; defaultValue: null }]; }; 'SearchPostsRequest': { kind: 'INPUT_OBJECT'; name: 'SearchPostsRequest'; isOneOf: false; inputFields: [{ name: 'query'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; }; defaultValue: null }, { name: 'forFeeds'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; }; }; defaultValue: "[\"0x83C8D9e96Da13aaD12E068F48C639C7671D2a5C7\"]" }, { name: 'filter'; type: { kind: 'INPUT_OBJECT'; name: 'SearchPostsFilter'; ofType: null; }; defaultValue: null }, { name: 'pageSize'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'PageSize'; ofType: null; }; }; defaultValue: "FIFTY" }, { name: 'cursor'; type: { kind: 'SCALAR'; name: 'Cursor'; ofType: null; }; defaultValue: null }]; }; @@ -329,6 +348,10 @@ export type introspection_types = { 'SignedAuthChallenge': { kind: 'INPUT_OBJECT'; name: 'SignedAuthChallenge'; isOneOf: false; inputFields: [{ name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'UUID'; ofType: null; }; }; defaultValue: null }, { name: 'signature'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Signature'; ofType: null; }; }; defaultValue: null }]; }; 'SimpleCollectActionInput': { kind: 'INPUT_OBJECT'; name: 'SimpleCollectActionInput'; isOneOf: false; inputFields: [{ name: 'amount'; type: { kind: 'INPUT_OBJECT'; name: 'AmountInput'; ofType: null; }; defaultValue: null }, { name: 'referralFee'; type: { kind: 'SCALAR'; name: 'Float'; ofType: null; }; defaultValue: null }, { name: 'recipient'; type: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; defaultValue: null }, { name: 'collectLimit'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; }; defaultValue: null }, { name: 'followerOnly'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; }; defaultValue: null }, { name: 'endsAt'; type: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; defaultValue: null }, { name: 'recipients'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'RecipientDataInput'; ofType: null; }; }; }; defaultValue: null }]; }; 'SimpleCollectActionSettings': { kind: 'OBJECT'; name: 'SimpleCollectActionSettings'; fields: { 'amount': { name: 'amount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Amount'; ofType: null; }; } }; 'collectLimit': { name: 'collectLimit'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'collectNft': { name: 'collectNft'; type: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; } }; 'contract': { name: 'contract'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'NetworkAddress'; ofType: null; }; } }; 'endsAt': { name: 'endsAt'; type: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; } }; 'followerOnly': { name: 'followerOnly'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'recipient': { name: 'recipient'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'recipients': { name: 'recipients'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'RecipientDataOutput'; ofType: null; }; }; }; } }; 'referralFee': { name: 'referralFee'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Float'; ofType: null; }; } }; }; }; + 'SimplePaymentFeedRule': { kind: 'OBJECT'; name: 'SimplePaymentFeedRule'; fields: { 'amount': { name: 'amount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Amount'; ofType: null; }; } }; 'recipient': { name: 'recipient'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'rule': { name: 'rule'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; }; }; + 'SimplePaymentFollowRule': { kind: 'OBJECT'; name: 'SimplePaymentFollowRule'; fields: { 'amount': { name: 'amount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Amount'; ofType: null; }; } }; 'recipient': { name: 'recipient'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'rule': { name: 'rule'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; }; }; + 'SimplePaymentGroupRule': { kind: 'OBJECT'; name: 'SimplePaymentGroupRule'; fields: { 'amount': { name: 'amount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Amount'; ofType: null; }; } }; 'recipient': { name: 'recipient'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'rule': { name: 'rule'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; }; }; + 'SimplePaymentUsernameNamespaceRule': { kind: 'OBJECT'; name: 'SimplePaymentUsernameNamespaceRule'; fields: { 'amount': { name: 'amount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Amount'; ofType: null; }; } }; 'recipient': { name: 'recipient'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'rule': { name: 'rule'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; }; }; 'SpaceMetadata': { kind: 'OBJECT'; name: 'SpaceMetadata'; fields: { 'attachments': { name: 'attachments'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'AnyMedia'; ofType: null; }; }; }; } }; 'attributes': { name: 'attributes'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'MetadataAttribute'; ofType: null; }; }; }; } }; 'content': { name: 'content'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Encryptable'; ofType: null; }; } }; 'contentWarning': { name: 'contentWarning'; type: { kind: 'ENUM'; name: 'ContentWarning'; ofType: null; } }; 'encryptedWith': { name: 'encryptedWith'; type: { kind: 'UNION'; name: 'EncryptionStrategy'; ofType: null; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'MetadataId'; ofType: null; }; } }; 'link': { name: 'link'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Encryptable'; ofType: null; }; } }; 'locale': { name: 'locale'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Locale'; ofType: null; }; } }; 'mainContentFocus': { name: 'mainContentFocus'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'MainContentFocus'; ofType: null; }; } }; 'startsAt': { name: 'startsAt'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Encryptable'; ofType: null; }; } }; 'tags': { name: 'tags'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Tag'; ofType: null; }; }; } }; 'title': { name: 'title'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; }; }; 'SponsorLimitType': { name: 'SponsorLimitType'; enumValues: 'HOUR' | 'DAY' | 'WEEK' | 'MONTH'; }; 'SponsoredFallbackReason': { name: 'SponsoredFallbackReason'; enumValues: 'SIGNLESS_DISABLED' | 'SIGNLESS_FAILED'; }; @@ -350,6 +373,12 @@ export type introspection_types = { 'TimelineHighlightsRequest': { kind: 'INPUT_OBJECT'; name: 'TimelineHighlightsRequest'; isOneOf: false; inputFields: [{ name: 'account'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'forFeeds'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; }; }; defaultValue: "[\"0x83C8D9e96Da13aaD12E068F48C639C7671D2a5C7\"]" }, { name: 'filter'; type: { kind: 'INPUT_OBJECT'; name: 'TimelineHighlightsFilter'; ofType: null; }; defaultValue: null }, { name: 'pageSize'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'PageSize'; ofType: null; }; }; defaultValue: "FIFTY" }, { name: 'cursor'; type: { kind: 'SCALAR'; name: 'Cursor'; ofType: null; }; defaultValue: null }]; }; 'TimelineItem': { kind: 'OBJECT'; name: 'TimelineItem'; fields: { 'comments': { name: 'comments'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Post'; ofType: null; }; }; }; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'UUID'; ofType: null; }; } }; 'primary': { name: 'primary'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Post'; ofType: null; }; } }; 'reposts': { name: 'reposts'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Post'; ofType: null; }; }; }; } }; }; }; 'TimelineRequest': { kind: 'INPUT_OBJECT'; name: 'TimelineRequest'; isOneOf: false; inputFields: [{ name: 'account'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'forFeeds'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; }; }; defaultValue: "[\"0x83C8D9e96Da13aaD12E068F48C639C7671D2a5C7\"]" }, { name: 'filter'; type: { kind: 'INPUT_OBJECT'; name: 'TimelineFilter'; ofType: null; }; defaultValue: null }, { name: 'cursor'; type: { kind: 'SCALAR'; name: 'Cursor'; ofType: null; }; defaultValue: null }]; }; + 'TokenGatedFeedRule': { kind: 'OBJECT'; name: 'TokenGatedFeedRule'; fields: { 'amount': { name: 'amount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Amount'; ofType: null; }; } }; 'rule': { name: 'rule'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'token': { name: 'token'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'tokenStandard': { name: 'tokenStandard'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'TokenStandard'; ofType: null; }; } }; 'typeId': { name: 'typeId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'BigInt'; ofType: null; }; } }; }; }; + 'TokenGatedFollowRule': { kind: 'OBJECT'; name: 'TokenGatedFollowRule'; fields: { 'amount': { name: 'amount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Amount'; ofType: null; }; } }; 'rule': { name: 'rule'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'token': { name: 'token'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'tokenStandard': { name: 'tokenStandard'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'TokenStandard'; ofType: null; }; } }; 'typeId': { name: 'typeId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'BigInt'; ofType: null; }; } }; }; }; + 'TokenGatedGraphRule': { kind: 'OBJECT'; name: 'TokenGatedGraphRule'; fields: { 'amount': { name: 'amount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Amount'; ofType: null; }; } }; 'rule': { name: 'rule'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'token': { name: 'token'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'tokenStandard': { name: 'tokenStandard'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'TokenStandard'; ofType: null; }; } }; 'typeId': { name: 'typeId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'BigInt'; ofType: null; }; } }; }; }; + 'TokenGatedGroupRule': { kind: 'OBJECT'; name: 'TokenGatedGroupRule'; fields: { 'amount': { name: 'amount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Amount'; ofType: null; }; } }; 'rule': { name: 'rule'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'token': { name: 'token'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'tokenStandard': { name: 'tokenStandard'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'TokenStandard'; ofType: null; }; } }; 'typeId': { name: 'typeId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'BigInt'; ofType: null; }; } }; }; }; + 'TokenGatedUsernameNamespaceRule': { kind: 'OBJECT'; name: 'TokenGatedUsernameNamespaceRule'; fields: { 'amount': { name: 'amount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Amount'; ofType: null; }; } }; 'rule': { name: 'rule'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'token': { name: 'token'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'tokenStandard': { name: 'tokenStandard'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'TokenStandard'; ofType: null; }; } }; 'typeId': { name: 'typeId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'BigInt'; ofType: null; }; } }; }; }; + 'TokenStandard': { name: 'TokenStandard'; enumValues: 'ERC_20' | 'ERC_721' | 'ERC_1155'; }; 'TopLevelAccessCondition': { kind: 'OBJECT'; name: 'TopLevelAccessCondition'; fields: { 'criteria': { name: 'criteria'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'AnyAccessCondition'; ofType: null; }; }; }; } }; 'type': { name: 'type'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; }; }; 'TransactionMetadata': { kind: 'OBJECT'; name: 'TransactionMetadata'; fields: { 'attachments': { name: 'attachments'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'AnyMedia'; ofType: null; }; }; }; } }; 'attributes': { name: 'attributes'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'MetadataAttribute'; ofType: null; }; }; }; } }; 'chainId': { name: 'chainId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ChainId'; ofType: null; }; } }; 'content': { name: 'content'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Encryptable'; ofType: null; }; } }; 'contentWarning': { name: 'contentWarning'; type: { kind: 'ENUM'; name: 'ContentWarning'; ofType: null; } }; 'encryptedWith': { name: 'encryptedWith'; type: { kind: 'UNION'; name: 'EncryptionStrategy'; ofType: null; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'MetadataId'; ofType: null; }; } }; 'locale': { name: 'locale'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Locale'; ofType: null; }; } }; 'mainContentFocus': { name: 'mainContentFocus'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'MainContentFocus'; ofType: null; }; } }; 'tags': { name: 'tags'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Tag'; ofType: null; }; }; } }; 'txHash': { name: 'txHash'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Encryptable'; ofType: null; }; } }; 'type': { name: 'type'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'TransactionType'; ofType: null; }; } }; }; }; 'TransactionStatusRequest': { kind: 'INPUT_OBJECT'; name: 'TransactionStatusRequest'; isOneOf: false; inputFields: [{ name: 'txHash'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'TxHash'; ofType: null; }; }; defaultValue: null }]; }; @@ -381,16 +410,25 @@ export type introspection_types = { 'UnknownAction': { kind: 'OBJECT'; name: 'UnknownAction'; fields: { 'contract': { name: 'contract'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'NetworkAddress'; ofType: null; }; } }; 'name': { name: 'name'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; }; }; 'UnknownActionInput': { kind: 'INPUT_OBJECT'; name: 'UnknownActionInput'; isOneOf: false; inputFields: [{ name: 'address'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'data'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; }; defaultValue: null }]; }; 'UnknownActionSettings': { kind: 'OBJECT'; name: 'UnknownActionSettings'; fields: { 'collectNft': { name: 'collectNft'; type: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; } }; 'contract': { name: 'contract'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'NetworkAddress'; ofType: null; }; } }; 'initializeCalldata': { name: 'initializeCalldata'; type: { kind: 'SCALAR'; name: 'BlockchainData'; ofType: null; } }; 'initializeResultData': { name: 'initializeResultData'; type: { kind: 'SCALAR'; name: 'BlockchainData'; ofType: null; } }; 'verified': { name: 'verified'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; }; }; + 'UnknownFeedRule': { kind: 'OBJECT'; name: 'UnknownFeedRule'; fields: { 'configData': { name: 'configData'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'BlockchainData'; ofType: null; }; } }; 'rule': { name: 'rule'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; }; }; 'UnknownFeedRuleInput': { kind: 'INPUT_OBJECT'; name: 'UnknownFeedRuleInput'; isOneOf: false; inputFields: [{ name: 'address'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'data'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'BlockchainData'; ofType: null; }; }; defaultValue: null }]; }; + 'UnknownFollowRule': { kind: 'OBJECT'; name: 'UnknownFollowRule'; fields: { 'configData': { name: 'configData'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'BlockchainData'; ofType: null; }; } }; 'rule': { name: 'rule'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; }; }; 'UnknownFollowRuleInput': { kind: 'INPUT_OBJECT'; name: 'UnknownFollowRuleInput'; isOneOf: false; inputFields: [{ name: 'address'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'data'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'BlockchainData'; ofType: null; }; }; defaultValue: null }]; }; + 'UnknownGraphRule': { kind: 'OBJECT'; name: 'UnknownGraphRule'; fields: { 'configData': { name: 'configData'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'BlockchainData'; ofType: null; }; } }; 'rule': { name: 'rule'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; }; }; 'UnknownGraphRuleInput': { kind: 'INPUT_OBJECT'; name: 'UnknownGraphRuleInput'; isOneOf: false; inputFields: [{ name: 'address'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'data'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'BlockchainData'; ofType: null; }; }; defaultValue: null }]; }; + 'UnknownGroupRule': { kind: 'OBJECT'; name: 'UnknownGroupRule'; fields: { 'configData': { name: 'configData'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'BlockchainData'; ofType: null; }; } }; 'rule': { name: 'rule'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; }; }; + 'UnknownPostRule': { kind: 'OBJECT'; name: 'UnknownPostRule'; fields: { 'configData': { name: 'configData'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'BlockchainData'; ofType: null; }; } }; 'rule': { name: 'rule'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; }; }; + 'UnknownUsernameNamespaceRule': { kind: 'OBJECT'; name: 'UnknownUsernameNamespaceRule'; fields: { 'configData': { name: 'configData'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'BlockchainData'; ofType: null; }; } }; 'rule': { name: 'rule'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; }; }; 'UpdateAccountManagerRequest': { kind: 'INPUT_OBJECT'; name: 'UpdateAccountManagerRequest'; isOneOf: false; inputFields: [{ name: 'manager'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'permissions'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'AccountManagerPermissionsInput'; ofType: null; }; }; defaultValue: null }]; }; 'UpdateAccountManagerResult': { kind: 'UNION'; name: 'UpdateAccountManagerResult'; fields: {}; possibleTypes: 'SelfFundedTransactionRequest' | 'SponsoredTransactionRequest' | 'TransactionWillFail'; }; + 'UserBlockingRule': { kind: 'OBJECT'; name: 'UserBlockingRule'; fields: { 'blockedUsers': { name: 'blockedUsers'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; }; } }; 'rule': { name: 'rule'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; }; }; 'Username': { kind: 'OBJECT'; name: 'Username'; fields: { 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; } }; 'linkedTo': { name: 'linkedTo'; type: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; } }; 'localName': { name: 'localName'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'namespace': { name: 'namespace'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'UsernameNamespace'; ofType: null; }; } }; 'ownedBy': { name: 'ownedBy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'timestamp': { name: 'timestamp'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; 'value': { name: 'value'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'UsernameValue'; ofType: null; }; } }; }; }; 'UsernameInput': { kind: 'INPUT_OBJECT'; name: 'UsernameInput'; isOneOf: false; inputFields: [{ name: 'localName'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; }; defaultValue: null }, { name: 'namespace'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: "\"0x6Cc71E78e25eBF6A2525CadC1fc628B42AE4138f\"" }]; }; - 'UsernameNamespace': { kind: 'OBJECT'; name: 'UsernameNamespace'; fields: { 'address': { name: 'address'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'metadata': { name: 'metadata'; type: { kind: 'OBJECT'; name: 'UsernameNamespaceMetadata'; ofType: null; } }; 'namespace': { name: 'namespace'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; }; }; + 'UsernameNamespace': { kind: 'OBJECT'; name: 'UsernameNamespace'; fields: { 'address': { name: 'address'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'metadata': { name: 'metadata'; type: { kind: 'OBJECT'; name: 'UsernameNamespaceMetadata'; ofType: null; } }; 'namespace': { name: 'namespace'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'rules': { name: 'rules'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'UsernameNamespaceRulesConfig'; ofType: null; }; } }; }; }; 'UsernameNamespaceMetadata': { kind: 'OBJECT'; name: 'UsernameNamespaceMetadata'; fields: { 'description': { name: 'description'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; }; }; 'UsernameNamespaceRequest': { kind: 'INPUT_OBJECT'; name: 'UsernameNamespaceRequest'; isOneOf: false; inputFields: [{ name: 'namespace'; type: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; defaultValue: null }, { name: 'txHash'; type: { kind: 'SCALAR'; name: 'TxHash'; ofType: null; }; defaultValue: null }]; }; + 'UsernameNamespaceRule': { kind: 'UNION'; name: 'UsernameNamespaceRule'; fields: {}; possibleTypes: 'CharsetUsernameNamespaceRule' | 'LengthUsernameNamespaceRule' | 'SimplePaymentUsernameNamespaceRule' | 'TokenGatedUsernameNamespaceRule' | 'UnknownUsernameNamespaceRule'; }; + 'UsernameNamespaceRulesConfig': { kind: 'OBJECT'; name: 'UsernameNamespaceRulesConfig'; fields: { 'anyOf': { name: 'anyOf'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'UsernameNamespaceRule'; ofType: null; }; }; }; } }; 'required': { name: 'required'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'UsernameNamespaceRule'; ofType: null; }; }; }; } }; }; }; 'UsernameRequest': { kind: 'INPUT_OBJECT'; name: 'UsernameRequest'; isOneOf: false; inputFields: [{ name: 'id'; type: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; defaultValue: null }, { name: 'username'; type: { kind: 'INPUT_OBJECT'; name: 'UsernameInput'; ofType: null; }; defaultValue: null }]; }; 'UsernameValue': unknown; 'UsernamesRequest': { kind: 'INPUT_OBJECT'; name: 'UsernamesRequest'; isOneOf: false; inputFields: [{ name: 'pageSize'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'PageSize'; ofType: null; }; }; defaultValue: "FIFTY" }, { name: 'cursor'; type: { kind: 'SCALAR'; name: 'Cursor'; ofType: null; }; defaultValue: null }, { name: 'owner'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }]; }; diff --git a/packages/graphql/src/index.ts b/packages/graphql/src/index.ts index b288afeee..15eea6e32 100644 --- a/packages/graphql/src/index.ts +++ b/packages/graphql/src/index.ts @@ -3,6 +3,7 @@ export * from './app'; export * from './authentication'; export * from './enums'; export * from './fragments'; +export * from './follow'; export * from './graphql'; export * from './health'; export * from './post'; From 2a6b3314f16a902289c63f8fc15272a3db0a0285 Mon Sep 17 00:00:00 2001 From: Juan Garcia Date: Mon, 2 Dec 2024 14:53:09 +0100 Subject: [PATCH 2/4] Update packages/client/src/actions/follow.ts Co-authored-by: Cesare Naldi --- packages/client/src/actions/follow.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/client/src/actions/follow.ts b/packages/client/src/actions/follow.ts index dd3db096b..c7f6ad81f 100644 --- a/packages/client/src/actions/follow.ts +++ b/packages/client/src/actions/follow.ts @@ -15,7 +15,7 @@ import type { UnauthenticatedError, UnexpectedError } from '../errors'; * * ```ts * const result = await follow(sessionClient, - * { account: EvmAddress('0x90c8c68d0Abfb40D4fCD72316A65e42161520BC3') } + * { account: evmAddress('0x90c8c68d0Abfb40D4fCD72316A65e42161520BC3') } * ); * ``` * From 0e64430a2a486b48345d55d6b9ffeec8cb8d725f Mon Sep 17 00:00:00 2001 From: Juan Garcia Date: Tue, 3 Dec 2024 10:28:00 +0100 Subject: [PATCH 3/4] Update follow.ts --- packages/client/src/actions/follow.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/client/src/actions/follow.ts b/packages/client/src/actions/follow.ts index c7f6ad81f..b3929f7f3 100644 --- a/packages/client/src/actions/follow.ts +++ b/packages/client/src/actions/follow.ts @@ -35,7 +35,7 @@ export function follow( * * ```ts * const result = await unfollow(sessionClient, - * { account: EvmAddress('0x90c8c68d0Abfb40D4fCD72316A65e42161520BC3') } + * { account: evmAddress('0x90c8c68d0Abfb40D4fCD72316A65e42161520BC3') } * ); * ``` * From 61a96c470b0829f44869ffe40fe3245bfc277f9e Mon Sep 17 00:00:00 2001 From: Juan Garcia Date: Tue, 3 Dec 2024 10:29:32 +0100 Subject: [PATCH 4/4] Update follow.ts --- packages/client/src/actions/follow.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/client/src/actions/follow.ts b/packages/client/src/actions/follow.ts index b3929f7f3..0f429b13d 100644 --- a/packages/client/src/actions/follow.ts +++ b/packages/client/src/actions/follow.ts @@ -14,9 +14,9 @@ import type { UnauthenticatedError, UnexpectedError } from '../errors'; * Follow an Account * * ```ts - * const result = await follow(sessionClient, - * { account: evmAddress('0x90c8c68d0Abfb40D4fCD72316A65e42161520BC3') } - * ); + * const result = await follow(sessionClient, { + * account: evmAddress('0x90c8c68d0Abfb40D4fCD72316A65e42161520BC3') + * }); * ``` * * @param client - The session client for the authenticated Account. @@ -34,9 +34,9 @@ export function follow( * Unfollow an Account * * ```ts - * const result = await unfollow(sessionClient, - * { account: evmAddress('0x90c8c68d0Abfb40D4fCD72316A65e42161520BC3') } - * ); + * const result = await unfollow(sessionClient, { + * account: evmAddress('0x90c8c68d0Abfb40D4fCD72316A65e42161520BC3') + * }); * ``` * * @param client - The session client for the authenticated Account.