Type mapping interface that associates each history type string with its
corresponding history record interface.
Enables type-safe access to specific history record types based on their
discriminator values. This mapper is particularly useful for generic
functions, type narrowing operations, and ensuring compile-time type safety
when working with history records in a type-dependent manner.
The mapper provides a clean abstraction for converting between type strings
and their corresponding TypeScript interfaces, facilitating robust history
management and processing throughout the system.
Type mapping interface that associates each history type string with its corresponding history record interface.
Enables type-safe access to specific history record types based on their discriminator values. This mapper is particularly useful for generic functions, type narrowing operations, and ensuring compile-time type safety when working with history records in a type-dependent manner.
The mapper provides a clean abstraction for converting between type strings and their corresponding TypeScript interfaces, facilitating robust history management and processing throughout the system.