import { loadRepoIndex } from "$lib/api/repoIndex";
import type { PageLoad } from "./$types";

export const load: PageLoad = async (event) => {
	const parent = await event.parent();
	return loadRepoIndex(event, parent, parent.repo.defaultBranch);
};
