Mark Phase 1.2 API Contract Package tasks as complete
@trails-cool/api shipped in PR #214 — Zod schemas, endpoint constants, API_VERSION, error types, pagination, auth, routes, activities, uploads. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
d8dfaac66f
commit
48f990f4ec
1 changed files with 6 additions and 6 deletions
|
|
@ -10,12 +10,12 @@
|
|||
|
||||
### 1.2 API Contract Package
|
||||
|
||||
- [ ] 1.2.1 Create `packages/api/` with `API_VERSION` constant, endpoint path constants, and TypeScript types for all request/response shapes
|
||||
- [ ] 1.2.2 Define route types: `RouteListResponse`, `RouteDetailResponse`, `CreateRouteRequest`, `UpdateRouteRequest`
|
||||
- [ ] 1.2.3 Define activity types: `ActivityListResponse`, `ActivityDetailResponse`, `CreateActivityRequest`
|
||||
- [ ] 1.2.4 Define auth types: `TokenExchangeRequest`, `TokenResponse`, `DiscoveryResponse`
|
||||
- [ ] 1.2.5 Define shared error type: `ApiErrorResponse` with code, message, and optional field errors
|
||||
- [ ] 1.2.6 Export everything from package index, add to pnpm workspace and Turborepo pipeline
|
||||
- [x] 1.2.1 Create `packages/api/` with `API_VERSION` constant, endpoint path constants, and TypeScript types for all request/response shapes
|
||||
- [x] 1.2.2 Define route types: `RouteListResponse`, `RouteDetailResponse`, `CreateRouteRequest`, `UpdateRouteRequest`
|
||||
- [x] 1.2.3 Define activity types: `ActivityListResponse`, `ActivityDetailResponse`, `CreateActivityRequest`
|
||||
- [x] 1.2.4 Define auth types: `TokenExchangeRequest`, `TokenResponse`, `DiscoveryResponse`
|
||||
- [x] 1.2.5 Define shared error type: `ApiErrorResponse` with code, message, and optional field errors
|
||||
- [x] 1.2.6 Export everything from package index, add to pnpm workspace and Turborepo pipeline
|
||||
|
||||
### 1.3 Shared Package Compatibility
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue