PresentationLayerGeneratorFactory: {
    getPresentationLayerGenerator: (
        aggregateMetadata: AggregateMetadata,
        capabilityIdentifier: string,
    ) => PresentationLayerGenerator;
}

A definition of the factory for creating instances of PresentationLayerGenerator type. The factories of this type implement the method responsible for the instantiation of the specific presentation layer generators.

Type declaration

  • getPresentationLayerGenerator: (
        aggregateMetadata: AggregateMetadata,
        capabilityIdentifier: string,
    ) => PresentationLayerGenerator

    Retrieves the appropriate presentation layer generator from the provided capability identifier.