~ knotless Search/
↑↓ move↵ open⇧↵ all results

johnandersen777.bsky.social/knotless

git that lives in your Atmosphere account

Forked from chadtmiller.com/knotless

0
0
13 lines · 504 B Raw History
import type * as getCheck from '#lib/lexicons/dev/knotless/getCheck.ts';
import type { PageLoad } from './$types';
import type { AtUriString } from '@atproto/lex';
import { repoPage } from '#lib/data.ts';

export const load: PageLoad = async (event) => {
	const { did, rkey } = event.params;
	const uri = `at://${did}/dev.knotless.check/${rkey}` as AtUriString;
	const { repo, answer } = await repoPage<typeof getCheck.main>(event, 'dev.knotless.getCheck', {
		uri
	});
	return { repo, run: answer };
};