Repository navigation
Move the backoffice clients to configureClient - #1186
Merged
Merged
Conversation
Authenticate usync-assets and history-client through authContext.configureClient() in onInit, in place of the hey-api.ts runtime config. That route only copied the config, so these clients missed Umbraco's default interceptors. @umbraco-cms/backoffice moves to ^17.6.2 as a dev dependency, because configureClient doesn't accept a hey-api 0.99 client against older types. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The lock kept @tiptap/extension-image at 3.31.0 beside @tiptap/core 3.32.2, which npm ci rejects. Resolve the tiptap packages again, and lock backoffice at 17.6.2 to match usync-assets. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Nov 3, 2026
This was referenced Nov 3, 2026
Merged
This was referenced Nov 9, 2026
This was referenced Nov 27, 2026
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.
For Jumoo/jumoo-context#141. Moves
usync-assetsandhistory-clienttoauthContext.configureClient(client), following "Steps for each client" in Jumoo/jumoo-context#136.Change
src/index.ts:onInitisasyncand callsconfigureClientafter registering manifests, the same shape asv18/main.openapi-ts.config.tsandscripts/generate-openapi.js:runtimeConfigPathremoved.src/hey-api.tsdeleted.src/api: both regenerated.client.gen.tsno longer importshey-api, and every operation hassecurity:(18 and 3).throwOnErrorwas already set, and both clients are registered asbackofficeEntryPoint(uSyncManifestReader.cs,uSyncHistoryComposer.cs).One change the brief didn't list
@umbraco-cms/backofficemoves to^17.6.2and locks at 17.6.2 in both clients, the same as Jumoo/uSync.Complete#202. It's a dev dependency for types only, so the Umbraco floor doesn't change.The history lock also needed its
@tiptap/*entries resolving again, becausenpm cirejected the mix of versions left after the bump.Tested
npm ci && npm run buildpasses on both clients.Authorization: Bearerand a 200 on every uSync call from the dashboard, a settings Report and the History view.Not verified
npm ci && npm run build, but wasn't run on a site.🤖 Generated with Claude Code