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 <noreply@anthropic.com>
This commit is contained in:
2
apps/app/env.d.ts
vendored
2
apps/app/env.d.ts
vendored
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user