erio
375aefa209
refactor(channels): centralize BillingModelSource normalization and exhaustive enum maps
...
- service: add normalizeBillingModelSource helper, apply in Create/GetByID/Update/List/ListAvailable outputs
- handler: drop channelToResponse fallback now that service owns the default; add passthrough test
- frontend: replace ternary status/billing-source lookups with Record<Enum, ...> maps so new union members fail the build
- chip/table: drop local type aliases, reuse UserSupportedModel/UserPricingInterval directly
- tests: assert short-circuit on ListAll error, wrap-prefix preservation, and Name-based default lookup
2026-04-21 11:31:54 +08:00
..
2026-04-21 11:31:54 +08:00
2026-04-21 00:21:29 +08:00
2026-04-09 18:14:28 +08:00
2026-04-22 13:19:28 +08:00
2026-04-22 13:30:34 +08:00
2026-04-22 14:56:56 +08:00
2026-04-22 14:56:56 +08:00
2026-04-22 12:30:00 +08:00
2026-04-22 16:01:25 +08:00
2026-04-22 16:38:36 +08:00
2026-04-22 13:19:20 +08:00
2026-04-22 14:56:56 +08:00
2026-04-22 14:56:56 +08:00
2026-04-22 13:30:34 +08:00
2026-04-22 14:57:16 +08:00
2026-04-22 14:57:16 +08:00
2026-04-21 00:27:10 +08:00
2026-04-21 01:05:14 +08:00
2026-04-21 00:21:29 +08:00
2026-04-22 12:30:08 +08:00
2026-04-22 12:30:08 +08:00
2026-03-08 14:12:17 +08:00
2026-03-08 14:12:17 +08:00
2026-04-14 09:12:42 +08:00
2026-04-14 09:12:42 +08:00
2026-03-15 16:21:49 +08:00
2026-04-14 12:11:08 +08:00
2026-04-14 19:29:37 +08:00
2026-03-09 19:55:18 +08:00
2026-03-18 11:31:32 +08:00
2026-04-01 02:20:13 +08:00
2026-04-14 12:19:44 +08:00
2026-04-21 14:14:49 +08:00
2026-04-14 09:12:42 +08:00
2026-03-05 16:46:14 +08:00
2026-03-15 22:13:42 +08:00
2026-04-21 13:53:12 +08:00
2026-04-21 13:53:12 +08:00
2026-04-22 12:30:08 +08:00
2026-03-24 09:52:56 +08:00
2026-04-22 12:30:08 +08:00
2026-04-22 12:30:17 +08:00
2026-04-22 11:17:23 +08:00
2026-04-21 01:40:56 +08:00
2026-04-21 01:40:56 +08:00
2026-04-21 20:36:10 +08:00
2026-04-21 00:21:29 +08:00
2026-04-09 18:14:28 +08:00
2026-04-09 18:14:28 +08:00
2026-04-09 18:14:28 +08:00
2026-04-05 17:11:01 +08:00
2026-04-22 19:11:51 +08:00
2026-04-22 14:57:47 +08:00
2026-04-21 14:14:49 +08:00