From 7ade6f73b77f971138fbce10a669b60c9ae41322 Mon Sep 17 00:00:00 2001 From: Juan Garcia Date: Wed, 11 Dec 2024 17:49:55 +0100 Subject: [PATCH 1/7] Remove searchAccount and add accounts query --- packages/client/src/actions/account.ts | 45 +-- packages/graphql/schema.graphql | 444 ++++++++++++++--------- packages/graphql/src/accounts/account.ts | 27 +- packages/graphql/src/graphql-env.d.ts | 70 ++-- 4 files changed, 349 insertions(+), 237 deletions(-) diff --git a/packages/client/src/actions/account.ts b/packages/client/src/actions/account.ts index 6bc42a127..78e9e8415 100644 --- a/packages/client/src/actions/account.ts +++ b/packages/client/src/actions/account.ts @@ -11,12 +11,13 @@ import type { AccountStatsRequest, AccountsAvailableRequest, AccountsBlockedRequest, + AccountsRequest, CreateAccountWithUsernameRequest, CreateAccountWithUsernameResult, EnableSignlessResult, MuteRequest, + PaginatedAccountsResult, RemoveSignlessResult, - SearchAccountsRequest, SetAccountMetadataRequest, SetAccountMetadataResult, UnmuteRequest, @@ -28,11 +29,11 @@ import { AccountStatsQuery, AccountsAvailableQuery, AccountsBlockedQuery, + AccountsQuery, CreateAccountWithUsernameMutation, EnableSignlessMutation, MuteAccountMutation, RemoveSignlessMutation, - SearchAccountsQuery, SetAccountMetadataMutation, UnmuteAccountMutation, } from '@lens-protocol/graphql'; @@ -64,6 +65,26 @@ export function fetchAccount( return client.query(AccountQuery, { request }); } +/** + * Fetch an Accounts. + * + * Using a {@link SessionClient} will yield {@link Account#operations} specific to the authenticated Account. + * + * ```ts + * const result = await fetchAccounts(anyClient); + * ``` + * + * @param client - Any Lens client. + * @param request - The query request. + * @returns The list of accounts. + */ +export function fetchAccounts( + client: AnyClient, + request: AccountsRequest, +): ResultAsync { + return client.query(AccountsQuery, { request }); +} + /** * Fetch an Account Stats. * @@ -162,26 +183,6 @@ export function fetchAccountsBlocked( return client.query(AccountsBlockedQuery, { request }); } -/** - * Search accounts. - * - * ```ts - * const result = await searchAccounts(anyClient, { - * localName: 'wagmi', - * }); - * ``` - * - * @param client - Any Lens client. - * @param request - The SearchAccounts query request. - * @returns The list of Account or empty list if it does not find anything. - */ -export function searchAccounts( - client: AnyClient, - request: SearchAccountsRequest, -): ResultAsync | null, UnexpectedError> { - return client.query(SearchAccountsQuery, { request }); -} - /** * Set Account metadata for the authenticated Account. * diff --git a/packages/graphql/schema.graphql b/packages/graphql/schema.graphql index cbb52b231..611b543c2 100644 --- a/packages/graphql/schema.graphql +++ b/packages/graphql/schema.graphql @@ -24,6 +24,12 @@ type Account { """ owner: EvmAddress! + """ + The account created at. Note if they are using a standard EOA this will be genesis block + timestamp + """ + createdAt: DateTime! + """The score of the account.""" score: Int! @@ -184,12 +190,7 @@ type AccountMention { The replacement information. Use to replace mentions in the post content. """ - replace: AccountMentionReplace! -} - -type AccountMentionReplace { - from: String! - to: String! + replace: MentionReplace! } type AccountMetadata { @@ -270,28 +271,6 @@ input AccountRequest { txHash: TxHash } -enum AccountSearchOrderBy { - DEFAULT - ACCOUNT_SCORE -} - -input AccountSearchRequest { - """The local name to search for.""" - localName: String! - - """Optional. The username prefix to search for.""" - namespace: [String!] - - """The order by.""" - orderBy: AccountSearchOrderBy! = DEFAULT - - """The page size.""" - pageSize: PageSize! = FIFTY - - """The cursor.""" - cursor: Cursor -} - type AccountStats { """The stats for the feeds.""" feedStats: AccountFeedsStats! @@ -341,7 +320,7 @@ input AccountsBlockedRequest { cursor: Cursor } -input AccountsRequest { +input AccountsBulkRequest { """The addresses to get.""" addresses: [EvmAddress!] @@ -352,6 +331,30 @@ input AccountsRequest { legacyProfileIds: [LegacyProfileId!] } +input AccountsFilterRequest { + """The optional filter to narrow accounts by search query.""" + searchBy: UsernameSearchInput +} + +enum AccountsOrderBy { + ALPHABETICAL + ACCOUNT_SCORE + BEST_MATCH +} + +input AccountsRequest { + filter: AccountsFilterRequest + + """The order by.""" + orderBy: AccountsOrderBy! = ACCOUNT_SCORE + + """The page size.""" + pageSize: PageSize! = FIFTY + + """The cursor.""" + cursor: Cursor +} + input ActionFilter { address: EvmAddress actionType: PostActionType @@ -665,16 +668,39 @@ type ApprovalGroupRule { rule: EvmAddress! } +input AppsFilterRequest { + """The optional filter to get apps managed by address""" + managedBy: ManagedBy + + """ + The optional filter to narrow apps by search query. + Uses fuzzy search on app name + """ + searchQuery: String +} + enum AppsOrderBy { - ALPHABETICAL LATEST_FIRST OLDEST_FIRST + ALPHABETICAL } input AppsRequest { + filter: AppsFilterRequest + + """The order by.""" + orderBy: AppsOrderBy! = LATEST_FIRST + + """The page size.""" pageSize: PageSize! = FIFTY + + """The cursor.""" cursor: Cursor - orderBy: AppsOrderBy! = LATEST_FIRST +} + +type AppsResult { + items: [App!]! + pageInfo: PaginatedResultInfo! } type ArticleMetadata { @@ -1859,6 +1885,7 @@ type Feed { createdAt: DateTime! metadata: FeedMetadata owner: EvmAddress! + operations: LoggedInFeedPostOperations rules(request: RuleInput): FeedRulesConfig! } @@ -1898,6 +1925,36 @@ input FeedRulesInput { unknownFeedRule: UnknownFeedRuleInput } +input FeedsFilterRequest { + """The optional filter to get feeds managed by address""" + managedBy: ManagedBy + + """ + The optional filter to narrow feeds by search query. + Uses fuzzy search on feed name + """ + searchQuery: String +} + +enum FeedsOrderBy { + LATEST_FIRST + OLDEST_FIRST + ALPHABETICAL +} + +input FeedsRequest { + filter: FeedsFilterRequest + + """The order by.""" + orderBy: FeedsOrderBy! = LATEST_FIRST + + """The page size.""" + pageSize: PageSize! = FIFTY + + """The cursor.""" + cursor: Cursor +} + """ The transaction has been mined and indexed correctly. @@ -2118,6 +2175,34 @@ input GraphRulesInput { unknownGraphRule: UnknownGraphRuleInput } +input GraphsFilterRequest { + """The optional filter to get graphs managed by address""" + managedBy: ManagedBy + + """ + The optional filter to narrow graphs by search query. + Uses fuzzy search on graph name + """ + searchQuery: String +} + +enum GraphsOrderBy { + LATEST_FIRST + OLDEST_FIRST + ALPHABETICAL +} + +input GraphsRequest { + filter: GraphsFilterRequest + + """The order by.""" + orderBy: GraphsOrderBy! = LATEST_FIRST + pageSize: PageSize! = FIFTY + + """The cursor.""" + cursor: Cursor +} + type Group { address: EvmAddress! timestamp: DateTime! @@ -2157,6 +2242,17 @@ input GroupMembersRequest { cursor: Cursor } +type GroupMention { + """The group that was mentioned""" + group: EvmAddress! + + """ + The replacement information. + Use to replace mentions in the post content. + """ + replace: MentionReplace! +} + type GroupMetadata { """Optional markdown formatted description of the Community.""" description: String @@ -2173,9 +2269,6 @@ type GroupMetadata { """The name of the Community.""" name: String! - """The slug for the Community.""" - slug: String! - """The Group cover picture.""" coverPicture: URI } @@ -2204,25 +2297,31 @@ type GroupStatsResponse { totalMembers: Int! } -input GroupsFilter { - """The name of the group""" - name: String +input GroupsFilterRequest { + """The optional filter to get groups where account is a member""" + member: EvmAddress + + """The optional filter to get groups managed by address""" + managedBy: ManagedBy + + """ + The optional filter to narrow groups by search query. + Uses fuzzy search on group name + """ + searchQuery: String } enum GroupsOrderBy { - LATEST_JOINED - NAME + LATEST_FIRST + OLDEST_FIRST + ALPHABETICAL } input GroupsRequest { - """Get the groups this account is a member of""" - member: EvmAddress! - - """The filter""" - filter: GroupsFilter + filter: GroupsFilterRequest """The order by.""" - orderBy: GroupsOrderBy! = LATEST_JOINED + orderBy: GroupsOrderBy! = LATEST_FIRST """The page size.""" pageSize: PageSize! = FIFTY @@ -2298,6 +2397,11 @@ type JoinGroupResponse { union JoinGroupResult = JoinGroupResponse | SponsoredTransactionRequest | SelfFundedTransactionRequest | TransactionWillFail +type KeyValue { + key: String! + value: String! +} + type KnownAction { name: String! contract: NetworkAddress! @@ -2471,6 +2575,10 @@ type LoggedInAccountOperations { hasReported: Boolean! } +type LoggedInFeedPostOperations { + canPost: RulesOutcome! +} + type LoggedInPostOperations { id: ID! isNotInterested: Boolean! @@ -2510,74 +2618,12 @@ enum ManagedAccountsVisibility { ALL } -input ManagedAppsRequest { +input ManagedBy { """The address for a user to see what apps they manage.""" address: EvmAddress! """Whether to include the apps which is owned by the address.""" includeOwners: Boolean! = true - - """The page size.""" - pageSize: PageSize! = FIFTY - - """The cursor.""" - cursor: Cursor -} - -input ManagedFeedsRequest { - """The address for a user to see what feeds they manage.""" - address: EvmAddress! - - """Whether to include the feeds which is owned by the address.""" - includeOwners: Boolean! = true - - """The page size.""" - pageSize: PageSize! = FIFTY - - """The cursor.""" - cursor: Cursor -} - -input ManagedGraphsRequest { - """The address for a user to see what graphs they manage.""" - address: EvmAddress! - - """Whether to include the graphs which is owned by the address.""" - includeOwners: Boolean! = true - - """The page size.""" - pageSize: PageSize! = FIFTY - - """The cursor.""" - cursor: Cursor -} - -input ManagedGroupsRequest { - """The address for a user to see what groups they manage.""" - address: EvmAddress! - - """Whether to include the groups which is owned by the address.""" - includeOwners: Boolean! = true - - """The page size.""" - pageSize: PageSize! = FIFTY - - """The cursor.""" - cursor: Cursor -} - -input ManagedNamespacesRequest { - """The address for a user to see what namespaces they manage.""" - address: EvmAddress! - - """Whether to include the namespaces which is owned by the address.""" - includeOwners: Boolean! = true - - """The page size.""" - pageSize: PageSize! = FIFTY - - """The cursor.""" - cursor: Cursor } type MeResult { @@ -3017,6 +3063,11 @@ type MentionNotification { post: Post! } +type MentionReplace { + from: String! + to: String! +} + type MetadataAttribute { type: MetadataAttributeType! key: String! @@ -3545,6 +3596,13 @@ type Mutation { """ removeAdmins(request: RemoveAdminsRequest!): RemoveAdminsResult! + """ + Transfer primitive ownership for the graph/app/sponsor/feed/username/group. + + You MUST be authenticated as Account Owner to use this mutation. + """ + transferPrimitiveOwnership(request: TransferPrimitiveOwnershipRequest!): TransferPrimitiveOwnershipResult! + """ Create a new feed @@ -3579,6 +3637,41 @@ input MuteRequest { account: EvmAddress! } +input NamespacesFilterRequest { + """The optional filter to get namespaces managed by address""" + managedBy: ManagedBy + + """ + The optional filter to narrow namespaces by search query. + Uses fuzzy search on namespace name + """ + searchQuery: String +} + +enum NamespacesOrderBy { + LATEST_FIRST + OLDEST_FIRST + ALPHABETICAL +} + +input NamespacesRequest { + filter: NamespacesFilterRequest + + """The order by.""" + orderBy: NamespacesOrderBy! = LATEST_FIRST + + """The page size.""" + pageSize: PageSize! = FIFTY + + """The cursor.""" + cursor: Cursor +} + +type NamespacesResult { + items: [UsernameNamespace!]! + pageInfo: PaginatedResultInfo! +} + union NestedPost = Post | PostReference type NetworkAddress { @@ -3755,11 +3848,6 @@ type PaginatedAppUsersResult { pageInfo: PaginatedResultInfo! } -type PaginatedAppsResult { - items: [App!]! - pageInfo: PaginatedResultInfo! -} - type PaginatedFeedsResult { items: [Feed!]! pageInfo: PaginatedResultInfo! @@ -3829,11 +3917,6 @@ type PaginatedTimelineResult { pageInfo: PaginatedResultInfo! } -type PaginatedUsernameNamespacesResult { - items: [UsernameNamespace!]! - pageInfo: PaginatedResultInfo! -} - type PaginatedUsernamesResult { items: [Username!]! pageInfo: PaginatedResultInfo! @@ -3898,7 +3981,7 @@ type Post { actions: [PostAction!]! operations: LoggedInPostOperations stats: PostStats! - mentions: [AccountMention!]! + mentions: [PostMention!]! feed: Feed! rules(request: RuleInput): PostRulesConfig! } @@ -3962,6 +4045,8 @@ type PostForYou { scalar PostId +union PostMention = AccountMention | GroupMention + union PostMetadata = ArticleMetadata | AudioMetadata | CheckingInMetadata | EmbedMetadata | EventMetadata | ImageMetadata | LinkMetadata | LivestreamMetadata | MintMetadata | SpaceMetadata | StoryMetadata | TextOnlyMetadata | ThreeDMetadata | TransactionMetadata | VideoMetadata input PostMetadataContentWarningFilter { @@ -4156,6 +4241,11 @@ input PostsFilterRequest { postTypes: [PostType!] metadata: PostMetadataFilter apps: [EvmAddress!] + + """ + The optional query text to search for in the post content or metadata tags. + """ + searchQuery: String } input PostsRequest { @@ -4177,6 +4267,9 @@ type Query { """Get an account by address, username, or legacy profile ID.""" account(request: AccountRequest!): Account + """Get accounts.""" + accounts(request: AccountsRequest!): PaginatedAccountsResult! + """ Account information for the authenticated account. @@ -4185,7 +4278,7 @@ type Query { me: MeResult! """Get accounts by address, username, or legacy profile ID.""" - accounts(request: AccountsRequest!): [Account!]! + accountsBulk(request: AccountsBulkRequest!): [Account!]! """Get the stats for an account.""" accountStats(request: AccountStatsRequest!): AccountStats! @@ -4213,9 +4306,6 @@ type Query { """ accountManagers(request: AccountManagersRequest!): PaginatedAccountManagersResult! - """Search for accounts by usernames.""" - searchAccounts(request: AccountSearchRequest!): PaginatedAccountsResult! - """ Get the last logged in account for the given address and app if specified. """ @@ -4224,8 +4314,8 @@ type Query { """Get an app""" app(request: AppRequest!): App - """Get the apps""" - apps(request: AppsRequest!): PaginatedAppsResult! + """Get the apps.""" + apps(request: AppsRequest!): AppsResult! """Get the groups for an app""" appGroups(request: AppGroupsRequest!): PaginatedGroupsResult! @@ -4239,9 +4329,6 @@ type Query { """Get accounts for an app.""" appUsers(request: AppUsersRequest!): PaginatedAppUsersResult! - """Get the apps managed by the given address.""" - managedApps(request: ManagedAppsRequest!): PaginatedAppsResult! - """ Get the server side API key for the app you must be the owner of the app to see it. @@ -4264,8 +4351,8 @@ type Query { currentSession: AuthenticatedSession! feed(request: FeedRequest!): Feed - """Get the feeds managed by the given address.""" - managedFeeds(request: ManagedFeedsRequest!): PaginatedFeedsResult! + """Get the feeds.""" + feeds(request: FeedsRequest!): PaginatedFeedsResult! post(request: PostRequest!): AnyPost posts(request: PostsRequest!): PaginatedAnyPostsResult! postReferences(request: PostReferencesRequest!): PaginatedAnyPostsResult! @@ -4275,7 +4362,6 @@ type Query { """Get the reactions added to a post.""" postReactions(request: PostReactionsRequest!): PaginatedPostReactionsResult! postReactionStatus(request: PostReactionStatusRequest!): [PostReactionStatus!]! - searchPosts(request: SearchPostsRequest!): PaginatedAnyPostsResult! postActions(request: PostActionsRequest!): PaginatedActions! """Get accounts who referenced a post""" @@ -4288,23 +4374,17 @@ type Query { followStatus(request: FollowStatusRequest!): [FollowStatusResult!]! graph(request: GraphRequest!): Graph - """Get the graphs managed by the given address.""" - managedGraphs(request: ManagedGraphsRequest!): PaginatedGraphsResult! + """Get the graphs.""" + graphs(request: GraphsRequest!): PaginatedGraphsResult! group(request: GroupRequest!): Group - """Get the groups this account is a member of""" + """Get the groups.""" groups(request: GroupsRequest!): PaginatedGroupsResult! - """Search for groups""" - searchGroups(request: SearchGroupsRequest!): PaginatedGroupsResult! - """Get the members of the group""" groupMembers(request: GroupMembersRequest!): PaginatedAccountsResult! - """Get the groups managed by the given address.""" - managedGroups(request: ManagedGroupsRequest!): PaginatedGroupsResult! - - """Get the groups managed by the given address.""" + """Get the number of members in a Group""" groupStats(request: GroupStatsRequest!): GroupStatsResponse! """Get admins for a graph/app/sponsor/feed/username/group address""" @@ -4340,8 +4420,8 @@ type Query { """Get the usernames for the account/owner.""" usernames(request: UsernamesRequest!): PaginatedUsernamesResult! - """Get the namespaces managed by the given address.""" - managedNamespaces(request: ManagedNamespacesRequest!): PaginatedUsernameNamespacesResult! + """Get the namespaces.""" + namespaces(request: NamespacesRequest!): NamespacesResult! _service: _Service! } @@ -4506,43 +4586,15 @@ input RuleInput { rules: [EvmAddress!]! } -input SearchGroupsRequest { - """The search query""" - query: String! - - """The page size.""" - pageSize: PageSize! = FIFTY - - """The cursor.""" - cursor: Cursor +type RulesFailed { + unsatisfiedRules: [UnsatisfiedRule!]! } -input SearchPostsFilter { - """The post types to filter by.""" - postTypes: [PostType!] +union RulesOutcome = RulesSucceeded | RulesFailed - """The optional metadata filter.""" - metadata: PostMetadataFilter -} - -input SearchPostsRequest { - """ - The query text to search for in the post content or metadata tags. - The passed strings supports web search syntax similar to the search engines: - - individual words match independently. - - double-quoted phrases match as a single unit. - - the word or (case-insensitive) specifies an “or” condition between two words or phrases - - a "-" prefix specifies to not match the following word or phrase. - """ - query: String! - - """The feeds to search in.""" - forFeeds: [EvmAddress!]! = ["0x83C8D9e96Da13aaD12E068F48C639C7671D2a5C7"] - - """The optional post types to filter by.""" - filter: SearchPostsFilter - pageSize: PageSize! = FIFTY - cursor: Cursor +type RulesSucceeded { + restrictedSignerRequired: Boolean! + extraChecksRequired: [UnknownRule!]! } enum SelfFundedFallbackReason { @@ -5036,6 +5088,18 @@ type TransactionWillFail { reason: String! } +input TransferPrimitiveOwnershipRequest { + """ + The graph/app/sponsor/feed/username/group address to change ownership for + """ + address: EvmAddress! + + """The address of the new owner""" + newOwner: EvmAddress! +} + +union TransferPrimitiveOwnershipResult = SponsoredTransactionRequest | SelfFundedTransactionRequest | TransactionWillFail + enum TriStateValue { YES NO @@ -5196,11 +5260,22 @@ type UnknownPostRule { configData: BlockchainData! } +type UnknownRule { + rule: EvmAddress! + configParams: [KeyValue!]! +} + type UnknownUsernameNamespaceRule { rule: EvmAddress! configData: BlockchainData! } +type UnsatisfiedRule { + name: String! + rule: EvmAddress! + reason: String! +} + input UpdateAccountManagerRequest { """The address to update as a manager.""" manager: EvmAddress! @@ -5238,7 +5313,7 @@ type Username { } input UsernameInput { - """The local name to create - should not include the namespace""" + """The local name, should not include the namespace""" localName: String! """The namespace. Defaults to lens namespace""" @@ -5292,6 +5367,19 @@ input UsernameRequest { username: UsernameInput } +input UsernameSearchInput { + """ + The local name to search for + Uses fuzzy search on username name + """ + localNameQuery: String! + + """ + The namespaces to search for local name in. Defaults to global namespace + """ + namespaces: [EvmAddress!]! = ["0x6Cc71E78e25eBF6A2525CadC1fc628B42AE4138f"] +} + scalar UsernameValue input UsernamesRequest { diff --git a/packages/graphql/src/accounts/account.ts b/packages/graphql/src/accounts/account.ts index dbca0e189..c74f494a2 100644 --- a/packages/graphql/src/accounts/account.ts +++ b/packages/graphql/src/accounts/account.ts @@ -21,22 +21,29 @@ export const AccountQuery = graphql( export type AccountRequest = RequestOf; -export const SearchAccountsQuery = graphql( - `query SearchAccounts($request: AccountSearchRequest!) { - value: searchAccounts(request: $request) { - __typename - items { - ...Account - } - pageInfo { +const PaginatedAccountsResultFragment = graphql( + `fragment PaginatedAccountsResult on PaginatedAccountsResult { + items{ + ...Account + } + pageInfo { ...PaginatedResultInfo - } } }`, [Account, PaginatedResultInfo], ); +export type PaginatedAccountsResult = FragmentOf; + +export const AccountsQuery = graphql( + `query Accounts($request: AccountsRequest!) { + value: accounts(request: $request) { + ...PaginatedAccountsResult + } + }`, + [PaginatedAccountsResultFragment], +); -export type SearchAccountsRequest = RequestOf; +export type AccountsRequest = RequestOf; const SetAccountMetadataResponse = graphql( `fragment SetAccountMetadataResponse on SetAccountMetadataResponse { diff --git a/packages/graphql/src/graphql-env.d.ts b/packages/graphql/src/graphql-env.d.ts index 2722b39a0..91929fc88 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; }; } }; '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; } }; }; }; + 'Account': { kind: 'OBJECT'; name: 'Account'; 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; }; } }; '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; }; } }; }; }; @@ -18,22 +18,22 @@ export type introspection_types = { 'AccountManagerPermissions': { kind: 'OBJECT'; name: 'AccountManagerPermissions'; fields: { 'canExecuteTransactions': { name: 'canExecuteTransactions'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'canSetMetadataUri': { name: 'canSetMetadataUri'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'canTransferNative': { name: 'canTransferNative'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'canTransferTokens': { name: 'canTransferTokens'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; }; }; 'AccountManagerPermissionsInput': { kind: 'INPUT_OBJECT'; name: 'AccountManagerPermissionsInput'; isOneOf: false; inputFields: [{ name: 'canExecuteTransactions'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; }; defaultValue: null }, { name: 'canTransferTokens'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; }; defaultValue: null }, { name: 'canTransferNative'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; }; defaultValue: null }, { name: 'canSetMetadataUri'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; }; defaultValue: null }]; }; 'AccountManagersRequest': { kind: 'INPUT_OBJECT'; name: 'AccountManagersRequest'; 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 }]; }; - 'AccountMention': { kind: 'OBJECT'; name: 'AccountMention'; fields: { 'account': { name: 'account'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'namespace': { name: 'namespace'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'replace': { name: 'replace'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'AccountMentionReplace'; ofType: null; }; } }; }; }; - 'AccountMentionReplace': { kind: 'OBJECT'; name: 'AccountMentionReplace'; fields: { 'from': { name: 'from'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'to': { name: 'to'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; }; }; + 'AccountMention': { kind: 'OBJECT'; name: 'AccountMention'; fields: { 'account': { name: 'account'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'namespace': { name: 'namespace'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'replace': { name: 'replace'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'MentionReplace'; ofType: null; }; } }; }; }; 'AccountMetadata': { kind: 'OBJECT'; name: 'AccountMetadata'; fields: { '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; }; }; }; } }; 'bio': { name: 'bio'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'coverPicture': { name: 'coverPicture'; 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: 'SCALAR'; name: 'String'; ofType: null; } }; 'picture': { name: 'picture'; type: { kind: 'SCALAR'; name: 'URI'; ofType: null; } }; }; }; 'AccountOwned': { kind: 'OBJECT'; name: 'AccountOwned'; fields: { 'account': { name: 'account'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Account'; ofType: null; }; } }; 'addedAt': { name: 'addedAt'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; }; }; 'AccountOwnerChallengeRequest': { kind: 'INPUT_OBJECT'; name: 'AccountOwnerChallengeRequest'; isOneOf: false; inputFields: [{ name: 'app'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: "\"0xe5439696f4057aF073c0FB2dc6e5e755392922e1\"" }, { name: 'account'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'owner'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }]; }; 'AccountPostReaction': { kind: 'OBJECT'; name: 'AccountPostReaction'; fields: { 'account': { name: 'account'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Account'; ofType: null; }; } }; 'reactions': { name: 'reactions'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PostReaction'; ofType: null; }; }; }; } }; }; }; 'AccountReportReason': { name: 'AccountReportReason'; enumValues: 'IMPERSONATION' | 'REPETITIVE_SPAM' | 'OTHER'; }; 'AccountRequest': { kind: 'INPUT_OBJECT'; name: 'AccountRequest'; isOneOf: false; inputFields: [{ name: 'address'; type: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; defaultValue: null }, { name: 'username'; type: { kind: 'INPUT_OBJECT'; name: 'UsernameInput'; ofType: null; }; defaultValue: null }, { name: 'legacyProfileId'; type: { kind: 'SCALAR'; name: 'LegacyProfileId'; ofType: null; }; defaultValue: null }, { name: 'txHash'; type: { kind: 'SCALAR'; name: 'TxHash'; ofType: null; }; defaultValue: null }]; }; - 'AccountSearchOrderBy': { name: 'AccountSearchOrderBy'; enumValues: 'DEFAULT' | 'ACCOUNT_SCORE'; }; - 'AccountSearchRequest': { kind: 'INPUT_OBJECT'; name: 'AccountSearchRequest'; isOneOf: false; inputFields: [{ name: 'localName'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; }; defaultValue: null }, { name: 'namespace'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; }; }; defaultValue: null }, { name: 'orderBy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'AccountSearchOrderBy'; ofType: null; }; }; defaultValue: "DEFAULT" }, { 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 }]; }; 'AccountStats': { kind: 'OBJECT'; name: 'AccountStats'; fields: { 'feedStats': { name: 'feedStats'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'AccountFeedsStats'; ofType: null; }; } }; 'graphFollowStats': { name: 'graphFollowStats'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'AccountGraphsFollowStats'; ofType: null; }; } }; }; }; 'AccountStatsRequest': { kind: 'INPUT_OBJECT'; name: 'AccountStatsRequest'; 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: '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\"]" }]; }; 'AccountUsernameRequest': { kind: 'INPUT_OBJECT'; name: 'AccountUsernameRequest'; isOneOf: false; inputFields: [{ name: 'namespace'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: "\"0x6Cc71E78e25eBF6A2525CadC1fc628B42AE4138f\"" }]; }; 'AccountsAvailableRequest': { kind: 'INPUT_OBJECT'; name: 'AccountsAvailableRequest'; isOneOf: false; inputFields: [{ name: 'managedBy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'includeOwned'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; }; defaultValue: "true" }, { name: 'hiddenFilter'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'ManagedAccountsVisibility'; ofType: null; }; }; defaultValue: "ALL" }, { 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 }]; }; 'AccountsBlockedRequest': { kind: 'INPUT_OBJECT'; name: 'AccountsBlockedRequest'; 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 }]; }; - 'AccountsRequest': { kind: 'INPUT_OBJECT'; name: 'AccountsRequest'; isOneOf: false; inputFields: [{ name: 'addresses'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; }; defaultValue: null }, { name: 'usernames'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'UsernameInput'; ofType: null; }; }; }; defaultValue: null }, { name: 'legacyProfileIds'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'LegacyProfileId'; ofType: null; }; }; }; defaultValue: null }]; }; + 'AccountsBulkRequest': { kind: 'INPUT_OBJECT'; name: 'AccountsBulkRequest'; isOneOf: false; inputFields: [{ name: 'addresses'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; }; defaultValue: null }, { name: 'usernames'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'UsernameInput'; ofType: null; }; }; }; defaultValue: null }, { name: 'legacyProfileIds'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'LegacyProfileId'; ofType: null; }; }; }; defaultValue: null }]; }; + 'AccountsFilterRequest': { kind: 'INPUT_OBJECT'; name: 'AccountsFilterRequest'; isOneOf: false; inputFields: [{ name: 'searchBy'; type: { kind: 'INPUT_OBJECT'; name: 'UsernameSearchInput'; ofType: null; }; defaultValue: null }]; }; + 'AccountsOrderBy': { name: 'AccountsOrderBy'; enumValues: 'ALPHABETICAL' | 'ACCOUNT_SCORE' | 'BEST_MATCH'; }; + 'AccountsRequest': { kind: 'INPUT_OBJECT'; name: 'AccountsRequest'; isOneOf: false; inputFields: [{ name: 'filter'; type: { kind: 'INPUT_OBJECT'; name: 'AccountsFilterRequest'; ofType: null; }; defaultValue: null }, { name: 'orderBy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'AccountsOrderBy'; ofType: null; }; }; defaultValue: "ACCOUNT_SCORE" }, { 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 }]; }; 'ActionFilter': { kind: 'INPUT_OBJECT'; name: 'ActionFilter'; isOneOf: false; inputFields: [{ name: 'address'; type: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; defaultValue: null }, { name: 'actionType'; type: { kind: 'ENUM'; name: 'PostActionType'; ofType: null; }; defaultValue: null }, { name: 'category'; type: { kind: 'ENUM'; name: 'PostActionCategoryType'; ofType: null; }; defaultValue: null }]; }; 'ActionInfo': { kind: 'UNION'; name: 'ActionInfo'; fields: {}; possibleTypes: 'KnownAction' | 'UnknownAction'; }; 'ActionInputInfo': { kind: 'OBJECT'; name: 'ActionInputInfo'; fields: { 'name': { name: 'name'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'type': { name: 'type'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; }; }; @@ -74,8 +74,10 @@ export type introspection_types = { 'AppUser': { kind: 'OBJECT'; name: 'AppUser'; fields: { 'account': { name: 'account'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Account'; ofType: null; }; } }; 'firstLoginOn': { name: 'firstLoginOn'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; 'lastActiveOn': { name: 'lastActiveOn'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; }; }; 'AppUsersRequest': { kind: 'INPUT_OBJECT'; name: 'AppUsersRequest'; isOneOf: false; inputFields: [{ name: 'app'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; 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 }]; }; '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" }]; }; + 'AppsFilterRequest': { kind: 'INPUT_OBJECT'; name: 'AppsFilterRequest'; isOneOf: false; inputFields: [{ name: 'managedBy'; type: { kind: 'INPUT_OBJECT'; name: 'ManagedBy'; ofType: null; }; defaultValue: null }, { name: 'searchQuery'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; }; defaultValue: null }]; }; + 'AppsOrderBy': { name: 'AppsOrderBy'; enumValues: 'LATEST_FIRST' | 'OLDEST_FIRST' | 'ALPHABETICAL'; }; + 'AppsRequest': { kind: 'INPUT_OBJECT'; name: 'AppsRequest'; isOneOf: false; inputFields: [{ name: 'filter'; type: { kind: 'INPUT_OBJECT'; name: 'AppsFilterRequest'; ofType: null; }; defaultValue: null }, { name: 'orderBy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'AppsOrderBy'; ofType: null; }; }; defaultValue: "LATEST_FIRST" }, { 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 }]; }; + 'AppsResult': { kind: 'OBJECT'; name: 'AppsResult'; fields: { 'items': { name: 'items'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'App'; ofType: null; }; }; }; } }; 'pageInfo': { name: 'pageInfo'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedResultInfo'; ofType: null; }; } }; }; }; '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; } }; }; }; 'Asset': { kind: 'UNION'; name: 'Asset'; fields: {}; possibleTypes: 'Erc20'; }; 'AssignUsernameResponse': { kind: 'OBJECT'; name: 'AssignUsernameResponse'; fields: { 'hash': { name: 'hash'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'TxHash'; ofType: null; }; } }; }; }; @@ -165,12 +167,15 @@ 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; }; } }; 'createdAt': { name: 'createdAt'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; 'metadata': { name: 'metadata'; type: { kind: 'OBJECT'; name: 'FeedMetadata'; 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: 'FeedRulesConfig'; ofType: null; }; } }; }; }; + 'Feed': { kind: 'OBJECT'; name: 'Feed'; 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; }; } }; 'metadata': { name: 'metadata'; type: { kind: 'OBJECT'; name: 'FeedMetadata'; ofType: null; } }; 'operations': { name: 'operations'; type: { kind: 'OBJECT'; name: 'LoggedInFeedPostOperations'; 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: '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 }]; }; + 'FeedsFilterRequest': { kind: 'INPUT_OBJECT'; name: 'FeedsFilterRequest'; isOneOf: false; inputFields: [{ name: 'managedBy'; type: { kind: 'INPUT_OBJECT'; name: 'ManagedBy'; ofType: null; }; defaultValue: null }, { name: 'searchQuery'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; }; defaultValue: null }]; }; + 'FeedsOrderBy': { name: 'FeedsOrderBy'; enumValues: 'LATEST_FIRST' | 'OLDEST_FIRST' | 'ALPHABETICAL'; }; + 'FeedsRequest': { kind: 'INPUT_OBJECT'; name: 'FeedsRequest'; isOneOf: false; inputFields: [{ name: 'filter'; type: { kind: 'INPUT_OBJECT'; name: 'FeedsFilterRequest'; ofType: null; }; defaultValue: null }, { name: 'orderBy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'FeedsOrderBy'; ofType: null; }; }; defaultValue: "LATEST_FIRST" }, { 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 }]; }; 'FinishedTransactionStatus': { kind: 'OBJECT'; name: 'FinishedTransactionStatus'; fields: { 'blockTimestamp': { name: 'blockTimestamp'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; }; }; 'Float': unknown; 'FollowCondition': { kind: 'OBJECT'; name: 'FollowCondition'; fields: { 'follow': { name: 'follow'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'LegacyProfileId'; ofType: null; }; } }; 'type': { name: 'type'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; }; }; @@ -201,19 +206,23 @@ export type introspection_types = { '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 }]; }; + 'GraphsFilterRequest': { kind: 'INPUT_OBJECT'; name: 'GraphsFilterRequest'; isOneOf: false; inputFields: [{ name: 'managedBy'; type: { kind: 'INPUT_OBJECT'; name: 'ManagedBy'; ofType: null; }; defaultValue: null }, { name: 'searchQuery'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; }; defaultValue: null }]; }; + 'GraphsOrderBy': { name: 'GraphsOrderBy'; enumValues: 'LATEST_FIRST' | 'OLDEST_FIRST' | 'ALPHABETICAL'; }; + 'GraphsRequest': { kind: 'INPUT_OBJECT'; name: 'GraphsRequest'; isOneOf: false; inputFields: [{ name: 'filter'; type: { kind: 'INPUT_OBJECT'; name: 'GraphsFilterRequest'; ofType: null; }; defaultValue: null }, { name: 'orderBy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'GraphsOrderBy'; ofType: null; }; }; defaultValue: "LATEST_FIRST" }, { 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 }]; }; 'Group': { kind: 'OBJECT'; name: 'Group'; fields: { 'address': { name: 'address'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'isMember': { name: 'isMember'; type: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; } }; 'metadata': { name: 'metadata'; type: { kind: 'OBJECT'; name: 'GroupMetadata'; 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: '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: { 'coverPicture': { name: 'coverPicture'; type: { kind: 'SCALAR'; name: 'URI'; ofType: null; } }; '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; }; } }; }; }; + 'GroupMention': { kind: 'OBJECT'; name: 'GroupMention'; fields: { 'group': { name: 'group'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'replace': { name: 'replace'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'MentionReplace'; ofType: null; }; } }; }; }; + 'GroupMetadata': { kind: 'OBJECT'; name: 'GroupMetadata'; fields: { 'coverPicture': { name: 'coverPicture'; type: { kind: 'SCALAR'; name: 'URI'; ofType: null; } }; '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; }; } }; }; }; '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; }; }; }; } }; }; }; 'GroupStatsRequest': { kind: 'INPUT_OBJECT'; name: 'GroupStatsRequest'; isOneOf: false; inputFields: [{ name: 'group'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }]; }; 'GroupStatsResponse': { kind: 'OBJECT'; name: 'GroupStatsResponse'; fields: { 'totalMembers': { name: 'totalMembers'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Int'; 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 }]; }; + 'GroupsFilterRequest': { kind: 'INPUT_OBJECT'; name: 'GroupsFilterRequest'; isOneOf: false; inputFields: [{ name: 'member'; type: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; defaultValue: null }, { name: 'managedBy'; type: { kind: 'INPUT_OBJECT'; name: 'ManagedBy'; ofType: null; }; defaultValue: null }, { name: 'searchQuery'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; }; defaultValue: null }]; }; + 'GroupsOrderBy': { name: 'GroupsOrderBy'; enumValues: 'LATEST_FIRST' | 'OLDEST_FIRST' | 'ALPHABETICAL'; }; + 'GroupsRequest': { kind: 'INPUT_OBJECT'; name: 'GroupsRequest'; isOneOf: false; inputFields: [{ name: 'filter'; type: { kind: 'INPUT_OBJECT'; name: 'GroupsFilterRequest'; ofType: null; }; defaultValue: null }, { name: 'orderBy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'GroupsOrderBy'; ofType: null; }; }; defaultValue: "LATEST_FIRST" }, { 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 }]; }; 'HasReactedRequest': { kind: 'INPUT_OBJECT'; name: 'HasReactedRequest'; isOneOf: false; inputFields: [{ name: 'type'; type: { kind: 'ENUM'; name: 'PostReactionType'; ofType: null; }; defaultValue: null }]; }; 'HideManagedAccountRequest': { kind: 'INPUT_OBJECT'; name: 'HideManagedAccountRequest'; isOneOf: false; inputFields: [{ name: 'account'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }]; }; 'HideReplyRequest': { kind: 'INPUT_OBJECT'; name: 'HideReplyRequest'; isOneOf: false; inputFields: [{ name: 'post'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'PostId'; ofType: null; }; }; defaultValue: null }]; }; @@ -227,6 +236,7 @@ export type introspection_types = { 'JoinGroupRequest': { kind: 'INPUT_OBJECT'; name: 'JoinGroupRequest'; isOneOf: false; inputFields: [{ name: 'group'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }]; }; 'JoinGroupResponse': { kind: 'OBJECT'; name: 'JoinGroupResponse'; fields: { 'hash': { name: 'hash'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'TxHash'; ofType: null; }; } }; }; }; 'JoinGroupResult': { kind: 'UNION'; name: 'JoinGroupResult'; fields: {}; possibleTypes: 'JoinGroupResponse' | 'SelfFundedTransactionRequest' | 'SponsoredTransactionRequest' | 'TransactionWillFail'; }; + 'KeyValue': { kind: 'OBJECT'; name: 'KeyValue'; fields: { 'key': { name: 'key'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'value': { name: 'value'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; }; }; 'KnownAction': { kind: 'OBJECT'; name: 'KnownAction'; fields: { 'actionInput': { name: 'actionInput'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ActionInputInfo'; ofType: null; }; }; }; } }; '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; }; } }; 'returnSetupInput': { name: 'returnSetupInput'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ActionInputInfo'; ofType: null; }; }; }; } }; 'setupInput': { name: 'setupInput'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ActionInputInfo'; ofType: null; }; }; }; } }; }; }; 'LastLoggedInAccountRequest': { kind: 'INPUT_OBJECT'; name: 'LastLoggedInAccountRequest'; isOneOf: false; inputFields: [{ name: 'address'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'app'; type: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; defaultValue: null }]; }; 'LeaveGroupRequest': { kind: 'INPUT_OBJECT'; name: 'LeaveGroupRequest'; isOneOf: false; inputFields: [{ name: 'group'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }]; }; @@ -241,14 +251,11 @@ export type introspection_types = { '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; } }; }; }; 'Locale': unknown; 'LoggedInAccountOperations': { kind: 'OBJECT'; name: 'LoggedInAccountOperations'; fields: { 'canBlock': { name: 'canBlock'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'canFollow': { name: 'canFollow'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'TriStateValue'; ofType: null; }; } }; 'canUnblock': { name: 'canUnblock'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'canUnfollow': { name: 'canUnfollow'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'hasBlockedMe': { name: 'hasBlockedMe'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'hasReported': { name: 'hasReported'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; } }; 'isBlockedByMe': { name: 'isBlockedByMe'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'isFollowedByMe': { name: 'isFollowedByMe'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'isFollowingMe': { name: 'isFollowingMe'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'isMutedByMe': { name: 'isMutedByMe'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; }; }; + 'LoggedInFeedPostOperations': { kind: 'OBJECT'; name: 'LoggedInFeedPostOperations'; fields: { 'canPost': { name: 'canPost'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'RulesOutcome'; ofType: null; }; } }; }; }; 'LoggedInPostOperations': { kind: 'OBJECT'; name: 'LoggedInPostOperations'; fields: { 'canComment': { name: 'canComment'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'TriStateValue'; ofType: null; }; } }; 'canQuote': { name: 'canQuote'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'TriStateValue'; ofType: null; }; } }; 'canRepost': { name: 'canRepost'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'TriStateValue'; ofType: null; }; } }; 'hasBookmarked': { name: 'hasBookmarked'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'hasCommented': { name: 'hasCommented'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'BooleanValue'; ofType: null; }; } }; 'hasQuoted': { name: 'hasQuoted'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'BooleanValue'; ofType: null; }; } }; 'hasReacted': { name: 'hasReacted'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'hasReported': { name: 'hasReported'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'hasReposted': { name: 'hasReposted'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'BooleanValue'; ofType: null; }; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; } }; 'isNotInterested': { name: 'isNotInterested'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; }; }; 'MainContentFocus': { name: 'MainContentFocus'; enumValues: 'ARTICLE' | 'AUDIO' | 'CHECKING_IN' | 'EMBED' | 'EVENT' | 'IMAGE' | 'LINK' | 'LIVESTREAM' | 'MINT' | 'SHORT_VIDEO' | 'SPACE' | 'STORY' | 'TEXT_ONLY' | 'THREE_D' | 'TRANSACTION' | 'VIDEO'; }; 'ManagedAccountsVisibility': { name: 'ManagedAccountsVisibility'; enumValues: 'NONE_HIDDEN' | 'HIDDEN_ONLY' | 'ALL'; }; - 'ManagedAppsRequest': { kind: 'INPUT_OBJECT'; name: 'ManagedAppsRequest'; isOneOf: false; inputFields: [{ name: 'address'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'includeOwners'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; }; defaultValue: "true" }, { 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 }]; }; - 'ManagedFeedsRequest': { kind: 'INPUT_OBJECT'; name: 'ManagedFeedsRequest'; isOneOf: false; inputFields: [{ name: 'address'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'includeOwners'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; }; defaultValue: "true" }, { 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 }]; }; - 'ManagedGraphsRequest': { kind: 'INPUT_OBJECT'; name: 'ManagedGraphsRequest'; isOneOf: false; inputFields: [{ name: 'address'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'includeOwners'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; }; defaultValue: "true" }, { 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 }]; }; - 'ManagedGroupsRequest': { kind: 'INPUT_OBJECT'; name: 'ManagedGroupsRequest'; isOneOf: false; inputFields: [{ name: 'address'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'includeOwners'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; }; defaultValue: "true" }, { 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 }]; }; - 'ManagedNamespacesRequest': { kind: 'INPUT_OBJECT'; name: 'ManagedNamespacesRequest'; isOneOf: false; inputFields: [{ name: 'address'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'includeOwners'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; }; defaultValue: "true" }, { 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 }]; }; + 'ManagedBy': { kind: 'INPUT_OBJECT'; name: 'ManagedBy'; isOneOf: false; inputFields: [{ name: 'address'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'includeOwners'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; }; defaultValue: "true" }]; }; 'MeResult': { kind: 'OBJECT'; name: 'MeResult'; fields: { 'appLoggedIn': { name: 'appLoggedIn'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'isSignless': { name: 'isSignless'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'isSponsored': { name: 'isSponsored'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'limit': { name: 'limit'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'SponsorshipAllowance'; ofType: null; }; } }; 'loggedInAs': { name: 'loggedInAs'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'AccountAvailable'; ofType: null; }; } }; }; }; 'MediaAudio': { kind: 'OBJECT'; name: 'MediaAudio'; fields: { 'artist': { name: 'artist'; type: { kind: 'SCALAR'; name: 'Encryptable'; 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; }; }; }; } }; 'cover': { name: 'cover'; type: { kind: 'SCALAR'; name: 'Encryptable'; ofType: null; } }; 'credits': { name: 'credits'; type: { kind: 'SCALAR'; name: 'Encryptable'; ofType: null; } }; 'duration': { name: 'duration'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; } }; 'genre': { name: 'genre'; type: { kind: 'SCALAR'; name: 'Encryptable'; ofType: null; } }; 'item': { name: 'item'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Encryptable'; ofType: null; }; } }; 'kind': { name: 'kind'; type: { kind: 'ENUM'; name: 'MediaAudioKind'; ofType: null; } }; 'license': { name: 'license'; type: { kind: 'ENUM'; name: 'MetadataLicenseType'; ofType: null; } }; 'lyrics': { name: 'lyrics'; type: { kind: 'SCALAR'; name: 'Encryptable'; ofType: null; } }; 'recordLabel': { name: 'recordLabel'; type: { kind: 'SCALAR'; name: 'Encryptable'; ofType: null; } }; 'type': { name: 'type'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'MediaAudioType'; ofType: null; }; } }; }; }; 'MediaAudioKind': { name: 'MediaAudioKind'; enumValues: 'MUSIC' | 'PODCAST' | 'AUDIOBOOK' | 'VOICE_NOTE' | 'SOUND' | 'OTHER'; }; @@ -258,6 +265,7 @@ export type introspection_types = { 'MediaVideo': { kind: 'OBJECT'; name: 'MediaVideo'; fields: { 'altTag': { name: 'altTag'; type: { kind: 'SCALAR'; name: 'Encryptable'; 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; }; }; }; } }; 'cover': { name: 'cover'; type: { kind: 'SCALAR'; name: 'Encryptable'; ofType: null; } }; 'duration': { name: 'duration'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; } }; 'item': { name: 'item'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Encryptable'; ofType: null; }; } }; 'license': { name: 'license'; type: { kind: 'ENUM'; name: 'MetadataLicenseType'; ofType: null; } }; 'type': { name: 'type'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'MediaVideoType'; ofType: null; }; } }; }; }; 'MediaVideoType': { name: 'MediaVideoType'; enumValues: 'MODEL_GLTF_JSON' | 'MODEL_GLTF_BINARY' | 'VIDEO_XM_4V' | 'VIDEO_MOV' | 'VIDEO_MP_4' | 'VIDEO_MPEG' | 'VIDEO_OGG' | 'VIDEO_OGV' | 'VIDEO_QUICKTIME' | 'VIDEO_WEBM'; }; 'MentionNotification': { kind: 'OBJECT'; name: 'MentionNotification'; 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; }; } }; }; }; + 'MentionReplace': { kind: 'OBJECT'; name: 'MentionReplace'; fields: { 'from': { name: 'from'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'to': { name: 'to'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; }; }; 'MetadataAttribute': { kind: 'OBJECT'; name: 'MetadataAttribute'; fields: { 'key': { name: 'key'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'type': { name: 'type'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'MetadataAttributeType'; ofType: null; }; } }; 'value': { name: 'value'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; }; }; 'MetadataAttributeType': { name: 'MetadataAttributeType'; enumValues: 'BOOLEAN' | 'DATE' | 'NUMBER' | 'STRING' | 'JSON'; }; 'MetadataId': unknown; @@ -267,8 +275,12 @@ export type introspection_types = { 'MlexplorePostsFilter': { kind: 'INPUT_OBJECT'; name: 'MlexplorePostsFilter'; isOneOf: false; inputFields: [{ name: 'since'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; defaultValue: null }]; }; 'MlexplorePostsRequest': { kind: 'INPUT_OBJECT'; name: 'MlexplorePostsRequest'; 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: 'filter'; type: { kind: 'INPUT_OBJECT'; name: 'MlexplorePostsFilter'; ofType: null; }; defaultValue: null }]; }; 'MlpostsForYouRequest': { kind: 'INPUT_OBJECT'; name: 'MlpostsForYouRequest'; 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: 'shuffle'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; }; defaultValue: "false" }]; }; - 'Mutation': { kind: 'OBJECT'; name: 'Mutation'; fields: { 'addAccountManager': { name: 'addAccountManager'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'AddAccountManagerResult'; ofType: null; }; } }; 'addAdmins': { name: 'addAdmins'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'AddAdminsResult'; ofType: null; }; } }; 'addAppAuthorizationEndpoint': { name: 'addAppAuthorizationEndpoint'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Void'; ofType: null; }; } }; 'addAppFeeds': { name: 'addAppFeeds'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'AddAppFeedsResult'; ofType: null; }; } }; 'addAppGroups': { name: 'addAppGroups'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'AddAppGroupsResult'; ofType: null; }; } }; 'addAppSigners': { name: 'addAppSigners'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'AddAppSignersResult'; ofType: null; }; } }; 'addReaction': { name: 'addReaction'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'AddReactionResult'; ofType: null; }; } }; 'appRefreshServerApiKey': { name: 'appRefreshServerApiKey'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ServerAPIKey'; ofType: null; }; } }; 'assignUsernameToAccount': { name: 'assignUsernameToAccount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'AssignUsernameToAccountResult'; ofType: null; }; } }; 'authenticate': { name: 'authenticate'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'AuthenticationResult'; ofType: null; }; } }; 'block': { name: 'block'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'BlockResult'; ofType: null; }; } }; 'bookmarkPost': { name: 'bookmarkPost'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Void'; ofType: null; }; } }; 'challenge': { name: 'challenge'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'AuthenticationChallenge'; ofType: null; }; } }; 'createAccountWithUsername': { name: 'createAccountWithUsername'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'CreateAccountWithUsernameResult'; ofType: null; }; } }; 'createApp': { name: 'createApp'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'CreateAppResult'; ofType: null; }; } }; 'createFeed': { name: 'createFeed'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'CreateFeedResult'; ofType: null; }; } }; 'createGraph': { name: 'createGraph'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'CreateGraphResult'; ofType: null; }; } }; 'createGroup': { name: 'createGroup'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'CreateGroupResult'; ofType: null; }; } }; 'createUsername': { name: 'createUsername'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'CreateUsernameResult'; ofType: null; }; } }; 'createUsernameNamespace': { name: 'createUsernameNamespace'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'CreateUsernameNamespaceResult'; ofType: null; }; } }; 'deletePost': { name: 'deletePost'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'DeletePostResult'; ofType: null; }; } }; 'editPost': { name: 'editPost'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'PostResult'; ofType: null; }; } }; 'enableSignless': { name: 'enableSignless'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'EnableSignlessResult'; ofType: null; }; } }; 'follow': { name: 'follow'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'FollowResult'; ofType: null; }; } }; 'hideManagedAccount': { name: 'hideManagedAccount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Void'; ofType: null; }; } }; 'hideReply': { name: 'hideReply'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Void'; ofType: null; }; } }; 'joinGroup': { name: 'joinGroup'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'JoinGroupResult'; ofType: null; }; } }; 'leaveGroup': { name: 'leaveGroup'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'LeaveGroupResult'; ofType: null; }; } }; 'legacyRolloverRefresh': { name: 'legacyRolloverRefresh'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'RefreshResult'; ofType: null; }; } }; 'mute': { name: 'mute'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Void'; ofType: null; }; } }; 'post': { name: 'post'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'PostResult'; ofType: null; }; } }; 'recommendAccount': { name: 'recommendAccount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Void'; ofType: null; }; } }; 'refresh': { name: 'refresh'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'RefreshResult'; ofType: null; }; } }; 'removeAccountManager': { name: 'removeAccountManager'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'RemoveAccountManagerResult'; ofType: null; }; } }; 'removeAdmins': { name: 'removeAdmins'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'RemoveAdminsResult'; ofType: null; }; } }; 'removeAppFeeds': { name: 'removeAppFeeds'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'RemoveAppFeedsResult'; ofType: null; }; } }; 'removeAppGroups': { name: 'removeAppGroups'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'RemoveAppGroupsResult'; ofType: null; }; } }; 'removeAppSigners': { name: 'removeAppSigners'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'RemoveAppSignersResult'; ofType: null; }; } }; 'removeSignless': { name: 'removeSignless'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'RemoveSignlessResult'; ofType: null; }; } }; 'reportAccount': { name: 'reportAccount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Void'; ofType: null; }; } }; 'reportPost': { name: 'reportPost'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Void'; ofType: null; }; } }; 'repost': { name: 'repost'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'PostResult'; ofType: null; }; } }; 'revokeAuthentication': { name: 'revokeAuthentication'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Void'; ofType: null; }; } }; 'setAccountMetadata': { name: 'setAccountMetadata'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'SetAccountMetadataResult'; ofType: null; }; } }; 'setAppGraph': { name: 'setAppGraph'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'SetAppGraphResult'; ofType: null; }; } }; 'setAppMetadata': { name: 'setAppMetadata'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'SetAppMetadataResult'; ofType: null; }; } }; 'setAppSponsorship': { name: 'setAppSponsorship'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'SetAppSponsorshipResult'; ofType: null; }; } }; 'setAppTreasury': { name: 'setAppTreasury'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'SetAppTreasuryResult'; ofType: null; }; } }; 'setAppUsernameNamespace': { name: 'setAppUsernameNamespace'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'SetAppUsernameNamespaceResult'; ofType: null; }; } }; 'setAppVerification': { name: 'setAppVerification'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'SetAppVerificationResult'; ofType: null; }; } }; 'setDefaultAppFeed': { name: 'setDefaultAppFeed'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'SetDefaultAppFeedResult'; ofType: null; }; } }; 'switchAccount': { name: 'switchAccount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'SwitchAccountResult'; ofType: null; }; } }; 'unassignUsernameFromAccount': { name: 'unassignUsernameFromAccount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'UnassignUsernameToAccountResult'; ofType: null; }; } }; 'unblock': { name: 'unblock'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'UnblockResult'; ofType: null; }; } }; 'undoBookmarkPost': { name: 'undoBookmarkPost'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Void'; ofType: null; }; } }; 'undoReaction': { name: 'undoReaction'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'UndoReactionResult'; ofType: null; }; } }; 'undoRecommendedAccount': { name: 'undoRecommendedAccount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Void'; ofType: null; }; } }; 'unfollow': { name: 'unfollow'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'UnfollowResult'; ofType: null; }; } }; 'unhideManagedAccount': { name: 'unhideManagedAccount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Void'; ofType: null; }; } }; 'unhideReply': { name: 'unhideReply'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Void'; ofType: null; }; } }; 'unmute': { name: 'unmute'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Void'; ofType: null; }; } }; 'updateAccountManager': { name: 'updateAccountManager'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'UpdateAccountManagerResult'; ofType: null; }; } }; }; }; + 'Mutation': { kind: 'OBJECT'; name: 'Mutation'; fields: { 'addAccountManager': { name: 'addAccountManager'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'AddAccountManagerResult'; ofType: null; }; } }; 'addAdmins': { name: 'addAdmins'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'AddAdminsResult'; ofType: null; }; } }; 'addAppAuthorizationEndpoint': { name: 'addAppAuthorizationEndpoint'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Void'; ofType: null; }; } }; 'addAppFeeds': { name: 'addAppFeeds'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'AddAppFeedsResult'; ofType: null; }; } }; 'addAppGroups': { name: 'addAppGroups'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'AddAppGroupsResult'; ofType: null; }; } }; 'addAppSigners': { name: 'addAppSigners'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'AddAppSignersResult'; ofType: null; }; } }; 'addReaction': { name: 'addReaction'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'AddReactionResult'; ofType: null; }; } }; 'appRefreshServerApiKey': { name: 'appRefreshServerApiKey'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ServerAPIKey'; ofType: null; }; } }; 'assignUsernameToAccount': { name: 'assignUsernameToAccount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'AssignUsernameToAccountResult'; ofType: null; }; } }; 'authenticate': { name: 'authenticate'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'AuthenticationResult'; ofType: null; }; } }; 'block': { name: 'block'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'BlockResult'; ofType: null; }; } }; 'bookmarkPost': { name: 'bookmarkPost'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Void'; ofType: null; }; } }; 'challenge': { name: 'challenge'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'AuthenticationChallenge'; ofType: null; }; } }; 'createAccountWithUsername': { name: 'createAccountWithUsername'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'CreateAccountWithUsernameResult'; ofType: null; }; } }; 'createApp': { name: 'createApp'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'CreateAppResult'; ofType: null; }; } }; 'createFeed': { name: 'createFeed'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'CreateFeedResult'; ofType: null; }; } }; 'createGraph': { name: 'createGraph'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'CreateGraphResult'; ofType: null; }; } }; 'createGroup': { name: 'createGroup'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'CreateGroupResult'; ofType: null; }; } }; 'createUsername': { name: 'createUsername'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'CreateUsernameResult'; ofType: null; }; } }; 'createUsernameNamespace': { name: 'createUsernameNamespace'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'CreateUsernameNamespaceResult'; ofType: null; }; } }; 'deletePost': { name: 'deletePost'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'DeletePostResult'; ofType: null; }; } }; 'editPost': { name: 'editPost'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'PostResult'; ofType: null; }; } }; 'enableSignless': { name: 'enableSignless'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'EnableSignlessResult'; ofType: null; }; } }; 'follow': { name: 'follow'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'FollowResult'; ofType: null; }; } }; 'hideManagedAccount': { name: 'hideManagedAccount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Void'; ofType: null; }; } }; 'hideReply': { name: 'hideReply'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Void'; ofType: null; }; } }; 'joinGroup': { name: 'joinGroup'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'JoinGroupResult'; ofType: null; }; } }; 'leaveGroup': { name: 'leaveGroup'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'LeaveGroupResult'; ofType: null; }; } }; 'legacyRolloverRefresh': { name: 'legacyRolloverRefresh'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'RefreshResult'; ofType: null; }; } }; 'mute': { name: 'mute'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Void'; ofType: null; }; } }; 'post': { name: 'post'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'PostResult'; ofType: null; }; } }; 'recommendAccount': { name: 'recommendAccount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Void'; ofType: null; }; } }; 'refresh': { name: 'refresh'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'RefreshResult'; ofType: null; }; } }; 'removeAccountManager': { name: 'removeAccountManager'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'RemoveAccountManagerResult'; ofType: null; }; } }; 'removeAdmins': { name: 'removeAdmins'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'RemoveAdminsResult'; ofType: null; }; } }; 'removeAppFeeds': { name: 'removeAppFeeds'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'RemoveAppFeedsResult'; ofType: null; }; } }; 'removeAppGroups': { name: 'removeAppGroups'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'RemoveAppGroupsResult'; ofType: null; }; } }; 'removeAppSigners': { name: 'removeAppSigners'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'RemoveAppSignersResult'; ofType: null; }; } }; 'removeSignless': { name: 'removeSignless'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'RemoveSignlessResult'; ofType: null; }; } }; 'reportAccount': { name: 'reportAccount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Void'; ofType: null; }; } }; 'reportPost': { name: 'reportPost'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Void'; ofType: null; }; } }; 'repost': { name: 'repost'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'PostResult'; ofType: null; }; } }; 'revokeAuthentication': { name: 'revokeAuthentication'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Void'; ofType: null; }; } }; 'setAccountMetadata': { name: 'setAccountMetadata'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'SetAccountMetadataResult'; ofType: null; }; } }; 'setAppGraph': { name: 'setAppGraph'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'SetAppGraphResult'; ofType: null; }; } }; 'setAppMetadata': { name: 'setAppMetadata'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'SetAppMetadataResult'; ofType: null; }; } }; 'setAppSponsorship': { name: 'setAppSponsorship'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'SetAppSponsorshipResult'; ofType: null; }; } }; 'setAppTreasury': { name: 'setAppTreasury'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'SetAppTreasuryResult'; ofType: null; }; } }; 'setAppUsernameNamespace': { name: 'setAppUsernameNamespace'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'SetAppUsernameNamespaceResult'; ofType: null; }; } }; 'setAppVerification': { name: 'setAppVerification'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'SetAppVerificationResult'; ofType: null; }; } }; 'setDefaultAppFeed': { name: 'setDefaultAppFeed'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'SetDefaultAppFeedResult'; ofType: null; }; } }; 'switchAccount': { name: 'switchAccount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'SwitchAccountResult'; ofType: null; }; } }; 'transferPrimitiveOwnership': { name: 'transferPrimitiveOwnership'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'TransferPrimitiveOwnershipResult'; ofType: null; }; } }; 'unassignUsernameFromAccount': { name: 'unassignUsernameFromAccount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'UnassignUsernameToAccountResult'; ofType: null; }; } }; 'unblock': { name: 'unblock'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'UnblockResult'; ofType: null; }; } }; 'undoBookmarkPost': { name: 'undoBookmarkPost'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Void'; ofType: null; }; } }; 'undoReaction': { name: 'undoReaction'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'UndoReactionResult'; ofType: null; }; } }; 'undoRecommendedAccount': { name: 'undoRecommendedAccount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Void'; ofType: null; }; } }; 'unfollow': { name: 'unfollow'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'UnfollowResult'; ofType: null; }; } }; 'unhideManagedAccount': { name: 'unhideManagedAccount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Void'; ofType: null; }; } }; 'unhideReply': { name: 'unhideReply'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Void'; ofType: null; }; } }; 'unmute': { name: 'unmute'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Void'; ofType: null; }; } }; 'updateAccountManager': { name: 'updateAccountManager'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'UpdateAccountManagerResult'; ofType: null; }; } }; }; }; 'MuteRequest': { kind: 'INPUT_OBJECT'; name: 'MuteRequest'; isOneOf: false; inputFields: [{ name: 'account'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }]; }; + 'NamespacesFilterRequest': { kind: 'INPUT_OBJECT'; name: 'NamespacesFilterRequest'; isOneOf: false; inputFields: [{ name: 'managedBy'; type: { kind: 'INPUT_OBJECT'; name: 'ManagedBy'; ofType: null; }; defaultValue: null }, { name: 'searchQuery'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; }; defaultValue: null }]; }; + 'NamespacesOrderBy': { name: 'NamespacesOrderBy'; enumValues: 'LATEST_FIRST' | 'OLDEST_FIRST' | 'ALPHABETICAL'; }; + 'NamespacesRequest': { kind: 'INPUT_OBJECT'; name: 'NamespacesRequest'; isOneOf: false; inputFields: [{ name: 'filter'; type: { kind: 'INPUT_OBJECT'; name: 'NamespacesFilterRequest'; ofType: null; }; defaultValue: null }, { name: 'orderBy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'NamespacesOrderBy'; ofType: null; }; }; defaultValue: "LATEST_FIRST" }, { 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 }]; }; + 'NamespacesResult': { kind: 'OBJECT'; name: 'NamespacesResult'; fields: { 'items': { name: 'items'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'UsernameNamespace'; ofType: null; }; }; }; } }; 'pageInfo': { name: 'pageInfo'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedResultInfo'; ofType: null; }; } }; }; }; 'NestedPost': { kind: 'UNION'; name: 'NestedPost'; fields: {}; possibleTypes: 'Post' | 'PostReference'; }; 'NetworkAddress': { kind: 'OBJECT'; name: 'NetworkAddress'; fields: { 'address': { name: 'address'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'chainId': { name: 'chainId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; } }; }; }; 'NftContractType': { name: 'NftContractType'; enumValues: 'ERC_721' | 'ERC_1155'; }; @@ -295,7 +307,6 @@ export type introspection_types = { 'PaginatedAppFeedsResult': { kind: 'OBJECT'; name: 'PaginatedAppFeedsResult'; fields: { 'items': { name: 'items'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'AppFeed'; ofType: null; }; }; }; } }; 'pageInfo': { name: 'pageInfo'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedResultInfo'; ofType: null; }; } }; }; }; 'PaginatedAppSignersResult': { kind: 'OBJECT'; name: 'PaginatedAppSignersResult'; fields: { 'items': { name: 'items'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'AppSigner'; ofType: null; }; }; }; } }; 'pageInfo': { name: 'pageInfo'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedResultInfo'; ofType: null; }; } }; }; }; 'PaginatedAppUsersResult': { kind: 'OBJECT'; name: 'PaginatedAppUsersResult'; fields: { 'items': { name: 'items'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'AppUser'; ofType: null; }; }; }; } }; 'pageInfo': { name: 'pageInfo'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedResultInfo'; ofType: null; }; } }; }; }; - 'PaginatedAppsResult': { kind: 'OBJECT'; name: 'PaginatedAppsResult'; fields: { 'items': { name: 'items'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'App'; ofType: null; }; }; }; } }; 'pageInfo': { name: 'pageInfo'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedResultInfo'; ofType: null; }; } }; }; }; 'PaginatedFeedsResult': { kind: 'OBJECT'; name: 'PaginatedFeedsResult'; fields: { 'items': { name: 'items'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Feed'; ofType: null; }; }; }; } }; 'pageInfo': { name: 'pageInfo'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedResultInfo'; ofType: null; }; } }; }; }; 'PaginatedFollowersResult': { kind: 'OBJECT'; name: 'PaginatedFollowersResult'; fields: { 'items': { name: 'items'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Follower'; ofType: null; }; }; }; } }; 'pageInfo': { name: 'pageInfo'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedResultInfo'; ofType: null; }; } }; }; }; 'PaginatedFollowingResult': { kind: 'OBJECT'; name: 'PaginatedFollowingResult'; fields: { 'items': { name: 'items'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Following'; ofType: null; }; }; }; } }; 'pageInfo': { name: 'pageInfo'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedResultInfo'; ofType: null; }; } }; }; }; @@ -309,12 +320,11 @@ export type introspection_types = { 'PaginatedPostsResult': { kind: 'OBJECT'; name: 'PaginatedPostsResult'; fields: { 'items': { name: 'items'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Post'; ofType: null; }; }; }; } }; 'pageInfo': { name: 'pageInfo'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedResultInfo'; ofType: null; }; } }; }; }; 'PaginatedResultInfo': { kind: 'OBJECT'; name: 'PaginatedResultInfo'; fields: { 'next': { name: 'next'; type: { kind: 'SCALAR'; name: 'Cursor'; ofType: null; } }; 'prev': { name: 'prev'; type: { kind: 'SCALAR'; name: 'Cursor'; ofType: null; } }; }; }; 'PaginatedTimelineResult': { kind: 'OBJECT'; name: 'PaginatedTimelineResult'; fields: { 'items': { name: 'items'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TimelineItem'; ofType: null; }; }; }; } }; 'pageInfo': { name: 'pageInfo'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedResultInfo'; ofType: null; }; } }; }; }; - 'PaginatedUsernameNamespacesResult': { kind: 'OBJECT'; name: 'PaginatedUsernameNamespacesResult'; fields: { 'items': { name: 'items'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'UsernameNamespace'; ofType: null; }; }; }; } }; 'pageInfo': { name: 'pageInfo'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedResultInfo'; ofType: null; }; } }; }; }; 'PaginatedUsernamesResult': { kind: 'OBJECT'; name: 'PaginatedUsernamesResult'; fields: { 'items': { name: 'items'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Username'; ofType: null; }; }; }; } }; 'pageInfo': { name: 'pageInfo'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedResultInfo'; ofType: null; }; } }; }; }; '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; } }; '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; }; } }; }; }; + '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: 'UNION'; name: 'PostMention'; 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'; }; @@ -327,6 +337,7 @@ export type introspection_types = { 'PostEditsRequest': { kind: 'INPUT_OBJECT'; name: 'PostEditsRequest'; isOneOf: false; inputFields: [{ name: 'post'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'PostId'; 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 }]; }; 'PostForYou': { kind: 'OBJECT'; name: 'PostForYou'; fields: { 'post': { name: 'post'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Post'; ofType: null; }; } }; 'source': { name: 'source'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'ForYouSource'; ofType: null; }; } }; }; }; 'PostId': unknown; + 'PostMention': { kind: 'UNION'; name: 'PostMention'; fields: {}; possibleTypes: 'AccountMention' | 'GroupMention'; }; 'PostMetadata': { kind: 'UNION'; name: 'PostMetadata'; fields: {}; possibleTypes: 'ArticleMetadata' | 'AudioMetadata' | 'CheckingInMetadata' | 'EmbedMetadata' | 'EventMetadata' | 'ImageMetadata' | 'LinkMetadata' | 'LivestreamMetadata' | 'MintMetadata' | 'SpaceMetadata' | 'StoryMetadata' | 'TextOnlyMetadata' | 'ThreeDMetadata' | 'TransactionMetadata' | 'VideoMetadata'; }; 'PostMetadataContentWarningFilter': { kind: 'INPUT_OBJECT'; name: 'PostMetadataContentWarningFilter'; isOneOf: false; inputFields: [{ name: 'oneOf'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'ContentWarning'; ofType: null; }; }; }; }; defaultValue: null }]; }; 'PostMetadataFilter': { kind: 'INPUT_OBJECT'; name: 'PostMetadataFilter'; isOneOf: false; inputFields: [{ name: 'mainContentFocus'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'MainContentFocus'; ofType: null; }; }; }; defaultValue: null }, { name: 'tags'; type: { kind: 'INPUT_OBJECT'; name: 'PostMetadataTagsFilter'; ofType: null; }; defaultValue: null }, { name: 'contentWarning'; type: { kind: 'INPUT_OBJECT'; name: 'PostMetadataContentWarningFilter'; ofType: null; }; defaultValue: null }]; }; @@ -352,10 +363,10 @@ export type introspection_types = { '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 }]; }; 'PostType': { name: 'PostType'; enumValues: 'ROOT' | 'COMMENT' | 'REPOST' | 'QUOTE'; }; 'PostVisibilityFilter': { name: 'PostVisibilityFilter'; enumValues: 'ALL' | 'HIDDEN' | 'VISIBLE'; }; - 'PostsFilterRequest': { kind: 'INPUT_OBJECT'; name: 'PostsFilterRequest'; isOneOf: false; inputFields: [{ name: 'authors'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; }; defaultValue: null }, { 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 }, { name: 'apps'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; }; defaultValue: null }]; }; + 'PostsFilterRequest': { kind: 'INPUT_OBJECT'; name: 'PostsFilterRequest'; isOneOf: false; inputFields: [{ name: 'authors'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; }; defaultValue: null }, { 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 }, { name: 'apps'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; }; defaultValue: null }, { name: 'searchQuery'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; }; defaultValue: null }]; }; 'PostsRequest': { kind: 'INPUT_OBJECT'; name: 'PostsRequest'; 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: "[\"0x83C8D9e96Da13aaD12E068F48C639C7671D2a5C7\"]" }, { name: 'filter'; type: { kind: 'INPUT_OBJECT'; name: 'PostsFilterRequest'; 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 }]; }; 'ProfileOwnershipCondition': { kind: 'OBJECT'; name: 'ProfileOwnershipCondition'; fields: { 'profileId': { name: 'profileId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'LegacyProfileId'; ofType: null; }; } }; 'type': { name: 'type'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; }; }; - 'Query': { kind: 'OBJECT'; name: 'Query'; fields: { '_service': { name: '_service'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: '_Service'; ofType: null; }; } }; 'account': { name: 'account'; type: { kind: 'OBJECT'; name: 'Account'; ofType: null; } }; 'accountFeedsStats': { name: 'accountFeedsStats'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'AccountFeedsStats'; ofType: null; }; } }; 'accountGraphsStats': { name: 'accountGraphsStats'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'AccountGraphsFollowStats'; ofType: null; }; } }; 'accountManagers': { name: 'accountManagers'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedAccountManagersResult'; ofType: null; }; } }; 'accountStats': { name: 'accountStats'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'AccountStats'; ofType: null; }; } }; 'accounts': { name: 'accounts'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Account'; ofType: null; }; }; }; } }; 'accountsAvailable': { name: 'accountsAvailable'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedAccountsAvailableResult'; ofType: null; }; } }; 'accountsBlocked': { name: 'accountsBlocked'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedAccountsBlockedResult'; ofType: null; }; } }; 'adminsFor': { name: 'adminsFor'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedAdminsResult'; ofType: null; }; } }; 'app': { name: 'app'; type: { kind: 'OBJECT'; name: 'App'; ofType: null; } }; 'appFeeds': { name: 'appFeeds'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedAppFeedsResult'; ofType: null; }; } }; 'appGroups': { name: 'appGroups'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedGroupsResult'; ofType: null; }; } }; 'appServerApiKey': { name: 'appServerApiKey'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ServerAPIKey'; ofType: null; }; } }; 'appSigners': { name: 'appSigners'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedAppSignersResult'; ofType: null; }; } }; 'appUsers': { name: 'appUsers'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedAppUsersResult'; ofType: null; }; } }; 'apps': { name: 'apps'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedAppsResult'; ofType: null; }; } }; 'authenticatedSessions': { name: 'authenticatedSessions'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedActiveAuthenticationsResult'; ofType: null; }; } }; 'currentSession': { name: 'currentSession'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'AuthenticatedSession'; ofType: null; }; } }; 'debugMetadata': { name: 'debugMetadata'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'DebugPostMetadataResult'; ofType: null; }; } }; 'debugTransactionStatusFailed': { name: 'debugTransactionStatusFailed'; type: { kind: 'OBJECT'; name: 'DebugTransactionStatusResult'; ofType: null; } }; 'feed': { name: 'feed'; type: { kind: 'OBJECT'; name: 'Feed'; ofType: null; } }; 'followStatus': { name: 'followStatus'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'FollowStatusResult'; ofType: null; }; }; }; } }; 'followers': { name: 'followers'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedFollowersResult'; ofType: null; }; } }; 'followersYouKnow': { name: 'followersYouKnow'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedFollowersResult'; ofType: null; }; } }; 'following': { name: 'following'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedFollowingResult'; ofType: null; }; } }; 'graph': { name: 'graph'; type: { kind: 'OBJECT'; name: 'Graph'; ofType: null; } }; 'group': { name: 'group'; type: { kind: 'OBJECT'; name: 'Group'; ofType: null; } }; 'groupMembers': { name: 'groupMembers'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedAccountsResult'; ofType: null; }; } }; 'groupStats': { name: 'groupStats'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'GroupStatsResponse'; ofType: null; }; } }; 'groups': { name: 'groups'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedGroupsResult'; ofType: null; }; } }; 'health': { name: 'health'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'lastLoggedInAccount': { name: 'lastLoggedInAccount'; type: { kind: 'OBJECT'; name: 'Account'; ofType: null; } }; 'managedApps': { name: 'managedApps'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedAppsResult'; ofType: null; }; } }; 'managedFeeds': { name: 'managedFeeds'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedFeedsResult'; ofType: null; }; } }; 'managedGraphs': { name: 'managedGraphs'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedGraphsResult'; ofType: null; }; } }; 'managedGroups': { name: 'managedGroups'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedGroupsResult'; ofType: null; }; } }; 'managedNamespaces': { name: 'managedNamespaces'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedUsernameNamespacesResult'; ofType: null; }; } }; 'me': { name: 'me'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'MeResult'; ofType: null; }; } }; 'mlAccountRecommendations': { name: 'mlAccountRecommendations'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedAccountsResult'; ofType: null; }; } }; 'mlPostsExplore': { name: 'mlPostsExplore'; type: { kind: 'OBJECT'; name: 'PaginatedPostsResult'; ofType: null; } }; 'mlPostsForYou': { name: 'mlPostsForYou'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedPostsForYouResult'; ofType: null; }; } }; 'notifications': { name: 'notifications'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedNotificationResult'; ofType: null; }; } }; 'post': { name: 'post'; type: { kind: 'UNION'; name: 'AnyPost'; ofType: null; } }; 'postActions': { name: 'postActions'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedActions'; ofType: null; }; } }; 'postBookmarks': { name: 'postBookmarks'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedAnyPostsResult'; ofType: null; }; } }; 'postEdits': { name: 'postEdits'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedPostEditsResult'; ofType: null; }; } }; 'postReactionStatus': { name: 'postReactionStatus'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PostReactionStatus'; ofType: null; }; }; }; } }; 'postReactions': { name: 'postReactions'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedPostReactionsResult'; ofType: null; }; } }; 'postReferences': { name: 'postReferences'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedAnyPostsResult'; ofType: null; }; } }; 'postTags': { name: 'postTags'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedPostTagsResult'; ofType: null; }; } }; 'posts': { name: 'posts'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedAnyPostsResult'; ofType: null; }; } }; 'searchAccounts': { name: 'searchAccounts'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedAccountsResult'; ofType: null; }; } }; 'searchGroups': { name: 'searchGroups'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedGroupsResult'; ofType: null; }; } }; 'searchPosts': { name: 'searchPosts'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedAnyPostsResult'; ofType: null; }; } }; 'timeline': { name: 'timeline'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedTimelineResult'; ofType: null; }; } }; 'timelineHighlights': { name: 'timelineHighlights'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedPostsResult'; ofType: null; }; } }; 'transactionStatus': { name: 'transactionStatus'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'TransactionStatusResult'; ofType: null; }; } }; 'username': { name: 'username'; type: { kind: 'OBJECT'; name: 'Username'; ofType: null; } }; 'usernameNamespace': { name: 'usernameNamespace'; type: { kind: 'OBJECT'; name: 'UsernameNamespace'; ofType: null; } }; 'usernames': { name: 'usernames'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedUsernamesResult'; ofType: null; }; } }; 'whoActedOnPost': { name: 'whoActedOnPost'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedAccountsResult'; ofType: null; }; } }; 'whoReferencedPost': { name: 'whoReferencedPost'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedAccountsResult'; ofType: null; }; } }; }; }; + 'Query': { kind: 'OBJECT'; name: 'Query'; fields: { '_service': { name: '_service'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: '_Service'; ofType: null; }; } }; 'account': { name: 'account'; type: { kind: 'OBJECT'; name: 'Account'; ofType: null; } }; 'accountFeedsStats': { name: 'accountFeedsStats'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'AccountFeedsStats'; ofType: null; }; } }; 'accountGraphsStats': { name: 'accountGraphsStats'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'AccountGraphsFollowStats'; ofType: null; }; } }; 'accountManagers': { name: 'accountManagers'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedAccountManagersResult'; ofType: null; }; } }; 'accountStats': { name: 'accountStats'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'AccountStats'; ofType: null; }; } }; 'accounts': { name: 'accounts'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedAccountsResult'; ofType: null; }; } }; 'accountsAvailable': { name: 'accountsAvailable'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedAccountsAvailableResult'; ofType: null; }; } }; 'accountsBlocked': { name: 'accountsBlocked'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedAccountsBlockedResult'; ofType: null; }; } }; 'accountsBulk': { name: 'accountsBulk'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Account'; ofType: null; }; }; }; } }; 'adminsFor': { name: 'adminsFor'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedAdminsResult'; ofType: null; }; } }; 'app': { name: 'app'; type: { kind: 'OBJECT'; name: 'App'; ofType: null; } }; 'appFeeds': { name: 'appFeeds'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedAppFeedsResult'; ofType: null; }; } }; 'appGroups': { name: 'appGroups'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedGroupsResult'; ofType: null; }; } }; 'appServerApiKey': { name: 'appServerApiKey'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ServerAPIKey'; ofType: null; }; } }; 'appSigners': { name: 'appSigners'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedAppSignersResult'; ofType: null; }; } }; 'appUsers': { name: 'appUsers'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedAppUsersResult'; ofType: null; }; } }; 'apps': { name: 'apps'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'AppsResult'; ofType: null; }; } }; 'authenticatedSessions': { name: 'authenticatedSessions'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedActiveAuthenticationsResult'; ofType: null; }; } }; 'currentSession': { name: 'currentSession'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'AuthenticatedSession'; ofType: null; }; } }; 'debugMetadata': { name: 'debugMetadata'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'DebugPostMetadataResult'; ofType: null; }; } }; 'debugTransactionStatusFailed': { name: 'debugTransactionStatusFailed'; type: { kind: 'OBJECT'; name: 'DebugTransactionStatusResult'; ofType: null; } }; 'feed': { name: 'feed'; type: { kind: 'OBJECT'; name: 'Feed'; ofType: null; } }; 'feeds': { name: 'feeds'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedFeedsResult'; ofType: null; }; } }; 'followStatus': { name: 'followStatus'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'FollowStatusResult'; ofType: null; }; }; }; } }; 'followers': { name: 'followers'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedFollowersResult'; ofType: null; }; } }; 'followersYouKnow': { name: 'followersYouKnow'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedFollowersResult'; ofType: null; }; } }; 'following': { name: 'following'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedFollowingResult'; ofType: null; }; } }; 'graph': { name: 'graph'; type: { kind: 'OBJECT'; name: 'Graph'; ofType: null; } }; 'graphs': { name: 'graphs'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedGraphsResult'; ofType: null; }; } }; 'group': { name: 'group'; type: { kind: 'OBJECT'; name: 'Group'; ofType: null; } }; 'groupMembers': { name: 'groupMembers'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedAccountsResult'; ofType: null; }; } }; 'groupStats': { name: 'groupStats'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'GroupStatsResponse'; ofType: null; }; } }; 'groups': { name: 'groups'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedGroupsResult'; ofType: null; }; } }; 'health': { name: 'health'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'lastLoggedInAccount': { name: 'lastLoggedInAccount'; type: { kind: 'OBJECT'; name: 'Account'; ofType: null; } }; 'me': { name: 'me'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'MeResult'; ofType: null; }; } }; 'mlAccountRecommendations': { name: 'mlAccountRecommendations'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedAccountsResult'; ofType: null; }; } }; 'mlPostsExplore': { name: 'mlPostsExplore'; type: { kind: 'OBJECT'; name: 'PaginatedPostsResult'; ofType: null; } }; 'mlPostsForYou': { name: 'mlPostsForYou'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedPostsForYouResult'; ofType: null; }; } }; 'namespaces': { name: 'namespaces'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'NamespacesResult'; ofType: null; }; } }; 'notifications': { name: 'notifications'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedNotificationResult'; ofType: null; }; } }; 'post': { name: 'post'; type: { kind: 'UNION'; name: 'AnyPost'; ofType: null; } }; 'postActions': { name: 'postActions'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedActions'; ofType: null; }; } }; 'postBookmarks': { name: 'postBookmarks'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedAnyPostsResult'; ofType: null; }; } }; 'postEdits': { name: 'postEdits'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedPostEditsResult'; ofType: null; }; } }; 'postReactionStatus': { name: 'postReactionStatus'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PostReactionStatus'; ofType: null; }; }; }; } }; 'postReactions': { name: 'postReactions'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedPostReactionsResult'; ofType: null; }; } }; 'postReferences': { name: 'postReferences'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedAnyPostsResult'; ofType: null; }; } }; 'postTags': { name: 'postTags'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedPostTagsResult'; ofType: null; }; } }; 'posts': { name: 'posts'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedAnyPostsResult'; ofType: null; }; } }; 'timeline': { name: 'timeline'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedTimelineResult'; ofType: null; }; } }; 'timelineHighlights': { name: 'timelineHighlights'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedPostsResult'; ofType: null; }; } }; 'transactionStatus': { name: 'transactionStatus'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'TransactionStatusResult'; ofType: null; }; } }; 'username': { name: 'username'; type: { kind: 'OBJECT'; name: 'Username'; ofType: null; } }; 'usernameNamespace': { name: 'usernameNamespace'; type: { kind: 'OBJECT'; name: 'UsernameNamespace'; ofType: null; } }; 'usernames': { name: 'usernames'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedUsernamesResult'; ofType: null; }; } }; 'whoActedOnPost': { name: 'whoActedOnPost'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedAccountsResult'; ofType: null; }; } }; 'whoReferencedPost': { name: 'whoReferencedPost'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedAccountsResult'; ofType: null; }; } }; }; }; 'QuoteNotification': { kind: 'OBJECT'; name: 'QuoteNotification'; fields: { 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'GeneratedNotificationId'; ofType: null; }; } }; 'quote': { name: 'quote'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Post'; ofType: null; }; } }; }; }; 'ReactionNotification': { kind: 'OBJECT'; name: 'ReactionNotification'; 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; }; } }; 'reactions': { name: 'reactions'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'NotificationAccountPostReaction'; ofType: null; }; }; }; } }; }; }; 'RecipientDataInput': { kind: 'INPUT_OBJECT'; name: 'RecipientDataInput'; isOneOf: false; inputFields: [{ name: 'recipient'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'split'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Float'; ofType: null; }; }; defaultValue: null }]; }; @@ -387,9 +398,9 @@ export type introspection_types = { '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 }]; }; + 'RulesFailed': { kind: 'OBJECT'; name: 'RulesFailed'; fields: { 'unsatisfiedRules': { name: 'unsatisfiedRules'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'UnsatisfiedRule'; ofType: null; }; }; }; } }; }; }; + 'RulesOutcome': { kind: 'UNION'; name: 'RulesOutcome'; fields: {}; possibleTypes: 'RulesFailed' | 'RulesSucceeded'; }; + 'RulesSucceeded': { kind: 'OBJECT'; name: 'RulesSucceeded'; fields: { 'extraChecksRequired': { name: 'extraChecksRequired'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'UnknownRule'; ofType: null; }; }; }; } }; 'restrictedSignerRequired': { name: 'restrictedSignerRequired'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; }; }; 'SelfFundedFallbackReason': { name: 'SelfFundedFallbackReason'; enumValues: 'NOT_SPONSORED' | 'CANNOT_SPONSOR'; }; 'SelfFundedTransactionRequest': { kind: 'OBJECT'; name: 'SelfFundedTransactionRequest'; fields: { 'raw': { name: 'raw'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Eip1559TransactionRequest'; ofType: null; }; } }; 'reason': { name: 'reason'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'selfFundedReason': { name: 'selfFundedReason'; type: { kind: 'ENUM'; name: 'SelfFundedFallbackReason'; ofType: null; } }; }; }; 'ServerAPIKey': unknown; @@ -451,6 +462,8 @@ export type introspection_types = { 'TransactionStatusResult': { kind: 'UNION'; name: 'TransactionStatusResult'; fields: {}; possibleTypes: 'FailedTransactionStatus' | 'FinishedTransactionStatus' | 'NotIndexedYetStatus' | 'PendingTransactionStatus'; }; 'TransactionType': { name: 'TransactionType'; enumValues: 'ERC_721' | 'ERC_20' | 'OTHER'; }; 'TransactionWillFail': { kind: 'OBJECT'; name: 'TransactionWillFail'; fields: { 'reason': { name: 'reason'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; }; }; + 'TransferPrimitiveOwnershipRequest': { kind: 'INPUT_OBJECT'; name: 'TransferPrimitiveOwnershipRequest'; isOneOf: false; inputFields: [{ name: 'address'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'newOwner'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }]; }; + 'TransferPrimitiveOwnershipResult': { kind: 'UNION'; name: 'TransferPrimitiveOwnershipResult'; fields: {}; possibleTypes: 'SelfFundedTransactionRequest' | 'SponsoredTransactionRequest' | 'TransactionWillFail'; }; 'TriStateValue': { name: 'TriStateValue'; enumValues: 'YES' | 'NO' | 'UNKNOWN'; }; 'TxHash': unknown; 'URI': unknown; @@ -484,7 +497,9 @@ export type introspection_types = { '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; }; } }; }; }; + 'UnknownRule': { kind: 'OBJECT'; name: 'UnknownRule'; fields: { 'configParams': { name: 'configParams'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'KeyValue'; 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; }; } }; }; }; + 'UnsatisfiedRule': { kind: 'OBJECT'; name: 'UnsatisfiedRule'; fields: { 'name': { name: 'name'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'reason': { name: 'reason'; type: { 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; }; } }; }; }; '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; }; } }; }; }; @@ -496,6 +511,7 @@ export type introspection_types = { '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 }]; }; + 'UsernameSearchInput': { kind: 'INPUT_OBJECT'; name: 'UsernameSearchInput'; isOneOf: false; inputFields: [{ name: 'localNameQuery'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; }; defaultValue: null }, { name: 'namespaces'; 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: "[\"0x6Cc71E78e25eBF6A2525CadC1fc628B42AE4138f\"]" }]; }; '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 }]; }; 'VideoMetadata': { kind: 'OBJECT'; name: 'VideoMetadata'; 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; } }; 'video': { name: 'video'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'MediaVideo'; ofType: null; }; } }; }; }; From 294fdfe8e256fc24ded82188a88336949ac1a052 Mon Sep 17 00:00:00 2001 From: Juan Garcia Date: Thu, 12 Dec 2024 15:20:31 +0100 Subject: [PATCH 2/7] Remove no needed fragment --- packages/graphql/src/accounts/account.ts | 23 ++++++++--------------- 1 file changed, 8 insertions(+), 15 deletions(-) diff --git a/packages/graphql/src/accounts/account.ts b/packages/graphql/src/accounts/account.ts index ff3884f4b..7efff329a 100644 --- a/packages/graphql/src/accounts/account.ts +++ b/packages/graphql/src/accounts/account.ts @@ -21,26 +21,19 @@ export const AccountQuery = graphql( export type AccountRequest = RequestOf; -const PaginatedAccountsResultFragment = graphql( - `fragment PaginatedAccountsResult on PaginatedAccountsResult { - items{ - ...Account - } - pageInfo { - ...PaginatedResultInfo - } - }`, - [Account, PaginatedResultInfo], -); -export type PaginatedAccountsResult = FragmentOf; - export const AccountsQuery = graphql( `query Accounts($request: AccountsRequest!) { value: accounts(request: $request) { - ...PaginatedAccountsResult + __typename + items{ + ...Account + } + pageInfo { + ...PaginatedResultInfo + } } }`, - [PaginatedAccountsResultFragment], + [Account, PaginatedResultInfo], ); export type AccountsRequest = RequestOf; From 4dc67394da999f5ea1147b9ecb22643b68ff4dda Mon Sep 17 00:00:00 2001 From: Juan Garcia Date: Thu, 12 Dec 2024 15:23:43 +0100 Subject: [PATCH 3/7] Fix --- packages/client/src/actions/account.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/client/src/actions/account.ts b/packages/client/src/actions/account.ts index d4436f26c..6c2c00c93 100644 --- a/packages/client/src/actions/account.ts +++ b/packages/client/src/actions/account.ts @@ -18,7 +18,6 @@ import type { CreateAccountWithUsernameResult, EnableSignlessResult, MuteRequest, - PaginatedAccountsResult, RecommendAccountRequest, RemoveSignlessResult, ReportAccountRequest, @@ -93,7 +92,7 @@ export function fetchAccount( export function fetchAccounts( client: AnyClient, request: AccountsRequest, -): ResultAsync { +): ResultAsync | null, UnexpectedError> { return client.query(AccountsQuery, { request }); } From f7bda582d7185d4fed669dd2607e58522f6f8d77 Mon Sep 17 00:00:00 2001 From: Juan Garcia Date: Fri, 13 Dec 2024 10:07:51 +0100 Subject: [PATCH 4/7] Add accountsBulk query --- packages/client/src/actions/account.ts | 20 ++++++++++++++++++++ packages/graphql/src/accounts/account.ts | 12 ++++++++++-- packages/graphql/src/fragments/account.ts | 11 ++++++++++- 3 files changed, 40 insertions(+), 3 deletions(-) diff --git a/packages/client/src/actions/account.ts b/packages/client/src/actions/account.ts index 8e6b0b806..d42354eca 100644 --- a/packages/client/src/actions/account.ts +++ b/packages/client/src/actions/account.ts @@ -11,6 +11,7 @@ import type { AccountStatsRequest, AccountsAvailableRequest, AccountsBlockedRequest, + AccountsBulkRequest, AccountsRequest, BlockRequest, BlockResult, @@ -36,6 +37,7 @@ import { AccountStatsQuery, AccountsAvailableQuery, AccountsBlockedQuery, + AccountsBulkQuery, AccountsQuery, BlockMutation, CreateAccountWithUsernameMutation, @@ -96,6 +98,24 @@ export function fetchAccounts( return client.query(AccountsQuery, { request }); } +/** + * Fetch an Accounts Bulk. + * + * ```ts + * const result = await fetchAccountsBulk(anyClient); + * ``` + * + * @param client - Any Lens client. + * @param request - The query request. + * @returns The list of accounts. + */ +export function fetchAccountsBulk( + client: AnyClient, + request: AccountsBulkRequest, +): ResultAsync { + return client.query(AccountsBulkQuery, { request }); +} + /** * Fetch an Account Stats. * diff --git a/packages/graphql/src/accounts/account.ts b/packages/graphql/src/accounts/account.ts index df185fe6a..1ca25a54f 100644 --- a/packages/graphql/src/accounts/account.ts +++ b/packages/graphql/src/accounts/account.ts @@ -18,7 +18,6 @@ export const AccountQuery = graphql( }`, [AccountFragment], ); - export type AccountRequest = RequestOf; export const AccountsQuery = graphql( @@ -35,9 +34,18 @@ export const AccountsQuery = graphql( }`, [AccountFragment, PaginatedResultInfoFragment], ); - export type AccountsRequest = RequestOf; +export const AccountsBulkQuery = graphql( + `query AccountsBulk($request: AccountsBulkRequest!) { + value: accountsBulk(request: $request) { + ...Account + } + }`, + [AccountFragment], +); +export type AccountsBulkRequest = RequestOf; + const SetAccountMetadataResponse = graphql( `fragment SetAccountMetadataResponse on SetAccountMetadataResponse { __typename diff --git a/packages/graphql/src/fragments/account.ts b/packages/graphql/src/fragments/account.ts index e520d302e..5f71a3d2b 100644 --- a/packages/graphql/src/fragments/account.ts +++ b/packages/graphql/src/fragments/account.ts @@ -1,5 +1,6 @@ import type { FragmentOf } from 'gql.tada'; import { graphql } from '../graphql'; +import { MetadataAttributeFragment } from './metadata'; import { Username } from './username'; export const LoggedInAccountOperationsFragment = graphql( @@ -20,11 +21,19 @@ export const LoggedInAccountOperationsFragment = graphql( ); export type LoggedInAccountOperations = FragmentOf; -// TODO fix this export const AccountMetadataFragment = graphql( `fragment AccountMetadata on AccountMetadata { __typename + attributes { + ...MetadataAttribute + } + bio + coverPicture + id + name + picture }`, + [MetadataAttributeFragment], ); export type AccountMetadata = FragmentOf; From 48d1f7f0a0bad507678d8b124ec4af1203a12c54 Mon Sep 17 00:00:00 2001 From: Juan Date: Fri, 13 Dec 2024 12:07:55 +0100 Subject: [PATCH 5/7] Update packages/client/src/actions/account.ts Co-authored-by: Cesare Naldi --- packages/client/src/actions/account.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/client/src/actions/account.ts b/packages/client/src/actions/account.ts index d42354eca..f31895ee1 100644 --- a/packages/client/src/actions/account.ts +++ b/packages/client/src/actions/account.ts @@ -111,7 +111,7 @@ export function fetchAccounts( */ export function fetchAccountsBulk( client: AnyClient, - request: AccountsBulkRequest, + request: AccountsBulkRequest = {}, ): ResultAsync { return client.query(AccountsBulkQuery, { request }); } From cf0a8e0ee9ce8bf1064522966839a9f3e77cffae Mon Sep 17 00:00:00 2001 From: Juan Date: Fri, 13 Dec 2024 12:08:03 +0100 Subject: [PATCH 6/7] Update packages/client/src/actions/account.ts Co-authored-by: Cesare Naldi --- packages/client/src/actions/account.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/client/src/actions/account.ts b/packages/client/src/actions/account.ts index f31895ee1..2c79b0a42 100644 --- a/packages/client/src/actions/account.ts +++ b/packages/client/src/actions/account.ts @@ -93,7 +93,7 @@ export function fetchAccount( */ export function fetchAccounts( client: AnyClient, - request: AccountsRequest, + request: AccountsRequest = {}, ): ResultAsync | null, UnexpectedError> { return client.query(AccountsQuery, { request }); } From c2d4eb1da1533441b010b999c9e4c323d659159e Mon Sep 17 00:00:00 2001 From: Juan Garcia Date: Fri, 13 Dec 2024 12:25:50 +0100 Subject: [PATCH 7/7] Add example --- packages/client/src/actions/account.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/client/src/actions/account.ts b/packages/client/src/actions/account.ts index 2c79b0a42..4606b3204 100644 --- a/packages/client/src/actions/account.ts +++ b/packages/client/src/actions/account.ts @@ -102,7 +102,9 @@ export function fetchAccounts( * Fetch an Accounts Bulk. * * ```ts - * const result = await fetchAccountsBulk(anyClient); + * const result = await fetchAccountsBulk(anyClient, { + * addresses: [evmAddress('0xe2f2a5C287993345a840db3B0845fbc70f5935a5')], + * }); * ``` * * @param client - Any Lens client.