Interface for generating the data access layer of an application. This interface defines the contract for generating the source code for the data layer of the generated application.

interface DalGeneratorStrategy {
    strategyIdentifier: string;
    generateDataLayer(
        context: GenerationContext,
    ): Promise<LayerArtifact> | Promise<AxiosResponse<LayerArtifact>>;
}

Implemented by

Properties

strategyIdentifier: string

A unique identifier for the strategy.

Methods