trails/packages/api/src
Ullrich Schäfer 47923040fc
Add unit tests for @trails-cool/api schemas (32 tests)
Tests cover all Zod schemas: validation of valid payloads, rejection
of invalid payloads, default values, coercion, nullable fields,
pagination limits, and endpoint path constants.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-12 22:53:41 +02:00
..
activities.ts Add @trails-cool/api package with Zod schemas for REST API contract 2026-04-12 22:49:30 +02:00
auth.ts Add @trails-cool/api package with Zod schemas for REST API contract 2026-04-12 22:49:30 +02:00
discovery.ts Add @trails-cool/api package with Zod schemas for REST API contract 2026-04-12 22:49:30 +02:00
endpoints.ts Add @trails-cool/api package with Zod schemas for REST API contract 2026-04-12 22:49:30 +02:00
errors.ts Add @trails-cool/api package with Zod schemas for REST API contract 2026-04-12 22:49:30 +02:00
index.test.ts Add unit tests for @trails-cool/api schemas (32 tests) 2026-04-12 22:53:41 +02:00
index.ts Add @trails-cool/api package with Zod schemas for REST API contract 2026-04-12 22:49:30 +02:00
pagination.ts Add @trails-cool/api package with Zod schemas for REST API contract 2026-04-12 22:49:30 +02:00
routes.ts Add @trails-cool/api package with Zod schemas for REST API contract 2026-04-12 22:49:30 +02:00
uploads.ts Add @trails-cool/api package with Zod schemas for REST API contract 2026-04-12 22:49:30 +02:00
version.ts Add @trails-cool/api package with Zod schemas for REST API contract 2026-04-12 22:49:30 +02:00