@karmaniverous/jeeves-watcher
    Preparing search index...

    Interface ApplyRulesOptions

    Optional parameters for applyRules beyond the required compiledRules and attributes.

    interface ApplyRulesOptions {
        configDir?: string;
        customMapLib?: Record<string, (...args: unknown[]) => unknown>;
        extractText?: (filePath: string) => string | undefined;
        globalSchemas?: Record<
            string,
            | string
            | {
                properties?: Record<string, Record<string, unknown>>;
                type?: "object";
            },
        >;
        logger?: RuleLogger;
        namedMaps?: Record<string, JsonMapMap>;
        templateEngine?: TemplateEngine;
    }
    Index

    Properties

    configDir?: string

    Optional config directory for resolving .json map file paths.

    customMapLib?: Record<string, (...args: unknown[]) => unknown>

    Optional custom JsonMap transform library.

    extractText?: (filePath: string) => string | undefined

    Optional callback to extract text from a file path (for fetchSiblings).

    globalSchemas?: Record<
        string,
        | string
        | { properties?: Record<string, Record<string, unknown>>; type?: "object" },
    >

    Optional global schemas collection for resolving schema references.

    logger?: RuleLogger

    Optional logger for warnings (falls back to console.warn).

    namedMaps?: Record<string, JsonMapMap>

    Optional record of named JsonMap definitions.

    templateEngine?: TemplateEngine

    Optional template engine for rendering content templates.