import type { PageServerLoad } from './$types'; import { get_accounts, get_budgets } from '$lib/server/actual'; import sb1 from "$lib/server/sb1" export const load = (async () => { return { actual: { budgets: await get_budgets(), accounts: await get_accounts(), }, sb1: { accounts: (await sb1.data.get_accounts())?.accounts } }; }) satisfies PageServerLoad;