Author: Michael Lynch <git@mtlynch.io>
Committer: Michael Lynch <mtlynch@noreply.codeberg.org>
Use lowercase entry type values for photo and video (#71) Switches EntryTypePhoto and EntryTypeVideo from "PHOTO"/"VIDEO" to "photo"/"video". Updates all call sites: - handlers/store.go: MediaEntry.Type changed from string to littlemoments.EntryType so comparisons use the constants directly - handlers/browse.go and handlers/media.go: compare against littlemoments.EntryTypeVideo instead of a string literal - store/memory/memory.go: drop now-unnecessary string cast - tinybeans/convert.go: add littleMomentsEntryType() to explicitly map Tinybeans PHOTO/VIDEO values to the littlemoments constants Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Reviewed-on: https://codeberg.org/mtlynch/little-moments/pulls/71 Co-authored-by: Michael Lynch <git@mtlynch.io> Co-committed-by: Michael Lynch <git@mtlynch.io>
| Time to Start | Worker time | Duration | Time to finish | |
| Config | 0s | 2s | 2s | 3s |
| Eval | 3s | 1m01s | 1m01s | 1m05s |
| Build | 9m58s | 57s | 26s | 10m24s |
| Test | - | - | - | - |
| Deploy | - | - | - | - |
| Suite | 0s | 2m02s | 10m23s | 10m24s |