Run codemod for replacing BskyAgent with AtpAgent (#10862)

This commit is contained in:
DS Boyce
2026-06-11 08:46:01 -07:00
committed by GitHub
parent e3e7db2350
commit c8634105c1
37 changed files with 195 additions and 134 deletions
+3 -3
View File
@@ -2,7 +2,7 @@ import {
type $Typed,
type AppBskyGraphFollow,
type AppBskyGraphGetFollows,
type BskyAgent,
type AtpAgent,
type ComAtprotoRepoApplyWrites,
type ComAtprotoRepoStrongRef,
} from '@atproto/api'
@@ -12,7 +12,7 @@ import chunk from 'lodash.chunk'
import {until} from '#/lib/async/until'
export async function bulkWriteFollows(
agent: BskyAgent,
agent: AtpAgent,
dids: string[],
via?: ComAtprotoRepoStrongRef.Main,
) {
@@ -59,7 +59,7 @@ export async function bulkWriteFollows(
}
async function whenFollowsIndexed(
agent: BskyAgent,
agent: AtpAgent,
actor: string,
fn: (res: AppBskyGraphGetFollows.Response) => boolean,
) {