From 5d7221b87b35c620848795214241833be3c78262 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20M=C3=BCller?= Date: Sun, 6 Sep 2026 22:28:56 +0200 Subject: [PATCH] Delete the dead Session model Nothing has referenced it since the auth cutover: the session is an httpOnly cookie this app can neither read nor construct, so there is no session type for it to hold. Co-Authored-By: Claude Opus 5 --- CLAUDE.md | 4 ++-- src/app/models/session.ts | 4 ---- 2 files changed, 2 insertions(+), 6 deletions(-) delete mode 100644 src/app/models/session.ts diff --git a/CLAUDE.md b/CLAUDE.md index 55f7307..a19a87e 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -68,5 +68,5 @@ login carrying this URL as the return target; 403 (or a signed-in account withou `calendar` permission) shows a refusal with Reload/Sign out; anything else shows "cannot be reached". None of those three redirect, on purpose. -**Dead since the cutover, kept only because deleting files needs a decision:** -`src/app/models/session.ts` and the unrouted `LoginComponent`. +**Dead since the cutover:** the unrouted `LoginComponent`. `src/app/models/session.ts` is +gone; there is no session type here any more, because this app never handles one. diff --git a/src/app/models/session.ts b/src/app/models/session.ts deleted file mode 100644 index df8d9c5..0000000 --- a/src/app/models/session.ts +++ /dev/null @@ -1,4 +0,0 @@ -export interface Session { - sessionId: number; - sessionKey: string; -}