import { getSolidDataset, getThingAll } from '@inrupt/solid-client'; import type { PageServerLoad } from './$types'; export const load: PageServerLoad = async (event) => { const session = await event.locals.getSession(); const dataset = await getSolidDataset('https://pod.5ika.ch/tasks/default', { fetch: session.fetch }); const taskSubjects = getThingAll(dataset); return { taskSubjects }; };