Stone.js API
    Preparing search index...

    Interface BlueprintConfig<BlueprintType, ContextType>

    Blueprint options.

    This interface defines the configuration options for the blueprint builder. It includes middleware for building the blueprint and the default priority for pipes.

    interface BlueprintConfig<
        BlueprintType extends IBlueprint = IBlueprint,
        ContextType extends
            BlueprintContext<BlueprintType> = BlueprintContext<BlueprintType>,
    > {
        defaultMiddlewarePriority?: number;
        middleware: MixedPipe<ContextType, BlueprintType>[];
    }

    Type Parameters

    Index
    defaultMiddlewarePriority?: number

    The default priority for pipes, used when a specific pipe does not have an explicitly set priority. This value helps to determine the order in which middleware pipes are executed. Default value is set to 10.

    middleware: MixedPipe<ContextType, BlueprintType>[]

    Middleware used for processing data during the blueprint construction. The middleware array can include core pipes and any additional custom pipes.