- 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
import BrowserWindow from '../window/BrowserWindow.cjs';
|
|
import { URL } from 'url';
|
|
import IModule from './IModule.cjs';
|
|
/**
|
|
* CSS module.
|
|
*/
|
|
export default class UnresolvedModule implements IModule {
|
|
#private;
|
|
readonly url: URL;
|
|
/**
|
|
* Constructor.
|
|
*
|
|
* @param window Window.
|
|
* @param url Module URL.
|
|
*/
|
|
constructor(window: BrowserWindow, url: URL);
|
|
/**
|
|
* Compiles and evaluates the module.
|
|
*
|
|
* @returns Module exports.
|
|
*/
|
|
evaluate(): Promise<null>;
|
|
/**
|
|
* Compiles and preloads the module and its imports.
|
|
*
|
|
* @returns Promise.
|
|
*/
|
|
preload(): Promise<void>;
|
|
/**
|
|
* Add a hook to be called when the module is resolved.
|
|
*
|
|
* @param resolve Resolve.
|
|
* @param reject Reject.
|
|
*/
|
|
addResolveListener(resolve: (value: unknown) => void, reject: (error: Error) => void): void;
|
|
/**
|
|
* Resolves the module.
|
|
*
|
|
* @param [error] Error.
|
|
*/
|
|
resolve(error?: Error): void;
|
|
}
|
|
//# sourceMappingURL=UnresolvedModule.d.ts.map
|