Defaults

May 22, 2025 ยท View on GitHub

Example Usage

import { Defaults } from "@launchdarkly/mcp-server/models/components";

let value: Defaults = {
  onVariation: 0,
  offVariation: 1,
};

Fields

FieldTypeRequiredDescriptionExample
onVariationnumber:heavy_check_mark:The index, from the array of variations for this flag, of the variation to serve by default when targeting is on.0
offVariationnumber:heavy_check_mark:The index, from the array of variations for this flag, of the variation to serve by default when targeting is off.1