replaceVersions

replaceVersions: "all" | "all-lower" | "exact"

Which existing versions of rulesets with same id should be replaced when we insert a new one:

  • all - replace all rulesets with same id.
  • all-lower - replace rulesets with same id and version lower than the version of inserted ruleset.
  • exact - replace only the ruleset whose id and version matches the inserted ruleset.

Defaults to exact.

Defined in

Last Updated: 12 June, 2024