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>