From 4d4a0c0131f65a0c58bc6e16eacbff2c081e9e47 Mon Sep 17 00:00:00 2001 From: Cesare Naldi Date: Tue, 3 Dec 2024 11:30:28 +0100 Subject: [PATCH] feat: adds way to handle optional signing via viem signer --- packages/client/package.json | 23 +- packages/client/src/actions/post.test.ts | 10 +- packages/client/src/errors.ts | 19 + packages/client/src/types.ts | 58 +++ packages/client/src/viem/index.ts | 1 + packages/client/src/viem/signer.ts | 97 +++++ packages/client/tsup.config.ts | 2 +- packages/graphql/schema.graphql | 503 +++++++++++++++++++++++ packages/graphql/src/graphql-env.d.ts | 91 +++- pnpm-lock.yaml | 52 ++- 10 files changed, 836 insertions(+), 20 deletions(-) create mode 100644 packages/client/src/viem/index.ts create mode 100644 packages/client/src/viem/signer.ts diff --git a/packages/client/package.json b/packages/client/package.json index 917623f21..f3c2ed70a 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -20,11 +20,17 @@ "import": "./dist/actions/index.js", "require": "./dist/actions/index.cjs", "types": "./dist/actions/index.d.cts" + }, + "./viem": { + "import": "./dist/viem/index.js", + "require": "./dist/viem/index.cjs", + "types": "./dist/viem/index.d.cts" } }, "typesVersions": { "*": { - "actions": ["./dist/actions/index.d.ts"] + "actions": ["./dist/actions/index.d.ts"], + "viem": ["./dist/viem/index.d.ts"] } }, "files": ["dist"], @@ -43,10 +49,23 @@ "jwt-decode": "^4.0.0", "loglevel": "^1.9.2" }, + "peerDependencies": { + "@lens-network/sdk": "canary", + "viem": "^2.21.53" + }, + "peerDependenciesMeta": { + "@lens-network/sdk": { + "optional": true + }, + "viem": { + "optional": true + } + }, "devDependencies": { + "@lens-network/sdk": "0.0.0-canary-20241202173005", "tsup": "^8.3.5", "typescript": "^5.6.3", - "viem": "^2.21.33" + "viem": "^2.21.53" }, "license": "MIT" } diff --git a/packages/client/src/actions/post.test.ts b/packages/client/src/actions/post.test.ts index 8771dc290..ffa5ae205 100644 --- a/packages/client/src/actions/post.test.ts +++ b/packages/client/src/actions/post.test.ts @@ -11,12 +11,12 @@ const owner = evmAddress(signer.address); const app = evmAddress(import.meta.env.TEST_APP); const account = evmAddress(import.meta.env.TEST_ACCOUNT); -describe(`Given the '${post.name}' action`, () => { - const client = PublicClient.create({ - environment: testnet, - origin: 'http://example.com', - }); +const client = PublicClient.create({ + environment: testnet, + origin: 'http://example.com', +}); +describe(`Given the '${post.name}' action`, () => { describe('When creating a Post', () => { it('Then it should return the expected TransactionRequest', async () => { const authenticated = await client.login({ diff --git a/packages/client/src/errors.ts b/packages/client/src/errors.ts index a9c1965e4..648ccc544 100644 --- a/packages/client/src/errors.ts +++ b/packages/client/src/errors.ts @@ -38,6 +38,9 @@ export class UnexpectedError extends ResultAwareError { name = 'UnexpectedError' as const; } +/** + * Error indicating a user is not authorized. + */ export class AuthenticationError extends ResultAwareError { name = 'AuthenticationError' as const; } @@ -48,3 +51,19 @@ export class AuthenticationError extends ResultAwareError { export class SigningError extends ResultAwareError { name = 'SigningError' as const; } + +/** + * Error indicating an operation was not executed due to a validation error. + * See the `cause` property for more information. + */ +export class ValidationError extends ResultAwareError { + name = 'ValidationError' as const; + + constructor(public readonly cause: ErrorResponse) { + super(cause.reason); + } + + static fromErrorResponse(error: ErrorResponse): ValidationError { + return new ValidationError(error); + } +} diff --git a/packages/client/src/types.ts b/packages/client/src/types.ts index ec77b25f6..22b9287ac 100644 --- a/packages/client/src/types.ts +++ b/packages/client/src/types.ts @@ -1,5 +1,63 @@ import type { PaginatedResultInfo } from '@lens-protocol/graphql'; +import type { + SelfFundedTransactionRequest, + SponsoredTransactionRequest, +} from '@lens-protocol/graphql'; +import type { ResultAsync, TxHash } from '@lens-protocol/types'; +import type { SigningError } from '../dist'; +import type { ValidationError } from './errors'; + +export function isTransactionRequest(request: { __typename: string }): request is + | SponsoredTransactionRequest + | SelfFundedTransactionRequest { + return ( + request.__typename === 'SponsoredTransactionRequest' || + request.__typename === 'SelfFundedTransactionRequest' + ); +} + +export type OperationResponse = { + __typename: T; + hash: TxHash; +}; + +export type ErrorResponse = { + __typename: T; + reason: string; +}; + +export type DelegableOperationResult< + O extends string, + E extends string, + OR extends OperationResponse = OperationResponse, + ER extends ErrorResponse = ErrorResponse, +> = OR | SponsoredTransactionRequest | SelfFundedTransactionRequest | ER; + +export type RestrictedOperationResult< + E extends string, + ER extends ErrorResponse = ErrorResponse, +> = SponsoredTransactionRequest | SelfFundedTransactionRequest | ER; + +export type OperationResult< + O extends string, + E extends string, + OR extends OperationResponse = OperationResponse, + ER extends ErrorResponse = ErrorResponse, +> = DelegableOperationResult | RestrictedOperationResult; + +export type RestrictedOperationHandler = ( + result: RestrictedOperationResult, +) => ResultAsync>; + +export type DelegableOperationHandler = ( + result: DelegableOperationResult, +) => ResultAsync>; + +export type OperationHandler = + | RestrictedOperationHandler + | DelegableOperationHandler; + /** * A standardized data object. * diff --git a/packages/client/src/viem/index.ts b/packages/client/src/viem/index.ts new file mode 100644 index 000000000..af5d8964d --- /dev/null +++ b/packages/client/src/viem/index.ts @@ -0,0 +1 @@ +export * from './signer'; diff --git a/packages/client/src/viem/signer.ts b/packages/client/src/viem/signer.ts new file mode 100644 index 000000000..e5f25813f --- /dev/null +++ b/packages/client/src/viem/signer.ts @@ -0,0 +1,97 @@ +import type { chains } from '@lens-network/sdk/viem'; +import type { + SelfFundedTransactionRequest, + SponsoredTransactionRequest, +} from '@lens-protocol/graphql'; +import { + ResultAsync, + type TxHash, + errAsync, + invariant, + okAsync, + txHash, +} from '@lens-protocol/types'; +import type { Account, Hash, Transport, WalletClient } from 'viem'; +import { sendTransaction as sendEip1559Transaction } from 'viem/actions'; +import { sendEip712Transaction } from 'viem/zksync'; +import { SigningError, ValidationError } from '../errors'; +import { + type DelegableOperationHandler, + type OperationHandler, + type OperationResult, + type RestrictedOperationHandler, + isTransactionRequest, +} from '../types'; + +async function sendTransaction( + walletClient: WalletClient, + request: SponsoredTransactionRequest | SelfFundedTransactionRequest, +): Promise { + invariant( + walletClient.account.address === request.raw.from, + `Account mismatch: ${walletClient.account} !== ${request.raw.from}`, + ); + + if (request.__typename === 'SponsoredTransactionRequest') { + return sendEip712Transaction(walletClient, { + account: walletClient.account, + data: request.raw.data, + gas: BigInt(request.raw.gasLimit), + + // TODO Replace this workaround hack once the gas price estimation is clarified. + maxFeePerGas: BigInt(request.raw.gasPrice), + maxPriorityFeePerGas: BigInt(request.raw.gasPrice), + // gasPrice: BigInt(request.raw.gasPrice), + nonce: request.raw.nonce, + paymaster: request.raw.customData.paymasterParams?.paymaster, + paymasterInput: request.raw.customData.paymasterParams?.paymasterInput, + to: request.raw.to, + value: BigInt(request.raw.value), + }); + } + + return sendEip1559Transaction(walletClient, { + account: walletClient.account, + data: request.raw.data, + gas: BigInt(request.raw.gasLimit), + maxFeePerGas: BigInt(request.raw.maxFeePerGas), + maxPriorityFeePerGas: BigInt(request.raw.maxPriorityFeePerGas), + nonce: request.raw.nonce, + to: request.raw.to, + type: 'eip1559', + value: BigInt(request.raw.value), + }); +} + +function signWith( + walletClient: WalletClient, + request: SponsoredTransactionRequest | SelfFundedTransactionRequest, +): ResultAsync { + return ResultAsync.fromPromise(sendTransaction(walletClient, request).then(txHash), (err) => + SigningError.from(err), + ); +} + +export function handleWith( + walletClient: WalletClient, +): DelegableOperationHandler; +export function handleWith( + walletClient: WalletClient, +): RestrictedOperationHandler; +export function handleWith( + walletClient: WalletClient, +): OperationHandler { + return ( + result: OperationResult, + ): ResultAsync> => { + if ('hash' in result) { + return okAsync(result.hash); + } + + if (isTransactionRequest(result)) { + return signWith(walletClient, result); + } + + return errAsync(ValidationError.fromErrorResponse(result)); + }; +} diff --git a/packages/client/tsup.config.ts b/packages/client/tsup.config.ts index 63ff34f85..644335f37 100644 --- a/packages/client/tsup.config.ts +++ b/packages/client/tsup.config.ts @@ -2,7 +2,7 @@ import { defineConfig } from 'tsup'; export default defineConfig(() => ({ - entry: ['src/index.ts', 'src/actions/index.ts'], + entry: ['src/index.ts', 'src/actions/index.ts', 'src/viem/index.ts'], outDir: 'dist', splitting: false, sourcemap: true, diff --git a/packages/graphql/schema.graphql b/packages/graphql/schema.graphql index af41b274d..118aa8f73 100644 --- a/packages/graphql/schema.graphql +++ b/packages/graphql/schema.graphql @@ -35,6 +35,9 @@ type Account { """The operations for the account.""" operations: LoggedInAccountOperations + + """Get the rules for the account.""" + rules(request: RuleInput): FollowRulesConfig! } union AccountAvailable = AccountManaged | AccountOwned @@ -380,6 +383,36 @@ input AddAppAuthorizationEndpointRequest { endpoint: URL! } +input AddAppFeedsRequest { + """The app to update""" + app: EvmAddress! + + """The app feeds (max 10 per request)""" + feeds: [EvmAddress!]! +} + +union AddAppFeedsResult = SponsoredTransactionRequest | SelfFundedTransactionRequest | TransactionWillFail + +input AddAppGroupsRequest { + """The app to update""" + app: EvmAddress! + + """The app groups (max 10 per request)""" + groups: [EvmAddress!]! +} + +union AddAppGroupsResult = SponsoredTransactionRequest | SelfFundedTransactionRequest | TransactionWillFail + +input AddAppSignersRequest { + """The app to update""" + app: EvmAddress! + + """The app signers (max 10 per request)""" + signers: [EvmAddress!]! +} + +union AddAppSignersResult = SponsoredTransactionRequest | SelfFundedTransactionRequest | TransactionWillFail + type AddReactionFailure { reason: String! } @@ -488,10 +521,38 @@ type App { defaultFeedAddress: EvmAddress namespaceAddress: EvmAddress treasuryAddress: EvmAddress + sourceStampVerificationEnabled: Boolean! createdAt: DateTime! metadata: AppMetadata } +type AppFeed { + feed: EvmAddress! + timestamp: DateTime! +} + +input AppFeedsRequest { + """The page size.""" + pageSize: PageSize! = FIFTY + + """The cursor.""" + cursor: Cursor + + """The app address""" + app: EvmAddress! +} + +input AppGroupsRequest { + """The page size.""" + pageSize: PageSize! = FIFTY + + """The cursor.""" + cursor: Cursor + + """The app address""" + app: EvmAddress! +} + type AppMetadata { """ An optional short and detailed description of the app, explaining its features and purpose. @@ -534,6 +595,26 @@ input AppRequest { txHash: TxHash } +type AppSigner { + signer: EvmAddress! + timestamp: DateTime! +} + +input AppSignersRequest { + """The page size.""" + pageSize: PageSize! = FIFTY + + """The cursor.""" + cursor: Cursor + + """The app address""" + app: EvmAddress! +} + +type ApprovalGroupRule { + rule: EvmAddress! +} + enum AppsOrderBy { ALPHABETICAL LATEST_FIRST @@ -737,6 +818,16 @@ input ChallengeRequest { onboardingUser: OnboardingUserChallengeRequest } +type CharsetUsernameNamespaceRule { + rule: EvmAddress! + allowNumeric: Boolean! + allowLatinLowercase: Boolean! + allowLatinUppercase: Boolean! + customAllowedCharset: [String!] + customDisallowedCharset: [String!] + cannotStartWith: String +} + type CheckingInMetadata { """The optional address of the location.""" address: PhysicalAddress @@ -832,6 +923,12 @@ input CreateAppRequest { """The app groups leave empty if none""" groups: [EvmAddress!] + """ + If the app has source stamp verification enabled meaning + you can only do stuff with the app if its signed by one of the signers + """ + sourceStampVerification: Boolean! + """The app signers leave empty if none""" signers: [EvmAddress!] @@ -1703,6 +1800,7 @@ input FeeFollowRuleInput { type Feed { address: EvmAddress! metadata: FeedMetadata + rules(request: RuleInput): FeedRulesConfig! } type FeedMetadata { @@ -1730,6 +1828,13 @@ input FeedRequest { txHash: TxHash } +union FeedRule = TokenGatedFeedRule | GroupGatedFeedRule | RestrictedSignersFeedRule | SimplePaymentFeedRule | UserBlockingRule | UnknownFeedRule + +type FeedRulesConfig { + required: [FeedRule!]! + anyOf: [FeedRule!]! +} + input FeedRulesInput { unknownFeedRule: UnknownFeedRuleInput } @@ -1771,6 +1876,13 @@ type FollowResponse { union FollowResult = FollowResponse | SponsoredTransactionRequest | SelfFundedTransactionRequest | TransactionWillFail +union FollowRule = TokenGatedFollowRule | SimplePaymentFollowRule | UnknownFollowRule + +type FollowRulesConfig { + required: [FollowRule!]! + anyOf: [FollowRule!]! +} + input FollowRulesInput { feeFollowRule: FeeFollowRuleInput unknownFollowRule: UnknownFollowRuleInput @@ -1795,6 +1907,14 @@ type Follower { followedOn: DateTime! } +type FollowerOnlyPostRule { + rule: EvmAddress! + graph: EvmAddress! + repliesRestricted: Boolean! + repostsRestricted: Boolean! + quotesRestricted: Boolean! +} + enum FollowersOrderBy { DESC ASC @@ -1892,6 +2012,7 @@ scalar GeneratedNotificationId type Graph { address: EvmAddress! metadata: GraphMetadata + rules(request: RuleInput): GraphRulesConfig! } type GraphMetadata { @@ -1919,6 +2040,13 @@ input GraphRequest { txHash: TxHash } +union GraphRule = TokenGatedGraphRule | RestrictedSignerGraphRule | UserBlockingRule | UnknownGraphRule + +type GraphRulesConfig { + required: [GraphRule!]! + anyOf: [GraphRule!]! +} + input GraphRulesInput { unknownGraphRule: UnknownGraphRuleInput } @@ -1927,6 +2055,12 @@ type Group { address: EvmAddress! timestamp: DateTime! metadata: GroupMetadata + rules(request: RuleInput): GroupRulesConfig! +} + +type GroupGatedFeedRule { + rule: EvmAddress! + group: Group! } enum GroupMembersOrderBy { @@ -1977,6 +2111,13 @@ input GroupRequest { txHash: TxHash } +union GroupRule = TokenGatedGroupRule | SimplePaymentGroupRule | ApprovalGroupRule | UnknownGroupRule + +type GroupRulesConfig { + required: [GroupRule!]! + anyOf: [GroupRule!]! +} + input GroupsFilter { """The name of the group""" name: String @@ -2104,6 +2245,12 @@ scalar LegacyPublicationId scalar LegacyRefreshToken +type LengthUsernameNamespaceRule { + rule: EvmAddress! + minLength: Int! + maxLength: Int! +} + type LinkMetadata { """The other attachments you want to include with it.""" attachments: [AnyMedia!]! @@ -2814,6 +2961,97 @@ type Mutation { """ addAppAuthorizationEndpoint(request: AddAppAuthorizationEndpointRequest!): Void! + """ + Add feeds to an app + + You MUST be authenticated as a builder to use this mutation. + """ + addAppFeeds(request: AddAppFeedsRequest!): AddAppFeedsResult! + + """ + Add groups to an app + + You MUST be authenticated as a builder to use this mutation. + """ + addAppGroups(request: AddAppGroupsRequest!): AddAppGroupsResult! + + """ + Add signers to an app + + You MUST be authenticated as a builder to use this mutation. + """ + addAppSigners(request: AddAppSignersRequest!): AddAppSignersResult! + + """ + Remove feeds to an app + + You MUST be authenticated as a builder to use this mutation. + """ + removeAppFeeds(request: RemoveAppFeedsRequest!): RemoveAppFeedsResult! + + """ + Remove groups to an app + + You MUST be authenticated as a builder to use this mutation. + """ + removeAppGroups(request: RemoveAppGroupsRequest!): RemoveAppGroupsResult! + + """ + Remove signers to an app + + You MUST be authenticated as a builder to use this mutation. + """ + removeAppSigners(request: RemoveAppSignersRequest!): RemoveAppSignersResult! + + """ + Set graph for an app + + You MUST be authenticated as a builder to use this mutation. + """ + setAppGraph(request: SetAppGraphRequest!): SetAppGraphResult! + + """ + Set default feed for an app + + You MUST be authenticated as a builder to use this mutation. + """ + setDefaultAppFeed(request: SetDefaultAppFeedRequest!): SetDefaultAppFeedResult! + + """ + Set metadata for an app + + You MUST be authenticated as a builder to use this mutation. + """ + setAppMetadata(request: SetAppMetadataRequest!): SetAppMetadataResult! + + """ + Set the source stamp verification for an app + + You MUST be authenticated as a builder to use this mutation. + """ + setAppSourceStampVerification(request: SetAppSourceStampVerificationRequest!): SetAppSourceStampVerificationResult! + + """ + Set sponsorship for an app + + You MUST be authenticated as a builder to use this mutation. + """ + setAppSponsorship(request: SetAppSponsorshipRequest!): SetAppSponsorshipResult! + + """ + Set treasury for an app + + You MUST be authenticated as a builder to use this mutation. + """ + setAppTreasury(request: SetAppTreasuryRequest!): SetAppTreasuryResult! + + """ + Set username namespace for an app + + You MUST be authenticated as a builder to use this mutation. + """ + setAppUsernameNamespace(request: SetAppUsernameNamespaceRequest!): SetAppUsernameNamespaceResult! + """ Report an account. @@ -3275,6 +3513,18 @@ type PaginatedAnyPostsResult { pageInfo: PaginatedResultInfo! } +type PaginatedAppFeedsResult { + """The feeds""" + items: [AppFeed!]! + pageInfo: PaginatedResultInfo! +} + +type PaginatedAppSignersResult { + """The signers""" + items: [AppSigner!]! + pageInfo: PaginatedResultInfo! +} + type PaginatedAppsResult { items: [App!]! pageInfo: PaginatedResultInfo! @@ -3395,6 +3645,7 @@ type Post { operations: LoggedInPostOperations stats: PostStats! mentions: [AccountMention!]! + rules(request: RuleInput): PostRulesConfig! } input PostAccountPair { @@ -3571,6 +3822,13 @@ type PostResponse { union PostResult = PostResponse | SponsoredTransactionRequest | SelfFundedTransactionRequest | TransactionWillFail +union PostRule = FollowerOnlyPostRule | UnknownPostRule + +type PostRulesConfig { + required: [PostRule!]! + anyOf: [PostRule!]! +} + type PostStats { """The total number of bookmarks.""" bookmarks: Int! @@ -3691,9 +3949,22 @@ type Query { Get the last logged in account for the given address and app if specified. """ lastLoggedInAccount(request: LastLoggedInAccountRequest!): Account + + """Get an app""" app(request: AppRequest!): App + + """Get the apps""" apps(request: AppsRequest!): PaginatedAppsResult! + """Get the groups for an app""" + appGroups(request: AppGroupsRequest!): PaginatedGroupsResult! + + """Get the signers for an app""" + appSigners(request: AppSignersRequest!): PaginatedAppSignersResult! + + """Get the feeds for an app""" + appFeeds(request: AppFeedsRequest!): PaginatedAppFeedsResult! + """ List all active authenticated sessions for the current account. @@ -3814,6 +4085,36 @@ input RemoveAccountManagerRequest { union RemoveAccountManagerResult = SponsoredTransactionRequest | SelfFundedTransactionRequest | TransactionWillFail +input RemoveAppFeedsRequest { + """The app to update""" + app: EvmAddress! + + """The app feeds (max 10 per request)""" + feeds: [EvmAddress!]! +} + +union RemoveAppFeedsResult = SponsoredTransactionRequest | SelfFundedTransactionRequest | TransactionWillFail + +input RemoveAppGroupsRequest { + """The app to update""" + app: EvmAddress! + + """The app groups (max 10 per request)""" + groups: [EvmAddress!]! +} + +union RemoveAppGroupsResult = SponsoredTransactionRequest | SelfFundedTransactionRequest | TransactionWillFail + +input RemoveAppSignersRequest { + """The app to update""" + app: EvmAddress! + + """The app signers (max 10 per request)""" + signers: [EvmAddress!]! +} + +union RemoveAppSignersResult = SponsoredTransactionRequest | SelfFundedTransactionRequest | TransactionWillFail + union RemoveSignlessResult = SponsoredTransactionRequest | SelfFundedTransactionRequest | TransactionWillFail input ReportAccountRequest { @@ -3851,6 +4152,21 @@ type RepostNotification { post: Post! } +type RestrictedSigner { + label: String! + signer: EvmAddress! +} + +type RestrictedSignerGraphRule { + rule: EvmAddress! + signers: [RestrictedSigner!]! +} + +type RestrictedSignersFeedRule { + rule: EvmAddress! + signers: [RestrictedSigner!]! +} + input RevokeAuthenticationRequest { authenticationId: UUID! } @@ -3863,6 +4179,10 @@ input RolloverRefreshRequest { refreshToken: LegacyRefreshToken! } +input RuleInput { + rules: [EvmAddress!]! +} + input SearchGroupsRequest { """The search query""" query: String! @@ -3929,6 +4249,76 @@ type SetAccountMetadataResponse { union SetAccountMetadataResult = SetAccountMetadataResponse | SponsoredTransactionRequest | SelfFundedTransactionRequest | TransactionWillFail +input SetAppGraphRequest { + """The app to update""" + app: EvmAddress! + + """The app graph to set""" + graph: EvmAddress! +} + +union SetAppGraphResult = SponsoredTransactionRequest | SelfFundedTransactionRequest | TransactionWillFail + +input SetAppMetadataRequest { + """The app to update""" + app: EvmAddress! + + """The app metadata to set""" + metadataUri: String! +} + +union SetAppMetadataResult = SponsoredTransactionRequest | SelfFundedTransactionRequest | TransactionWillFail + +input SetAppSourceStampVerificationRequest { + """The app to update""" + app: EvmAddress! + + """The app source stamp verification to set""" + status: Boolean! +} + +union SetAppSourceStampVerificationResult = SponsoredTransactionRequest | SelfFundedTransactionRequest | TransactionWillFail + +input SetAppSponsorshipRequest { + """The app to update""" + app: EvmAddress! + + """The app sponsorship to set""" + sponsorship: EvmAddress! +} + +union SetAppSponsorshipResult = SponsoredTransactionRequest | SelfFundedTransactionRequest | TransactionWillFail + +input SetAppTreasuryRequest { + """The app to update""" + app: EvmAddress! + + """The app treasury to set""" + treasury: EvmAddress! +} + +union SetAppTreasuryResult = SponsoredTransactionRequest | SelfFundedTransactionRequest | TransactionWillFail + +input SetAppUsernameNamespaceRequest { + """The app to update""" + app: EvmAddress! + + """The app username namespace to set""" + usernameNamespace: EvmAddress! +} + +union SetAppUsernameNamespaceResult = SponsoredTransactionRequest | SelfFundedTransactionRequest | TransactionWillFail + +input SetDefaultAppFeedRequest { + """The app to update""" + app: EvmAddress! + + """The app default feed to set""" + feed: EvmAddress! +} + +union SetDefaultAppFeedResult = SponsoredTransactionRequest | SelfFundedTransactionRequest | TransactionWillFail + scalar Signature input SignedAuthChallenge { @@ -3958,6 +4348,30 @@ type SimpleCollectActionSettings { recipients: [RecipientDataOutput!]! } +type SimplePaymentFeedRule { + rule: EvmAddress! + amount: Amount! + recipient: EvmAddress! +} + +type SimplePaymentFollowRule { + rule: EvmAddress! + amount: Amount! + recipient: EvmAddress! +} + +type SimplePaymentGroupRule { + rule: EvmAddress! + amount: Amount! + recipient: EvmAddress! +} + +type SimplePaymentUsernameNamespaceRule { + rule: EvmAddress! + amount: Amount! + recipient: EvmAddress! +} + type SpaceMetadata { """The other attachments you want to include with it.""" attachments: [AnyMedia!]! @@ -4195,6 +4609,52 @@ input TimelineRequest { cursor: Cursor } +type TokenGatedFeedRule { + rule: EvmAddress! + tokenStandard: TokenStandard! + typeId: BigInt! + token: EvmAddress! + amount: Amount! +} + +type TokenGatedFollowRule { + rule: EvmAddress! + tokenStandard: TokenStandard! + typeId: BigInt! + token: EvmAddress! + amount: Amount! +} + +type TokenGatedGraphRule { + rule: EvmAddress! + tokenStandard: TokenStandard! + typeId: BigInt! + token: EvmAddress! + amount: Amount! +} + +type TokenGatedGroupRule { + rule: EvmAddress! + tokenStandard: TokenStandard! + typeId: BigInt! + token: EvmAddress! + amount: Amount! +} + +type TokenGatedUsernameNamespaceRule { + rule: EvmAddress! + tokenStandard: TokenStandard! + typeId: BigInt! + token: EvmAddress! + amount: Amount! +} + +enum TokenStandard { + ERC_20 + ERC_721 + ERC_1155 +} + """AccessCondition""" type TopLevelAccessCondition { criteria: [AnyAccessCondition!]! @@ -4362,6 +4822,11 @@ type UnknownActionSettings { collectNft: EvmAddress } +type UnknownFeedRule { + rule: EvmAddress! + configData: BlockchainData! +} + input UnknownFeedRuleInput { """The rule contract address.""" address: EvmAddress! @@ -4370,6 +4835,11 @@ input UnknownFeedRuleInput { data: BlockchainData! } +type UnknownFollowRule { + rule: EvmAddress! + configData: BlockchainData! +} + input UnknownFollowRuleInput { """The rule contract address.""" address: EvmAddress! @@ -4378,6 +4848,11 @@ input UnknownFollowRuleInput { data: BlockchainData! } +type UnknownGraphRule { + rule: EvmAddress! + configData: BlockchainData! +} + input UnknownGraphRuleInput { """The rule contract address.""" address: EvmAddress! @@ -4386,6 +4861,21 @@ input UnknownGraphRuleInput { data: BlockchainData! } +type UnknownGroupRule { + rule: EvmAddress! + configData: BlockchainData! +} + +type UnknownPostRule { + rule: EvmAddress! + configData: BlockchainData! +} + +type UnknownUsernameNamespaceRule { + rule: EvmAddress! + configData: BlockchainData! +} + input UpdateAccountManagerRequest { """The address to update as a manager.""" manager: EvmAddress! @@ -4396,6 +4886,11 @@ input UpdateAccountManagerRequest { union UpdateAccountManagerResult = SponsoredTransactionRequest | SelfFundedTransactionRequest | TransactionWillFail +type UserBlockingRule { + rule: EvmAddress! + blockedUsers: [EvmAddress!]! +} + type Username { """A unique identifier for the username entry.""" id: ID! @@ -4434,6 +4929,7 @@ type UsernameNamespace { """The namespace for example `lens`""" namespace: String! metadata: UsernameNamespaceMetadata + rules(request: RuleInput): UsernameNamespaceRulesConfig! } type UsernameNamespaceMetadata { @@ -4455,6 +4951,13 @@ input UsernameNamespaceRequest { txHash: TxHash } +union UsernameNamespaceRule = TokenGatedUsernameNamespaceRule | SimplePaymentUsernameNamespaceRule | CharsetUsernameNamespaceRule | LengthUsernameNamespaceRule | UnknownUsernameNamespaceRule + +type UsernameNamespaceRulesConfig { + required: [UsernameNamespaceRule!]! + anyOf: [UsernameNamespaceRule!]! +} + """You must provide either an id or a username, not both.""" input UsernameRequest { """The username ID.""" diff --git a/packages/graphql/src/graphql-env.d.ts b/packages/graphql/src/graphql-env.d.ts index 37ce2f3e1..c14bea5cb 100644 --- a/packages/graphql/src/graphql-env.d.ts +++ b/packages/graphql/src/graphql-env.d.ts @@ -5,7 +5,7 @@ export type introspection_types = { 'AccessConditionComparison': { name: 'AccessConditionComparison'; enumValues: 'EQUAL' | 'NOT_EQUAL' | 'GREATER_THAN' | 'GREATER_THAN_OR_EQUAL' | 'LESS_THAN' | 'LESS_THAN_OR_EQUAL'; }; 'AccessConditionType': { kind: 'UNION'; name: 'AccessConditionType'; fields: {}; possibleTypes: 'AdvancedContractCondition' | 'CollectCondition' | 'EoaOwnershipCondition' | 'Erc20OwnershipCondition' | 'FollowCondition' | 'NftOwnershipCondition' | 'ProfileOwnershipCondition'; }; 'AccessToken': unknown; - 'Account': { kind: 'OBJECT'; name: 'Account'; fields: { 'address': { name: 'address'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'metadata': { name: 'metadata'; type: { kind: 'OBJECT'; name: 'AccountMetadata'; ofType: null; } }; 'operations': { name: 'operations'; type: { kind: 'OBJECT'; name: 'LoggedInAccountOperations'; ofType: null; } }; 'owner': { name: 'owner'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'score': { name: 'score'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; } }; 'username': { name: 'username'; type: { kind: 'OBJECT'; name: 'Username'; ofType: null; } }; }; }; + 'Account': { kind: 'OBJECT'; name: 'Account'; fields: { 'address': { name: 'address'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'metadata': { name: 'metadata'; type: { kind: 'OBJECT'; name: 'AccountMetadata'; ofType: null; } }; 'operations': { name: 'operations'; type: { kind: 'OBJECT'; name: 'LoggedInAccountOperations'; ofType: null; } }; 'owner': { name: 'owner'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'rules': { name: 'rules'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'FollowRulesConfig'; ofType: null; }; } }; 'score': { name: 'score'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; } }; 'username': { name: 'username'; type: { kind: 'OBJECT'; name: 'Username'; ofType: null; } }; }; }; 'AccountAvailable': { kind: 'UNION'; name: 'AccountAvailable'; fields: {}; possibleTypes: 'AccountManaged' | 'AccountOwned'; }; 'AccountBlocked': { kind: 'OBJECT'; name: 'AccountBlocked'; fields: { 'account': { name: 'account'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Account'; ofType: null; }; } }; 'blockedAt': { name: 'blockedAt'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; }; }; 'AccountFeedsStats': { kind: 'OBJECT'; name: 'AccountFeedsStats'; fields: { 'collects': { name: 'collects'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; } }; 'comments': { name: 'comments'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; } }; 'posts': { name: 'posts'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; } }; 'quotes': { name: 'quotes'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; } }; 'reacted': { name: 'reacted'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; } }; 'reactions': { name: 'reactions'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; } }; 'reposts': { name: 'reposts'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; } }; }; }; @@ -40,6 +40,12 @@ export type introspection_types = { 'AddAccountManagerRequest': { kind: 'INPUT_OBJECT'; name: 'AddAccountManagerRequest'; isOneOf: false; inputFields: [{ name: 'address'; 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 }]; }; 'AddAccountManagerResult': { kind: 'UNION'; name: 'AddAccountManagerResult'; fields: {}; possibleTypes: 'SelfFundedTransactionRequest' | 'SponsoredTransactionRequest' | 'TransactionWillFail'; }; 'AddAppAuthorizationEndpointRequest': { kind: 'INPUT_OBJECT'; name: 'AddAppAuthorizationEndpointRequest'; isOneOf: false; inputFields: [{ name: 'app'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'endpoint'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'URL'; ofType: null; }; }; defaultValue: null }]; }; + 'AddAppFeedsRequest': { kind: 'INPUT_OBJECT'; name: 'AddAppFeedsRequest'; isOneOf: false; inputFields: [{ name: 'app'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'feeds'; 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 }]; }; + 'AddAppFeedsResult': { kind: 'UNION'; name: 'AddAppFeedsResult'; fields: {}; possibleTypes: 'SelfFundedTransactionRequest' | 'SponsoredTransactionRequest' | 'TransactionWillFail'; }; + 'AddAppGroupsRequest': { kind: 'INPUT_OBJECT'; name: 'AddAppGroupsRequest'; isOneOf: false; inputFields: [{ name: 'app'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'groups'; 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 }]; }; + 'AddAppGroupsResult': { kind: 'UNION'; name: 'AddAppGroupsResult'; fields: {}; possibleTypes: 'SelfFundedTransactionRequest' | 'SponsoredTransactionRequest' | 'TransactionWillFail'; }; + 'AddAppSignersRequest': { kind: 'INPUT_OBJECT'; name: 'AddAppSignersRequest'; isOneOf: false; inputFields: [{ name: 'app'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'signers'; 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 }]; }; + 'AddAppSignersResult': { kind: 'UNION'; name: 'AddAppSignersResult'; fields: {}; possibleTypes: 'SelfFundedTransactionRequest' | 'SponsoredTransactionRequest' | 'TransactionWillFail'; }; 'AddReactionFailure': { kind: 'OBJECT'; name: 'AddReactionFailure'; fields: { 'reason': { name: 'reason'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; }; }; 'AddReactionRequest': { kind: 'INPUT_OBJECT'; name: 'AddReactionRequest'; isOneOf: false; inputFields: [{ name: 'reaction'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'PostReactionType'; ofType: null; }; }; defaultValue: null }, { name: 'post'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'PostId'; ofType: null; }; }; defaultValue: null }]; }; 'AddReactionResponse': { kind: 'OBJECT'; name: 'AddReactionResponse'; fields: { 'success': { name: 'success'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; }; }; @@ -51,10 +57,16 @@ export type introspection_types = { 'AnyAccessCondition': { kind: 'UNION'; name: 'AnyAccessCondition'; fields: {}; possibleTypes: 'AdvancedContractCondition' | 'BooleanAndCondition' | 'BooleanOrCondition' | 'CollectCondition' | 'EoaOwnershipCondition' | 'Erc20OwnershipCondition' | 'FollowCondition' | 'NftOwnershipCondition' | 'ProfileOwnershipCondition'; }; 'AnyMedia': { kind: 'UNION'; name: 'AnyMedia'; fields: {}; possibleTypes: 'MediaAudio' | 'MediaImage' | 'MediaVideo'; }; 'AnyPost': { kind: 'UNION'; name: 'AnyPost'; fields: {}; possibleTypes: 'Post' | 'Repost'; }; - 'App': { kind: 'OBJECT'; name: 'App'; fields: { 'address': { name: 'address'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'createdAt': { name: 'createdAt'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; 'defaultFeedAddress': { name: 'defaultFeedAddress'; type: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; } }; 'graphAddress': { name: 'graphAddress'; type: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; } }; 'metadata': { name: 'metadata'; type: { kind: 'OBJECT'; name: 'AppMetadata'; ofType: null; } }; 'namespaceAddress': { name: 'namespaceAddress'; type: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; } }; 'sponsorshipAddress': { name: 'sponsorshipAddress'; type: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; } }; 'treasuryAddress': { name: 'treasuryAddress'; type: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; } }; }; }; + 'App': { kind: 'OBJECT'; name: 'App'; fields: { 'address': { name: 'address'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'createdAt': { name: 'createdAt'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; 'defaultFeedAddress': { name: 'defaultFeedAddress'; type: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; } }; 'graphAddress': { name: 'graphAddress'; type: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; } }; 'metadata': { name: 'metadata'; type: { kind: 'OBJECT'; name: 'AppMetadata'; ofType: null; } }; 'namespaceAddress': { name: 'namespaceAddress'; type: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; } }; 'sourceStampVerificationEnabled': { name: 'sourceStampVerificationEnabled'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'sponsorshipAddress': { name: 'sponsorshipAddress'; type: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; } }; 'treasuryAddress': { name: 'treasuryAddress'; type: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; } }; }; }; + 'AppFeed': { kind: 'OBJECT'; name: 'AppFeed'; fields: { 'feed': { name: 'feed'; 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; }; } }; }; }; + '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; } }; '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 }]; }; + '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 }]; }; + 'ApprovalGroupRule': { kind: 'OBJECT'; name: 'ApprovalGroupRule'; fields: { 'rule': { name: 'rule'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; }; }; 'AppsOrderBy': { name: 'AppsOrderBy'; enumValues: 'ALPHABETICAL' | 'LATEST_FIRST' | 'OLDEST_FIRST'; }; 'AppsRequest': { kind: 'INPUT_OBJECT'; name: 'AppsRequest'; isOneOf: false; inputFields: [{ name: 'pageSize'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'PageSize'; ofType: null; }; }; defaultValue: "FIFTY" }, { name: 'cursor'; type: { kind: 'SCALAR'; name: 'Cursor'; ofType: null; }; defaultValue: null }, { name: 'orderBy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'AppsOrderBy'; ofType: null; }; }; defaultValue: "LATEST_FIRST" }]; }; 'ArticleMetadata': { kind: 'OBJECT'; name: 'ArticleMetadata'; fields: { 'attachments': { name: 'attachments'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'AnyMedia'; ofType: null; }; }; }; } }; 'attributes': { name: 'attributes'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'MetadataAttribute'; ofType: null; }; }; }; } }; 'content': { name: 'content'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Encryptable'; ofType: null; }; } }; 'contentWarning': { name: 'contentWarning'; type: { kind: 'ENUM'; name: 'ContentWarning'; ofType: null; } }; 'encryptedWith': { name: 'encryptedWith'; type: { kind: 'UNION'; name: 'EncryptionStrategy'; ofType: null; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'MetadataId'; ofType: null; }; } }; 'locale': { name: 'locale'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Locale'; ofType: null; }; } }; 'mainContentFocus': { name: 'mainContentFocus'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'MainContentFocus'; ofType: null; }; } }; 'tags': { name: 'tags'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Tag'; ofType: null; }; }; } }; 'title': { name: 'title'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; }; }; @@ -86,6 +98,7 @@ export type introspection_types = { 'CanUnfollowRequest': { kind: 'INPUT_OBJECT'; name: 'CanUnfollowRequest'; isOneOf: false; inputFields: [{ name: 'graph'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }]; }; 'ChainId': unknown; 'ChallengeRequest': { kind: 'INPUT_OBJECT'; name: 'ChallengeRequest'; isOneOf: false; inputFields: [{ name: 'builder'; type: { kind: 'INPUT_OBJECT'; name: 'BuilderChallengeRequest'; ofType: null; }; defaultValue: null }, { name: 'accountManager'; type: { kind: 'INPUT_OBJECT'; name: 'AccountManagerChallengeRequest'; ofType: null; }; defaultValue: null }, { name: 'accountOwner'; type: { kind: 'INPUT_OBJECT'; name: 'AccountOwnerChallengeRequest'; ofType: null; }; defaultValue: null }, { name: 'onboardingUser'; type: { kind: 'INPUT_OBJECT'; name: 'OnboardingUserChallengeRequest'; ofType: null; }; defaultValue: null }]; }; + 'CharsetUsernameNamespaceRule': { kind: 'OBJECT'; name: 'CharsetUsernameNamespaceRule'; fields: { 'allowLatinLowercase': { name: 'allowLatinLowercase'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'allowLatinUppercase': { name: 'allowLatinUppercase'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'allowNumeric': { name: 'allowNumeric'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'cannotStartWith': { name: 'cannotStartWith'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'customAllowedCharset': { name: 'customAllowedCharset'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; }; } }; 'customDisallowedCharset': { name: 'customDisallowedCharset'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; }; } }; 'rule': { name: 'rule'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; }; }; 'CheckingInMetadata': { kind: 'OBJECT'; name: 'CheckingInMetadata'; fields: { 'address': { name: 'address'; type: { kind: 'OBJECT'; name: 'PhysicalAddress'; ofType: null; } }; 'attachments': { name: 'attachments'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'AnyMedia'; ofType: null; }; }; }; } }; 'attributes': { name: 'attributes'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'MetadataAttribute'; ofType: null; }; }; }; } }; 'content': { name: 'content'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Encryptable'; ofType: null; }; } }; 'contentWarning': { name: 'contentWarning'; type: { kind: 'ENUM'; name: 'ContentWarning'; ofType: null; } }; 'encryptedWith': { name: 'encryptedWith'; type: { kind: 'UNION'; name: 'EncryptionStrategy'; ofType: null; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'MetadataId'; ofType: null; }; } }; 'locale': { name: 'locale'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Locale'; ofType: null; }; } }; 'location': { name: 'location'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Encryptable'; ofType: null; }; } }; 'mainContentFocus': { name: 'mainContentFocus'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'MainContentFocus'; ofType: null; }; } }; 'position': { name: 'position'; type: { kind: 'SCALAR'; name: 'Encryptable'; ofType: null; } }; 'tags': { name: 'tags'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Tag'; ofType: null; }; }; } }; }; }; 'CollectActionInput': { kind: 'INPUT_OBJECT'; name: 'CollectActionInput'; isOneOf: false; inputFields: [{ name: 'simpleCollectAction'; type: { kind: 'INPUT_OBJECT'; name: 'SimpleCollectActionInput'; ofType: null; }; defaultValue: null }]; }; 'CollectCondition': { kind: 'OBJECT'; name: 'CollectCondition'; fields: { 'publicationId': { name: 'publicationId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'LegacyPublicationId'; ofType: null; }; } }; 'thisPublication': { name: 'thisPublication'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'type': { name: 'type'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; }; }; @@ -94,7 +107,7 @@ export type introspection_types = { 'CreateAccountResponse': { kind: 'OBJECT'; name: 'CreateAccountResponse'; fields: { 'hash': { name: 'hash'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'TxHash'; ofType: null; }; } }; }; }; 'CreateAccountWithUsernameRequest': { kind: 'INPUT_OBJECT'; name: 'CreateAccountWithUsernameRequest'; isOneOf: false; inputFields: [{ name: 'metadataUri'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'URI'; ofType: null; }; }; defaultValue: null }, { name: 'username'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'UsernameInput'; ofType: null; }; }; defaultValue: null }, { name: 'accountManager'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; }; defaultValue: null }]; }; 'CreateAccountWithUsernameResult': { kind: 'UNION'; name: 'CreateAccountWithUsernameResult'; fields: {}; possibleTypes: 'CreateAccountResponse' | 'InvalidUsername' | 'SelfFundedTransactionRequest' | 'SponsoredTransactionRequest' | 'TransactionWillFail'; }; - 'CreateAppRequest': { kind: 'INPUT_OBJECT'; name: 'CreateAppRequest'; isOneOf: false; inputFields: [{ name: 'metadataUri'; type: { kind: 'SCALAR'; name: 'URI'; ofType: null; }; defaultValue: null }, { name: 'admins'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; }; defaultValue: null }, { name: 'graph'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: "\"0x9e7085a6cc3A02F6026817997cE44B26Ba4Df557\"" }, { name: 'feeds'; 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: 'defaultFeed'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: "\"0x83C8D9e96Da13aaD12E068F48C639C7671D2a5C7\"" }, { name: 'namespace'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: "\"0x6Cc71E78e25eBF6A2525CadC1fc628B42AE4138f\"" }, { name: 'groups'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; }; defaultValue: null }, { name: 'signers'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; }; defaultValue: null }, { name: 'paymaster'; type: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; defaultValue: null }, { name: 'treasury'; type: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; defaultValue: null }]; }; + 'CreateAppRequest': { kind: 'INPUT_OBJECT'; name: 'CreateAppRequest'; isOneOf: false; inputFields: [{ name: 'metadataUri'; type: { kind: 'SCALAR'; name: 'URI'; ofType: null; }; defaultValue: null }, { name: 'admins'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; }; defaultValue: null }, { name: 'graph'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: "\"0x9e7085a6cc3A02F6026817997cE44B26Ba4Df557\"" }, { name: 'feeds'; 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: 'defaultFeed'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: "\"0x83C8D9e96Da13aaD12E068F48C639C7671D2a5C7\"" }, { name: 'namespace'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: "\"0x6Cc71E78e25eBF6A2525CadC1fc628B42AE4138f\"" }, { name: 'groups'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; }; defaultValue: null }, { name: 'sourceStampVerification'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; }; defaultValue: null }, { name: 'signers'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; }; defaultValue: null }, { name: 'paymaster'; type: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; defaultValue: null }, { name: 'treasury'; type: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; defaultValue: null }]; }; 'CreateAppResponse': { kind: 'OBJECT'; name: 'CreateAppResponse'; fields: { 'hash': { name: 'hash'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'TxHash'; ofType: null; }; } }; }; }; 'CreateAppResult': { kind: 'UNION'; name: 'CreateAppResult'; fields: {}; possibleTypes: 'CreateAppResponse' | 'SelfFundedTransactionRequest' | 'TransactionWillFail'; }; 'CreateFeedRequest': { kind: 'INPUT_OBJECT'; name: 'CreateFeedRequest'; isOneOf: false; inputFields: [{ name: 'metadataUri'; type: { kind: 'SCALAR'; name: 'URI'; ofType: null; }; defaultValue: null }, { name: 'admins'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; }; defaultValue: null }]; }; @@ -145,9 +158,11 @@ export type introspection_types = { 'ExpiredChallengeError': { kind: 'OBJECT'; name: 'ExpiredChallengeError'; fields: { 'reason': { name: 'reason'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; }; }; 'FailedTransactionStatus': { kind: 'OBJECT'; name: 'FailedTransactionStatus'; fields: { 'blockTimestamp': { name: 'blockTimestamp'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; 'reason': { name: 'reason'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; }; }; 'FeeFollowRuleInput': { kind: 'INPUT_OBJECT'; name: 'FeeFollowRuleInput'; isOneOf: false; inputFields: [{ name: 'amount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'AmountInput'; ofType: null; }; }; defaultValue: null }]; }; - 'Feed': { kind: 'OBJECT'; name: 'Feed'; fields: { 'address': { name: 'address'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'metadata': { name: 'metadata'; type: { kind: 'OBJECT'; name: 'FeedMetadata'; ofType: null; } }; }; }; + 'Feed': { kind: 'OBJECT'; name: 'Feed'; fields: { 'address': { name: 'address'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'metadata': { name: 'metadata'; type: { kind: 'OBJECT'; name: 'FeedMetadata'; ofType: null; } }; 'rules': { name: 'rules'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'FeedRulesConfig'; ofType: null; }; } }; }; }; 'FeedMetadata': { kind: 'OBJECT'; name: 'FeedMetadata'; fields: { 'description': { name: 'description'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'name': { name: 'name'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'title': { name: 'title'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; }; }; 'FeedRequest': { kind: 'INPUT_OBJECT'; name: 'FeedRequest'; isOneOf: false; inputFields: [{ name: 'feed'; type: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; defaultValue: null }, { name: 'txHash'; type: { kind: 'SCALAR'; name: 'TxHash'; ofType: null; }; defaultValue: null }]; }; + 'FeedRule': { kind: 'UNION'; name: 'FeedRule'; fields: {}; possibleTypes: 'GroupGatedFeedRule' | 'RestrictedSignersFeedRule' | 'SimplePaymentFeedRule' | 'TokenGatedFeedRule' | 'UnknownFeedRule' | 'UserBlockingRule'; }; + 'FeedRulesConfig': { kind: 'OBJECT'; name: 'FeedRulesConfig'; fields: { 'anyOf': { name: 'anyOf'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'FeedRule'; ofType: null; }; }; }; } }; 'required': { name: 'required'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'FeedRule'; ofType: null; }; }; }; } }; }; }; 'FeedRulesInput': { kind: 'INPUT_OBJECT'; name: 'FeedRulesInput'; isOneOf: false; inputFields: [{ name: 'unknownFeedRule'; type: { kind: 'INPUT_OBJECT'; name: 'UnknownFeedRuleInput'; ofType: null; }; defaultValue: null }]; }; 'FinishedTransactionStatus': { kind: 'OBJECT'; name: 'FinishedTransactionStatus'; fields: { 'blockTimestamp': { name: 'blockTimestamp'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; }; }; 'Float': unknown; @@ -156,10 +171,13 @@ export type introspection_types = { 'FollowPair': { kind: 'INPUT_OBJECT'; name: 'FollowPair'; isOneOf: false; inputFields: [{ name: 'graph'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: "\"0x9e7085a6cc3A02F6026817997cE44B26Ba4Df557\"" }, { name: 'follower'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'account'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }]; }; 'FollowResponse': { kind: 'OBJECT'; name: 'FollowResponse'; fields: { 'hash': { name: 'hash'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'TxHash'; ofType: null; }; } }; }; }; 'FollowResult': { kind: 'UNION'; name: 'FollowResult'; fields: {}; possibleTypes: 'FollowResponse' | 'SelfFundedTransactionRequest' | 'SponsoredTransactionRequest' | 'TransactionWillFail'; }; + 'FollowRule': { kind: 'UNION'; name: 'FollowRule'; fields: {}; possibleTypes: 'SimplePaymentFollowRule' | 'TokenGatedFollowRule' | 'UnknownFollowRule'; }; + 'FollowRulesConfig': { kind: 'OBJECT'; name: 'FollowRulesConfig'; fields: { 'anyOf': { name: 'anyOf'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'FollowRule'; ofType: null; }; }; }; } }; 'required': { name: 'required'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'FollowRule'; ofType: null; }; }; }; } }; }; }; 'FollowRulesInput': { kind: 'INPUT_OBJECT'; name: 'FollowRulesInput'; isOneOf: false; inputFields: [{ name: 'feeFollowRule'; type: { kind: 'INPUT_OBJECT'; name: 'FeeFollowRuleInput'; ofType: null; }; defaultValue: null }, { name: 'unknownFollowRule'; type: { kind: 'INPUT_OBJECT'; name: 'UnknownFollowRuleInput'; ofType: null; }; defaultValue: null }]; }; 'FollowStatusRequest': { kind: 'INPUT_OBJECT'; name: 'FollowStatusRequest'; isOneOf: false; inputFields: [{ name: 'pairs'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'FollowPair'; ofType: null; }; }; }; }; defaultValue: null }]; }; 'FollowStatusResult': { kind: 'OBJECT'; name: 'FollowStatusResult'; fields: { 'account': { name: 'account'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'follower': { name: 'follower'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'graph': { name: 'graph'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'isFollowing': { name: 'isFollowing'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'BooleanValue'; ofType: null; }; } }; }; }; 'Follower': { kind: 'OBJECT'; name: 'Follower'; fields: { 'followedOn': { name: 'followedOn'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; 'follower': { name: 'follower'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Account'; ofType: null; }; } }; }; }; + 'FollowerOnlyPostRule': { kind: 'OBJECT'; name: 'FollowerOnlyPostRule'; fields: { 'graph': { name: 'graph'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'quotesRestricted': { name: 'quotesRestricted'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'repliesRestricted': { name: 'repliesRestricted'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'repostsRestricted': { name: 'repostsRestricted'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'rule': { name: 'rule'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; }; }; 'FollowersOrderBy': { name: 'FollowersOrderBy'; enumValues: 'DESC' | 'ASC' | 'ACCOUNT_SCORE'; }; 'FollowersRequest': { kind: 'INPUT_OBJECT'; name: 'FollowersRequest'; isOneOf: false; inputFields: [{ name: 'pageSize'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'PageSize'; ofType: null; }; }; defaultValue: "FIFTY" }, { name: 'cursor'; type: { kind: 'SCALAR'; name: 'Cursor'; ofType: null; }; defaultValue: null }, { name: 'account'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'forGraphs'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; }; }; defaultValue: "[\"0x9e7085a6cc3A02F6026817997cE44B26Ba4Df557\"]" }, { name: 'orderBy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'FollowersOrderBy'; ofType: null; }; }; defaultValue: "DESC" }]; }; 'FollowersYouKnowOrderBy': { name: 'FollowersYouKnowOrderBy'; enumValues: 'DESC' | 'ASC'; }; @@ -169,15 +187,20 @@ export type introspection_types = { 'FollowingRequest': { kind: 'INPUT_OBJECT'; name: 'FollowingRequest'; isOneOf: false; inputFields: [{ name: 'pageSize'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'PageSize'; ofType: null; }; }; defaultValue: "FIFTY" }, { name: 'cursor'; type: { kind: 'SCALAR'; name: 'Cursor'; ofType: null; }; defaultValue: null }, { name: 'account'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'forGraphs'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; }; }; defaultValue: "[\"0x9e7085a6cc3A02F6026817997cE44B26Ba4Df557\"]" }, { name: 'orderBy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'FollowingOrderBy'; ofType: null; }; }; defaultValue: "DESC" }]; }; 'ForbiddenError': { kind: 'OBJECT'; name: 'ForbiddenError'; fields: { 'reason': { name: 'reason'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; }; }; 'GeneratedNotificationId': unknown; - 'Graph': { kind: 'OBJECT'; name: 'Graph'; fields: { 'address': { name: 'address'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'metadata': { name: 'metadata'; type: { kind: 'OBJECT'; name: 'GraphMetadata'; ofType: null; } }; }; }; + 'Graph': { kind: 'OBJECT'; name: 'Graph'; fields: { 'address': { name: 'address'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'metadata': { name: 'metadata'; type: { kind: 'OBJECT'; name: 'GraphMetadata'; ofType: null; } }; 'rules': { name: 'rules'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'GraphRulesConfig'; ofType: null; }; } }; }; }; 'GraphMetadata': { kind: 'OBJECT'; name: 'GraphMetadata'; fields: { 'description': { name: 'description'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'name': { name: 'name'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'title': { name: 'title'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; }; }; 'GraphRequest': { kind: 'INPUT_OBJECT'; name: 'GraphRequest'; isOneOf: false; inputFields: [{ name: 'graph'; type: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; defaultValue: null }, { name: 'txHash'; type: { kind: 'SCALAR'; name: 'TxHash'; ofType: null; }; defaultValue: null }]; }; + 'GraphRule': { kind: 'UNION'; name: 'GraphRule'; fields: {}; possibleTypes: 'RestrictedSignerGraphRule' | 'TokenGatedGraphRule' | 'UnknownGraphRule' | 'UserBlockingRule'; }; + 'GraphRulesConfig': { kind: 'OBJECT'; name: 'GraphRulesConfig'; fields: { 'anyOf': { name: 'anyOf'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'GraphRule'; ofType: null; }; }; }; } }; 'required': { name: 'required'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'GraphRule'; ofType: null; }; }; }; } }; }; }; 'GraphRulesInput': { kind: 'INPUT_OBJECT'; name: 'GraphRulesInput'; isOneOf: false; inputFields: [{ name: 'unknownGraphRule'; type: { kind: 'INPUT_OBJECT'; name: 'UnknownGraphRuleInput'; ofType: null; }; defaultValue: null }]; }; - 'Group': { kind: 'OBJECT'; name: 'Group'; fields: { 'address': { name: 'address'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'metadata': { name: 'metadata'; type: { kind: 'OBJECT'; name: 'GroupMetadata'; ofType: null; } }; 'timestamp': { name: 'timestamp'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; }; }; + 'Group': { kind: 'OBJECT'; name: 'Group'; fields: { 'address': { name: 'address'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'metadata': { name: 'metadata'; type: { kind: 'OBJECT'; name: 'GroupMetadata'; ofType: null; } }; 'rules': { name: 'rules'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'GroupRulesConfig'; ofType: null; }; } }; 'timestamp': { name: 'timestamp'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; }; }; + 'GroupGatedFeedRule': { kind: 'OBJECT'; name: 'GroupGatedFeedRule'; fields: { 'group': { name: 'group'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Group'; ofType: null; }; } }; 'rule': { name: 'rule'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; }; }; 'GroupMembersOrderBy': { name: 'GroupMembersOrderBy'; enumValues: 'LAST_JOINED' | 'FIRST_JOINED' | 'ACCOUNT_SCORE'; }; 'GroupMembersRequest': { kind: 'INPUT_OBJECT'; name: 'GroupMembersRequest'; isOneOf: false; inputFields: [{ name: 'group'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'orderBy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'GroupMembersOrderBy'; ofType: null; }; }; defaultValue: "LAST_JOINED" }, { name: 'pageSize'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'PageSize'; ofType: null; }; }; defaultValue: "FIFTY" }, { name: 'cursor'; type: { kind: 'SCALAR'; name: 'Cursor'; ofType: null; }; defaultValue: null }]; }; 'GroupMetadata': { kind: 'OBJECT'; name: 'GroupMetadata'; fields: { 'description': { name: 'description'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'icon': { name: 'icon'; type: { kind: 'SCALAR'; name: 'URI'; ofType: null; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'name': { name: 'name'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'slug': { name: 'slug'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; }; }; 'GroupRequest': { kind: 'INPUT_OBJECT'; name: 'GroupRequest'; isOneOf: false; inputFields: [{ name: 'group'; type: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; defaultValue: null }, { name: 'txHash'; type: { kind: 'SCALAR'; name: 'TxHash'; ofType: null; }; defaultValue: null }]; }; + 'GroupRule': { kind: 'UNION'; name: 'GroupRule'; fields: {}; possibleTypes: 'ApprovalGroupRule' | 'SimplePaymentGroupRule' | 'TokenGatedGroupRule' | 'UnknownGroupRule'; }; + 'GroupRulesConfig': { kind: 'OBJECT'; name: 'GroupRulesConfig'; fields: { 'anyOf': { name: 'anyOf'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'GroupRule'; ofType: null; }; }; }; } }; 'required': { name: 'required'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'GroupRule'; ofType: null; }; }; }; } }; }; }; 'GroupsFilter': { kind: 'INPUT_OBJECT'; name: 'GroupsFilter'; isOneOf: false; inputFields: [{ name: 'name'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; }; defaultValue: null }]; }; 'GroupsOrderBy': { name: 'GroupsOrderBy'; enumValues: 'LATEST_JOINED' | 'NAME'; }; 'GroupsRequest': { kind: 'INPUT_OBJECT'; name: 'GroupsRequest'; isOneOf: false; inputFields: [{ name: 'member'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'filter'; type: { kind: 'INPUT_OBJECT'; name: 'GroupsFilter'; ofType: null; }; defaultValue: null }, { name: 'orderBy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'GroupsOrderBy'; ofType: null; }; }; defaultValue: "LATEST_JOINED" }, { name: 'pageSize'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'PageSize'; ofType: null; }; }; defaultValue: "FIFTY" }, { name: 'cursor'; type: { kind: 'SCALAR'; name: 'Cursor'; ofType: null; }; defaultValue: null }]; }; @@ -202,6 +225,7 @@ export type introspection_types = { 'LegacyProfileId': unknown; 'LegacyPublicationId': unknown; 'LegacyRefreshToken': unknown; + 'LengthUsernameNamespaceRule': { kind: 'OBJECT'; name: 'LengthUsernameNamespaceRule'; fields: { 'maxLength': { name: 'maxLength'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; } }; 'minLength': { name: 'minLength'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; } }; 'rule': { name: 'rule'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; }; }; 'LinkMetadata': { kind: 'OBJECT'; name: 'LinkMetadata'; fields: { 'attachments': { name: 'attachments'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'AnyMedia'; ofType: null; }; }; }; } }; 'attributes': { name: 'attributes'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'MetadataAttribute'; ofType: null; }; }; }; } }; 'content': { name: 'content'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Encryptable'; ofType: null; }; } }; 'contentWarning': { name: 'contentWarning'; type: { kind: 'ENUM'; name: 'ContentWarning'; ofType: null; } }; 'encryptedWith': { name: 'encryptedWith'; type: { kind: 'UNION'; name: 'EncryptionStrategy'; ofType: null; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'MetadataId'; ofType: null; }; } }; 'locale': { name: 'locale'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Locale'; ofType: null; }; } }; 'mainContentFocus': { name: 'mainContentFocus'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'MainContentFocus'; ofType: null; }; } }; 'sharingLink': { name: 'sharingLink'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Encryptable'; ofType: null; }; } }; 'tags': { name: 'tags'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Tag'; ofType: null; }; }; } }; }; }; 'LitProtocolEncryptionStrategy': { kind: 'OBJECT'; name: 'LitProtocolEncryptionStrategy'; fields: { 'accessCondition': { name: 'accessCondition'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TopLevelAccessCondition'; ofType: null; }; } }; 'encryptedPaths': { name: 'encryptedPaths'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; }; }; } }; 'encryptionKey': { name: 'encryptionKey'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; }; }; 'LivestreamMetadata': { kind: 'OBJECT'; name: 'LivestreamMetadata'; fields: { 'attachments': { name: 'attachments'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'AnyMedia'; ofType: null; }; }; }; } }; 'attributes': { name: 'attributes'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'MetadataAttribute'; ofType: null; }; }; }; } }; 'checkLiveApi': { name: 'checkLiveApi'; type: { kind: 'SCALAR'; name: 'Encryptable'; ofType: null; } }; 'content': { name: 'content'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Encryptable'; ofType: null; }; } }; 'contentWarning': { name: 'contentWarning'; type: { kind: 'ENUM'; name: 'ContentWarning'; ofType: null; } }; 'encryptedWith': { name: 'encryptedWith'; type: { kind: 'UNION'; name: 'EncryptionStrategy'; ofType: null; } }; 'endsAt': { name: 'endsAt'; type: { kind: 'SCALAR'; name: 'Encryptable'; ofType: null; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'MetadataId'; ofType: null; }; } }; 'liveUrl': { name: 'liveUrl'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Encryptable'; ofType: null; }; } }; 'locale': { name: 'locale'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Locale'; ofType: null; }; } }; 'mainContentFocus': { name: 'mainContentFocus'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'MainContentFocus'; ofType: null; }; } }; 'playbackUrl': { name: 'playbackUrl'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Encryptable'; ofType: null; }; } }; 'startsAt': { name: 'startsAt'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Encryptable'; ofType: null; }; } }; 'tags': { name: 'tags'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Tag'; ofType: null; }; }; } }; 'title': { name: 'title'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; }; }; @@ -224,7 +248,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; }; } }; 'addAppAuthorizationEndpoint': { name: 'addAppAuthorizationEndpoint'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Void'; ofType: null; }; } }; 'addReaction': { name: 'addReaction'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'AddReactionResult'; 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; }; } }; '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; }; } }; '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; }; } }; '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; }; } }; '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; }; } }; '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; }; } }; }; }; @@ -248,6 +272,8 @@ export type introspection_types = { 'PaginatedActions': { kind: 'OBJECT'; name: 'PaginatedActions'; fields: { 'items': { name: 'items'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'ActionInfo'; ofType: null; }; }; }; } }; 'pageInfo': { name: 'pageInfo'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedResultInfo'; ofType: null; }; } }; }; }; 'PaginatedActiveAuthenticationsResult': { kind: 'OBJECT'; name: 'PaginatedActiveAuthenticationsResult'; 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: 'AuthenticatedSession'; ofType: null; }; }; }; } }; 'pageInfo': { name: 'pageInfo'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedResultInfo'; ofType: null; }; } }; }; }; 'PaginatedAnyPostsResult': { kind: 'OBJECT'; name: 'PaginatedAnyPostsResult'; fields: { 'items': { name: 'items'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'AnyPost'; ofType: null; }; }; }; } }; 'pageInfo': { name: 'pageInfo'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedResultInfo'; ofType: null; }; } }; }; }; + '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; }; } }; }; }; '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; }; } }; }; }; '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; }; } }; }; }; @@ -262,7 +288,7 @@ export type introspection_types = { 'PaymasterParams': { kind: 'OBJECT'; name: 'PaymasterParams'; fields: { 'paymaster': { name: 'paymaster'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'paymasterInput': { name: 'paymasterInput'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'BlockchainData'; ofType: null; }; } }; }; }; 'PendingTransactionStatus': { kind: 'OBJECT'; name: 'PendingTransactionStatus'; fields: { 'blockTimestamp': { name: 'blockTimestamp'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; }; }; 'PhysicalAddress': { kind: 'OBJECT'; name: 'PhysicalAddress'; fields: { 'country': { name: 'country'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Encryptable'; ofType: null; }; } }; 'formatted': { name: 'formatted'; type: { kind: 'SCALAR'; name: 'Encryptable'; ofType: null; } }; 'locality': { name: 'locality'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Encryptable'; ofType: null; }; } }; 'postalCode': { name: 'postalCode'; type: { kind: 'SCALAR'; name: 'Encryptable'; ofType: null; } }; 'region': { name: 'region'; type: { kind: 'SCALAR'; name: 'Encryptable'; ofType: null; } }; 'streetAddress': { name: 'streetAddress'; type: { kind: 'SCALAR'; name: 'Encryptable'; ofType: null; } }; }; }; - 'Post': { kind: 'OBJECT'; name: 'Post'; fields: { 'actions': { name: 'actions'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'PostAction'; ofType: null; }; }; }; } }; 'app': { name: 'app'; type: { kind: 'OBJECT'; name: 'App'; ofType: null; } }; 'author': { name: 'author'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Account'; ofType: null; }; } }; 'commentOn': { name: 'commentOn'; type: { kind: 'UNION'; name: 'NestedPost'; ofType: null; } }; 'feed': { name: 'feed'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Feed'; ofType: null; }; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'PostId'; ofType: null; }; } }; 'isDeleted': { name: 'isDeleted'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'isEdited': { name: 'isEdited'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'mentions': { name: 'mentions'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'AccountMention'; ofType: null; }; }; }; } }; 'metadata': { name: 'metadata'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'PostMetadata'; ofType: null; }; } }; 'operations': { name: 'operations'; type: { kind: 'OBJECT'; name: 'LoggedInPostOperations'; ofType: null; } }; 'quoteOf': { name: 'quoteOf'; type: { kind: 'UNION'; name: 'NestedPost'; ofType: null; } }; 'root': { name: 'root'; type: { kind: 'UNION'; name: 'NestedPost'; ofType: null; } }; 'stats': { name: 'stats'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PostStats'; ofType: null; }; } }; 'timestamp': { name: 'timestamp'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; }; }; + 'Post': { kind: 'OBJECT'; name: 'Post'; fields: { 'actions': { name: 'actions'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'PostAction'; ofType: null; }; }; }; } }; 'app': { name: 'app'; type: { kind: 'OBJECT'; name: 'App'; ofType: null; } }; 'author': { name: 'author'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Account'; ofType: null; }; } }; 'commentOn': { name: 'commentOn'; type: { kind: 'UNION'; name: 'NestedPost'; ofType: null; } }; 'feed': { name: 'feed'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Feed'; ofType: null; }; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'PostId'; ofType: null; }; } }; 'isDeleted': { name: 'isDeleted'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'isEdited': { name: 'isEdited'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'mentions': { name: 'mentions'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'AccountMention'; ofType: null; }; }; }; } }; 'metadata': { name: 'metadata'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'PostMetadata'; ofType: null; }; } }; 'operations': { name: 'operations'; type: { kind: 'OBJECT'; name: 'LoggedInPostOperations'; ofType: null; } }; 'quoteOf': { name: 'quoteOf'; type: { kind: 'UNION'; name: 'NestedPost'; ofType: null; } }; 'root': { name: 'root'; type: { kind: 'UNION'; name: 'NestedPost'; ofType: null; } }; 'rules': { name: 'rules'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PostRulesConfig'; ofType: null; }; } }; 'stats': { name: 'stats'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PostStats'; ofType: null; }; } }; 'timestamp': { name: 'timestamp'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; }; }; 'PostAccountPair': { kind: 'INPUT_OBJECT'; name: 'PostAccountPair'; isOneOf: false; inputFields: [{ name: 'post'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'PostId'; ofType: null; }; }; defaultValue: null }, { name: 'account'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }]; }; 'PostAction': { kind: 'UNION'; name: 'PostAction'; fields: {}; possibleTypes: 'SimpleCollectActionSettings' | 'UnknownActionSettings'; }; 'PostActionCategoryType': { name: 'PostActionCategoryType'; enumValues: 'COLLECT'; }; @@ -290,6 +316,8 @@ export type introspection_types = { 'PostRequest': { kind: 'INPUT_OBJECT'; name: 'PostRequest'; isOneOf: false; inputFields: [{ name: 'post'; type: { kind: 'SCALAR'; name: 'PostId'; ofType: null; }; defaultValue: null }, { name: 'txHash'; type: { kind: 'SCALAR'; name: 'TxHash'; ofType: null; }; defaultValue: null }]; }; 'PostResponse': { kind: 'OBJECT'; name: 'PostResponse'; fields: { 'hash': { name: 'hash'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'TxHash'; ofType: null; }; } }; }; }; 'PostResult': { kind: 'UNION'; name: 'PostResult'; fields: {}; possibleTypes: 'PostResponse' | 'SelfFundedTransactionRequest' | 'SponsoredTransactionRequest' | 'TransactionWillFail'; }; + 'PostRule': { kind: 'UNION'; name: 'PostRule'; fields: {}; possibleTypes: 'FollowerOnlyPostRule' | 'UnknownPostRule'; }; + 'PostRulesConfig': { kind: 'OBJECT'; name: 'PostRulesConfig'; fields: { 'anyOf': { name: 'anyOf'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'PostRule'; ofType: null; }; }; }; } }; 'required': { name: 'required'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'PostRule'; ofType: null; }; }; }; } }; }; }; 'PostStats': { kind: 'OBJECT'; name: 'PostStats'; fields: { 'bookmarks': { name: 'bookmarks'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; } }; 'collects': { name: 'collects'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; } }; 'comments': { name: 'comments'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; } }; 'quotes': { name: 'quotes'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; } }; 'reactions': { name: 'reactions'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; } }; 'reposts': { name: 'reposts'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; } }; }; }; 'PostTagsOrderBy': { name: 'PostTagsOrderBy'; enumValues: 'MOST_POPULAR' | 'ALPHABETICAL'; }; 'PostTagsRequest': { kind: 'INPUT_OBJECT'; name: 'PostTagsRequest'; isOneOf: false; inputFields: [{ name: 'forFeeds'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; }; }; defaultValue: null }, { name: 'orderBy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'PostTagsOrderBy'; ofType: null; }; }; defaultValue: "MOST_POPULAR" }, { name: 'pageSize'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'PageSize'; ofType: null; }; }; defaultValue: "FIFTY" }, { name: 'cursor'; type: { kind: 'SCALAR'; name: 'Cursor'; ofType: null; }; defaultValue: null }]; }; @@ -298,7 +326,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; }; } }; 'app': { name: 'app'; type: { kind: 'OBJECT'; name: 'App'; 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; } }; '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; }; } }; }; }; + '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; }; } }; '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; }; } }; '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; } }; '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 }]; }; @@ -310,13 +338,23 @@ export type introspection_types = { 'RefreshToken': unknown; 'RemoveAccountManagerRequest': { kind: 'INPUT_OBJECT'; name: 'RemoveAccountManagerRequest'; isOneOf: false; inputFields: [{ name: 'manager'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }]; }; 'RemoveAccountManagerResult': { kind: 'UNION'; name: 'RemoveAccountManagerResult'; fields: {}; possibleTypes: 'SelfFundedTransactionRequest' | 'SponsoredTransactionRequest' | 'TransactionWillFail'; }; + 'RemoveAppFeedsRequest': { kind: 'INPUT_OBJECT'; name: 'RemoveAppFeedsRequest'; isOneOf: false; inputFields: [{ name: 'app'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'feeds'; 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 }]; }; + 'RemoveAppFeedsResult': { kind: 'UNION'; name: 'RemoveAppFeedsResult'; fields: {}; possibleTypes: 'SelfFundedTransactionRequest' | 'SponsoredTransactionRequest' | 'TransactionWillFail'; }; + 'RemoveAppGroupsRequest': { kind: 'INPUT_OBJECT'; name: 'RemoveAppGroupsRequest'; isOneOf: false; inputFields: [{ name: 'app'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'groups'; 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 }]; }; + 'RemoveAppGroupsResult': { kind: 'UNION'; name: 'RemoveAppGroupsResult'; fields: {}; possibleTypes: 'SelfFundedTransactionRequest' | 'SponsoredTransactionRequest' | 'TransactionWillFail'; }; + 'RemoveAppSignersRequest': { kind: 'INPUT_OBJECT'; name: 'RemoveAppSignersRequest'; isOneOf: false; inputFields: [{ name: 'app'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'signers'; 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 }]; }; + 'RemoveAppSignersResult': { kind: 'UNION'; name: 'RemoveAppSignersResult'; fields: {}; possibleTypes: 'SelfFundedTransactionRequest' | 'SponsoredTransactionRequest' | 'TransactionWillFail'; }; 'RemoveSignlessResult': { kind: 'UNION'; name: 'RemoveSignlessResult'; fields: {}; possibleTypes: 'SelfFundedTransactionRequest' | 'SponsoredTransactionRequest' | 'TransactionWillFail'; }; 'ReportAccountRequest': { kind: 'INPUT_OBJECT'; name: 'ReportAccountRequest'; isOneOf: false; inputFields: [{ name: 'account'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'reason'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'AccountReportReason'; ofType: null; }; }; defaultValue: null }, { name: 'additionalComment'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; }; defaultValue: null }, { name: 'referencePosts'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'PostId'; ofType: null; }; }; }; defaultValue: null }]; }; 'ReportPostRequest': { kind: 'INPUT_OBJECT'; name: 'ReportPostRequest'; isOneOf: false; inputFields: [{ name: 'post'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'PostId'; ofType: null; }; }; defaultValue: null }, { name: 'reason'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'PostReportReason'; ofType: null; }; }; defaultValue: null }, { name: 'additionalComment'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; }; defaultValue: null }]; }; 'Repost': { kind: 'OBJECT'; name: 'Repost'; fields: { 'app': { name: 'app'; type: { kind: 'OBJECT'; name: 'App'; ofType: null; } }; 'author': { name: 'author'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Account'; ofType: null; }; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'PostId'; ofType: null; }; } }; 'isDeleted': { name: 'isDeleted'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'repostOf': { name: 'repostOf'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Post'; ofType: null; }; } }; 'timestamp': { name: 'timestamp'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; }; }; 'RepostNotification': { kind: 'OBJECT'; name: 'RepostNotification'; fields: { 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'GeneratedNotificationId'; ofType: null; }; } }; 'post': { name: 'post'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Post'; ofType: null; }; } }; 'reposts': { name: 'reposts'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'NotificationAccountRepost'; ofType: null; }; }; }; } }; }; }; + 'RestrictedSigner': { kind: 'OBJECT'; name: 'RestrictedSigner'; fields: { 'label': { name: 'label'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'signer': { name: 'signer'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; }; }; + 'RestrictedSignerGraphRule': { kind: 'OBJECT'; name: 'RestrictedSignerGraphRule'; fields: { 'rule': { name: 'rule'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'signers': { name: 'signers'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'RestrictedSigner'; ofType: null; }; }; }; } }; }; }; + 'RestrictedSignersFeedRule': { kind: 'OBJECT'; name: 'RestrictedSignersFeedRule'; fields: { 'rule': { name: 'rule'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'signers': { name: 'signers'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'RestrictedSigner'; ofType: null; }; }; }; } }; }; }; 'RevokeAuthenticationRequest': { kind: 'INPUT_OBJECT'; name: 'RevokeAuthenticationRequest'; isOneOf: false; inputFields: [{ name: 'authenticationId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'UUID'; ofType: null; }; }; defaultValue: null }]; }; 'RolloverRefreshRequest': { kind: 'INPUT_OBJECT'; name: 'RolloverRefreshRequest'; isOneOf: false; inputFields: [{ name: 'app'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'refreshToken'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'LegacyRefreshToken'; ofType: null; }; }; defaultValue: null }]; }; + 'RuleInput': { kind: 'INPUT_OBJECT'; name: 'RuleInput'; isOneOf: false; inputFields: [{ name: 'rules'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; }; }; defaultValue: null }]; }; 'SearchGroupsRequest': { kind: 'INPUT_OBJECT'; name: 'SearchGroupsRequest'; isOneOf: false; inputFields: [{ name: 'query'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; }; defaultValue: null }, { name: 'pageSize'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'PageSize'; ofType: null; }; }; defaultValue: "FIFTY" }, { name: 'cursor'; type: { kind: 'SCALAR'; name: 'Cursor'; ofType: null; }; defaultValue: null }]; }; 'SearchPostsFilter': { kind: 'INPUT_OBJECT'; name: 'SearchPostsFilter'; isOneOf: false; inputFields: [{ name: 'postTypes'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'PostType'; ofType: null; }; }; }; defaultValue: null }, { name: 'metadata'; type: { kind: 'INPUT_OBJECT'; name: 'PostMetadataFilter'; ofType: null; }; defaultValue: null }]; }; 'SearchPostsRequest': { kind: 'INPUT_OBJECT'; name: 'SearchPostsRequest'; isOneOf: false; inputFields: [{ name: 'query'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; }; defaultValue: null }, { name: 'forFeeds'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; }; }; defaultValue: "[\"0x83C8D9e96Da13aaD12E068F48C639C7671D2a5C7\"]" }, { name: 'filter'; type: { kind: 'INPUT_OBJECT'; name: 'SearchPostsFilter'; ofType: null; }; defaultValue: null }, { name: 'pageSize'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'PageSize'; ofType: null; }; }; defaultValue: "FIFTY" }, { name: 'cursor'; type: { kind: 'SCALAR'; name: 'Cursor'; ofType: null; }; defaultValue: null }]; }; @@ -325,10 +363,28 @@ export type introspection_types = { 'SetAccountMetadataRequest': { kind: 'INPUT_OBJECT'; name: 'SetAccountMetadataRequest'; isOneOf: false; inputFields: [{ name: 'metadataUri'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'URI'; ofType: null; }; }; defaultValue: null }]; }; 'SetAccountMetadataResponse': { kind: 'OBJECT'; name: 'SetAccountMetadataResponse'; fields: { 'hash': { name: 'hash'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'TxHash'; ofType: null; }; } }; }; }; 'SetAccountMetadataResult': { kind: 'UNION'; name: 'SetAccountMetadataResult'; fields: {}; possibleTypes: 'SelfFundedTransactionRequest' | 'SetAccountMetadataResponse' | 'SponsoredTransactionRequest' | 'TransactionWillFail'; }; + 'SetAppGraphRequest': { kind: 'INPUT_OBJECT'; name: 'SetAppGraphRequest'; isOneOf: false; inputFields: [{ name: 'app'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'graph'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }]; }; + 'SetAppGraphResult': { kind: 'UNION'; name: 'SetAppGraphResult'; fields: {}; possibleTypes: 'SelfFundedTransactionRequest' | 'SponsoredTransactionRequest' | 'TransactionWillFail'; }; + 'SetAppMetadataRequest': { kind: 'INPUT_OBJECT'; name: 'SetAppMetadataRequest'; isOneOf: false; inputFields: [{ name: 'app'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'metadataUri'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; }; defaultValue: null }]; }; + 'SetAppMetadataResult': { kind: 'UNION'; name: 'SetAppMetadataResult'; fields: {}; possibleTypes: 'SelfFundedTransactionRequest' | 'SponsoredTransactionRequest' | 'TransactionWillFail'; }; + 'SetAppSourceStampVerificationRequest': { kind: 'INPUT_OBJECT'; name: 'SetAppSourceStampVerificationRequest'; isOneOf: false; inputFields: [{ name: 'app'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'status'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; }; defaultValue: null }]; }; + 'SetAppSourceStampVerificationResult': { kind: 'UNION'; name: 'SetAppSourceStampVerificationResult'; fields: {}; possibleTypes: 'SelfFundedTransactionRequest' | 'SponsoredTransactionRequest' | 'TransactionWillFail'; }; + 'SetAppSponsorshipRequest': { kind: 'INPUT_OBJECT'; name: 'SetAppSponsorshipRequest'; isOneOf: false; inputFields: [{ name: 'app'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'sponsorship'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }]; }; + 'SetAppSponsorshipResult': { kind: 'UNION'; name: 'SetAppSponsorshipResult'; fields: {}; possibleTypes: 'SelfFundedTransactionRequest' | 'SponsoredTransactionRequest' | 'TransactionWillFail'; }; + 'SetAppTreasuryRequest': { kind: 'INPUT_OBJECT'; name: 'SetAppTreasuryRequest'; isOneOf: false; inputFields: [{ name: 'app'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'treasury'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }]; }; + 'SetAppTreasuryResult': { kind: 'UNION'; name: 'SetAppTreasuryResult'; fields: {}; possibleTypes: 'SelfFundedTransactionRequest' | 'SponsoredTransactionRequest' | 'TransactionWillFail'; }; + 'SetAppUsernameNamespaceRequest': { kind: 'INPUT_OBJECT'; name: 'SetAppUsernameNamespaceRequest'; isOneOf: false; inputFields: [{ name: 'app'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'usernameNamespace'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }]; }; + 'SetAppUsernameNamespaceResult': { kind: 'UNION'; name: 'SetAppUsernameNamespaceResult'; fields: {}; possibleTypes: 'SelfFundedTransactionRequest' | 'SponsoredTransactionRequest' | 'TransactionWillFail'; }; + 'SetDefaultAppFeedRequest': { kind: 'INPUT_OBJECT'; name: 'SetDefaultAppFeedRequest'; isOneOf: false; inputFields: [{ name: 'app'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'feed'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }]; }; + 'SetDefaultAppFeedResult': { kind: 'UNION'; name: 'SetDefaultAppFeedResult'; fields: {}; possibleTypes: 'SelfFundedTransactionRequest' | 'SponsoredTransactionRequest' | 'TransactionWillFail'; }; 'Signature': unknown; 'SignedAuthChallenge': { kind: 'INPUT_OBJECT'; name: 'SignedAuthChallenge'; isOneOf: false; inputFields: [{ name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'UUID'; ofType: null; }; }; defaultValue: null }, { name: 'signature'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Signature'; ofType: null; }; }; defaultValue: null }]; }; 'SimpleCollectActionInput': { kind: 'INPUT_OBJECT'; name: 'SimpleCollectActionInput'; isOneOf: false; inputFields: [{ name: 'amount'; type: { kind: 'INPUT_OBJECT'; name: 'AmountInput'; ofType: null; }; defaultValue: null }, { name: 'referralFee'; type: { kind: 'SCALAR'; name: 'Float'; ofType: null; }; defaultValue: null }, { name: 'recipient'; type: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; defaultValue: null }, { name: 'collectLimit'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; }; defaultValue: null }, { name: 'followerOnly'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; }; defaultValue: null }, { name: 'endsAt'; type: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; defaultValue: null }, { name: 'recipients'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'RecipientDataInput'; ofType: null; }; }; }; defaultValue: null }]; }; 'SimpleCollectActionSettings': { kind: 'OBJECT'; name: 'SimpleCollectActionSettings'; fields: { 'amount': { name: 'amount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Amount'; ofType: null; }; } }; 'collectLimit': { name: 'collectLimit'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'collectNft': { name: 'collectNft'; type: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; } }; 'contract': { name: 'contract'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'NetworkAddress'; ofType: null; }; } }; 'endsAt': { name: 'endsAt'; type: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; } }; 'followerOnly': { name: 'followerOnly'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'recipient': { name: 'recipient'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'recipients': { name: 'recipients'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'RecipientDataOutput'; ofType: null; }; }; }; } }; 'referralFee': { name: 'referralFee'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Float'; ofType: null; }; } }; }; }; + 'SimplePaymentFeedRule': { kind: 'OBJECT'; name: 'SimplePaymentFeedRule'; fields: { 'amount': { name: 'amount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Amount'; ofType: null; }; } }; 'recipient': { name: 'recipient'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'rule': { name: 'rule'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; }; }; + 'SimplePaymentFollowRule': { kind: 'OBJECT'; name: 'SimplePaymentFollowRule'; fields: { 'amount': { name: 'amount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Amount'; ofType: null; }; } }; 'recipient': { name: 'recipient'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'rule': { name: 'rule'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; }; }; + 'SimplePaymentGroupRule': { kind: 'OBJECT'; name: 'SimplePaymentGroupRule'; fields: { 'amount': { name: 'amount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Amount'; ofType: null; }; } }; 'recipient': { name: 'recipient'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'rule': { name: 'rule'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; }; }; + 'SimplePaymentUsernameNamespaceRule': { kind: 'OBJECT'; name: 'SimplePaymentUsernameNamespaceRule'; fields: { 'amount': { name: 'amount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Amount'; ofType: null; }; } }; 'recipient': { name: 'recipient'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'rule': { name: 'rule'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; }; }; 'SpaceMetadata': { kind: 'OBJECT'; name: 'SpaceMetadata'; fields: { 'attachments': { name: 'attachments'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'AnyMedia'; ofType: null; }; }; }; } }; 'attributes': { name: 'attributes'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'MetadataAttribute'; ofType: null; }; }; }; } }; 'content': { name: 'content'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Encryptable'; ofType: null; }; } }; 'contentWarning': { name: 'contentWarning'; type: { kind: 'ENUM'; name: 'ContentWarning'; ofType: null; } }; 'encryptedWith': { name: 'encryptedWith'; type: { kind: 'UNION'; name: 'EncryptionStrategy'; ofType: null; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'MetadataId'; ofType: null; }; } }; 'link': { name: 'link'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Encryptable'; ofType: null; }; } }; 'locale': { name: 'locale'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Locale'; ofType: null; }; } }; 'mainContentFocus': { name: 'mainContentFocus'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'MainContentFocus'; ofType: null; }; } }; 'startsAt': { name: 'startsAt'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Encryptable'; ofType: null; }; } }; 'tags': { name: 'tags'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Tag'; ofType: null; }; }; } }; 'title': { name: 'title'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; }; }; 'SponsorLimitType': { name: 'SponsorLimitType'; enumValues: 'HOUR' | 'DAY' | 'WEEK' | 'MONTH'; }; 'SponsoredFallbackReason': { name: 'SponsoredFallbackReason'; enumValues: 'SIGNLESS_DISABLED' | 'SIGNLESS_FAILED'; }; @@ -350,6 +406,12 @@ export type introspection_types = { 'TimelineHighlightsRequest': { kind: 'INPUT_OBJECT'; name: 'TimelineHighlightsRequest'; isOneOf: false; inputFields: [{ name: 'account'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'forFeeds'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; }; }; defaultValue: "[\"0x83C8D9e96Da13aaD12E068F48C639C7671D2a5C7\"]" }, { name: 'filter'; type: { kind: 'INPUT_OBJECT'; name: 'TimelineHighlightsFilter'; ofType: null; }; defaultValue: null }, { name: 'pageSize'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'PageSize'; ofType: null; }; }; defaultValue: "FIFTY" }, { name: 'cursor'; type: { kind: 'SCALAR'; name: 'Cursor'; ofType: null; }; defaultValue: null }]; }; 'TimelineItem': { kind: 'OBJECT'; name: 'TimelineItem'; fields: { 'comments': { name: 'comments'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Post'; ofType: null; }; }; }; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'UUID'; ofType: null; }; } }; 'primary': { name: 'primary'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Post'; ofType: null; }; } }; 'reposts': { name: 'reposts'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Post'; ofType: null; }; }; }; } }; }; }; 'TimelineRequest': { kind: 'INPUT_OBJECT'; name: 'TimelineRequest'; isOneOf: false; inputFields: [{ name: 'account'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'forFeeds'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; }; }; defaultValue: "[\"0x83C8D9e96Da13aaD12E068F48C639C7671D2a5C7\"]" }, { name: 'filter'; type: { kind: 'INPUT_OBJECT'; name: 'TimelineFilter'; ofType: null; }; defaultValue: null }, { name: 'cursor'; type: { kind: 'SCALAR'; name: 'Cursor'; ofType: null; }; defaultValue: null }]; }; + 'TokenGatedFeedRule': { kind: 'OBJECT'; name: 'TokenGatedFeedRule'; fields: { 'amount': { name: 'amount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Amount'; ofType: null; }; } }; 'rule': { name: 'rule'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'token': { name: 'token'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'tokenStandard': { name: 'tokenStandard'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'TokenStandard'; ofType: null; }; } }; 'typeId': { name: 'typeId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'BigInt'; ofType: null; }; } }; }; }; + 'TokenGatedFollowRule': { kind: 'OBJECT'; name: 'TokenGatedFollowRule'; fields: { 'amount': { name: 'amount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Amount'; ofType: null; }; } }; 'rule': { name: 'rule'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'token': { name: 'token'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'tokenStandard': { name: 'tokenStandard'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'TokenStandard'; ofType: null; }; } }; 'typeId': { name: 'typeId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'BigInt'; ofType: null; }; } }; }; }; + 'TokenGatedGraphRule': { kind: 'OBJECT'; name: 'TokenGatedGraphRule'; fields: { 'amount': { name: 'amount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Amount'; ofType: null; }; } }; 'rule': { name: 'rule'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'token': { name: 'token'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'tokenStandard': { name: 'tokenStandard'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'TokenStandard'; ofType: null; }; } }; 'typeId': { name: 'typeId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'BigInt'; ofType: null; }; } }; }; }; + 'TokenGatedGroupRule': { kind: 'OBJECT'; name: 'TokenGatedGroupRule'; fields: { 'amount': { name: 'amount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Amount'; ofType: null; }; } }; 'rule': { name: 'rule'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'token': { name: 'token'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'tokenStandard': { name: 'tokenStandard'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'TokenStandard'; ofType: null; }; } }; 'typeId': { name: 'typeId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'BigInt'; ofType: null; }; } }; }; }; + 'TokenGatedUsernameNamespaceRule': { kind: 'OBJECT'; name: 'TokenGatedUsernameNamespaceRule'; fields: { 'amount': { name: 'amount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Amount'; ofType: null; }; } }; 'rule': { name: 'rule'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'token': { name: 'token'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'tokenStandard': { name: 'tokenStandard'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'TokenStandard'; ofType: null; }; } }; 'typeId': { name: 'typeId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'BigInt'; ofType: null; }; } }; }; }; + 'TokenStandard': { name: 'TokenStandard'; enumValues: 'ERC_20' | 'ERC_721' | 'ERC_1155'; }; 'TopLevelAccessCondition': { kind: 'OBJECT'; name: 'TopLevelAccessCondition'; fields: { 'criteria': { name: 'criteria'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'AnyAccessCondition'; ofType: null; }; }; }; } }; 'type': { name: 'type'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; }; }; 'TransactionMetadata': { kind: 'OBJECT'; name: 'TransactionMetadata'; fields: { 'attachments': { name: 'attachments'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'AnyMedia'; ofType: null; }; }; }; } }; 'attributes': { name: 'attributes'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'MetadataAttribute'; ofType: null; }; }; }; } }; 'chainId': { name: 'chainId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ChainId'; ofType: null; }; } }; 'content': { name: 'content'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Encryptable'; ofType: null; }; } }; 'contentWarning': { name: 'contentWarning'; type: { kind: 'ENUM'; name: 'ContentWarning'; ofType: null; } }; 'encryptedWith': { name: 'encryptedWith'; type: { kind: 'UNION'; name: 'EncryptionStrategy'; ofType: null; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'MetadataId'; ofType: null; }; } }; 'locale': { name: 'locale'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Locale'; ofType: null; }; } }; 'mainContentFocus': { name: 'mainContentFocus'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'MainContentFocus'; ofType: null; }; } }; 'tags': { name: 'tags'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Tag'; ofType: null; }; }; } }; 'txHash': { name: 'txHash'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Encryptable'; ofType: null; }; } }; 'type': { name: 'type'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'TransactionType'; ofType: null; }; } }; }; }; 'TransactionStatusRequest': { kind: 'INPUT_OBJECT'; name: 'TransactionStatusRequest'; isOneOf: false; inputFields: [{ name: 'txHash'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'TxHash'; ofType: null; }; }; defaultValue: null }]; }; @@ -381,16 +443,25 @@ export type introspection_types = { 'UnknownAction': { kind: 'OBJECT'; name: 'UnknownAction'; fields: { 'contract': { name: 'contract'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'NetworkAddress'; ofType: null; }; } }; 'name': { name: 'name'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; }; }; 'UnknownActionInput': { kind: 'INPUT_OBJECT'; name: 'UnknownActionInput'; isOneOf: false; inputFields: [{ name: 'address'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'data'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; }; defaultValue: null }]; }; 'UnknownActionSettings': { kind: 'OBJECT'; name: 'UnknownActionSettings'; fields: { 'collectNft': { name: 'collectNft'; type: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; } }; 'contract': { name: 'contract'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'NetworkAddress'; ofType: null; }; } }; 'initializeCalldata': { name: 'initializeCalldata'; type: { kind: 'SCALAR'; name: 'BlockchainData'; ofType: null; } }; 'initializeResultData': { name: 'initializeResultData'; type: { kind: 'SCALAR'; name: 'BlockchainData'; ofType: null; } }; 'verified': { name: 'verified'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; }; }; + 'UnknownFeedRule': { kind: 'OBJECT'; name: 'UnknownFeedRule'; fields: { 'configData': { name: 'configData'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'BlockchainData'; ofType: null; }; } }; 'rule': { name: 'rule'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; }; }; 'UnknownFeedRuleInput': { kind: 'INPUT_OBJECT'; name: 'UnknownFeedRuleInput'; isOneOf: false; inputFields: [{ name: 'address'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'data'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'BlockchainData'; ofType: null; }; }; defaultValue: null }]; }; + 'UnknownFollowRule': { kind: 'OBJECT'; name: 'UnknownFollowRule'; fields: { 'configData': { name: 'configData'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'BlockchainData'; ofType: null; }; } }; 'rule': { name: 'rule'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; }; }; 'UnknownFollowRuleInput': { kind: 'INPUT_OBJECT'; name: 'UnknownFollowRuleInput'; isOneOf: false; inputFields: [{ name: 'address'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'data'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'BlockchainData'; ofType: null; }; }; defaultValue: null }]; }; + 'UnknownGraphRule': { kind: 'OBJECT'; name: 'UnknownGraphRule'; fields: { 'configData': { name: 'configData'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'BlockchainData'; ofType: null; }; } }; 'rule': { name: 'rule'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; }; }; 'UnknownGraphRuleInput': { kind: 'INPUT_OBJECT'; name: 'UnknownGraphRuleInput'; isOneOf: false; inputFields: [{ name: 'address'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'data'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'BlockchainData'; ofType: null; }; }; defaultValue: null }]; }; + 'UnknownGroupRule': { kind: 'OBJECT'; name: 'UnknownGroupRule'; fields: { 'configData': { name: 'configData'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'BlockchainData'; ofType: null; }; } }; 'rule': { name: 'rule'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; }; }; + 'UnknownPostRule': { kind: 'OBJECT'; name: 'UnknownPostRule'; fields: { 'configData': { name: 'configData'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'BlockchainData'; ofType: null; }; } }; 'rule': { name: 'rule'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; }; }; + 'UnknownUsernameNamespaceRule': { kind: 'OBJECT'; name: 'UnknownUsernameNamespaceRule'; fields: { 'configData': { name: 'configData'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'BlockchainData'; ofType: null; }; } }; 'rule': { name: 'rule'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; }; }; 'UpdateAccountManagerRequest': { kind: 'INPUT_OBJECT'; name: 'UpdateAccountManagerRequest'; isOneOf: false; inputFields: [{ name: 'manager'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'permissions'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'AccountManagerPermissionsInput'; ofType: null; }; }; defaultValue: null }]; }; 'UpdateAccountManagerResult': { kind: 'UNION'; name: 'UpdateAccountManagerResult'; fields: {}; possibleTypes: 'SelfFundedTransactionRequest' | 'SponsoredTransactionRequest' | 'TransactionWillFail'; }; + 'UserBlockingRule': { kind: 'OBJECT'; name: 'UserBlockingRule'; fields: { 'blockedUsers': { name: 'blockedUsers'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; }; } }; 'rule': { name: 'rule'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; }; }; 'Username': { kind: 'OBJECT'; name: 'Username'; fields: { 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; } }; 'linkedTo': { name: 'linkedTo'; type: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; } }; 'localName': { name: 'localName'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'namespace': { name: 'namespace'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'UsernameNamespace'; ofType: null; }; } }; 'ownedBy': { name: 'ownedBy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'timestamp': { name: 'timestamp'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; 'value': { name: 'value'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'UsernameValue'; ofType: null; }; } }; }; }; 'UsernameInput': { kind: 'INPUT_OBJECT'; name: 'UsernameInput'; isOneOf: false; inputFields: [{ name: 'localName'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; }; defaultValue: null }, { name: 'namespace'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: "\"0x6Cc71E78e25eBF6A2525CadC1fc628B42AE4138f\"" }]; }; - 'UsernameNamespace': { kind: 'OBJECT'; name: 'UsernameNamespace'; fields: { 'address': { name: 'address'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'metadata': { name: 'metadata'; type: { kind: 'OBJECT'; name: 'UsernameNamespaceMetadata'; ofType: null; } }; 'namespace': { name: 'namespace'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; }; }; + 'UsernameNamespace': { kind: 'OBJECT'; name: 'UsernameNamespace'; fields: { 'address': { name: 'address'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'metadata': { name: 'metadata'; type: { kind: 'OBJECT'; name: 'UsernameNamespaceMetadata'; ofType: null; } }; 'namespace': { name: 'namespace'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'rules': { name: 'rules'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'UsernameNamespaceRulesConfig'; ofType: null; }; } }; }; }; 'UsernameNamespaceMetadata': { kind: 'OBJECT'; name: 'UsernameNamespaceMetadata'; fields: { 'description': { name: 'description'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; }; }; 'UsernameNamespaceRequest': { kind: 'INPUT_OBJECT'; name: 'UsernameNamespaceRequest'; isOneOf: false; inputFields: [{ name: 'namespace'; type: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; defaultValue: null }, { name: 'txHash'; type: { kind: 'SCALAR'; name: 'TxHash'; ofType: null; }; defaultValue: null }]; }; + 'UsernameNamespaceRule': { kind: 'UNION'; name: 'UsernameNamespaceRule'; fields: {}; possibleTypes: 'CharsetUsernameNamespaceRule' | 'LengthUsernameNamespaceRule' | 'SimplePaymentUsernameNamespaceRule' | 'TokenGatedUsernameNamespaceRule' | 'UnknownUsernameNamespaceRule'; }; + 'UsernameNamespaceRulesConfig': { kind: 'OBJECT'; name: 'UsernameNamespaceRulesConfig'; fields: { 'anyOf': { name: 'anyOf'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'UsernameNamespaceRule'; ofType: null; }; }; }; } }; 'required': { name: 'required'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'UsernameNamespaceRule'; ofType: null; }; }; }; } }; }; }; 'UsernameRequest': { kind: 'INPUT_OBJECT'; name: 'UsernameRequest'; isOneOf: false; inputFields: [{ name: 'id'; type: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; defaultValue: null }, { name: 'username'; type: { kind: 'INPUT_OBJECT'; name: 'UsernameInput'; ofType: null; }; defaultValue: null }]; }; 'UsernameValue': unknown; 'UsernamesRequest': { kind: 'INPUT_OBJECT'; name: 'UsernamesRequest'; isOneOf: false; inputFields: [{ name: 'pageSize'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'PageSize'; ofType: null; }; }; defaultValue: "FIFTY" }, { name: 'cursor'; type: { kind: 'SCALAR'; name: 'Cursor'; ofType: null; }; defaultValue: null }, { name: 'owner'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }]; }; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 9bfd2bee3..f24c92b61 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -69,6 +69,9 @@ importers: specifier: ^1.9.2 version: 1.9.2 devDependencies: + '@lens-network/sdk': + specifier: 0.0.0-canary-20241202173005 + version: 0.0.0-canary-20241202173005(viem@2.21.53(typescript@5.6.3)(zod@3.23.8)) tsup: specifier: ^8.3.5 version: 8.3.5(postcss@8.4.47)(tsx@4.19.2)(typescript@5.6.3) @@ -76,8 +79,8 @@ importers: specifier: ^5.6.3 version: 5.6.3 viem: - specifier: ^2.21.33 - version: 2.21.52(typescript@5.6.3)(zod@3.23.8) + specifier: ^2.21.53 + version: 2.21.53(typescript@5.6.3)(zod@3.23.8) packages/env: dependencies: @@ -810,6 +813,21 @@ packages: '@jridgewell/trace-mapping@0.3.25': resolution: {integrity: sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==} + '@lens-network/sdk@0.0.0-canary-20241202173005': + resolution: {integrity: sha512-5K1qogG0/CVHuQG1dzNCeuIhqYIHECpv+Ypbos2zG4t6w3ACfBbOlYaXK0PcDbudxRXoLJPRL7eWEHTUrNQKVg==} + engines: {node: '>=18', pnpm: '>=9.1.2'} + peerDependencies: + ethers: ^6.12.1 + viem: ^2.12.0 + zksync-ethers: ^6.7.1 + peerDependenciesMeta: + ethers: + optional: true + viem: + optional: true + zksync-ethers: + optional: true + '@manypkg/find-root@1.1.0': resolution: {integrity: sha512-mki5uBvhHzO8kYYix/WRy2WX8S3B5wdVSc9D6KcU5lQNglP2yt58/VfLuAK49glRXChosY8ap2oJ1qgma3GUVA==} @@ -2497,6 +2515,14 @@ packages: typescript: optional: true + viem@2.21.53: + resolution: {integrity: sha512-0pY8clBacAwzc59iV1vY4a6U4xvRlA5tAuhClJCKvqA6rXJzmNMMvxQ0EG79lkHr7WtBEruXz8nAmONXwnq4EQ==} + peerDependencies: + typescript: '>=5.0.4' + peerDependenciesMeta: + typescript: + optional: true + vite-node@2.1.6: resolution: {integrity: sha512-DBfJY0n9JUwnyLxPSSUmEePT21j8JZp/sR9n+/gBwQU6DcQOioPdb8/pibWfXForbirSagZCilseYIwaL3f95A==} engines: {node: ^18.0.0 || ^20.0.0 || >=22.0.0} @@ -3107,6 +3133,10 @@ snapshots: '@jridgewell/resolve-uri': 3.1.2 '@jridgewell/sourcemap-codec': 1.5.0 + '@lens-network/sdk@0.0.0-canary-20241202173005(viem@2.21.53(typescript@5.6.3)(zod@3.23.8))': + optionalDependencies: + viem: 2.21.53(typescript@5.6.3)(zod@3.23.8) + '@manypkg/find-root@1.1.0': dependencies: '@babel/runtime': 7.25.9 @@ -4797,6 +4827,24 @@ snapshots: - utf-8-validate - zod + viem@2.21.53(typescript@5.6.3)(zod@3.23.8): + dependencies: + '@noble/curves': 1.6.0 + '@noble/hashes': 1.5.0 + '@scure/bip32': 1.5.0 + '@scure/bip39': 1.4.0 + abitype: 1.0.6(typescript@5.6.3)(zod@3.23.8) + isows: 1.0.6(ws@8.18.0) + ox: 0.1.2(typescript@5.6.3)(zod@3.23.8) + webauthn-p256: 0.0.10 + ws: 8.18.0 + optionalDependencies: + typescript: 5.6.3 + transitivePeerDependencies: + - bufferutil + - utf-8-validate + - zod + vite-node@2.1.6(@types/node@22.10.1): dependencies: cac: 6.7.14