@breadstone/archipel-platform-mapping
Classes
| Class | Description |
|---|---|
| MappingBuilder | A mapping builder that uses the mapping service to register maps. |
| MappingError | Base class for mapping related domain errors. |
| MappingModule | Module that provides mapping services and allows registration of mapping profiles. |
| MappingNotRegisteredError | Thrown when a keyed mapping is requested but not registered. |
| MappingProfileBase | Base class for mapping profiles to simplify implementation. |
| MappingService | Central mapping registry supporting keyed & type-based mappings. |
| TypeMappingNotRegisteredError | Thrown when a type mapping is requested but not registered. |
Interfaces
| Interface | Description |
|---|---|
| IMappingBuilder | Defines the interface for a mapping builder. |
| IMappingKey | Type-safe mapping key that encodes both input and output types. This ensures compile-time type safety when using the mapping service. |
| IMappingProfile | Defines the interface for a mapping profile. |
Type Aliases
| Type Alias | Description |
|---|---|
| Constructor | - |
Functions
| Function | Description |
|---|---|
| createMappingKey | Creates a type-safe mapping key. |