1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-10-13 11:17:26 +02:00
unleash.unleash/frontend/src/openapi/models/exportResultSchema.ts
Tymoteusz Czech 553ffc62b7
fix: orval for ESM (#10086)
updated Orval and configured it to be compatible with v7.

---------

Co-authored-by: Thomas Heartman <thomas@getunleash.io>
2025-06-05 10:40:58 +00:00

39 lines
2.2 KiB
TypeScript

/**
* Generated by Orval
* Do not edit manually.
* See `gen:api` script in package.json
*/
import type { ContextFieldSchema } from './contextFieldSchema.js';
import type { FeatureDependenciesSchema } from './featureDependenciesSchema.js';
import type { FeatureEnvironmentSchema } from './featureEnvironmentSchema.js';
import type { FeatureSchema } from './featureSchema.js';
import type { FeatureStrategySchema } from './featureStrategySchema.js';
import type { FeatureTagSchema } from './featureTagSchema.js';
import type { FeatureLinksSchema } from './featureLinksSchema.js';
import type { ExportResultSchemaSegmentsItem } from './exportResultSchemaSegmentsItem.js';
import type { TagTypeSchema } from './tagTypeSchema.js';
/**
* The result of the export operation, providing you with the feature flag definitions, strategy definitions and the rest of the elements relevant to the features (tags, environments etc.)
*/
export interface ExportResultSchema {
/** A list of all the context fields that are in use by any of the strategies in the `featureStrategies` list. */
contextFields?: ContextFieldSchema[];
/** A list of all the dependencies for features in `features` list. */
dependencies?: FeatureDependenciesSchema[];
/** Environment-specific configuration for all the features in the `features` list. Includes data such as whether the feature is enabled in the selected export environment, whether there are any variants assigned, etc. */
featureEnvironments?: FeatureEnvironmentSchema[];
/** All the exported features. */
features: FeatureSchema[];
/** All strategy instances that are used by the exported features in the `features` list. */
featureStrategies: FeatureStrategySchema[];
/** A list of all the tags that have been applied to any of the features in the `features` list. */
featureTags?: FeatureTagSchema[];
/** A list of links for features in `features` list. */
links?: FeatureLinksSchema[];
/** A list of all the segments that are used by the strategies in the `featureStrategies` list. */
segments?: ExportResultSchemaSegmentsItem[];
/** A list of all of the tag types that are used in the `featureTags` list. */
tagTypes: TagTypeSchema[];
}