1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-07-02 01:17:58 +02:00
unleash.unleash/frontend/src/openapi/models/projectOverviewSchema.ts
2024-04-26 13:31:15 +02:00

58 lines
2.3 KiB
TypeScript

/**
* Generated by Orval
* Do not edit manually.
* See `gen:api` script in package.json
*/
import type { ProjectEnvironmentSchema } from './projectEnvironmentSchema';
import type { CreateFeatureNamingPatternSchema } from './createFeatureNamingPatternSchema';
import type { FeatureTypeCountSchema } from './featureTypeCountSchema';
import type { ProjectOverviewSchemaMode } from './projectOverviewSchemaMode';
import type { ProjectStatsSchema } from './projectStatsSchema';
/**
* A high-level overview of a project. It contains information such as project statistics, the name of the project, what members and what features it contains, etc.
*/
export interface ProjectOverviewSchema {
/**
* When the project was created.
* @nullable
*/
createdAt?: string | null;
/** A default stickiness for the project affecting the default stickiness value for variants and Gradual Rollout strategy */
defaultStickiness?: string;
/**
* Additional information about the project
* @nullable
*/
description?: string | null;
/** The environments that are enabled for this project */
environments?: ProjectEnvironmentSchema[];
/** `true` if the project was favorited, otherwise `false`. */
favorite?: boolean;
/**
* A limit on the number of features allowed in the project. Null if no limit.
* @nullable
*/
featureLimit?: number | null;
featureNaming?: CreateFeatureNamingPatternSchema;
/** The number of features of each type that are in this project */
featureTypeCounts?: FeatureTypeCountSchema[];
/** An indicator of the [project's health](https://docs.getunleash.io/reference/technical-debt#health-rating) on a scale from 0 to 100 */
health?: number;
/** The number of members this project has */
members?: number;
/** The project's [collaboration mode](https://docs.getunleash.io/reference/project-collaboration-mode). Determines whether non-project members can submit change requests or not. */
mode?: ProjectOverviewSchemaMode;
/** The name of this project */
name: string;
/** Project statistics */
stats?: ProjectStatsSchema;
/**
* When the project was last updated.
* @nullable
*/
updatedAt?: string | null;
/** The schema version used to describe the project overview */
version: number;
}