mirror of
https://github.com/Unleash/unleash.git
synced 2025-08-04 13:48:56 +02:00
chore: orval update creation trends (#10409)
Co-authored-by: sjaanus <sellinjaanus@gmail.com>
This commit is contained in:
parent
f9ede12535
commit
9a768f7bdc
@ -34,6 +34,7 @@ export const useInsights = (
|
|||||||
metricsSummaryTrends: [],
|
metricsSummaryTrends: [],
|
||||||
environmentTypeTrends: [],
|
environmentTypeTrends: [],
|
||||||
lifecycleTrends: [],
|
lifecycleTrends: [],
|
||||||
|
creationArchiveTrends: [],
|
||||||
} as InstanceInsightsSchema),
|
} as InstanceInsightsSchema),
|
||||||
refetchInsights,
|
refetchInsights,
|
||||||
loading: !error && !data,
|
loading: !error && !data,
|
||||||
|
@ -894,6 +894,8 @@ export * from './instanceAdminStatsSchemaClientAppsItemRange.js';
|
|||||||
export * from './instanceAdminStatsSchemaPreviousDayMetricsBucketsCount.js';
|
export * from './instanceAdminStatsSchemaPreviousDayMetricsBucketsCount.js';
|
||||||
export * from './instanceAdminStatsSchemaProductionChanges.js';
|
export * from './instanceAdminStatsSchemaProductionChanges.js';
|
||||||
export * from './instanceInsightsSchema.js';
|
export * from './instanceInsightsSchema.js';
|
||||||
|
export * from './instanceInsightsSchemaCreationArchiveTrendsItem.js';
|
||||||
|
export * from './instanceInsightsSchemaCreationArchiveTrendsItemCreatedFlags.js';
|
||||||
export * from './instanceInsightsSchemaEnvironmentTypeTrendsItem.js';
|
export * from './instanceInsightsSchemaEnvironmentTypeTrendsItem.js';
|
||||||
export * from './instanceInsightsSchemaFlagTrendsItem.js';
|
export * from './instanceInsightsSchemaFlagTrendsItem.js';
|
||||||
export * from './instanceInsightsSchemaLifecycleTrendsItem.js';
|
export * from './instanceInsightsSchemaLifecycleTrendsItem.js';
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* See `gen:api` script in package.json
|
* See `gen:api` script in package.json
|
||||||
*/
|
*/
|
||||||
|
import type { InstanceInsightsSchemaCreationArchiveTrendsItem } from './instanceInsightsSchemaCreationArchiveTrendsItem.js';
|
||||||
import type { InstanceInsightsSchemaEnvironmentTypeTrendsItem } from './instanceInsightsSchemaEnvironmentTypeTrendsItem.js';
|
import type { InstanceInsightsSchemaEnvironmentTypeTrendsItem } from './instanceInsightsSchemaEnvironmentTypeTrendsItem.js';
|
||||||
import type { InstanceInsightsSchemaFlagTrendsItem } from './instanceInsightsSchemaFlagTrendsItem.js';
|
import type { InstanceInsightsSchemaFlagTrendsItem } from './instanceInsightsSchemaFlagTrendsItem.js';
|
||||||
import type { InstanceInsightsSchemaLifecycleTrendsItem } from './instanceInsightsSchemaLifecycleTrendsItem.js';
|
import type { InstanceInsightsSchemaLifecycleTrendsItem } from './instanceInsightsSchemaLifecycleTrendsItem.js';
|
||||||
@ -14,6 +15,8 @@ import type { InstanceInsightsSchemaUserTrendsItem } from './instanceInsightsSch
|
|||||||
* A summary of this Unleash instance's usage statistics, including user and flag counts, and trends over time.
|
* A summary of this Unleash instance's usage statistics, including user and flag counts, and trends over time.
|
||||||
*/
|
*/
|
||||||
export interface InstanceInsightsSchema {
|
export interface InstanceInsightsSchema {
|
||||||
|
/** Weekly count of created vs archived flags by project and flag type */
|
||||||
|
creationArchiveTrends: InstanceInsightsSchemaCreationArchiveTrendsItem[];
|
||||||
/** How updates per environment type changed over time */
|
/** How updates per environment type changed over time */
|
||||||
environmentTypeTrends: InstanceInsightsSchemaEnvironmentTypeTrendsItem[];
|
environmentTypeTrends: InstanceInsightsSchemaEnvironmentTypeTrendsItem[];
|
||||||
/** How number of flags changed over time */
|
/** How number of flags changed over time */
|
||||||
|
@ -0,0 +1,22 @@
|
|||||||
|
/**
|
||||||
|
* Generated by Orval
|
||||||
|
* Do not edit manually.
|
||||||
|
* See `gen:api` script in package.json
|
||||||
|
*/
|
||||||
|
import type { InstanceInsightsSchemaCreationArchiveTrendsItemCreatedFlags } from './instanceInsightsSchemaCreationArchiveTrendsItemCreatedFlags.js';
|
||||||
|
|
||||||
|
export type InstanceInsightsSchemaCreationArchiveTrendsItem = {
|
||||||
|
/**
|
||||||
|
* Total count of archived flags during this week
|
||||||
|
* @minimum 0
|
||||||
|
*/
|
||||||
|
archivedFlags: number;
|
||||||
|
/** Count of newly created flags by flag type */
|
||||||
|
createdFlags: InstanceInsightsSchemaCreationArchiveTrendsItemCreatedFlags;
|
||||||
|
/** A UTC date when the stats were captured. Time is the very end of a given week. */
|
||||||
|
date: string;
|
||||||
|
/** Project id that the flags belong to */
|
||||||
|
project: string;
|
||||||
|
/** Year and week in a given year for which the stats were calculated */
|
||||||
|
week: string;
|
||||||
|
};
|
@ -0,0 +1,12 @@
|
|||||||
|
/**
|
||||||
|
* Generated by Orval
|
||||||
|
* Do not edit manually.
|
||||||
|
* See `gen:api` script in package.json
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Count of newly created flags by flag type
|
||||||
|
*/
|
||||||
|
export type InstanceInsightsSchemaCreationArchiveTrendsItemCreatedFlags = {
|
||||||
|
[key: string]: number;
|
||||||
|
};
|
Loading…
Reference in New Issue
Block a user