style: apply prettier 3.9.1 formatting

Mechanical reflow from the prettier 3.9.1 bump; no behaviour change.
This commit is contained in:
Marc-André Bombeck committed 2026-06-28 19:26:16 +02:00
1 parent 6329540ade
commit 0f2b548138
90 files changed
+123 -406

No files matched your search

+1 -3
View File
@@ -88,9 +88,7 @@ vi.mock("@/lib/db", () => ({
let count = 0;
for (const row of dbState.apiTokens) {
const tokenHashFilter = where.tokenHash as
| string
| { in: string[] }
| undefined;
string | { in: string[] } | undefined;
const matches =
!tokenHashFilter ||
(typeof tokenHashFilter === "string"
+1 -7
View File
@@ -79,13 +79,7 @@ const authenticationResponseSchema = z
.loose();
type Transport =
| "ble"
| "cable"
| "hybrid"
| "internal"
| "nfc"
| "smart-card"
| "usb";
"ble" | "cable" | "hybrid" | "internal" | "nfc" | "smart-card" | "usb";
const CHALLENGE_TTL_MS = 5 * 60 * 1000;
+1 -7
View File
@@ -73,13 +73,7 @@ const registrationResponseSchema = z
.loose();
type Transport =
| "ble"
| "cable"
| "hybrid"
| "internal"
| "nfc"
| "smart-card"
| "usb";
"ble" | "cable" | "hybrid" | "internal" | "nfc" | "smart-card" | "usb";
// The relying-party config (`rpName` / `getRpId` / `getExpectedOrigin`) is
// shared with the second-factor security-key path via `@/lib/auth/webauthn-rp`
+1 -4
View File
@@ -83,10 +83,7 @@ export async function issueAccessAndRefresh(
}
export type RotationFailureReason =
| "not_found"
| "expired"
| "already_used"
| "revoked";
"not_found" | "expired" | "already_used" | "revoked";
export type RotationResult =
| { ok: true; bundle: IssuedRefreshBundle }