e52edc80

Author: Michael Lynch <git@mtlynch.io>

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

Replace littlemoments.UserID int type with a uint32-backed struct (#62)

UserID was a plain `int` type alias. This replaces it with a struct
wrapping a uint32, with a constructor (NewUserID) and a UInt32() accessor
for callers that need the raw value.

- tinybeans/parse.UserID changes from int64 to uint32, gaining a UInt32()
  method to avoid casts at call sites in convert.go
- jsonfile ID fields change from int to uint32 to match
- WriteMetadata uses UInt32() instead of int() casts

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

Reviewed-on: https://codeberg.org/mtlynch/little-moments/pulls/62
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 16m51s 2s 2s 16m54s
Eval 16m57s 48s 48s 17m45s
Build 1h05m54s 33s 36s 1h06m30s
Test - - - -
Deploy - - - -
Suite 16m51s 1m24s 49m39s 1h06m30s

Timeline

0s17m17m10s17m20s17m30s17m40s1h6m1h6m1h6m1h6m