Files
headroom/frontend/.svelte-kit/output/client/_app/immutable/nodes/2.xkr5w2RY.js
Santhosh Janardhanan de2d83092e feat: Reinitialize frontend with SvelteKit and TypeScript
- 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
2026-02-17 16:19:59 -05:00

2 lines
638 B
JavaScript

import{g as s}from"../chunks/DBDqKY8A.js";import{i}from"../chunks/CrZRXG6z.js";import{c,a as u}from"../chunks/pJd4F_Tq.js";import{z as l,K as f,af as m}from"../chunks/CCV2x70u.js";import{B as p}from"../chunks/BG30BmlR.js";function b(t,a,...e){var n=new p(t);l(()=>{const r=a()??null;n.ensure(r,r&&(o=>r(o,...e)))},f)}const d=async()=>{{let t=!1;if(i.subscribe(e=>{t=e})(),!t)return s("/login"),{authenticated:!1}}return{authenticated:!0}},T=Object.freeze(Object.defineProperty({__proto__:null,load:d},Symbol.toStringTag,{value:"Module"}));function A(t,a){var e=c(),n=m(e);b(n,()=>a.children),u(t,e)}export{A as component,T as universal};