Server: src/lib/footprints.ts
Reads data/footprints_index.json (cached in memory, 1 h TTL). Use in Server Components and
route handlers.
Client: src/lib/api.ts
Browser-safe wrappers over the site routes, plus auth helpers from lib/auth.ts.
Types
The footprints repo is footprint-only:
lib/types.ts contains just the Footprint* types
(no Symbol/Pin), and lib/api.ts contains only footprint + shared (auth/contribute/user)
functions.
