Repository navigation
Conversation
…verlay, plan Step 1 of docs/tasks/schema-content-react-redux.md. Built against the @norbix.ai/ts branch audit/schema-content as an npm-pack tarball installed with --no-save; package.json stays on 4.11.0 until the core SDK release. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…file by its stable id
Step 2 of docs/tasks/schema-content-react-redux.md. hub.files.getFileById
(GET /{version}/files/item/by-id) and api.files.getFileById
(GET /{version}/files/{filesIntegrationId}/by-id/{id}); the Api hook carries the Api suffix
like deleteFileApi because both surfaces share one flat endpoint map. Both provide Files.
Endpoint counts 23 / 11.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
… the updates
Step 3 of docs/tasks/schema-content-react-redux.md. No new hook: the option is a field of the
request the existing findCollection / findOne / findOwn hooks pass through. Comments explain
the { id, display } shape, error CM-ERRORS-DATABASE-056 and the cache behaviour.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…s reach the wire Step 4 of docs/tasks/schema-content-react-redux.md. Hook shape (counts 23 / 11, Files query tags, no shadowing in the flat map), fake-transport reach tests, and real-SDK fake-fetch tests: Api by-id substitutes both ids into the path, Hub by-id sends them as query string, a 404 lands as the serialized error; expandReferences=true reaches find / findOne / findOwn and a plain read sends none, a 056 refusal lands as the serialized error, updateOne carries arrayFilters. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Step 5 of docs/tasks/schema-content-react-redux.md. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
🚀 Release previewNext version on merge to semantic-release dry-run output
|
Dev dependency ^4.14.0 and peer range >=4.14.0: the release carries files.getFileById and the typed expandReferences / arrayFilters fields that the hooks on this branch use, so the checks no longer run against 4.11.0. The lockfile also moves source-map-js to 1.2.2 (GHSA-68fv-2mgg-jv7q) and the bundled npm CLI to 11.21.0. Task file: plan steps 7 and 8, the Needs-you line for the remaining OSV finding on the bundled postcss-selector-parser. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
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.
Schema-content campaign, client side —
@norbix.ai/react-reduxagainst the@norbix.ai/tsbranchaudit/schema-content. Do not merge yet: the core SDK release that carries these methods is not published; this branch ships after the gateway campaign lands.What changed:
useGetFileByIdQuery(hub.files.getFileById,GET /{version}/files/item/by-id) anduseGetFileByIdApiQuery(api.files.getFileById,GET /{version}/files/{filesIntegrationId}/by-id/{id}) — read a file by the stable id a record's file field stores. Both provideFiles. Endpoint counts 23 / 11.expandReferencesonuseFindCollectionQuery/useFindOneQuery/useFindOwnQueryandarrayFiltersonuseUpdateOneMutation/useUpdateManyMutationneed no new hook (request fields passed through); documented in the hook comments and README.expandReferences=trueon the three reads, the 056 refusal,arrayFilterson update one.How it was built:
npm packof thenorbix-jsworktree onaudit/schema-content, installed here withnpm install --no-save—package.json/package-lock.jsonare untouched, so the checks on this pull request run against npm's@norbix.ai/ts4.11.0 and the typecheck / tests are red by design until the core SDK releases.Before merging: bump
@norbix.ai/ts(dev + peer) to the released version on this branch, re-runnpm test,npm run typecheck,npm run lint, then "Rebase and merge".Task file:
docs/tasks/schema-content-react-redux.md.🤖 Generated with Claude Code