mirror of
https://github.com/Unleash/unleash.git
synced 2025-07-07 01:16:28 +02:00
28 lines
702 B
TypeScript
28 lines
702 B
TypeScript
/**
|
|
* Generated by Orval
|
|
* Do not edit manually.
|
|
* See `gen:api` script in package.json
|
|
*/
|
|
import type { EventSchema } from './eventSchema';
|
|
import type { FeatureEventsSchemaVersion } from './featureEventsSchemaVersion';
|
|
|
|
/**
|
|
* One or more events happening to a specific feature flag
|
|
*/
|
|
export interface FeatureEventsSchema {
|
|
/** The list of events */
|
|
events: EventSchema[];
|
|
/** The name of the feature flag these events relate to */
|
|
toggleName?: string;
|
|
/**
|
|
* How many events are there for this feature flag
|
|
* @minimum 0
|
|
*/
|
|
totalEvents?: number;
|
|
/**
|
|
* An API versioning number
|
|
* @minimum 1
|
|
*/
|
|
version?: FeatureEventsSchemaVersion;
|
|
}
|