nestjs-smart-modules - v1.1.2
    Preparing search index...

    Type Alias SmartModule<TC, TI>

    A module definition accepted by smartModule: the standard DynamicModule properties plus smartConfigs (configuration classes) and smartImports (composed smart module factories).

    type SmartModule<TC extends AnySmartConfig[], TI extends AnySmartImport[]> = {
        controllers?: ControllersOptions;
        exports?: ExportsOptions;
        global?: DynamicModule["global"];
        imports?: ImportsOptions;
        module?: DynamicModule["module"];
        providers?: ProvidersOptions;
        smartConfigs?: [...TC];
        smartImports?: [...TI];
    }

    Type Parameters

    Index
    controllers?: ControllersOptions
    exports?: ExportsOptions
    global?: DynamicModule["global"]
    imports?: ImportsOptions
    module?: DynamicModule["module"]
    providers?: ProvidersOptions
    smartConfigs?: [...TC]
    smartImports?: [...TI]