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.

Suite timing

Time to Start Worker time Duration Time to finish
Config 0s 1s 1s 1s
Eval - - - -
Build 2s 31s - -
Test - - - -
Deploy - - - -
Suite 0s 32s - -

Timeline

0s10s20s