Files
TREK/client
Maurice 2fa3fa4e7a feat(journey): read and unlock protected share links in the client hooks
The data side of the protected journey link (#2553), without markup yet:

- journeyApi.unlockPublicJourney posts a reader's password; the answer sets
  the link's unlock cookie.
- useJourneyPublic tells a locked link (access 'locked') and an expired one
  ('expired') apart from a broken one, and unlock() reports 'ok', 'wrong',
  'rate_limited', 'expired' or 'failed', reloading the journey on success.
- useJourneyShareLink carries has_password, expires_at, view_count and
  last_viewed_at, and setProtection() sets or clears the password and the
  expiry, shown only once the server took it.
2026-11-30 16:56:14 +01:00
..