Change the 5 https.onCall handlers from `data: any` to `data: Record<string, unknown>`, so payload fields are `unknown` and must go through the existing validators rather than being implicitly-typed. No behavior change (every field was already validated); tsc + 53 function tests green. Left as-is deliberately: `catch (err: unknown)` narrowing (churn, marginal) and the untyped Tink handles in wrapReleaseKeyCallable (the crypto lib ships no types). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| assignDailyQuestion.js | ||
| assignDailyQuestion.js.map | ||
| onAnswerRevealed.js | ||
| onAnswerRevealed.js.map | ||
| onAnswerWritten.js | ||
| onAnswerWritten.js.map | ||
| onMessageWritten.js | ||
| onMessageWritten.js.map | ||