Attributes for creating a new feature flag.

Hierarchy

  • CreateFeatureFlagAttributes

Constructors

Properties

additionalProperties?: {
    [key: string]: any;
}

A container for additional, undeclared properties. This is a holder for any undeclared properties as specified with the 'additionalProperties' keyword in the OAS document.

Type declaration

  • [key: string]: any
defaultVariantKey?: string

The key of the default variant.

description?: string

The description of the feature flag.

distributionChannel?: FeatureFlagDistributionChannel

The distribution channel for the feature flag.

jsonSchema?: string

JSON schema for validation when value_type is JSON.

key: string

The unique key of the feature flag.

name: string

The name of the feature flag.

requireApproval?: boolean

Indicates whether this feature flag requires approval for changes.

The staleness status for the feature flag at creation.

tags?: string[]

Tags associated with the feature flag.

valueType: ValueType

The type of values for the feature flag variants.

variants: CreateVariant[]

The variants of the feature flag.

Generated using TypeDoc