@d-sports/team-access-contract
v1.0.0-freeze1
Published
Contract Freeze 1 — team-access OpenAPI types, fixtures, and contractVersion for d-sports-engage-native
Downloads
964
Readme
@d-sports/team-access-contract
Versioned Contract Freeze 1 package for team-access clients (d-sports-engage-native and web).
Contents
| Export | Purpose |
|---|---|
| contractVersion | Shared string asserted in both repos' CI |
| Freeze1RoutePaths / status & error-code constants | Thin client vocabulary |
| ./openapi.json | Copy of openapi/team-access.v1.json |
| fixtures/ | JSON response fixtures per Freeze-1 route |
Source of truth
Zod schemas live in d-sports-api at lib/contracts/team-access/. Regenerate with:
bun run contract:team-access:emitCI fails if the committed OpenAPI file drifts from regeneration.
Publish
Public npm package under the @d-sports org (same as @d-sports/wallet).
OTP restore / full declare runbook (commands + native pin + Linear close):../../docs/plans/2026-07-29-freeze1-otp-restore-runbook.md
Quick publish only:
cd packages/team-access-contract
npm publish --access public --tag freeze1Also: ../../docs/plans/2026-07-29-freeze1-packaging-checklist.md.
