turbodombuilder - v0.9.66
    Preparing search index...

    Type Alias EnforcerAddCallbackProperties<Type>

    Type representing a configuration object to add a new callback to the given enforcer.

    type EnforcerAddCallbackProperties<
        Type extends EnforcerChecker
        | EnforcerMutator
        | EnforcerSolver,
    > = {
        name?: string;
        callback?: Type;
        enforcer?: string;
        priority?: number;
    }

    Type Parameters

    Index

    Properties

    name?: string

    The name of the callback to add.

    callback?: Type

    The callback to add.

    enforcer?: string

    The enforcer to add the callback to.

    priority?: number

    The priority of the callback.