1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-08-13 13:48:59 +02:00

chore: orval update creation trends

This commit is contained in:
kwasniew 2025-07-24 12:18:37 +02:00
parent f9ede12535
commit 43240ddb34
No known key found for this signature in database
GPG Key ID: 43A7CBC24C119560
4 changed files with 39 additions and 0 deletions

View File

@ -894,6 +894,8 @@ export * from './instanceAdminStatsSchemaClientAppsItemRange.js';
export * from './instanceAdminStatsSchemaPreviousDayMetricsBucketsCount.js';
export * from './instanceAdminStatsSchemaProductionChanges.js';
export * from './instanceInsightsSchema.js';
export * from './instanceInsightsSchemaCreationArchiveTrendsItem.js';
export * from './instanceInsightsSchemaCreationArchiveTrendsItemCreatedFlags.js';
export * from './instanceInsightsSchemaEnvironmentTypeTrendsItem.js';
export * from './instanceInsightsSchemaFlagTrendsItem.js';
export * from './instanceInsightsSchemaLifecycleTrendsItem.js';

View File

@ -3,6 +3,7 @@
* Do not edit manually.
* See `gen:api` script in package.json
*/
import type { InstanceInsightsSchemaCreationArchiveTrendsItem } from './instanceInsightsSchemaCreationArchiveTrendsItem.js';
import type { InstanceInsightsSchemaEnvironmentTypeTrendsItem } from './instanceInsightsSchemaEnvironmentTypeTrendsItem.js';
import type { InstanceInsightsSchemaFlagTrendsItem } from './instanceInsightsSchemaFlagTrendsItem.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.
*/
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 */
environmentTypeTrends: InstanceInsightsSchemaEnvironmentTypeTrendsItem[];
/** How number of flags changed over time */

View File

@ -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;
};

View File

@ -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;
};