brewlog/src/infrastructure/repositories
Jon Seager e01b6d0a1c
feat: add optional created_at to entity creation and updates
Add `created_at: Option<DateTime<Utc>>` through all layers so CLI users
can backdate entities at creation/update time. When omitted, falls back
to `Utc::now()`.

- Domain: add field to all New*/Update* structs with serde(default)
- Domain: timeline events use entity created_at instead of Utc::now()
- Repos: unify INSERT to explicit Rust-side created_at with unwrap_or_else
- Repos: add created_at to UPDATE dynamic query builders
- Routes: add field to submission structs and has_changes guards
- Clients: pass created_at through manual JSON client methods
- CLI: add --created-at flag with parse_created_at helper (RFC 3339 or YYYY-MM-DD)
2026-02-07 09:48:20 +00:00
..
ai_usage.rs feat(ai): capture usage data from OpenRouter API responses 2026-02-05 12:08:48 +00:00
bags.rs feat: add optional created_at to entity creation and updates 2026-02-07 09:48:20 +00:00
brews.rs feat: add optional created_at to entity creation and updates 2026-02-07 09:48:20 +00:00
cafes.rs feat: add optional created_at to entity creation and updates 2026-02-07 09:48:20 +00:00
cups.rs feat: add optional created_at to entity creation and updates 2026-02-07 09:48:20 +00:00
gear.rs feat: add optional created_at to entity creation and updates 2026-02-07 09:48:20 +00:00
macros.rs chore(lint): enable clippy pedantic and restriction lints 2026-02-02 17:55:16 +00:00
mod.rs feat(ai): capture usage data from OpenRouter API responses 2026-02-05 12:08:48 +00:00
pagination.rs fix: set HTTP client timeout and remove pagination double-fetch 2026-02-06 18:19:37 +00:00
passkey_credentials.rs perf(auth): fix N+1 queries in WebAuthn authentication 2026-02-06 18:18:58 +00:00
registration_tokens.rs feat(auth): replace password auth with WebAuthn passkeys 2026-02-05 11:00:07 +00:00
roasters.rs feat: add optional created_at to entity creation and updates 2026-02-07 09:48:20 +00:00
roasts.rs feat: add optional created_at to entity creation and updates 2026-02-07 09:48:20 +00:00
sessions.rs feat!: use numeric, database-generated IDs throughout 2025-11-25 18:21:04 +00:00
timeline_events.rs feat(search): implement search filtering in repository SQL queries 2026-02-03 12:51:26 +00:00
tokens.rs chore(lint): enable clippy pedantic and restriction lints 2026-02-02 17:55:16 +00:00
users.rs feat(auth): replace password auth with WebAuthn passkeys 2026-02-05 11:00:07 +00:00