chore: align srcDir=app structure (assets, composables, stores, plugins, pages) and prepare for correct alias resolution

This commit is contained in:
Jennie Robinson Faber 2025-08-09 13:39:37 +01:00
parent bc2babbe90
commit 9a04893909
8 changed files with 10 additions and 10 deletions

View file

@ -1,10 +1,8 @@
import { defineEventHandler } from 'h3'
import { useFixtureIO } from '#imports'
import { defineEventHandler } from "h3";
import { useFixtureIO } from "~/composables/useFixtureIO";
export default defineEventHandler(() => {
// Export snapshot of in-memory state
const { exportAll } = useFixtureIO()
return exportAll()
})
const { exportAll } = useFixtureIO();
return exportAll();
});

View file

@ -1,5 +1,5 @@
import { defineEventHandler, readBody } from "h3";
import { useFixtureIO, type AppSnapshot } from "#imports";
import { useFixtureIO, type AppSnapshot } from "~/composables/useFixtureIO";
export default defineEventHandler(async (event) => {
const body = (await readBody(event)) as AppSnapshot;