Repository navigation
feat(marketplace): connection access (routes 25–27) and OAuth sign-in start (route 28) - #95
Merged
Merged
Conversation
…57 (access, routes 25–27) Adds the access matrix, role package and custom policy types (GetMarketplaceIntegrationAccess*, SetMarketplaceIntegrationRoleAccess, SaveMarketplaceIntegrationCustomAccess*, MarketplaceAccess*Dto, MarketplaceAccessLevel) and the additive fields TestMarketplaceIntegrationResponse.accessChanges, MarketplaceAccessRoleDto.defaultNotApplied and MarketplaceValidationStepResultDto.errorCode. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…policy (routes 25–27) The source generator adds GetMarketplaceIntegrationAccessAsync, SetMarketplaceIntegrationRoleAccessAsync and SaveMarketplaceIntegrationCustomAccessAsync from the regenerated Hub types. MarketplaceAccessTests pins each one with a Verify snapshot (the id in the path, no body on the GET, the role / ticks in the PUT / POST body) and reads AccessChanges and the step ErrorCode from the Test response. EndpointCoverageTests.Hub.Code accepted: Count 39 -> 42, the three route entries and AccessChanges. README section. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
🚀 Release previewNext version on merge to semantic-release dry-run output
|
…38 (oauth, route 28) Adds StartMarketplaceIntegrationSignIn / StartMarketplaceIntegrationSignInResponse (authorizeUrl, redirectUrl, expiresAt) and the additive fields MarketplaceIntegrationDto.signedIn / signedInBy / signedInAt / tokenExpiresAt, MarketplaceIntegrationListProjection.signedIn / signedInAt and MarketplaceListingDto.connectSteps / oauthRedirectUrl. Route 29 (the OAuth callback) is not in the type metadata. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…sign-in start (route 28)
The source generator adds StartMarketplaceIntegrationSignInAsync
(POST .../integrations/{IntegrationViewId}/oauth/start) from the
regenerated Hub types. MarketplaceOAuthTests pins the id in the path and
reads AuthorizeUrl / RedirectUrl / ExpiresAt. EndpointCoverageTests.Hub.Code
accepted: Count 42 -> 43, the route entry, SignedIn on the integration
DTOs (the stub fills the first 8 properties, so SignedIn takes the place
of ViewId in the SaveMarketplaceIntegration body). README note. Route 29
(the callback) is not in the type metadata and has no method.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
🎉 This PR is included in version 3.22.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
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.
What changed
GetMarketplaceIntegrationAccess*,SetMarketplaceIntegrationRoleAccess,SaveMarketplaceIntegrationCustomAccess*,MarketplaceAccess*Dto,MarketplaceAccessLevel),StartMarketplaceIntegrationSignIn*, and the additive fieldsTestMarketplaceIntegrationResponse.accessChanges,MarketplaceAccessRoleDto.defaultNotApplied,MarketplaceValidationStepResultDto.errorCode,MarketplaceIntegrationDto.signedIn / signedInBy / signedInAt / tokenExpiresAt,MarketplaceIntegrationListProjection.signedIn / signedInAt,MarketplaceListingDto.connectSteps / oauthRedirectUrl. Api types untouched. Route 29 (OAuth callback) is not in the metadata — no method.GetMarketplaceIntegrationAccessAsync,SetMarketplaceIntegrationRoleAccessAsync,SaveMarketplaceIntegrationCustomAccessAsync,StartMarketplaceIntegrationSignInAsyncfrom the source generator;MarketplaceAccessTests(4) +MarketplaceOAuthTests(1) Verify snapshots;EndpointCoverageTests.Hub.Codeaccepted after reading the diff (Count 39 → 43, the four entries,AccessChanges,SignedIn); README section.Evidence
Task file: typegen
docs/tasks/marketplace-access-sdks.md(branchaudit/marketplace-access2, worktree~/Projects/norbix/worktrees/typegen/marketplace-access2). Gateway items:docs/testing/testing-plan/11b-marketplace/items/access.mdandoauth.md.Expected release: v3.22.0 (last v3.21.0) (feat → minor). Additive only — no breaking change.
🤖 Generated with Claude Code