- Delete old Vite+Svelte frontend - Initialize new SvelteKit project with TypeScript - Configure Tailwind CSS v4 + DaisyUI - Implement JWT authentication with auto-refresh - Create login page with form validation (Zod) - Add protected route guards - Update Docker configuration for single-stage build - Add E2E tests with Playwright (6/11 passing) - Fix Svelte 5 reactivity with $state() runes Known issues: - 5 E2E tests failing (timing/async issues) - Token refresh implementation needs debugging - Validation error display timing
43 lines
1.0 KiB
TypeScript
43 lines
1.0 KiB
TypeScript
|
|
// this file is generated — do not edit it
|
|
|
|
|
|
declare module "svelte/elements" {
|
|
export interface HTMLAttributes<T> {
|
|
'data-sveltekit-keepfocus'?: true | '' | 'off' | undefined | null;
|
|
'data-sveltekit-noscroll'?: true | '' | 'off' | undefined | null;
|
|
'data-sveltekit-preload-code'?:
|
|
| true
|
|
| ''
|
|
| 'eager'
|
|
| 'viewport'
|
|
| 'hover'
|
|
| 'tap'
|
|
| 'off'
|
|
| undefined
|
|
| null;
|
|
'data-sveltekit-preload-data'?: true | '' | 'hover' | 'tap' | 'off' | undefined | null;
|
|
'data-sveltekit-reload'?: true | '' | 'off' | undefined | null;
|
|
'data-sveltekit-replacestate'?: true | '' | 'off' | undefined | null;
|
|
}
|
|
}
|
|
|
|
export {};
|
|
|
|
|
|
declare module "$app/types" {
|
|
export interface AppTypes {
|
|
RouteId(): "/" | "/dashboard" | "/login";
|
|
RouteParams(): {
|
|
|
|
};
|
|
LayoutParams(): {
|
|
"/": Record<string, never>;
|
|
"/dashboard": Record<string, never>;
|
|
"/login": Record<string, never>
|
|
};
|
|
Pathname(): "/" | "/dashboard" | "/login";
|
|
ResolvedPathname(): `${"" | `/${string}`}${ReturnType<AppTypes['Pathname']>}`;
|
|
Asset(): string & {};
|
|
}
|
|
} |