Files
core2026/app/game-frontend/src/router/meta.d.ts
T
Hide_D f8159728ca feat: Implement session management and routing for general creation
- Added session initialization in main.ts to manage user sessions.
- Updated router to include a new route for joining or creating a general.
- Enhanced session store with methods for managing session tokens and user profiles.
- Introduced new components for displaying city, general, nation, and command information.
- Implemented loading states and error handling in the main view.
- Created a skeleton loader component for better user experience during data fetching.
- Updated TypeScript definitions for route metadata to include new authentication requirements.
2026-01-16 15:57:56 +00:00

11 lines
220 B
TypeScript

import 'vue-router';
declare module 'vue-router' {
interface RouteMeta {
requiresAuth?: boolean;
requiresGeneral?: boolean;
requiresNoGeneral?: boolean;
publicOnly?: boolean;
}
}