Sync kv fastdata error response#33
Merged
Merged
Conversation
Vendored from mike-docs branch sync-kv-fastdata-error-response. Picks up the kv-fastdata ApiError -> ErrorResponse rename and catches builder-docs up on the EXPERIMENTAL_receipt_to_tx page model (added in mike-docs #8). The receipt_to_tx MDX page + sidebar entry remain a separate follow-up. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NZZ9z9mCWCqXdkpupo5MnM
Render the EXPERIMENTAL_receipt_to_tx page model (vendored in the prior commit on this branch) via a thin FastnearDirectOperation MDX page, and list it under the Transaction category in the sidebar. Closes the description-drift gap where the page model had no corresponding MDX. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NZZ9z9mCWCqXdkpupo5MnM
…t + ru twin + generated pages) PR #33 added the 7th transaction RPC operation (EXPERIMENTAL_receipt_to_tx) and vendored its page model, but omitted the supporting changes, so CI failed at `generate:page-model-chunks` during `yarn build` (which fails both locale-quality and Cloudflare Pages): Error: Unexpected page model count for rpcs/transaction: expected 6, got 7 Fixes: - scripts/audit-generated-page-models.js: bump EXPECTED_FAMILY_COUNTS rpcs/transaction 6 -> 7 to match the new operation. - i18n/ru/.../rpc/transaction/experimental-receipt-to-tx.mdx: add the Russian twin so EN<->ru page parity holds (indexing-surface audit now passes at 79/79 docs+hosted operation pages, up from 78/78). Follows the RU glossary (квитанция/транзакция; хеш; method name kept Latin). - Add the generated hosted page (src/pages/rpcs/...) and ru static exports for the new operation, matching how the 6 sibling transaction operations are represented in the repo. Validated: yarn ci:locale-quality green end-to-end (en+ru build + RU terminology + i18n + indexing-surface audits all pass). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01H8DjaLbA7Ed63XuSAENrJ7
Deploying builder-docs with
|
| Latest commit: |
f97ddfb
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://30e56a0c.builder-docs.pages.dev |
| Branch Preview URL: | https://sync-kv-fastdata-error-respo.builder-docs.pages.dev |
mikedotexe
added a commit
that referenced
this pull request
Jul 21, 2026
…an older build) No content change. Four PRs merged within ~3 minutes (#32, #33, #30, #31) and their Cloudflare Pages deployments finished out of order: #33 fe452e4 14:01:28 #31 f914d2f 14:02:13 <- newest commit (contains the RPC endpoint-URL fix) #30 99a2520 14:02:56 <- finished LAST CF Pages points the production alias at the last deployment to *finish*, not the newest commit, so docs.fastnear.com got pinned to #30's build (main.6e03125c.js), which predates the RPC fix. Result: the live docs still rendered a fabricated `https://rpc.mainnet.fastnear.com/account/view_account` instead of the real base endpoint. This empty commit forces a fresh production deployment of current main, which already contains the fix. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01H8DjaLbA7Ed63XuSAENrJ7
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.