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
|
|
|
|
2023-02-24 11:31:37 +01:00
|
|
|
/**
|
|
|
|
* A definition of the project used for projects listing purposes
|
|
|
|
*/
|
2023-01-05 11:57:53 +01:00
|
|
|
export interface ProjectSchema {
|
2023-02-24 11:31:37 +01:00
|
|
|
/** The id of this project */
|
2023-01-05 11:57:53 +01:00
|
|
|
id: string;
|
2023-02-24 11:31:37 +01:00
|
|
|
/** The name of this project */
|
2023-01-05 11:57:53 +01:00
|
|
|
name: string;
|
2023-02-24 11:31:37 +01:00
|
|
|
/** 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;
|
2023-02-24 11:31:37 +01:00
|
|
|
/** The number of features this project has */
|
2023-01-05 11:57:53 +01:00
|
|
|
featureCount?: number;
|
2023-02-24 11:31:37 +01:00
|
|
|
/** The number of members this project has */
|
2023-01-05 11:57:53 +01:00
|
|
|
memberCount?: number;
|
|
|
|
createdAt?: string;
|
|
|
|
updatedAt?: string | null;
|
2023-02-24 11:31:37 +01:00
|
|
|
/** `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
|
|
|
}
|