chore(template-reset): update snapshots, fix lint, rebuild state

- Regenerate audit + realtime core-package e2e snapshots (template
  Phase-label changes altered file hashes)
- Fix pre-existing lint error in auth authentication.service.ts:
  rename unused params to _user / _sessionId, drop stale eslint-disable
  comments that were on wrong lines
- Mark story tasks 1-9 done; rebuild _state.json

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-13 10:17:50 +02:00
parent 841655573b
commit 2ceaa08944
5 changed files with 22 additions and 23 deletions

View File

@@ -81,31 +81,30 @@ export class AuthenticationService implements IAuthenticationService {
);
}
// TODO:Implement using Payload's local.login / JWT session issuance.
// TODO: Implement using Payload's local.login / JWT session issuance.
// Payload creates sessions via its REST auth endpoint; mapping that to a
// generic { session: Session; cookie: Cookie } shape requires understanding
// the JWT payload structure and the cookie name/attributes Payload uses.
// eslint-disable-next-line @typescript-eslint/no-unused-vars
async createSession(
user: User,
_user: User,
): Promise<{ session: Session; cookie: Cookie }> {
throw new NotImplementedError("createSession");
}
// TODO:Implement using Payload's JWT verify mechanism.
// TODO: Implement using Payload's JWT verify mechanism.
// Need to call Payload's local API to verify the token and retrieve the user.
// eslint-disable-next-line @typescript-eslint/no-unused-vars
async validateSession(
sessionId: string,
_sessionId: string,
): Promise<{ user: User; session: Session }> {
throw new NotImplementedError("validateSession");
}
// TODO:Implement by clearing the session token.
// TODO: Implement by clearing the session token.
// Payload does not have a server-side session store by default; invalidation
// is typically done client-side by clearing the cookie.
// eslint-disable-next-line @typescript-eslint/no-unused-vars
async invalidateSession(sessionId: string): Promise<{ blankCookie: Cookie }> {
async invalidateSession(
_sessionId: string,
): Promise<{ blankCookie: Cookie }> {
throw new NotImplementedError("invalidateSession");
}
}