-
-
Notifications
You must be signed in to change notification settings - Fork 731
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Includes updates for: - playground - parent variant - scim - fetaure lifecycle
- Loading branch information
1 parent
f4ef06f
commit 7e91cbe
Showing
16 changed files
with
212 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
13 changes: 13 additions & 0 deletions
13
frontend/src/openapi/models/advancedPlaygroundResponseSchemaWarnings.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,13 @@ | ||
/** | ||
* Generated by Orval | ||
* Do not edit manually. | ||
* See `gen:api` script in package.json | ||
*/ | ||
|
||
/** | ||
* Warnings that occurred during evaluation. | ||
*/ | ||
export type AdvancedPlaygroundResponseSchemaWarnings = { | ||
/** A list of top-level context properties that were provided as input that are not valid due to being the wrong type. */ | ||
invalidContextProperties?: 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,11 @@ | ||
/** | ||
* Generated by Orval | ||
* Do not edit manually. | ||
* See `gen:api` script in package.json | ||
*/ | ||
import type { FeatureLifecycleSchemaItem } from './featureLifecycleSchemaItem'; | ||
|
||
/** | ||
* A list of lifecycle stages for a given feature | ||
*/ | ||
export type FeatureLifecycleSchema = FeatureLifecycleSchemaItem[]; |
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 | ||
*/ | ||
import type { FeatureLifecycleSchemaItemStage } from './featureLifecycleSchemaItemStage'; | ||
|
||
/** | ||
* The lifecycle stage of the feature | ||
*/ | ||
export type FeatureLifecycleSchemaItem = { | ||
/** The date when the feature entered a given stage */ | ||
enteredStageAt: string; | ||
/** The name of the lifecycle stage that got recorded for a given feature */ | ||
stage: FeatureLifecycleSchemaItemStage; | ||
}; |
20 changes: 20 additions & 0 deletions
20
frontend/src/openapi/models/featureLifecycleSchemaItemStage.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,20 @@ | ||
/** | ||
* Generated by Orval | ||
* Do not edit manually. | ||
* See `gen:api` script in package.json | ||
*/ | ||
|
||
/** | ||
* The name of the lifecycle stage that got recorded for a given feature | ||
*/ | ||
export type FeatureLifecycleSchemaItemStage = | ||
(typeof FeatureLifecycleSchemaItemStage)[keyof typeof FeatureLifecycleSchemaItemStage]; | ||
|
||
// eslint-disable-next-line @typescript-eslint/no-redeclare | ||
export const FeatureLifecycleSchemaItemStage = { | ||
initial: 'initial', | ||
'pre-live': 'pre-live', | ||
live: 'live', | ||
completed: 'completed', | ||
archived: 'archived', | ||
} as const; |
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,14 @@ | ||
/** | ||
* Generated by Orval | ||
* Do not edit manually. | ||
* See `gen:api` script in package.json | ||
*/ | ||
|
||
export type GetFeatureLifecycle401 = { | ||
/** The ID of the error instance */ | ||
id?: string; | ||
/** A description of what went wrong. */ | ||
message?: string; | ||
/** The name of the error kind */ | ||
name?: 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,14 @@ | ||
/** | ||
* Generated by Orval | ||
* Do not edit manually. | ||
* See `gen:api` script in package.json | ||
*/ | ||
|
||
export type GetFeatureLifecycle403 = { | ||
/** The ID of the error instance */ | ||
id?: string; | ||
/** A description of what went wrong. */ | ||
message?: string; | ||
/** The name of the error kind */ | ||
name?: 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,14 @@ | ||
/** | ||
* Generated by Orval | ||
* Do not edit manually. | ||
* See `gen:api` script in package.json | ||
*/ | ||
|
||
export type GetFeatureLifecycle404 = { | ||
/** The ID of the error instance */ | ||
id?: string; | ||
/** A description of what went wrong. */ | ||
message?: string; | ||
/** The name of the error kind */ | ||
name?: 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
14 changes: 14 additions & 0 deletions
14
frontend/src/openapi/models/listParentVariantOptions401.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,14 @@ | ||
/** | ||
* Generated by Orval | ||
* Do not edit manually. | ||
* See `gen:api` script in package.json | ||
*/ | ||
|
||
export type ListParentVariantOptions401 = { | ||
/** The ID of the error instance */ | ||
id?: string; | ||
/** A description of what went wrong. */ | ||
message?: string; | ||
/** The name of the error kind */ | ||
name?: string; | ||
}; |
14 changes: 14 additions & 0 deletions
14
frontend/src/openapi/models/listParentVariantOptions403.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,14 @@ | ||
/** | ||
* Generated by Orval | ||
* Do not edit manually. | ||
* See `gen:api` script in package.json | ||
*/ | ||
|
||
export type ListParentVariantOptions403 = { | ||
/** The ID of the error instance */ | ||
id?: string; | ||
/** A description of what went wrong. */ | ||
message?: string; | ||
/** The name of the error kind */ | ||
name?: string; | ||
}; |
14 changes: 14 additions & 0 deletions
14
frontend/src/openapi/models/listParentVariantOptions404.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,14 @@ | ||
/** | ||
* Generated by Orval | ||
* Do not edit manually. | ||
* See `gen:api` script in package.json | ||
*/ | ||
|
||
export type ListParentVariantOptions404 = { | ||
/** The ID of the error instance */ | ||
id?: string; | ||
/** A description of what went wrong. */ | ||
message?: string; | ||
/** The name of the error kind */ | ||
name?: 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,10 @@ | ||
/** | ||
* Generated by Orval | ||
* Do not edit manually. | ||
* See `gen:api` script in package.json | ||
*/ | ||
|
||
/** | ||
* A list of parent variant names available for a given parent feature. This list includes strategy variants and feature environment variants. | ||
*/ | ||
export type ParentVariantOptionsSchema = 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,15 @@ | ||
/** | ||
* Generated by Orval | ||
* Do not edit manually. | ||
* See `gen:api` script in package.json | ||
*/ | ||
|
||
/** | ||
* An object describing settings for SCIM provisioning. | ||
*/ | ||
export interface ScimSettingsSchema { | ||
/** Whether SCIM provisioning is currently enabled. */ | ||
enabled: boolean; | ||
/** Whether a SCIM provisioning API token is currently set. */ | ||
hasToken: boolean; | ||
} |
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,13 @@ | ||
/** | ||
* Generated by Orval | ||
* Do not edit manually. | ||
* See `gen:api` script in package.json | ||
*/ | ||
|
||
/** | ||
* An object describing a SCIM provisioning API token. | ||
*/ | ||
export interface ScimTokenSchema { | ||
/** The token used for SCIM API authentication. Can be revoked at a later stage by generating a new one. */ | ||
token: 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,13 @@ | ||
/** | ||
* Generated by Orval | ||
* Do not edit manually. | ||
* See `gen:api` script in package.json | ||
*/ | ||
|
||
/** | ||
* An object describing settings for SCIM provisioning. | ||
*/ | ||
export interface SetScimSettingsSchema { | ||
/** Whether SCIM provisioning is currently enabled. */ | ||
enabled: boolean; | ||
} |