Skip to content

Commit 54a667e

Browse files
committed
docs(spec): regenerate the API reference for the new resume error codes (#4420)
`check:docs` compares `content/docs/references/` against what `gen:schema && gen:docs` produces. The five codes this branch registers in the ADR-0112 ledger — RUN_NOT_FOUND, STORE_UNAVAILABLE, RESUME_IN_PROGRESS, RESUME_TARGET_LOST, RESUME_FAILED — feed `ErrorCode`, which the generator inlines into every response-envelope table. Hence eleven files, all of it the same union widening: the ledger page gains the five entries and every page that renders an ApiError picks them up. Generated, not hand-edited: pnpm --filter @objectstack/spec gen:schema && pnpm --filter @objectstack/spec gen:docs Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EPRaZTNbACfvGKytYESX2h
1 parent 4750957 commit 54a667e

11 files changed

Lines changed: 77 additions & 72 deletions

File tree

‎content/docs/references/api/analytics.mdx‎

Lines changed: 3 additions & 3 deletions
Large diffs are not rendered by default.

‎content/docs/references/api/auth.mdx‎

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

‎content/docs/references/api/automation-api.mdx‎

Lines changed: 9 additions & 9 deletions
Large diffs are not rendered by default.

‎content/docs/references/api/batch.mdx‎

Lines changed: 3 additions & 3 deletions
Large diffs are not rendered by default.

‎content/docs/references/api/contract.mdx‎

Lines changed: 8 additions & 8 deletions
Large diffs are not rendered by default.

‎content/docs/references/api/error-code-ledger.mdx‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,13 +280,17 @@ const result = ErrorCode.parse(data);
280280
* `REQUEST_NOT_FOUND`
281281
* `RESEED_NO_ROWS`
282282
* `RESEED_SKIPPED`
283+
* `RESUME_FAILED`
284+
* `RESUME_IN_PROGRESS`
285+
* `RESUME_TARGET_LOST`
283286
* `ROUTE_NOT_FOUND`
284287
* `RULE_DEFINE_FAILED`
285288
* `RULE_DELETE_FAILED`
286289
* `RULE_EVALUATE_FAILED`
287290
* `RULE_GET_FAILED`
288291
* `RULE_LIST_FAILED`
289292
* `RULE_NOT_FOUND`
293+
* `RUN_NOT_FOUND`
290294
* `SAML_REGISTER_FAILED`
291295
* `SCHEDULES_LIST_FAILED`
292296
* `SCHEDULE_DELETE_FAILED`
@@ -303,6 +307,7 @@ const result = ErrorCode.parse(data);
303307
* `SIGN_IN_REQUIRED`
304308
* `SSO_REGISTER_FAILED`
305309
* `SSO_REGISTER_FORBIDDEN`
310+
* `STORE_UNAVAILABLE`
306311
* `SUGGESTION_CONFIRM_FAILED`
307312
* `SUGGESTION_DISMISS_FAILED`
308313
* `SUGGESTION_LIST_FAILED`

‎content/docs/references/api/export.mdx‎

Lines changed: 6 additions & 6 deletions
Large diffs are not rendered by default.

‎content/docs/references/api/metadata.mdx‎

Lines changed: 19 additions & 19 deletions
Large diffs are not rendered by default.

‎content/docs/references/api/package-api.mdx‎

Lines changed: 8 additions & 8 deletions
Large diffs are not rendered by default.

‎content/docs/references/api/protocol.mdx‎

Lines changed: 6 additions & 6 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)