style: format server and shared with prettier

A mechanical prettier --write over server/src, server/tests, server/scripts
and shared/src with the workspaces' .prettierrc; nothing but layout and
import order changes, and every file keeps the same set of imports. shared
is formatted throughout and its format baseline is empty. The server
baseline keeps the 35 files that Prettier would grow past their lint:size
limit (they need a split first, which is not a formatting change), and the
generated entity files stay as their generator writes them.
This commit is contained in:
Maurice
2026-10-10 21:23:37 +02:00
parent f4e518b2df
commit 724c88c201
1978 changed files with 78448 additions and 39347 deletions
@@ -4,6 +4,14 @@
* and the access log writes a 5xx with that id and the stack the exception
* filter left behind, as one entry. REQID-001 through REQID-008.
*/
import { applyGlobalMiddleware } from '../../../src/middleware/globalMiddleware';
import { httpConfig } from '../../../src/nest/app-config/tokens';
import { ACCESS_LOG_ATTACHED, UNHANDLED_ERROR, currentCorrelation } from '../../../src/nest/common/request-correlation';
import express, { type Request, type Response } from 'express';
import http from 'node:http';
import type { AddressInfo } from 'node:net';
import request from 'supertest';
import { describe, it, expect, vi, beforeEach } from 'vitest';
const log = vi.hoisted(() => ({
@@ -15,18 +23,6 @@ const log = vi.hoisted(() => ({
}));
vi.mock('../../../src/nest/audit/audit-log.logger', () => log);
import express, { type Request, type Response } from 'express';
import http from 'node:http';
import type { AddressInfo } from 'node:net';
import request from 'supertest';
import { applyGlobalMiddleware } from '../../../src/middleware/globalMiddleware';
import { httpConfig } from '../../../src/nest/app-config/tokens';
import {
ACCESS_LOG_ATTACHED,
UNHANDLED_ERROR,
currentCorrelation,
} from '../../../src/nest/common/request-correlation';
const UUID = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/;
/** The correlation each logError call was made in, captured at call time. */