fix(mail-ingest): send an uploaded .eml as multipart; publish the booking origin as a contract

- The upload posted its FormData through the client's JSON default, so the
  form went as JSON and the server saw no file (400). It goes through
  postMultipart now, like every other upload.
- reservation-origin.ts becomes reservation-origin.contract.ts: the booking
  import sets an origin, and a contract is what another domain may import.
- CI: the client's strict type check holds the whole program with strict
  checks and outgrew the default ~4 GB heap; it gets 8 GB like the server's.
This commit is contained in:
Maurice
2026-11-13 20:49:08 +01:00
parent 4337969c2c
commit 29816f81a9
10 changed files with 40 additions and 9 deletions
+4 -1
View File
@@ -458,7 +458,10 @@ jobs:
# tsconfig.strict.json is the same program with strictNullChecks and
# noImplicitAny; its errors per file may not rise above
# scripts/strict-baseline.json, and a file without an entry, every new
# one included, has to be clean (scripts/strict-lint.mjs).
# one included, has to be clean (scripts/strict-lint.mjs). It holds the
# whole program with strict checks, past Node's default ~4 GB heap.
env:
NODE_OPTIONS: --max-old-space-size=8192
run: cd client && npm run lint:strict
- name: Page pattern check