Stratal API Reference
    Preparing search index...

    Interface ConfigModuleOptions

    Options for ConfigModule.forRoot

    interface ConfigModuleOptions {
        load: AnyConfigNamespace[];
        validateSchema?: ZodType<
            object,
            unknown,
            $ZodTypeInternals<object, unknown>,
        >;
    }
    Index

    Properties

    load: AnyConfigNamespace[]

    Array of config namespaces created via registerAs()

    validateSchema?: ZodType<object, unknown, $ZodTypeInternals<object, unknown>>

    Optional Zod schema for validating the merged config Validates the entire config object after all namespaces are merged