From 31f5a7c4f035d5fed95f2a7a13a3e10c997c871d Mon Sep 17 00:00:00 2001 From: "bert.hausmans" Date: Sat, 16 May 2026 11:47:47 +0200 Subject: [PATCH] fix(types): register OrganizerLayoutV2/PortalLayoutV2 in route-meta layout union The vite-plugin-vue-meta-layouts layout name is a hand-maintained union in env.d.ts (not auto-generated). Task 8 created OrganizerLayoutV2 and Task 3's boot-proof page sets meta.layout: 'OrganizerLayoutV2', but the union lacked the v2 entries so a typed definePage failed vue-tsc. Registers both v2 layouts (PortalLayoutV2 added now to pre-empt the same gap when portal v2 lands). Completes Task 8 (RFC-WS-GUI-REDESIGN AD-G2). Co-Authored-By: Claude Opus 4.7 --- apps/app/env.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/app/env.d.ts b/apps/app/env.d.ts index 534cff15..11ed1e7c 100644 --- a/apps/app/env.d.ts +++ b/apps/app/env.d.ts @@ -22,7 +22,7 @@ declare module 'vue-router' { subject?: string layoutWrapperClasses?: string navActiveLink?: RouteLocationRaw - layout?: 'blank' | 'default' | 'OrganizerLayout' | 'PortalLayout' | 'PublicLayout' + layout?: 'blank' | 'default' | 'OrganizerLayout' | 'PortalLayout' | 'PublicLayout' | 'OrganizerLayoutV2' | 'PortalLayoutV2' unauthenticatedOnly?: boolean public?: boolean