diff --git a/src/views/bluesky/threadgate-applicator/steps/step4_confirmation.tsx b/src/views/bluesky/threadgate-applicator/steps/step4_confirmation.tsx index 900035a..63d0296 100644 --- a/src/views/bluesky/threadgate-applicator/steps/step4_confirmation.tsx +++ b/src/views/bluesky/threadgate-applicator/steps/step4_confirmation.tsx @@ -3,9 +3,8 @@ import { createSignal, Show } from 'solid-js'; import type { ComAtprotoRepoApplyWrites } from '@atcute/atproto'; import type { AppBskyFeedThreadgate } from '@atcute/bluesky'; import { Client, ClientResponseError } from '@atcute/client'; -import { InferXRPCBodyInput } from '@atcute/lexicons'; -import { chunked } from '@mary/array-fns'; import { parseCanonicalResourceUri } from '@atcute/lexicons'; +import { chunked } from '@mary/array-fns'; import { dequal } from '~/lib/utils/dequal'; import { createMutation } from '~/lib/utils/mutation'; @@ -35,7 +34,7 @@ const Step4_Confirmation = ({ logger.log(`Preparing writes`); const rules = data.rules; - const writes: InferXRPCBodyInput['writes'] = []; + const writes: ComAtprotoRepoApplyWrites.$input['writes'] = []; const now = new Date().toISOString(); for (const { post, threadgate } of data.threads) { diff --git a/src/views/identity/plc-applicator/page.tsx b/src/views/identity/plc-applicator/page.tsx index c3a6d6b..deca191 100644 --- a/src/views/identity/plc-applicator/page.tsx +++ b/src/views/identity/plc-applicator/page.tsx @@ -5,7 +5,6 @@ import type { CredentialManager } from '@atcute/client'; import type { P256PrivateKey, Secp256k1PrivateKey } from '@atcute/crypto'; import type { CompatibleOperation, IndexedEntry, IndexedEntryWithSigner } from '@atcute/did-plc'; import type { DidDocument } from '@atcute/identity'; -import { InferXRPCBodyInput } from '@atcute/lexicons'; import type { Did } from '@atcute/lexicons/syntax'; import { UpdatePayload } from '~/api/types/plc'; @@ -33,7 +32,7 @@ export interface PlcInformation { export interface PdsSigningMethod { type: 'pds'; manager: CredentialManager; - recommendedDidDoc: InferXRPCBodyInput; + recommendedDidDoc: ComAtprotoIdentityGetRecommendedDidCredentials.$output; } export type Keypair = P256PrivateKey | Secp256k1PrivateKey;