johnandersen777.bsky.social/knotless
git that lives in your Atmosphere account
Forked from chadtmiller.com/knotless
0
0
import type * as getBlame from '#lib/lexicons/dev/knotless/getBlame.ts';
import type { PageLoad } from './$types';
import { branches, repoPage, tags } from '#lib/data.ts';
export const load: PageLoad = async (event) => {
const [{ repo, answer }, names, tagged] = await Promise.all([
repoPage<typeof getBlame.main>(event, 'dev.knotless.getBlame', { ref: event.params.rest }),
branches(event),
tags(event)
]);
return { repo, blame: answer, branches: names, tags: tagged };
};