/* eslint-disable */ /** * This file was automatically generated by json-schema-to-typescript. * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, * and run json-schema-to-typescript to regenerate this file. */ /** * Feature name. */ export type Name = string; /** * Indicates if the feature flag is enabled. */ export type Enabled = boolean; /** * Feature flag value. */ export type Value = string | number | boolean | null; /** * Reason for the feature flag evaluation. */ export type Reason = string; /** * Segment name. */ export type Name1 = string; /** * List of segments which the provided context belongs to. */ export type Segments = SegmentResult[]; /** * Evaluation result object containing the used context, flag evaluation results, and segments used in the evaluation. */ export interface EvaluationResult { flags: Flags; segments: Segments; [k: string]: unknown; } /** * Feature flags evaluated for the context, mapped by feature names. */ export interface Flags { [k: string]: FlagResult; } export interface FlagResult { name: Name; enabled: Enabled; value: Value; reason: Reason; metadata?: FeatureMetadata; [k: string]: unknown; } /** * Additional metadata associated with the feature. */ export interface FeatureMetadata { [k: string]: unknown; } export interface SegmentResult { name: Name1; metadata?: SegmentMetadata; [k: string]: unknown; } /** * Additional metadata associated with the segment. */ export interface SegmentMetadata { [k: string]: unknown; }