import type { PageLoad } from './$types';
import { load_ae_obj_li__account } from '$lib/ae_core/ae_core__account';
import { get } from 'svelte/store';
import { ae_api } from '$lib/stores/ae_stores';

export const load: PageLoad = async ({ parent }) => {
    // Ensure we have parent data if needed, but for listing accounts we mostly need the api_cfg
    const parentData = await parent();

    return {
        // We could pre-load here, but listing accounts might be better handled in the component
        // to support interactive filtering/pagination more easily.
    };
};
