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

    Interface SmartSchema<C, I>

    What a smart module factory was composed from, as a tree: its configuration classes in the order they are instantiated, and the schema of every smart import beside the namespace it was imported under.

    It is read off the factory without calling it, so a definition factory contributes only its inline configuration classes — the smartConfigs and smartImports its function returns exist only once the function runs.

    interface SmartSchema<
        C extends readonly SmartSchemaConfig[] = readonly SmartSchemaConfig[],
        I extends
            readonly SmartSchemaImport<any>[] = readonly SmartSchemaImport<any>[],
    > {
        configs: C;
        imports: I;
    }

    Type Parameters

    Index
    configs: C
    imports: I