@samatawy/rules
    Preparing search index...

    Interface WorkspaceOptions

    Options for configuring the behavior of the Workspace, including debugging, conflict resolution, and iteration limits.

    interface WorkspaceOptions {
        strict_conflicts: boolean;
        strict_syntax: boolean;
        strict_inputs: boolean;
        strict_outputs: boolean;
        max_iterations: number;
    }
    Index

    Properties

    strict_conflicts: boolean

    Enable or disable strict conflict resolution. When true, the workspace will enforce strict rules for resolving conflicts between competing rules, potentially throwing errors if conflicts are detected.

    strict_syntax: boolean

    Enable or disable strict syntax validation. When true, the workspace will validate that all rules and expressions conform to expected syntax, potentially throwing errors if syntax is invalid. This can be used to catch issues early in development.

    strict_inputs: boolean

    Enable or disable strict input validation. When true, the workspace will validate input data against defined types and may reject inputs that do not conform to expected structures, ensuring that rules are evaluated with correctly typed data.

    strict_outputs: boolean

    Enable or disable strict output validation. When true, the workspace will validate the outputs of rule execution against defined types and may throw errors if outputs do not conform to expected structures, ensuring that rule consequences produce correctly typed data.

    max_iterations: number

    The maximum number of iterations the workspace will perform when evaluating rules. This helps prevent infinite loops in rule evaluation.