johnandersen777.bsky.social/knotless
git that lives in your Atmosphere account
Forked from chadtmiller.com/knotless
0
0
import type * as getEmails from '#lib/lexicons/dev/knotless/getEmails.ts';
import type { PageLoad } from './$types';
import { xrpc } from '#lib/data.ts';
/** How many addresses the account claims: none for no one. */
export const load: PageLoad = async (event) => {
const { me } = await event.parent();
if (!me) return { emails: null };
return { emails: await xrpc<typeof getEmails.main>(event, 'dev.knotless.getEmails', {}) };
};