Type Alias RuleParameterReference<R>

RuleParameterReference<R>: {
    [MOCKTTP_PARAM_REF]: string;
}

A reference to a rule parameter defined in the ruleParameters admin server option of the corresponding admin server.

Rule parameter references are only valid with a remote client. They can be useful in cases where the admin server has access to local state or APIs that are not accessible from the remote client, but which would be useful in rule definitions. This is only supported for some specific parameters where documented explicitly in that rule parameter.

Type Parameters

  • R