diff --git a/packages/client/package.json b/packages/client/package.json index 917623f21..c38952044 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-20241203115646", "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..a3ac618a7 100644 --- a/packages/client/src/errors.ts +++ b/packages/client/src/errors.ts @@ -1,5 +1,6 @@ import { ResultAwareError } from '@lens-protocol/types'; import type { CombinedError } from '@urql/core'; +import type { ErrorResponse } from './types'; /** * @internal @@ -38,6 +39,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 +52,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 7ed07c698..118aa8f73 100644 --- a/packages/graphql/schema.graphql +++ b/packages/graphql/schema.graphql @@ -383,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! } @@ -496,6 +526,33 @@ type App { 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. @@ -538,6 +595,22 @@ 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! } @@ -850,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!] @@ -2882,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. @@ -3343,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! @@ -3767,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. @@ -3890,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 { @@ -4024,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 { diff --git a/packages/graphql/src/graphql-env.d.ts b/packages/graphql/src/graphql-env.d.ts index 4aa471fca..c14bea5cb 100644 --- a/packages/graphql/src/graphql-env.d.ts +++ b/packages/graphql/src/graphql-env.d.ts @@ -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; }; } }; }; }; @@ -52,9 +58,14 @@ export type introspection_types = { '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; } }; '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" }]; }; @@ -96,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 }]; }; @@ -237,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; }; } }; }; }; @@ -261,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; }; } }; }; }; @@ -313,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 }]; }; @@ -325,6 +338,12 @@ 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 }]; }; @@ -344,6 +363,20 @@ 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 }]; }; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 9bfd2bee3..4b03a5466 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-20241203115646 + version: 0.0.0-canary-20241203115646(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-20241203115646': + resolution: {integrity: sha512-/oYmhM/WaUgAAzrsWHrcXPr8SQmWrWsUP2LRsa9JtgJXCwpJlKoPxO0E6VFYJxN7LdEtdXdr1eU+d49gE7J/+g==} + 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-20241203115646(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