1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-10-27 11:02:16 +01:00
unleash.unleash/frontend/src/openapi/models/updateFeatureSchema.ts
Gastón Fournier abe160eb7d
feat: Unleash v7 ESM migration (#9877)
We're migrating to ESM, which will allow us to import the latest
versions of our dependencies.

Co-Authored-By: Christopher Kolstad <chriswk@getunleash.io>
2025-05-14 09:47:12 +02:00

23 lines
857 B
TypeScript

/**
* Generated by Orval
* Do not edit manually.
* See `gen:api` script in package.json
*/
import type { UpdateFeatureSchemaType } from './updateFeatureSchemaType.js';
/**
* Data used for updating a feature flag
*/
export interface UpdateFeatureSchema {
/** If `true` the feature flag will be moved to the [archive](https://docs.getunleash.io/reference/feature-toggles#archive-a-feature-flag) with a property `archivedAt` set to current time */
archived?: boolean;
/** Detailed description of the feature */
description?: string;
/** `true` if the impression data collection is enabled for the feature */
impressionData?: boolean;
/** `true` if the feature is archived */
stale?: boolean;
/** Type of the flag e.g. experiment, kill-switch, release, operational, permission */
type?: UpdateFeatureSchemaType;
}