()
| 22 | function modeKey(ownerType: AutoRoutingModeOwnerType, ownerId: string): string { |
| 23 | return `${ownerType}:${ownerId}`; |
| 24 | } |
| 25 | |
| 26 | function parseStoredMode(raw: unknown): AutoRoutingMode | null { |
| 27 | const parsed = AutoRoutingModeSchema.safeParse(raw); |
| 28 | return parsed.success ? parsed.data : null; |
| 29 | } |
no test coverage detected