9c5445fa

Author: Michael Lynch <git@mtlynch.io>

Committer: Michael Lynch <mtlynch@noreply.codeberg.org>

Move Tinybeans conversion into the tinybeans package (#36)

Add tinybeans.Convert so callers can turn a parsed Tinybeans export into
Little Moments-native metadata without reimplementing the mapping logic.
This keeps the conversion boundary with the Tinybeans types while leaving
reactions work out of scope.

Update the import-from-tinybeans command to consume the new package API and
add unit tests for successful conversion and missing thumbnail failures.

Reviewed-on: https://codeberg.org/mtlynch/little-moments/pulls/36
Co-authored-by: Michael Lynch <git@mtlynch.io>
Co-committed-by: Michael Lynch <git@mtlynch.io>

Suite timing

Time to Start Worker time Duration Time to finish
Config 0s 1s 1s 1s
Eval 1s 34s 34s 35s
Build 3s 2m43s 58s 1m01s
Test - - - -
Deploy - - - -
Suite 0s 3m19s 1m00s 1m01s

Timeline

0s10s20s30s40s50s1m