From f23b087e24d65cb84e48d24e3dea417d16ec67a8 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 29 Jan 2026 14:41:03 +0000 Subject: [PATCH 01/17] Initial plan From 3dffed9a89d7a943f8d90e855f3ed73f600a6b14 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 29 Jan 2026 14:53:49 +0000 Subject: [PATCH 02/17] Convert frontend to TypeScript with Vite - Created validator.ts with Ajv schema validation - Created utils.ts with typed utility functions - Created app.ts with full TypeScript conversion of app.js - Created main.ts as entry point - Updated index.html to use TypeScript module - Added @types/node dev dependency - Updated types.ts to include dhcp_relay and preempt fields - All TypeScript type checking passes - Vite build successful Co-authored-by: liunick-msft <105009141+liunick-msft@users.noreply.github.com> --- frontend/index.html | 3 +- frontend/package-lock.json | 1193 ++++++++++++++++++++++++++++++++++++ frontend/package.json | 20 + frontend/src/app.ts | 1161 +++++++++++++++++++++++++++++++++++ frontend/src/main.ts | 12 + frontend/src/types.ts | 158 +++++ frontend/src/utils.ts | 146 +++++ frontend/src/validator.ts | 55 ++ frontend/tsconfig.json | 26 + frontend/vite.config.ts | 13 + 10 files changed, 2785 insertions(+), 2 deletions(-) create mode 100644 frontend/package-lock.json create mode 100644 frontend/package.json create mode 100644 frontend/src/app.ts create mode 100644 frontend/src/main.ts create mode 100644 frontend/src/types.ts create mode 100644 frontend/src/utils.ts create mode 100644 frontend/src/validator.ts create mode 100644 frontend/tsconfig.json create mode 100644 frontend/vite.config.ts diff --git a/frontend/index.html b/frontend/index.html index e651e90..f27790c 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -579,7 +579,6 @@