~ 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 · 460 B Raw History
import type * as listBranches from '#lib/lexicons/dev/knotless/listBranches.ts';
import type { PageLoad } from './$types';
import { repoPage } from '#lib/data.ts';

export const load: PageLoad = async (event) => {
	const cursor = event.url.searchParams.get('cursor') ?? undefined;
	const { repo, answer } = await repoPage<typeof listBranches.main>(
		event,
		'dev.knotless.listBranches',
		{ commits: true, cursor }
	);
	return { repo, branches: answer };
};