mirror of
https://github.com/Unleash/unleash.git
synced 2025-07-02 01:17:58 +02:00
Now the left widget will use the same that as the last data point on the right chart. With this change, flags/users object never needs to be passed in. **Next step is to remove the flags/users from the endpoint.** Previous  Now 
27 lines
1.4 KiB
TypeScript
27 lines
1.4 KiB
TypeScript
/**
|
|
* Generated by Orval
|
|
* Do not edit manually.
|
|
* See `gen:api` script in package.json
|
|
*/
|
|
import type { InstanceInsightsSchemaEnvironmentTypeTrendsItem } from './instanceInsightsSchemaEnvironmentTypeTrendsItem';
|
|
import type { InstanceInsightsSchemaFlagTrendsItem } from './instanceInsightsSchemaFlagTrendsItem';
|
|
import type { InstanceInsightsSchemaMetricsSummaryTrendsItem } from './instanceInsightsSchemaMetricsSummaryTrendsItem';
|
|
import type { InstanceInsightsSchemaProjectFlagTrendsItem } from './instanceInsightsSchemaProjectFlagTrendsItem';
|
|
import type { InstanceInsightsSchemaUserTrendsItem } from './instanceInsightsSchemaUserTrendsItem';
|
|
|
|
/**
|
|
* A summary of this Unleash instance's usage statistics, including user and flag counts, and trends over time.
|
|
*/
|
|
export interface InstanceInsightsSchema {
|
|
/** How updates per environment type changed over time */
|
|
environmentTypeTrends: InstanceInsightsSchemaEnvironmentTypeTrendsItem[];
|
|
/** How number of flags changed over time */
|
|
flagTrends: InstanceInsightsSchemaFlagTrendsItem[];
|
|
/** How metrics data per project changed over time */
|
|
metricsSummaryTrends: InstanceInsightsSchemaMetricsSummaryTrendsItem[];
|
|
/** How number of flags per project changed over time */
|
|
projectFlagTrends: InstanceInsightsSchemaProjectFlagTrendsItem[];
|
|
/** How number of users changed over time */
|
|
userTrends: InstanceInsightsSchemaUserTrendsItem[];
|
|
}
|