johnandersen777.bsky.social/knotless
git that lives in your Atmosphere account
Forked from chadtmiller.com/knotless
0
0
import type { LayoutLoad } from './$types';
/** Whose settings these are: whoever is logged in, or no one, with whether they can log in here, whether this server writes for them, and whether they are an organization. */
export const load: LayoutLoad = async (event) => {
const { viewer } = await event.parent();
return {
me: viewer?.actor ?? null,
login: viewer?.login ?? false,
delegated: viewer?.delegated ?? false,
organization: viewer?.organization ?? false
};
};