MetricBoundaryCondition type

Defines the Boundary Conditions for the Metric

type MetricBoundaryCondition =
  | {
      direction: "Down"
      lower: number
      metricId?: string
      triggerForMissing?: boolean
      type?: "Value" | "Mean"
    }
  | {
      direction: "Up"
      metricId?: string
      triggerForMissing?: boolean
      type?: "Value" | "Mean"
      upper: number
    }
  | {
      direction: "Both"
      lower: number
      metricId?: string
      triggerForMissing?: boolean
      type?: "Value" | "Mean"
      upper: number
    }