84fd31fe

By: Michael Lynch <git@mtlynch.io>

Move handler media access behind a store interface

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.
Codeberg
configuredevShellbackendbackend-devcheck-bashcheck-frontendcheck-go-formattingcheck-trailing-newlinecheck-trailing-whitespacediagramdocker-imagee2e-testsgo-testsimport-from-tinybeanslint-sqllittle-momentslittle-moments-devx86_64-linux