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' ;
2024-04-26 13:31:15 +02:00
import type { ProjectSchemaOwners } from './projectSchemaOwners' ;
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 {
2024-08-14 16:31:32 +02:00
/ * *
* When this project was archived .
* @nullable
* /
archivedAt? : string | null ;
2024-09-02 14:41:17 +02:00
/ * *
* The average time from when a feature was created to when it was enabled in the "production" environment during the current window
* @deprecated
* /
2024-02-13 14:22:08 +01:00
avgTimeToProduction? : number ;
2023-12-04 20:49:49 +01:00
/** When this project was created. */
createdAt? : string ;
2024-09-02 14:41:17 +02:00
/ * *
* A default stickiness for the project affecting the default stickiness value for variants and Gradual Rollout strategy
* @deprecated
* /
2023-12-04 20:49:49 +01:00
defaultStickiness? : string ;
2024-04-26 13:31:15 +02:00
/ * *
* Additional information about the project
2024-09-02 14:41:17 +02:00
* @deprecated
2024-04-26 13:31:15 +02:00
* @nullable
* /
2023-02-24 11:31:37 +01:00
description? : string | null ;
2023-12-04 20:49:49 +01:00
/** `true` if the project was favorited, otherwise `false`. */
favorite? : boolean ;
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-12-04 20:49:49 +01:00
/** 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 id of this project */
id : string ;
2024-09-02 15:25:28 +02:00
/ * *
* Across all flags in your project this is the last time usage metrics where reported from connected applications .
* @nullable
* /
lastReportedFlagUsage? : string | null ;
/ * *
* When this project was last updated .
* @nullable
* /
lastUpdatedAt? : string | null ;
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 ;
2023-04-07 11:16:00 +02:00
/** The project's [collaboration mode](https://docs.getunleash.io/reference/project-collaboration-mode). Determines whether non-project members can submit change requests or not. */
2023-03-15 13:30:07 +01:00
mode? : ProjectSchemaMode ;
2023-12-04 20:49:49 +01:00
/** The name of this project */
name : string ;
2024-05-08 14:44:27 +02:00
/** The users and/or groups that have the "owner" role in this project. If no such users or groups exist, the list will contain the "system" owner instead. */
2024-04-26 13:31:15 +02:00
owners? : ProjectSchemaOwners ;
2024-09-02 14:41:17 +02:00
/ * *
* The number of potentially stale features this project has
* @deprecated
* /
2024-01-30 10:07:16 +01:00
potentiallyStaleFeatureCount? : number ;
2024-09-02 14:41:17 +02:00
/ * *
* The number of stale features this project has
* @deprecated
* /
2024-01-30 10:07:16 +01:00
staleFeatureCount? : number ;
2024-04-26 13:31:15 +02:00
/ * *
* When this project was last updated .
2024-09-02 14:41:17 +02:00
* @deprecated
2024-04-26 13:31:15 +02:00
* @nullable
* /
2023-12-04 20:49:49 +01:00
updatedAt? : string | null ;
2023-01-05 11:57:53 +01:00
}