Author: Michael Lynch <git@mtlynch.io>
Committer: Michael Lynch <mtlynch@noreply.codeberg.org>
Move handler media access behind a store interface (#43) Define the media and comment types that handlers consume and expand the handler store interface to include media entry and comment reads. This removes the server's direct dependency on little_moments.Metadata. Add a store/memory adapter that converts imported metadata into the handler-facing store shape while delegating visit counters to the existing visit store. Wire cmd/app to compose the sqlite visit store with the memory adapter before constructing handlers. Reviewed-on: https://codeberg.org/mtlynch/little-moments/pulls/43 Co-authored-by: Michael Lynch <git@mtlynch.io> Co-committed-by: Michael Lynch <git@mtlynch.io>