1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-06 00:07:44 +01:00
unleash.unleash/frontend/src/openapi/models/projectSchema.ts

34 lines
1.3 KiB
TypeScript
Raw Normal View History

2023-01-05 11:57:53 +01:00
/**
2023-03-15 13:30:07 +01:00
* Generated by Orval
2023-01-05 11:57:53 +01:00
* Do not edit manually.
2023-03-15 13:30:07 +01:00
* See `gen:api` script in package.json
2023-01-05 11:57:53 +01:00
*/
2023-03-15 13:30:07 +01:00
import type { ProjectSchemaMode } from './projectSchemaMode';
2023-03-21 10:10:07 +01:00
import type { ProjectSchemaDefaultStickiness } from './projectSchemaDefaultStickiness';
2023-01-05 11:57:53 +01:00
/**
* A definition of the project used for projects listing purposes
*/
2023-01-05 11:57:53 +01:00
export interface ProjectSchema {
/** The id of this project */
2023-01-05 11:57:53 +01:00
id: string;
/** The name of this project */
2023-01-05 11:57:53 +01:00
name: string;
/** Additional information about the project */
description?: string | null;
/** An indicator of the [project's health](https://docs.getunleash.io/reference/technical-debt#health-rating) on a scale from 0 to 100 */
2023-01-05 11:57:53 +01:00
health?: number;
/** The number of features this project has */
2023-01-05 11:57:53 +01:00
featureCount?: number;
/** The number of members this project has */
2023-01-05 11:57:53 +01:00
memberCount?: number;
createdAt?: string;
updatedAt?: string | null;
/** `true` if the project was favorited, otherwise `false`. */
2023-01-05 11:57:53 +01:00
favorite?: boolean;
2023-03-21 10:10:07 +01:00
/** A mode of the project affecting what actions are possible in this project */
2023-03-15 13:30:07 +01:00
mode?: ProjectSchemaMode;
2023-03-21 10:10:07 +01:00
/** A default stickiness for the project affecting the default stickiness value for variants and Gradual Rollout strategy */
defaultStickiness?: ProjectSchemaDefaultStickiness;
2023-01-05 11:57:53 +01:00
}