Skip to content

Commit 628738d

Browse files
committed
docs(spec): regenerate contract.mdx and error-code-ledger.mdx on the merged tree
Discharges the os-regen deferral the merge commit recorded. Generated by `pnpm --filter @objectstack/spec build` then `pnpm --filter @objectstack/spec gen:docs` (packages/spec/scripts/build-docs.ts); a second gen:docs run is a no-op and check:docs reports 226 files in sync. The regenerated hunks are this branch's own on origin/main's side: the CONCURRENT_LIMIT_EXCEEDED rows leave the StandardErrorCode lists and the two enum summaries count one member fewer. Claude-Session: https://claude.ai/code/session_01AsCNgFBs8HCjwhyHQsFbx3 Co-authored-by: Claude <noreply@anthropic.com>
1 parent 932cbd2 commit 628738d

2 files changed

Lines changed: 2 additions & 5 deletions

File tree

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const result = ApiErrorSchema.parse(data);
2727

2828
| Property | Type | Required | Description |
2929
| :--- | :--- | :--- | :--- |
30-
| **code** | `Enum<'VALIDATION_ERROR' \| 'INVALID_FIELD' \| 'MISSING_REQUIRED_FIELD' \| 'INVALID_FORMAT' \| 'VALUE_TOO_LONG' \| 'VALUE_TOO_SHORT' \| 'VALUE_OUT_OF_RANGE' \| … +322 more>` | ✅ | Error code (e.g. VALIDATION_ERROR; StandardErrorCode ∪ the ledger the serving side registers — ERROR_CODE_LEDGER for framework packages) |
30+
| **code** | `Enum<'VALIDATION_ERROR' \| 'INVALID_FIELD' \| 'MISSING_REQUIRED_FIELD' \| 'INVALID_FORMAT' \| 'VALUE_TOO_LONG' \| 'VALUE_TOO_SHORT' \| 'VALUE_OUT_OF_RANGE' \| … +321 more>` | ✅ | Error code (e.g. VALIDATION_ERROR; StandardErrorCode ∪ the ledger the serving side registers — ERROR_CODE_LEDGER for framework packages) |
3131
| **declaredCode** | `string` | optional | The producer-declared code, verbatim, when it is not a member of the closed `code` vocabulary — the open, author-authored channel (app-specific spellings; ADR-0112) |
3232
| **message** | `string` | ✅ | Readable error message |
3333
| **userMessage** | `string` | optional | Producer-marked user-facing refusal text, verbatim. Present exactly when the producer opted in at throw time; consumers render it to end users and keep their generic substitution for anything unmarked. Status-agnostic; never replaces `message`. |
@@ -80,7 +80,6 @@ const result = ApiErrorSchema.parse(data);
8080
* `PRECONDITION_REQUIRED`
8181
* `RATE_LIMIT_EXCEEDED`
8282
* `QUOTA_EXCEEDED`
83-
* `CONCURRENT_LIMIT_EXCEEDED`
8483
* `INTERNAL_ERROR`
8584
* `DATABASE_ERROR`
8685
* `TIMEOUT`

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,6 @@ const result = ErrorCode.parse(data);
247247
* `PRECONDITION_REQUIRED`
248248
* `RATE_LIMIT_EXCEEDED`
249249
* `QUOTA_EXCEEDED`
250-
* `CONCURRENT_LIMIT_EXCEEDED`
251250
* `INTERNAL_ERROR`
252251
* `DATABASE_ERROR`
253252
* `TIMEOUT`
@@ -560,7 +559,7 @@ const result = ErrorCode.parse(data);
560559
| Property | Type | Required | Description |
561560
| :--- | :--- | :--- | :--- |
562561
| **code** | `string` | ✅ | The registered extension code the waiver keeps admissible |
563-
| **shadows** | `Enum<'VALIDATION_ERROR' \| 'INVALID_FIELD' \| 'MISSING_REQUIRED_FIELD' \| 'INVALID_FORMAT' \| 'VALUE_TOO_LONG' \| 'VALUE_TOO_SHORT' \| 'VALUE_OUT_OF_RANGE' \| … +43 more>` | ✅ | The standard-catalog member whose condition the code re-spells |
562+
| **shadows** | `Enum<'VALIDATION_ERROR' \| 'INVALID_FIELD' \| 'MISSING_REQUIRED_FIELD' \| 'INVALID_FORMAT' \| 'VALUE_TOO_LONG' \| 'VALUE_TOO_SHORT' \| 'VALUE_OUT_OF_RANGE' \| … +42 more>` | ✅ | The standard-catalog member whose condition the code re-spells |
564563
| **reason** | `string` | ✅ | Why the synonym stays registered — recorded so admission is a decision, not drift |
565564

566565
### Allowed Values: `StandardSynonymWaiver.shadows`
@@ -606,7 +605,6 @@ const result = ErrorCode.parse(data);
606605
* `PRECONDITION_REQUIRED`
607606
* `RATE_LIMIT_EXCEEDED`
608607
* `QUOTA_EXCEEDED`
609-
* `CONCURRENT_LIMIT_EXCEEDED`
610608
* `INTERNAL_ERROR`
611609
* `DATABASE_ERROR`
612610
* `TIMEOUT`

0 commit comments

Comments
 (0)