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

/** The repository, and the template it asks its issues to follow. */
export const load: PageLoad = async (event) => {
	const { repo, answer } = await repoPage<typeof getTemplate.main>(
		event,
		'dev.knotless.getTemplate',
		{ kind: 'issue' }
	);
	return { repo, template: answer.template ?? '' };
};