- 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
27 lines
907 B
TypeScript
27 lines
907 B
TypeScript
import { E as Environment } from './chunks/environment.d.cL3nLXbE.js';
|
|
export { a as EnvironmentReturn, V as VmEnvironmentReturn } from './chunks/environment.d.cL3nLXbE.js';
|
|
import 'vitest/optional-types.js';
|
|
|
|
declare const environments: {
|
|
"node": Environment
|
|
"jsdom": Environment
|
|
"happy-dom": Environment
|
|
"edge-runtime": Environment
|
|
};
|
|
|
|
interface PopulateOptions {
|
|
// we bind functions such as addEventListener and others
|
|
// because they rely on `this` in happy-dom, and in jsdom it
|
|
// has a priority for getting implementation from symbols
|
|
// (global doesn't have these symbols, but window - does)
|
|
bindFunctions?: boolean;
|
|
additionalKeys?: string[];
|
|
}
|
|
declare function populateGlobal(global: any, win: any, options?: PopulateOptions): {
|
|
keys: Set<string>
|
|
skipKeys: string[]
|
|
originals: Map<string | symbol, any>
|
|
};
|
|
|
|
export { Environment, environments as builtinEnvironments, populateGlobal };
|