Skip to content

feat(api): expand commerce API catalog and normalize scopes#20

Merged
wcole1-godaddy merged 6 commits intomainfrom
feat/api-catalog-commerce-domains-path-scopes
Mar 18, 2026
Merged

feat(api): expand commerce API catalog and normalize scopes#20
wcole1-godaddy merged 6 commits intomainfrom
feat/api-catalog-commerce-domains-path-scopes

Conversation

@wcole1-godaddy
Copy link
Contributor

@wcole1-godaddy wcole1-godaddy commented Mar 18, 2026

Summary

  • expand generated API catalog coverage to additional commerce specification repositories
  • switch API discovery/call behavior to path-based resolution
  • generate and consume a runtime domain registry (registry.generated.ts) for catalog JSON files
  • improve API error envelopes with structured error.details context for request debugging
  • normalize non-standard commerce scope formats to commerce.<domain>:<action> during catalog generation
  • keep location.addresses-specification included as the only supported non-commerce domain

Validation

  • pnpm check
  • pnpm exec tsc --noEmit
  • pnpm run build
  • pnpm test tests/unit/application-deploy-security.test.ts tests/unit/cli/deploy-stream.test.ts
  • pnpm test tests/integration/cli-smoke.test.ts tests/unit/application-deploy-security.test.ts tests/unit/cli/deploy-stream.test.ts
    • smoke suite currently fails in this shell because CLI processes exit 1 across cases; needs follow-up on local test runtime/build artifact expectations

@wcole1-godaddy wcole1-godaddy requested review from Copilot and removed request for Copilot March 18, 2026 19:12
@wcole1-godaddy wcole1-godaddy merged commit 784d129 into main Mar 18, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant