Files
crewli/apps/app/tsconfig.json
bert.hausmans 98ec51fcbd refactor(portal): move components to shared/public-form and portal/{event,*}
- public-form/** (18 files + 7 component tests) → shared/public-form/**
  This is the runtime form-renderer; goes into shared/ because it will
  be reused by the organizer-app Form Builder preview (S3b).
- event/{Claimen,Informatie,Overzicht,Rooster}Tab.vue → portal/event/**
- portal/{StatusCard,EventCard,UserAvatarMenu}.vue → portal/** (no
  path change — both apps had a portal/ subfolder).
- AppLoadingIndicator.vue, auth/{PasswordRequirements,MfaChallengeCard}.vue,
  settings/Mfa{Disable,Email,Totp}SetupDialog.vue: portal copies
  deleted as duplicates of pre-existing apps/app components (diffs
  were trivial formatting only).

Inside the moved files: rewrote @form-schema/* → @/composables/forms/*
and @/components/{public-form,event/[Tab]} → new sub-zone paths.

Updated apps/app/tsconfig.json to drop the @form-schema path alias
and the packages/form-schema include path. Updated formSchema.ts to
import from @/composables/forms/types/formBuilder. Carried the
crypto polyfill from apps/portal/tests/setup.ts into
apps/app/tests/setup.ts (needed by useFormDraft tests landing in C.4).

NOTE: Some moved tests still fail because they reference portal
composables (usePublicFormSections, useFormDraft) that move in C.4.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-05 19:04:49 +02:00

76 lines
1.4 KiB
JSON

{
"compilerOptions": {
"target": "esnext",
"useDefineForClassFields": true,
"module": "esnext",
"moduleResolution": "Bundler",
"isolatedModules": true,
"strict": true,
"jsx": "preserve",
"jsxFactory": "h",
"jsxFragmentFactory": "Fragment",
"sourceMap": true,
"resolveJsonModule": true,
"esModuleInterop": true,
"paths": {
"@/*": [
"./src/*"
],
"@themeConfig": [
"./themeConfig.ts"
],
"@layouts/*": [
"./src/@layouts/*"
],
"@layouts": [
"./src/@layouts"
],
"@core/*": [
"./src/@core/*"
],
"@core": [
"./src/@core"
],
"@images/*": [
"./src/assets/images/*"
],
"@styles/*": [
"./src/assets/styles/*"
],
"@validators": [
"./src/@core/utils/validators"
],
"vue": [
"./node_modules/vue"
]
},
"lib": [
"esnext",
"dom",
"dom.iterable",
"scripthost"
],
"skipLibCheck": true,
"types": [
"vite/client",
"unplugin-vue-router/client",
"vite-plugin-vue-meta-layouts/client"
]
},
"include": [
"./typed-router.d.ts",
"./vite.config.*",
"./env.d.ts",
"./shims.d.ts",
"./src/**/*",
"./src/**/*.vue",
"./themeConfig.ts",
"./auto-imports.d.ts",
"./components.d.ts"
],
"exclude": [
"./dist",
"./node_modules"
]
}