Skip to content

Commit 4275619

Browse files
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_01CYbS3kS8xzsHNXFTzp4e2z
1 parent ac69370 commit 4275619

11 files changed

Lines changed: 79 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: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ const result = ErrorCode.parse(data);
150150
* `CREATE_FAILED`
151151
* `CUBE_NOT_FOUND`
152152
* `DATASET_INVALID`
153+
* `DATASOURCE_ADMIN_ERROR`
153154
* `DELEGABLE_SCOPE_FAILED`
154155
* `DOMAIN_VERIFICATION_FAILED`
155156
* `DUPLICATE_REQUEST`
@@ -168,6 +169,7 @@ const result = ErrorCode.parse(data);
168169
* `EXPIRY_TOO_LONG`
169170
* `EXPLAIN_FAILED`
170171
* `EXPORT_NOT_PERMITTED`
172+
* `EXTERNAL_IMPORT_ERROR`
171173
* `EXTERNAL_SCHEMA_MISMATCH`
172174
* `EXTERNAL_SCHEMA_MODE_VIOLATION`
173175
* `EXTERNAL_WRITE_FORBIDDEN`
@@ -218,6 +220,10 @@ const result = ErrorCode.parse(data);
218220
* `OBJECT_API_DISABLED`
219221
* `OBJECT_API_METHOD_NOT_ALLOWED`
220222
* `OS_PROTOCOL_INCOMPATIBLE`
223+
* `PACKAGE_DELETE_FAILED`
224+
* `PACKAGE_DELETE_PARTIAL`
225+
* `PACKAGE_MANIFEST_INVALID`
226+
* `PACKAGE_PUBLISH_FAILED`
221227
* `PASSWORD_ALREADY_SET`
222228
* `PASSWORD_EXPIRED`
223229
* `PASSWORD_POLICY_VIOLATION`
@@ -249,6 +255,7 @@ const result = ErrorCode.parse(data);
249255
* `RULE_NOT_FOUND`
250256
* `SCHEDULES_LIST_FAILED`
251257
* `SCHEDULE_DELETE_FAILED`
258+
* `SETTINGS_ACTION_FAILED`
252259
* `SETTINGS_FORBIDDEN`
253260
* `SETTINGS_LOCKED`
254261
* `SETTINGS_UNKNOWN_KEY`

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)