From 48f990f4ecfd0f9192acb11fb7830122441dc9a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ullrich=20Sch=C3=A4fer?= Date: Sun, 12 Apr 2026 22:59:13 +0200 Subject: [PATCH] Mark Phase 1.2 API Contract Package tasks as complete MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @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) --- openspec/changes/mobile-app/tasks.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/openspec/changes/mobile-app/tasks.md b/openspec/changes/mobile-app/tasks.md index ef99988..b882685 100644 --- a/openspec/changes/mobile-app/tasks.md +++ b/openspec/changes/mobile-app/tasks.md @@ -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