diff --git a/packages/client/src/actions/account.ts b/packages/client/src/actions/account.ts index 42a68f5bd..05e3dd823 100644 --- a/packages/client/src/actions/account.ts +++ b/packages/client/src/actions/account.ts @@ -1,5 +1,7 @@ import type { Account, + AccountAvailable, + AccountBlocked, AccountFeedsStats, AccountFeedsStatsRequest, AccountGraphsFollowStats, @@ -7,6 +9,8 @@ import type { AccountRequest, AccountStats, AccountStatsRequest, + AccountsAvailableRequest, + AccountsBlockedRequest, CreateAccountWithUsernameRequest, CreateAccountWithUsernameResult, EnableSignlessResult, @@ -20,6 +24,8 @@ import { AccountGraphsStatsQuery, AccountQuery, AccountStatsQuery, + AccountsAvailableQuery, + AccountsBlockedQuery, CreateAccountWithUsernameMutation, EnableSignlessMutation, RemoveSignlessMutation, @@ -114,6 +120,44 @@ export function fetchAccountGraphStats( return client.query(AccountGraphsStatsQuery, { request }); } +/** + * Fetch Accounts Available. + * + * ```ts + * const result = await fetchAccountsAvailable(anyClient, { + * managedBy: evmAddress('0xe2f2a5C287993345a840db3B0845fbc70f5935a5'), + * }); + * ``` + * + * @param client - Any Lens client. + * @param request - The query request. + * @returns The list of available accounts. + */ +export function fetchAccountsAvailable( + client: AnyClient, + request: AccountsAvailableRequest, +): ResultAsync | null, UnexpectedError> { + return client.query(AccountsAvailableQuery, { request }); +} + +/** + * Fetch Blocked Accounts. + * + * ```ts + * const result = await fetchAccountsBlocked(sessionClient); + * ``` + * + * @param client - The session client for the authenticated Account. + * @param request - The query request. + * @returns The list of blocked accounts. + */ +export function fetchAccountsBlocked( + client: SessionClient, + request: AccountsBlockedRequest, +): ResultAsync | null, UnexpectedError> { + return client.query(AccountsBlockedQuery, { request }); +} + /** * Search accounts. * diff --git a/packages/graphql/src/accounts/account.ts b/packages/graphql/src/accounts/account.ts index 00ced6725..b413ff655 100644 --- a/packages/graphql/src/accounts/account.ts +++ b/packages/graphql/src/accounts/account.ts @@ -1,6 +1,8 @@ import type { FragmentOf } from 'gql.tada'; import { Account, + AccountAvailable, + AccountBlocked, PaginatedResultInfo, SelfFundedTransactionRequest, SponsoredTransactionRequest, @@ -197,3 +199,35 @@ export const AccountGraphsStatsQuery = graphql( ); export type AccountGraphsStatsRequest = RequestOf; + +export const AccountsAvailableQuery = graphql( + `query AccountsAvailable($request: AccountsAvailableRequest!) { + value: accountsAvailable(request: $request) { + items{ + ...AccountAvailable + } + pageInfo { + ...PaginatedResultInfo + } + } + }`, + [AccountAvailable, PaginatedResultInfo], +); + +export type AccountsAvailableRequest = RequestOf; + +export const AccountsBlockedQuery = graphql( + `query AccountsBlocked($request: AccountsBlockedRequest!) { + value: accountsBlocked(request: $request) { + items{ + ...AccountBlocked + } + pageInfo { + ...PaginatedResultInfo + } + } + }`, + [AccountBlocked, PaginatedResultInfo], +); + +export type AccountsBlockedRequest = RequestOf; diff --git a/packages/graphql/src/accounts/managers.ts b/packages/graphql/src/accounts/managers.ts index c653219ce..f5eda4f35 100644 --- a/packages/graphql/src/accounts/managers.ts +++ b/packages/graphql/src/accounts/managers.ts @@ -1,5 +1,6 @@ import type { FragmentOf } from 'gql.tada'; import { + AccountManager, PaginatedResultInfo, SelfFundedTransactionRequest, SponsoredTransactionRequest, @@ -7,22 +8,6 @@ import { } from '../fragments'; import { type RequestOf, graphql } from '../graphql'; -const AccountManager = graphql( - `fragment AccountManager on AccountManager { - __typename - addedAt - manager - isLensManager - permissions { - canExecuteTransactions - canSetMetadataUri - canTransferNative - canTransferTokens - } - }`, -); -export type AccountManager = FragmentOf; - export const AccountManagersQuery = graphql( `query AccountManagers($request: AccountManagersRequest!) { value: accountManagers(request: $request) { diff --git a/packages/graphql/src/fragments/account.ts b/packages/graphql/src/fragments/account.ts index 7fdf48ce3..85ba76490 100644 --- a/packages/graphql/src/fragments/account.ts +++ b/packages/graphql/src/fragments/account.ts @@ -58,3 +58,72 @@ export const FullAccount = graphql( [AccountMetadata, LoggedInAccountOperations, Username], ); export type FullAccount = FragmentOf; + +const AccountManagerPermissions = graphql( + `fragment AccountManagerPermissions on AccountManagerPermissions { + __typename + canExecuteTransactions + canSetMetadataUri + canTransferNative + canTransferTokens + }`, +); +export type AccountManagerPermissions = FragmentOf; + +export const AccountManager = graphql( + `fragment AccountManager on AccountManager { + __typename + addedAt + manager + isLensManager + permissions { + ...AccountManagerPermissions + } + }`, +); +export type AccountManager = FragmentOf; + +const AccountManaged = graphql( + `fragment AccountManaged on AccountManaged { + __typename + addedAt + account { + ...Account + } + permissions { + ...AccountManagerPermissions + } + }`, + [AccountManagerPermissions, Account], +); +export type AccountManaged = FragmentOf; + +export const AccountAvailable = graphql( + `fragment AccountAvailable on AccountAvailable { + __typename + ... on AccountManaged { + ...AccountManaged + } + ... on AccountOwned { + __typename + addedAt + account { + ...Account + } + } + }`, + [Account, AccountManaged], +); +export type AccountAvailable = FragmentOf; + +export const AccountBlocked = graphql( + `fragment AccountBlocked on AccountBlocked { + __typename + blockedAt + account { + ...Account + } + }`, + [Account], +); +export type AccountBlocked = FragmentOf; diff --git a/packages/graphql/src/graphql-env.d.ts b/packages/graphql/src/graphql-env.d.ts index 1f6b444b7..c7005437c 100644 --- a/packages/graphql/src/graphql-env.d.ts +++ b/packages/graphql/src/graphql-env.d.ts @@ -66,9 +66,11 @@ export type introspection_types = { 'AppFeedsRequest': { kind: 'INPUT_OBJECT'; name: 'AppFeedsRequest'; 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: 'app'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }]; }; 'AppGroupsRequest': { kind: 'INPUT_OBJECT'; name: 'AppGroupsRequest'; 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: 'app'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }]; }; 'AppMetadata': { kind: 'OBJECT'; name: 'AppMetadata'; fields: { 'description': { name: 'description'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'developer': { name: 'developer'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'logo': { name: 'logo'; type: { kind: 'SCALAR'; name: 'URI'; ofType: null; } }; 'name': { name: 'name'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'platforms': { name: 'platforms'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'AppMetadataLensPlatformsItem'; ofType: null; }; }; }; } }; 'privacyPolicy': { name: 'privacyPolicy'; type: { kind: 'SCALAR'; name: 'URI'; ofType: null; } }; 'tagline': { name: 'tagline'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'termsOfService': { name: 'termsOfService'; type: { kind: 'SCALAR'; name: 'URI'; ofType: null; } }; 'url': { name: 'url'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'URI'; ofType: null; }; } }; }; }; + 'AppMetadata': { kind: 'OBJECT'; name: 'AppMetadata'; fields: { 'description': { name: 'description'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'developer': { name: 'developer'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'logo': { name: 'logo'; type: { kind: 'SCALAR'; name: 'URI'; ofType: null; } }; 'name': { name: 'name'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'platforms': { name: 'platforms'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'AppMetadataLensPlatformsItem'; ofType: null; }; }; }; } }; 'privacyPolicy': { name: 'privacyPolicy'; type: { kind: 'SCALAR'; name: 'URI'; ofType: null; } }; 'tagline': { name: 'tagline'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'termsOfService': { name: 'termsOfService'; type: { kind: 'SCALAR'; name: 'URI'; ofType: null; } }; 'url': { name: 'url'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'URI'; ofType: null; }; } }; }; }; 'AppMetadataLensPlatformsItem': { name: 'AppMetadataLensPlatformsItem'; enumValues: 'WEB' | 'IOS' | 'ANDROID'; }; 'AppRequest': { kind: 'INPUT_OBJECT'; name: 'AppRequest'; isOneOf: false; inputFields: [{ name: 'app'; type: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; defaultValue: null }, { name: 'txHash'; type: { kind: 'SCALAR'; name: 'TxHash'; ofType: null; }; defaultValue: null }]; }; 'AppServerApiKeyRequest': { kind: 'INPUT_OBJECT'; name: 'AppServerApiKeyRequest'; isOneOf: false; inputFields: [{ name: 'app'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }]; }; + 'AppServerApiKeyRequest': { kind: 'INPUT_OBJECT'; name: 'AppServerApiKeyRequest'; isOneOf: false; inputFields: [{ name: 'app'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }]; }; 'AppSigner': { kind: 'OBJECT'; name: 'AppSigner'; fields: { 'signer': { name: 'signer'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'timestamp': { name: 'timestamp'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; }; }; 'AppSignersRequest': { kind: 'INPUT_OBJECT'; name: 'AppSignersRequest'; 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: 'app'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }]; }; '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; }; } }; }; }; @@ -262,7 +264,7 @@ export type introspection_types = { 'MetadataId': unknown; 'MetadataLicenseType': { name: 'MetadataLicenseType'; enumValues: 'CCO' | 'CC_BY' | 'CC_BY_ND' | 'CC_BY_NC' | 'TBNL_CD_PL_LEGAL' | 'TBNL_C_DT_PL_LEGAL' | 'TBNL_C_ND_PL_LEGAL' | 'TBNL_CD_NPL_LEGAL' | 'TBNL_C_DT_NPL_LEGAL' | 'TBNL_C_DTSA_PL_LEGAL' | 'TBNL_C_DTSA_NPL_LEGAL' | 'TBNL_C_ND_NPL_LEGAL' | 'TBNL_CD_PL_LEDGER' | 'TBNL_C_DT_PL_LEDGER' | 'TBNL_C_ND_PL_LEDGER' | 'TBNL_CD_NPL_LEDGER' | 'TBNL_C_DT_NPL_LEDGER' | 'TBNL_C_DTSA_PL_LEDGER' | 'TBNL_C_DTSA_NPL_LEDGER' | 'TBNL_C_ND_NPL_LEDGER' | 'TBNL_NC_D_PL_LEGAL' | 'TBNL_NC_DT_PL_LEGAL' | 'TBNL_NC_ND_PL_LEGAL' | 'TBNL_NC_D_NPL_LEGAL' | 'TBNL_NC_DT_NPL_LEGAL' | 'TBNL_NC_DTSA_PL_LEGAL' | 'TBNL_NC_DTSA_NPL_LEGAL' | 'TBNL_NC_ND_NPL_LEGAL' | 'TBNL_NC_D_PL_LEDGER' | 'TBNL_NC_DT_PL_LEDGER' | 'TBNL_NC_ND_PL_LEDGER' | 'TBNL_NC_D_NPL_LEDGER' | 'TBNL_NC_DT_NPL_LEDGER' | 'TBNL_NC_DTSA_PL_LEDGER' | 'TBNL_NC_DTSA_NPL_LEDGER' | 'TBNL_NC_ND_NPL_LEDGER'; }; 'MintMetadata': { kind: 'OBJECT'; name: 'MintMetadata'; 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; }; } }; 'mintLink': { name: 'mintLink'; 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; }; }; } }; }; }; - '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; }; } }; 'setAppSourceStampVerification': { name: 'setAppSourceStampVerification'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'SetAppSourceStampVerificationResult'; 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; }; } }; '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; }; } }; }; }; '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 }]; }; '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; }; } }; }; }; @@ -348,7 +350,7 @@ export type introspection_types = { '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 }]; }; '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; }; } }; '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: '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; }; } }; '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; }; } }; '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; }; } }; '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; }; } }; '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; }; } }; }; }; '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 }]; }; @@ -524,4 +526,4 @@ declare module 'gql.tada' { interface setupSchema { introspection: introspection } -} \ No newline at end of file +}