+14
src/lib/types/lexicon/com.atproto.repo.getRecord.ts
+14
src/lib/types/lexicon/com.atproto.repo.getRecord.ts
···
···
+57
src/lib/utils/atproto.ts
+57
src/lib/utils/atproto.ts
······
···+import { comAtprotoRepoGetRecordResponseSchema } from "@/lib/types/lexicon/com.atproto.repo.getRecord";···+// @ts-expect-error yes, we are coercing something that is explicitly not a string into a string, but in this case we want to be specific. only serviceEndpoints with valid atproto pds URLs should be allowed.+`${pdsEndpointUrl}/xrpc/com.atproto.repo.getRecord?repo=${didDocResult.data.id}&collection=${collection}&rkey=${rKey}`,