Duncan Tourolle
76c78e2edc
E frontend reconciliation (1/2): types.ts sources from bindings; backend field fixes
- types.ts now re-exports wire types from generated bindings (single source of
truth); keeps frontend-only unions (ItemType/LibraryType/PersonType/
SessionCommand) and aliases Session = SessionInfo.
- Backend: MediaItem.runtime_ticks serializes as runTimeTicks (matches frontend,
fixes a latent undefined-read bug); ArtistItem serializes camelCase id/name
(PascalCase aliases retained for Jellyfin deserialize).
- player.ts: normalize remote NowPlayingItem -> MediaItem in mergedMedia so
display components treat local/remote items uniformly.
- Reduces svelte-check errors 141 -> 70 (remaining: nullable guards + played->isPlayed).
2026-06-20 20:30:08 +02:00
..
2026-01-26 22:21:54 +01:00
2026-06-20 17:37:48 +02:00
2026-01-26 22:21:54 +01:00
2026-01-26 22:21:54 +01:00
2026-06-20 20:30:08 +02:00
2026-01-26 22:21:54 +01:00
2026-01-26 22:21:54 +01:00
2026-06-20 17:37:48 +02:00
2026-06-20 17:37:48 +02:00
2026-01-26 22:21:54 +01:00