trails/apps/journal/app/lib/connected-services/providers/index.ts
Ullrich Schäfer 03304c354b
Add Komoot import with public (bio verification) and authenticated modes
Two-mode import: public mode verifies Komoot account ownership by checking
that the user's trails.cool profile URL appears in their Komoot bio — no
credentials stored. Authenticated mode uses email + password (AES-256-GCM
encrypted) to import private tours as well.

Includes unit tests for crypto/komoot client and E2E tests for the full
connect + import flow.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-23 10:18:46 +02:00

13 lines
520 B
TypeScript

// Provider barrel. Imports every provider manifest and registers it with
// the registry. Adding a provider: import its manifest here and add the
// `registerManifest(...)` call.
import { registerManifest } from "../registry.ts";
import { wahooManifest } from "./wahoo/manifest.ts";
import { komootManifest } from "./komoot/manifest.ts";
registerManifest(wahooManifest);
registerManifest(komootManifest);
// Re-export so callers (mostly tests) can grab a manifest directly.
export { wahooManifest, komootManifest };