Repository navigation
feat(marketplace): hooks for the 23 marketplace methods of hub.code - #50
Merged
Merged
Conversation
src/hooks/hub/marketplace.ts wraps the marketplace methods of the published @norbix.ai/ts 4.20.0 1:1: listings, listing, listing function tokens, connections CRUD, enable / disable, secrets replace / reveal, token mappings, test, catalog, functions CRUD, enable / disable, function tokens and invoke. Tags are of type CodeMarketplace (LISTINGS, INTEGRATIONS, <integrationViewId>, CATALOG:<id>, FUNCTIONS:<id>, <functionViewId>); reveal is a mutation so clear secrets are never cached. tests/marketplace.test.ts drives every hook through the real SDK with a fake fetch (verb, path, query / body) and checks kinds and tags. README section. The runs hook (GET /code/marketplace/functions/runs) follows once @norbix.ai/ts ships getMarketplaceFunctionRuns. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
🚀 Release previewNext version on merge to semantic-release dry-run output
|
…^4.21.0
The last runs of a marketplace function behind a trigger or a scheduler task
(GET /{version}/code/marketplace/functions/runs, triggerId | taskId, limit), now that
@norbix.ai/ts 4.21.0 ships getMarketplaceFunctionRuns. Provides CodeMarketplace/RUNS.
tests/marketplace.test.ts: a CASES row (verb, path, query through the real SDK) and the tag.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
🎉 This PR is included in version 1.12.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.
Marketplace campaign, item 6 (SDKs).
src/hooks/hub/marketplace.ts: hooks for all 23 marketplace methods of@norbix.ai/ts(dependency bumped to ^4.21.0) (catalog, connections, secrets, token mappings, test, vendor catalog, functions, invoke). Tags of typeCodeMarketplace; reveal-secrets is a mutation so clear secrets never sit in the cache.tests/marketplace.test.ts: every hook reaches its SDK method, kind and tags, and — through the real SDK with a fake fetch — verb, path, query / body (52 tests). README section.useGetMarketplaceFunctionRunsQuery—GET /code/marketplace/functions/runs(triggerId|taskId,limit), providesCodeMarketplace/RUNS; needs@norbix.ai/ts4.21.0 (released).Tests:
npm run typecheckclean,npm run lintclean, vitest 16 files / 351 tests passed.Expected release: v1.12.0 (
feat→ minor; last tag v1.11.0).Task file: typegen worktree
/Users/djovaisas/Projects/norbix/worktrees/typegen/audit-marketplace/docs/tasks/marketplace-sdks.md(branch audit/marketplace). Gateway: campaignaudit/marketplace4ea6b84e2 (docs/architecture/Code.Marketplace.md§14, §16), types regenerated from its Community Hub in a private stack.🤖 Generated with Claude Code