1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-05-22 01:16:07 +02:00
unleash.unleash/frontend/src/openapi/models/stateSchema.ts
2023-12-04 21:49:49 +02:00

48 lines
1.8 KiB
TypeScript

/**
* Generated by Orval
* Do not edit manually.
* See `gen:api` script in package.json
*/
import type { EnvironmentSchema } from './environmentSchema';
import type { FeatureEnvironmentSchema } from './featureEnvironmentSchema';
import type { FeatureSchema } from './featureSchema';
import type { FeatureStrategySchema } from './featureStrategySchema';
import type { FeatureStrategySegmentSchema } from './featureStrategySegmentSchema';
import type { FeatureTagSchema } from './featureTagSchema';
import type { ProjectSchema } from './projectSchema';
import type { SegmentSchema } from './segmentSchema';
import type { StrategySchema } from './strategySchema';
import type { TagSchema } from './tagSchema';
import type { TagTypeSchema } from './tagTypeSchema';
/**
* The application state as used by the deprecated export/import APIs.
* @deprecated
*/
export interface StateSchema {
/** A list of environments */
environments?: EnvironmentSchema[];
/** A list of feature environment configurations */
featureEnvironments?: FeatureEnvironmentSchema[];
/** A list of features */
features?: FeatureSchema[];
/** A list of feature strategies as applied to features */
featureStrategies?: FeatureStrategySchema[];
/** A list of segment/strategy pairings */
featureStrategySegments?: FeatureStrategySegmentSchema[];
/** A list of tags applied to features */
featureTags?: FeatureTagSchema[];
/** A list of projects */
projects?: ProjectSchema[];
/** A list of segments */
segments?: SegmentSchema[];
/** A list of strategies */
strategies?: StrategySchema[];
/** A list of tags */
tags?: TagSchema[];
/** A list of tag types */
tagTypes?: TagTypeSchema[];
/** The version of the schema used to describe the state */
version: number;
}