Commit 4275619
committed
docs(spec): regenerate the API reference for the seven new ledger codes (#3843)
CI's TypeScript Type Check job runs `check:docs`, which failed: registering seven
codes in ERROR_CODE_LEDGER widens the `ErrorCode` union, and every generated
reference page that renders an `ApiErrorSchema`-shaped field embeds that union
inline. content/docs/references/** is AUTO-GEN (AGENTS.md) — regenerated with
`gen:schema && gen:docs` rather than hand-edited.
The diff is exactly this change: error-code-ledger.mdx gains the seven codes, and
ten pages re-render the widened union in place. 251 generated files back in sync.
I had run lint and the package test suites but not this job locally — the gate is
in the typecheck job rather than the test job, which is easy to miss.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CYbS3kS8xzsHNXFTzp4e2z1 parent ac69370 commit 4275619
11 files changed
Lines changed: 79 additions & 72 deletions
File tree
- content/docs/references/api
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
| 153 | + | |
153 | 154 | | |
154 | 155 | | |
155 | 156 | | |
| |||
168 | 169 | | |
169 | 170 | | |
170 | 171 | | |
| 172 | + | |
171 | 173 | | |
172 | 174 | | |
173 | 175 | | |
| |||
218 | 220 | | |
219 | 221 | | |
220 | 222 | | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
221 | 227 | | |
222 | 228 | | |
223 | 229 | | |
| |||
249 | 255 | | |
250 | 256 | | |
251 | 257 | | |
| 258 | + | |
252 | 259 | | |
253 | 260 | | |
254 | 261 | | |
| |||
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
0 commit comments