-
-
Notifications
You must be signed in to change notification settings - Fork 735
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update orval for project status lifecycle (#8716)
Update schema and orval for project status to add lifecycle information
- Loading branch information
1 parent
11d2645
commit 24a30e5
Showing
11 changed files
with
172 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
frontend/src/openapi/models/projectStatusSchemaLifecycleSummary.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
/** | ||
* Generated by Orval | ||
* Do not edit manually. | ||
* See `gen:api` script in package.json | ||
*/ | ||
import type { ProjectStatusSchemaLifecycleSummaryArchived } from './projectStatusSchemaLifecycleSummaryArchived'; | ||
import type { ProjectStatusSchemaLifecycleSummaryCompleted } from './projectStatusSchemaLifecycleSummaryCompleted'; | ||
import type { ProjectStatusSchemaLifecycleSummaryInitial } from './projectStatusSchemaLifecycleSummaryInitial'; | ||
import type { ProjectStatusSchemaLifecycleSummaryLive } from './projectStatusSchemaLifecycleSummaryLive'; | ||
import type { ProjectStatusSchemaLifecycleSummaryPreLive } from './projectStatusSchemaLifecycleSummaryPreLive'; | ||
|
||
/** | ||
* Feature flag lifecycle statistics for this project. | ||
*/ | ||
export type ProjectStatusSchemaLifecycleSummary = { | ||
/** Information on archived flags in this project. */ | ||
archived: ProjectStatusSchemaLifecycleSummaryArchived; | ||
/** Statistics on feature flags in a given stage in this project. */ | ||
completed: ProjectStatusSchemaLifecycleSummaryCompleted; | ||
/** Statistics on feature flags in a given stage in this project. */ | ||
initial: ProjectStatusSchemaLifecycleSummaryInitial; | ||
/** Statistics on feature flags in a given stage in this project. */ | ||
live: ProjectStatusSchemaLifecycleSummaryLive; | ||
/** Statistics on feature flags in a given stage in this project. */ | ||
preLive: ProjectStatusSchemaLifecycleSummaryPreLive; | ||
}; |
15 changes: 15 additions & 0 deletions
15
frontend/src/openapi/models/projectStatusSchemaLifecycleSummaryArchived.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/** | ||
* Generated by Orval | ||
* Do not edit manually. | ||
* See `gen:api` script in package.json | ||
*/ | ||
|
||
/** | ||
* Information on archived flags in this project. | ||
*/ | ||
export type ProjectStatusSchemaLifecycleSummaryArchived = { | ||
/** The number of archived feature flags in this project. If a flag is deleted permanently, it will no longer be counted as part of this statistic. */ | ||
currentFlags: number; | ||
/** The number of flags in this project that have been changed over the last 30 days. */ | ||
last30Days: number; | ||
}; |
18 changes: 18 additions & 0 deletions
18
frontend/src/openapi/models/projectStatusSchemaLifecycleSummaryCompleted.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/** | ||
* Generated by Orval | ||
* Do not edit manually. | ||
* See `gen:api` script in package.json | ||
*/ | ||
|
||
/** | ||
* Statistics on feature flags in a given stage in this project. | ||
*/ | ||
export type ProjectStatusSchemaLifecycleSummaryCompleted = { | ||
/** | ||
* The average number of days a feature flag remains in a stage in this project. Will be null if Unleash doesn't have any data for this stage yet. | ||
* @nullable | ||
*/ | ||
averageDays: number | null; | ||
/** The number of feature flags currently in a stage in this project. */ | ||
currentFlags: number; | ||
}; |
18 changes: 18 additions & 0 deletions
18
frontend/src/openapi/models/projectStatusSchemaLifecycleSummaryInitial.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/** | ||
* Generated by Orval | ||
* Do not edit manually. | ||
* See `gen:api` script in package.json | ||
*/ | ||
|
||
/** | ||
* Statistics on feature flags in a given stage in this project. | ||
*/ | ||
export type ProjectStatusSchemaLifecycleSummaryInitial = { | ||
/** | ||
* The average number of days a feature flag remains in a stage in this project. Will be null if Unleash doesn't have any data for this stage yet. | ||
* @nullable | ||
*/ | ||
averageDays: number | null; | ||
/** The number of feature flags currently in a stage in this project. */ | ||
currentFlags: number; | ||
}; |
18 changes: 18 additions & 0 deletions
18
frontend/src/openapi/models/projectStatusSchemaLifecycleSummaryLive.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/** | ||
* Generated by Orval | ||
* Do not edit manually. | ||
* See `gen:api` script in package.json | ||
*/ | ||
|
||
/** | ||
* Statistics on feature flags in a given stage in this project. | ||
*/ | ||
export type ProjectStatusSchemaLifecycleSummaryLive = { | ||
/** | ||
* The average number of days a feature flag remains in a stage in this project. Will be null if Unleash doesn't have any data for this stage yet. | ||
* @nullable | ||
*/ | ||
averageDays: number | null; | ||
/** The number of feature flags currently in a stage in this project. */ | ||
currentFlags: number; | ||
}; |
18 changes: 18 additions & 0 deletions
18
frontend/src/openapi/models/projectStatusSchemaLifecycleSummaryPreLive.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/** | ||
* Generated by Orval | ||
* Do not edit manually. | ||
* See `gen:api` script in package.json | ||
*/ | ||
|
||
/** | ||
* Statistics on feature flags in a given stage in this project. | ||
*/ | ||
export type ProjectStatusSchemaLifecycleSummaryPreLive = { | ||
/** | ||
* The average number of days a feature flag remains in a stage in this project. Will be null if Unleash doesn't have any data for this stage yet. | ||
* @nullable | ||
*/ | ||
averageDays: number | null; | ||
/** The number of feature flags currently in a stage in this project. */ | ||
currentFlags: number; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters