-
-
Notifications
You must be signed in to change notification settings - Fork 721
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
103 additions
and
0 deletions.
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
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 | ||
*/ | ||
|
||
/** | ||
* A schema representing a single licensed user data point. | ||
*/ | ||
export interface LicensedUserSchema { | ||
/** | ||
* The count of licensed users on the given date. | ||
* @minimum 0 | ||
*/ | ||
count: number; | ||
/** The date associated with the licensed users count. */ | ||
date: string; | ||
} |
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,19 @@ | ||
/** | ||
* Generated by Orval | ||
* Do not edit manually. | ||
* See `gen:api` script in package.json | ||
*/ | ||
import type { LicensedUsersSchemaLicensedUsers } from './licensedUsersSchemaLicensedUsers'; | ||
|
||
/** | ||
* A response model representing user license data. | ||
*/ | ||
export interface LicensedUsersSchema { | ||
/** An object containing historical and current licensed user data. */ | ||
licensedUsers: LicensedUsersSchemaLicensedUsers; | ||
/** | ||
* The total number of licensed seats currently available for this Unleash instance. | ||
* @minimum 0 | ||
*/ | ||
seatCount: number; | ||
} |
19 changes: 19 additions & 0 deletions
19
frontend/src/openapi/models/licensedUsersSchemaLicensedUsers.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,19 @@ | ||
/** | ||
* Generated by Orval | ||
* Do not edit manually. | ||
* See `gen:api` script in package.json | ||
*/ | ||
import type { LicensedUserSchema } from './licensedUserSchema'; | ||
|
||
/** | ||
* An object containing historical and current licensed user data. | ||
*/ | ||
export type LicensedUsersSchemaLicensedUsers = { | ||
/** | ||
* The current number of licenses in use. | ||
* @minimum 0 | ||
*/ | ||
current: number; | ||
/** A monthly history of licensed user counts. */ | ||
history: LicensedUserSchema[]; | ||
}; |
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,16 @@ | ||
/** | ||
* Generated by Orval | ||
* Do not edit manually. | ||
* See `gen:api` script in package.json | ||
*/ | ||
|
||
/** | ||
* Information about the project's health rating | ||
*/ | ||
export type ProjectStatusSchemaHealth = { | ||
/** | ||
* The project's current health score, based on the ratio of healthy flags to stale and potentially stale flags. | ||
* @minimum 0 | ||
*/ | ||
current: number; | ||
}; |
16 changes: 16 additions & 0 deletions
16
frontend/src/openapi/models/projectStatusSchemaStaleFlags.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,16 @@ | ||
/** | ||
* Generated by Orval | ||
* Do not edit manually. | ||
* See `gen:api` script in package.json | ||
*/ | ||
|
||
/** | ||
* Information on stale and potentially stale flags in this project. | ||
*/ | ||
export type ProjectStatusSchemaStaleFlags = { | ||
/** | ||
* The total number of flags in this project that are stale or potentially stale. | ||
* @minimum 0 | ||
*/ | ||
total: number; | ||
}; |
15 changes: 15 additions & 0 deletions
15
frontend/src/openapi/models/releasePlanTemplateIdSchema.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 | ||
*/ | ||
|
||
/** | ||
* Schema for creating a release plan for a feature flag environment by copying and applying the configuration from a release plan template. | ||
*/ | ||
export interface ReleasePlanTemplateIdSchema { | ||
/** | ||
* The release plan template's ID. Release template IDs are ulids. | ||
*/ | ||
templateId: string; | ||
} |