···11import { ok } from '@atcute/client'
22import type { ResourceUri } from '@atcute/lexicons'
33import { rpc } from '../client'
44-import { validateRepo, type Repo } from './types'
44+import type { Repo } from './types'
55+import { validateRepo } from './validators'
5667export async function getRepo(atUri: ResourceUri): Promise<Repo> {
78 const repo = await ok(
···11import type { Did } from '@atcute/lexicons'
22import { rpc } from '../client'
33-import { validateRepo, type Repo } from './types'
33+import type { Repo } from './types'
44+import { validateRepo } from './validators'
4556export async function getRepoByRepoDid(did: Did): Promise<Repo | null> {
67 const response = await rpc.get('sh.tangled.repo.getRepoByRepoDid', {