1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-25 00:07:47 +01:00

feat: orval types with change request for dependencies (#4961)

This commit is contained in:
Mateusz Kwasniewski 2023-10-09 11:52:41 +02:00 committed by GitHub
parent d896dbd0c7
commit 6b29b6c317
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
29 changed files with 320 additions and 58 deletions

View File

@ -10,6 +10,8 @@ import type { ChangeRequestCreateFeatureSchemaOneOfEight } from './changeRequest
import type { ChangeRequestCreateFeatureSchemaOneOfOneone } from './changeRequestCreateFeatureSchemaOneOfOneone'; import type { ChangeRequestCreateFeatureSchemaOneOfOneone } from './changeRequestCreateFeatureSchemaOneOfOneone';
import type { ChangeRequestCreateFeatureSchemaOneOfOnethree } from './changeRequestCreateFeatureSchemaOneOfOnethree'; import type { ChangeRequestCreateFeatureSchemaOneOfOnethree } from './changeRequestCreateFeatureSchemaOneOfOnethree';
import type { ChangeRequestCreateFeatureSchemaOneOfOnesix } from './changeRequestCreateFeatureSchemaOneOfOnesix'; import type { ChangeRequestCreateFeatureSchemaOneOfOnesix } from './changeRequestCreateFeatureSchemaOneOfOnesix';
import type { ChangeRequestCreateFeatureSchemaOneOfOneeight } from './changeRequestCreateFeatureSchemaOneOfOneeight';
import type { ChangeRequestCreateFeatureSchemaOneOfTwozero } from './changeRequestCreateFeatureSchemaOneOfTwozero';
/** /**
* Data used to create a [change request](https://docs.getunleash.io/reference/change-requests) for a single feature change. * Data used to create a [change request](https://docs.getunleash.io/reference/change-requests) for a single feature change.
@ -21,4 +23,6 @@ export type ChangeRequestCreateFeatureSchema =
| ChangeRequestCreateFeatureSchemaOneOfEight | ChangeRequestCreateFeatureSchemaOneOfEight
| ChangeRequestCreateFeatureSchemaOneOfOneone | ChangeRequestCreateFeatureSchemaOneOfOneone
| ChangeRequestCreateFeatureSchemaOneOfOnethree | ChangeRequestCreateFeatureSchemaOneOfOnethree
| ChangeRequestCreateFeatureSchemaOneOfOnesix; | ChangeRequestCreateFeatureSchemaOneOfOnesix
| ChangeRequestCreateFeatureSchemaOneOfOneeight
| ChangeRequestCreateFeatureSchemaOneOfTwozero;

View File

@ -0,0 +1,18 @@
/**
* Generated by Orval
* Do not edit manually.
* See `gen:api` script in package.json
*/
import type { ChangeRequestCreateFeatureSchemaOneOfOneeightAction } from './changeRequestCreateFeatureSchemaOneOfOneeightAction';
import type { CreateDependentFeatureSchema } from './createDependentFeatureSchema';
/**
* Add a parent feature dependency.
*/
export type ChangeRequestCreateFeatureSchemaOneOfOneeight = {
/** The name of the feature that this change applies to. */
feature: string;
/** The name of this action. */
action: ChangeRequestCreateFeatureSchemaOneOfOneeightAction;
payload: CreateDependentFeatureSchema;
};

View File

@ -0,0 +1,16 @@
/**
* Generated by Orval
* Do not edit manually.
* See `gen:api` script in package.json
*/
/**
* The name of this action.
*/
export type ChangeRequestCreateFeatureSchemaOneOfOneeightAction =
typeof ChangeRequestCreateFeatureSchemaOneOfOneeightAction[keyof typeof ChangeRequestCreateFeatureSchemaOneOfOneeightAction];
// eslint-disable-next-line @typescript-eslint/no-redeclare
export const ChangeRequestCreateFeatureSchemaOneOfOneeightAction = {
addDependency: 'addDependency',
} as const;

View File

@ -0,0 +1,18 @@
/**
* Generated by Orval
* Do not edit manually.
* See `gen:api` script in package.json
*/
import type { ChangeRequestCreateFeatureSchemaOneOfTwozeroAction } from './changeRequestCreateFeatureSchemaOneOfTwozeroAction';
import type { ChangeRequestCreateFeatureSchemaOneOfTwozeroPayload } from './changeRequestCreateFeatureSchemaOneOfTwozeroPayload';
/**
* Remove a parent feature dependency.
*/
export type ChangeRequestCreateFeatureSchemaOneOfTwozero = {
/** The name of the feature that this change applies to. */
feature: string;
/** The name of this action. */
action: ChangeRequestCreateFeatureSchemaOneOfTwozeroAction;
payload: ChangeRequestCreateFeatureSchemaOneOfTwozeroPayload;
};

View File

@ -0,0 +1,16 @@
/**
* Generated by Orval
* Do not edit manually.
* See `gen:api` script in package.json
*/
/**
* The name of this action.
*/
export type ChangeRequestCreateFeatureSchemaOneOfTwozeroAction =
typeof ChangeRequestCreateFeatureSchemaOneOfTwozeroAction[keyof typeof ChangeRequestCreateFeatureSchemaOneOfTwozeroAction];
// eslint-disable-next-line @typescript-eslint/no-redeclare
export const ChangeRequestCreateFeatureSchemaOneOfTwozeroAction = {
deleteDependency: 'deleteDependency',
} as const;

View File

@ -0,0 +1,10 @@
/**
* Generated by Orval
* Do not edit manually.
* See `gen:api` script in package.json
*/
export type ChangeRequestCreateFeatureSchemaOneOfTwozeroPayload = {
/** The name of the feature we want to remove dependency on. */
feature: string;
};

View File

@ -12,6 +12,8 @@ import type { ChangeRequestCreateSchemaOneOfOnethree } from './changeRequestCrea
import type { ChangeRequestCreateSchemaOneOfOnesix } from './changeRequestCreateSchemaOneOfOnesix'; import type { ChangeRequestCreateSchemaOneOfOnesix } from './changeRequestCreateSchemaOneOfOnesix';
import type { ChangeRequestCreateSchemaOneOfOneeight } from './changeRequestCreateSchemaOneOfOneeight'; import type { ChangeRequestCreateSchemaOneOfOneeight } from './changeRequestCreateSchemaOneOfOneeight';
import type { ChangeRequestCreateSchemaOneOfTwoone } from './changeRequestCreateSchemaOneOfTwoone'; import type { ChangeRequestCreateSchemaOneOfTwoone } from './changeRequestCreateSchemaOneOfTwoone';
import type { ChangeRequestCreateSchemaOneOfTwothree } from './changeRequestCreateSchemaOneOfTwothree';
import type { ChangeRequestCreateSchemaOneOfTwofive } from './changeRequestCreateSchemaOneOfTwofive';
/** /**
* Data used to create a [change request](https://docs.getunleash.io/reference/change-requests) for a single feature or segment change. * Data used to create a [change request](https://docs.getunleash.io/reference/change-requests) for a single feature or segment change.
@ -25,4 +27,6 @@ export type ChangeRequestCreateSchema =
| ChangeRequestCreateSchemaOneOfOnethree | ChangeRequestCreateSchemaOneOfOnethree
| ChangeRequestCreateSchemaOneOfOnesix | ChangeRequestCreateSchemaOneOfOnesix
| ChangeRequestCreateSchemaOneOfOneeight | ChangeRequestCreateSchemaOneOfOneeight
| ChangeRequestCreateSchemaOneOfTwoone; | ChangeRequestCreateSchemaOneOfTwoone
| ChangeRequestCreateSchemaOneOfTwothree
| ChangeRequestCreateSchemaOneOfTwofive;

View File

@ -0,0 +1,18 @@
/**
* Generated by Orval
* Do not edit manually.
* See `gen:api` script in package.json
*/
import type { ChangeRequestCreateSchemaOneOfTwofiveAction } from './changeRequestCreateSchemaOneOfTwofiveAction';
import type { ChangeRequestCreateSchemaOneOfTwofivePayload } from './changeRequestCreateSchemaOneOfTwofivePayload';
/**
* Remove a parent feature dependency.
*/
export type ChangeRequestCreateSchemaOneOfTwofive = {
/** The name of the feature that this change applies to. */
feature: string;
/** The name of this action. */
action: ChangeRequestCreateSchemaOneOfTwofiveAction;
payload: ChangeRequestCreateSchemaOneOfTwofivePayload;
};

View File

@ -0,0 +1,16 @@
/**
* Generated by Orval
* Do not edit manually.
* See `gen:api` script in package.json
*/
/**
* The name of this action.
*/
export type ChangeRequestCreateSchemaOneOfTwofiveAction =
typeof ChangeRequestCreateSchemaOneOfTwofiveAction[keyof typeof ChangeRequestCreateSchemaOneOfTwofiveAction];
// eslint-disable-next-line @typescript-eslint/no-redeclare
export const ChangeRequestCreateSchemaOneOfTwofiveAction = {
deleteDependency: 'deleteDependency',
} as const;

View File

@ -0,0 +1,10 @@
/**
* Generated by Orval
* Do not edit manually.
* See `gen:api` script in package.json
*/
export type ChangeRequestCreateSchemaOneOfTwofivePayload = {
/** The name of the feature we want to remove dependency on. */
feature: string;
};

View File

@ -0,0 +1,18 @@
/**
* Generated by Orval
* Do not edit manually.
* See `gen:api` script in package.json
*/
import type { ChangeRequestCreateSchemaOneOfTwothreeAction } from './changeRequestCreateSchemaOneOfTwothreeAction';
import type { CreateDependentFeatureSchema } from './createDependentFeatureSchema';
/**
* Add a parent feature dependency.
*/
export type ChangeRequestCreateSchemaOneOfTwothree = {
/** The name of the feature that this change applies to. */
feature: string;
/** The name of this action. */
action: ChangeRequestCreateSchemaOneOfTwothreeAction;
payload: CreateDependentFeatureSchema;
};

View File

@ -0,0 +1,16 @@
/**
* Generated by Orval
* Do not edit manually.
* See `gen:api` script in package.json
*/
/**
* The name of this action.
*/
export type ChangeRequestCreateSchemaOneOfTwothreeAction =
typeof ChangeRequestCreateSchemaOneOfTwothreeAction[keyof typeof ChangeRequestCreateSchemaOneOfTwothreeAction];
// eslint-disable-next-line @typescript-eslint/no-redeclare
export const ChangeRequestCreateSchemaOneOfTwothreeAction = {
addDependency: 'addDependency',
} as const;

View File

@ -12,6 +12,8 @@ import type { ChangeRequestOneOrManyCreateSchemaOneOfOnethree } from './changeRe
import type { ChangeRequestOneOrManyCreateSchemaOneOfOnesix } from './changeRequestOneOrManyCreateSchemaOneOfOnesix'; import type { ChangeRequestOneOrManyCreateSchemaOneOfOnesix } from './changeRequestOneOrManyCreateSchemaOneOfOnesix';
import type { ChangeRequestOneOrManyCreateSchemaOneOfOneeight } from './changeRequestOneOrManyCreateSchemaOneOfOneeight'; import type { ChangeRequestOneOrManyCreateSchemaOneOfOneeight } from './changeRequestOneOrManyCreateSchemaOneOfOneeight';
import type { ChangeRequestOneOrManyCreateSchemaOneOfTwoone } from './changeRequestOneOrManyCreateSchemaOneOfTwoone'; import type { ChangeRequestOneOrManyCreateSchemaOneOfTwoone } from './changeRequestOneOrManyCreateSchemaOneOfTwoone';
import type { ChangeRequestOneOrManyCreateSchemaOneOfTwothree } from './changeRequestOneOrManyCreateSchemaOneOfTwothree';
import type { ChangeRequestOneOrManyCreateSchemaOneOfTwofive } from './changeRequestOneOrManyCreateSchemaOneOfTwofive';
import type { ChangeRequestCreateSchema } from './changeRequestCreateSchema'; import type { ChangeRequestCreateSchema } from './changeRequestCreateSchema';
/** /**
@ -27,4 +29,6 @@ export type ChangeRequestOneOrManyCreateSchema =
| ChangeRequestOneOrManyCreateSchemaOneOfOnesix | ChangeRequestOneOrManyCreateSchemaOneOfOnesix
| ChangeRequestOneOrManyCreateSchemaOneOfOneeight | ChangeRequestOneOrManyCreateSchemaOneOfOneeight
| ChangeRequestOneOrManyCreateSchemaOneOfTwoone | ChangeRequestOneOrManyCreateSchemaOneOfTwoone
| ChangeRequestOneOrManyCreateSchemaOneOfTwothree
| ChangeRequestOneOrManyCreateSchemaOneOfTwofive
| ChangeRequestCreateSchema[]; | ChangeRequestCreateSchema[];

View File

@ -0,0 +1,18 @@
/**
* Generated by Orval
* Do not edit manually.
* See `gen:api` script in package.json
*/
import type { ChangeRequestOneOrManyCreateSchemaOneOfTwofiveAction } from './changeRequestOneOrManyCreateSchemaOneOfTwofiveAction';
import type { ChangeRequestOneOrManyCreateSchemaOneOfTwofivePayload } from './changeRequestOneOrManyCreateSchemaOneOfTwofivePayload';
/**
* Remove a parent feature dependency.
*/
export type ChangeRequestOneOrManyCreateSchemaOneOfTwofive = {
/** The name of the feature that this change applies to. */
feature: string;
/** The name of this action. */
action: ChangeRequestOneOrManyCreateSchemaOneOfTwofiveAction;
payload: ChangeRequestOneOrManyCreateSchemaOneOfTwofivePayload;
};

View File

@ -0,0 +1,16 @@
/**
* Generated by Orval
* Do not edit manually.
* See `gen:api` script in package.json
*/
/**
* The name of this action.
*/
export type ChangeRequestOneOrManyCreateSchemaOneOfTwofiveAction =
typeof ChangeRequestOneOrManyCreateSchemaOneOfTwofiveAction[keyof typeof ChangeRequestOneOrManyCreateSchemaOneOfTwofiveAction];
// eslint-disable-next-line @typescript-eslint/no-redeclare
export const ChangeRequestOneOrManyCreateSchemaOneOfTwofiveAction = {
deleteDependency: 'deleteDependency',
} as const;

View File

@ -0,0 +1,10 @@
/**
* Generated by Orval
* Do not edit manually.
* See `gen:api` script in package.json
*/
export type ChangeRequestOneOrManyCreateSchemaOneOfTwofivePayload = {
/** The name of the feature we want to remove dependency on. */
feature: string;
};

View File

@ -0,0 +1,18 @@
/**
* Generated by Orval
* Do not edit manually.
* See `gen:api` script in package.json
*/
import type { ChangeRequestOneOrManyCreateSchemaOneOfTwothreeAction } from './changeRequestOneOrManyCreateSchemaOneOfTwothreeAction';
import type { CreateDependentFeatureSchema } from './createDependentFeatureSchema';
/**
* Add a parent feature dependency.
*/
export type ChangeRequestOneOrManyCreateSchemaOneOfTwothree = {
/** The name of the feature that this change applies to. */
feature: string;
/** The name of this action. */
action: ChangeRequestOneOrManyCreateSchemaOneOfTwothreeAction;
payload: CreateDependentFeatureSchema;
};

View File

@ -0,0 +1,16 @@
/**
* Generated by Orval
* Do not edit manually.
* See `gen:api` script in package.json
*/
/**
* The name of this action.
*/
export type ChangeRequestOneOrManyCreateSchemaOneOfTwothreeAction =
typeof ChangeRequestOneOrManyCreateSchemaOneOfTwothreeAction[keyof typeof ChangeRequestOneOrManyCreateSchemaOneOfTwothreeAction];
// eslint-disable-next-line @typescript-eslint/no-redeclare
export const ChangeRequestOneOrManyCreateSchemaOneOfTwothreeAction = {
addDependency: 'addDependency',
} as const;

View File

@ -3,12 +3,12 @@
* Do not edit manually. * Do not edit manually.
* See `gen:api` script in package.json * See `gen:api` script in package.json
*/ */
import type { CreateRoleWithPermissionsSchemaOneOf } from './createRoleWithPermissionsSchemaOneOf'; import type { CreateRoleWithPermissionsSchemaAnyOf } from './createRoleWithPermissionsSchemaAnyOf';
import type { CreateRoleWithPermissionsSchemaOneOfFour } from './createRoleWithPermissionsSchemaOneOfFour'; import type { CreateRoleWithPermissionsSchemaAnyOfFour } from './createRoleWithPermissionsSchemaAnyOfFour';
/** /**
* A write model for the custom role and permissions to allow Unleash to decide what actions a role holder is allowed to perform * A write model for the custom role and permissions to allow Unleash to decide what actions a role holder is allowed to perform
*/ */
export type CreateRoleWithPermissionsSchema = export type CreateRoleWithPermissionsSchema =
| CreateRoleWithPermissionsSchemaOneOf | CreateRoleWithPermissionsSchemaAnyOf
| CreateRoleWithPermissionsSchemaOneOfFour; | CreateRoleWithPermissionsSchemaAnyOfFour;

View File

@ -0,0 +1,18 @@
/**
* Generated by Orval
* Do not edit manually.
* See `gen:api` script in package.json
*/
import type { CreateRoleWithPermissionsSchemaAnyOfType } from './createRoleWithPermissionsSchemaAnyOfType';
import type { CreateRoleWithPermissionsSchemaAnyOfPermissionsItem } from './createRoleWithPermissionsSchemaAnyOfPermissionsItem';
export type CreateRoleWithPermissionsSchemaAnyOf = {
/** The name of the custom role */
name: string;
/** A more detailed description of the custom role and what use it's intended for */
description?: string;
/** [Custom root roles](https://docs.getunleash.io/reference/rbac#custom-root-roles) (type=root-custom) are root roles with a custom set of permissions. [Custom project roles](https://docs.getunleash.io/reference/rbac#custom-project-roles) (type=custom) contain a specific set of permissions for project resources. */
type?: CreateRoleWithPermissionsSchemaAnyOfType;
/** A list of permissions assigned to this role */
permissions?: CreateRoleWithPermissionsSchemaAnyOfPermissionsItem[];
};

View File

@ -3,16 +3,16 @@
* Do not edit manually. * Do not edit manually.
* See `gen:api` script in package.json * See `gen:api` script in package.json
*/ */
import type { CreateRoleWithPermissionsSchemaOneOfFourType } from './createRoleWithPermissionsSchemaOneOfFourType'; import type { CreateRoleWithPermissionsSchemaAnyOfFourType } from './createRoleWithPermissionsSchemaAnyOfFourType';
import type { CreateRoleWithPermissionsSchemaOneOfFourPermissionsItem } from './createRoleWithPermissionsSchemaOneOfFourPermissionsItem'; import type { CreateRoleWithPermissionsSchemaAnyOfFourPermissionsItem } from './createRoleWithPermissionsSchemaAnyOfFourPermissionsItem';
export type CreateRoleWithPermissionsSchemaOneOfFour = { export type CreateRoleWithPermissionsSchemaAnyOfFour = {
/** The name of the custom role */ /** The name of the custom role */
name: string; name: string;
/** A more detailed description of the custom role and what use it's intended for */ /** A more detailed description of the custom role and what use it's intended for */
description?: string; description?: string;
/** [Custom project roles](https://docs.getunleash.io/reference/rbac#custom-project-roles) contain a specific set of permissions for project resources. */ /** [Custom project roles](https://docs.getunleash.io/reference/rbac#custom-project-roles) contain a specific set of permissions for project resources. */
type?: CreateRoleWithPermissionsSchemaOneOfFourType; type?: CreateRoleWithPermissionsSchemaAnyOfFourType;
/** A list of permissions assigned to this role */ /** A list of permissions assigned to this role */
permissions?: CreateRoleWithPermissionsSchemaOneOfFourPermissionsItem[]; permissions?: CreateRoleWithPermissionsSchemaAnyOfFourPermissionsItem[];
}; };

View File

@ -4,7 +4,7 @@
* See `gen:api` script in package.json * See `gen:api` script in package.json
*/ */
export type CreateRoleWithPermissionsSchemaOneOfFourPermissionsItem = { export type CreateRoleWithPermissionsSchemaAnyOfFourPermissionsItem = {
/** The id of the permission */ /** The id of the permission */
id: number; id: number;
/** The name of the permission */ /** The name of the permission */

View File

@ -7,10 +7,10 @@
/** /**
* [Custom project roles](https://docs.getunleash.io/reference/rbac#custom-project-roles) contain a specific set of permissions for project resources. * [Custom project roles](https://docs.getunleash.io/reference/rbac#custom-project-roles) contain a specific set of permissions for project resources.
*/ */
export type CreateRoleWithPermissionsSchemaOneOfFourType = export type CreateRoleWithPermissionsSchemaAnyOfFourType =
typeof CreateRoleWithPermissionsSchemaOneOfFourType[keyof typeof CreateRoleWithPermissionsSchemaOneOfFourType]; typeof CreateRoleWithPermissionsSchemaAnyOfFourType[keyof typeof CreateRoleWithPermissionsSchemaAnyOfFourType];
// eslint-disable-next-line @typescript-eslint/no-redeclare // eslint-disable-next-line @typescript-eslint/no-redeclare
export const CreateRoleWithPermissionsSchemaOneOfFourType = { export const CreateRoleWithPermissionsSchemaAnyOfFourType = {
custom: 'custom', custom: 'custom',
} as const; } as const;

View File

@ -4,7 +4,7 @@
* See `gen:api` script in package.json * See `gen:api` script in package.json
*/ */
export type CreateRoleWithPermissionsSchemaOneOfPermissionsItem = { export type CreateRoleWithPermissionsSchemaAnyOfPermissionsItem = {
/** The name of the permission */ /** The name of the permission */
name: string; name: string;
/** The environments of the permission if the permission is environment specific */ /** The environments of the permission if the permission is environment specific */

View File

@ -0,0 +1,17 @@
/**
* Generated by Orval
* Do not edit manually.
* See `gen:api` script in package.json
*/
/**
* [Custom root roles](https://docs.getunleash.io/reference/rbac#custom-root-roles) (type=root-custom) are root roles with a custom set of permissions. [Custom project roles](https://docs.getunleash.io/reference/rbac#custom-project-roles) (type=custom) contain a specific set of permissions for project resources.
*/
export type CreateRoleWithPermissionsSchemaAnyOfType =
typeof CreateRoleWithPermissionsSchemaAnyOfType[keyof typeof CreateRoleWithPermissionsSchemaAnyOfType];
// eslint-disable-next-line @typescript-eslint/no-redeclare
export const CreateRoleWithPermissionsSchemaAnyOfType = {
'root-custom': 'root-custom',
custom: 'custom',
} as const;

View File

@ -1,18 +0,0 @@
/**
* Generated by Orval
* Do not edit manually.
* See `gen:api` script in package.json
*/
import type { CreateRoleWithPermissionsSchemaOneOfType } from './createRoleWithPermissionsSchemaOneOfType';
import type { CreateRoleWithPermissionsSchemaOneOfPermissionsItem } from './createRoleWithPermissionsSchemaOneOfPermissionsItem';
export type CreateRoleWithPermissionsSchemaOneOf = {
/** The name of the custom role */
name: string;
/** A more detailed description of the custom role and what use it's intended for */
description?: string;
/** [Custom root roles](https://docs.getunleash.io/reference/rbac#custom-root-roles) are root roles with a custom set of permissions. */
type: CreateRoleWithPermissionsSchemaOneOfType;
/** A list of permissions assigned to this role */
permissions?: CreateRoleWithPermissionsSchemaOneOfPermissionsItem[];
};

View File

@ -1,17 +0,0 @@
/**
* Generated by Orval
* Do not edit manually.
* See `gen:api` script in package.json
*/
/**
* [Custom root roles](https://docs.getunleash.io/reference/rbac#custom-root-roles) are root roles with a custom set of permissions.
*/
export type CreateRoleWithPermissionsSchemaOneOfType =
typeof CreateRoleWithPermissionsSchemaOneOfType[keyof typeof CreateRoleWithPermissionsSchemaOneOfType];
// eslint-disable-next-line @typescript-eslint/no-redeclare
export const CreateRoleWithPermissionsSchemaOneOfType = {
'root-custom': 'root-custom',
custom: 'custom',
} as const;

View File

@ -136,6 +136,8 @@ export * from './changeRequestCreateFeatureSchemaOneOfEightAction';
export * from './changeRequestCreateFeatureSchemaOneOfEightPayload'; export * from './changeRequestCreateFeatureSchemaOneOfEightPayload';
export * from './changeRequestCreateFeatureSchemaOneOfFour'; export * from './changeRequestCreateFeatureSchemaOneOfFour';
export * from './changeRequestCreateFeatureSchemaOneOfFourAction'; export * from './changeRequestCreateFeatureSchemaOneOfFourAction';
export * from './changeRequestCreateFeatureSchemaOneOfOneeight';
export * from './changeRequestCreateFeatureSchemaOneOfOneeightAction';
export * from './changeRequestCreateFeatureSchemaOneOfOneone'; export * from './changeRequestCreateFeatureSchemaOneOfOneone';
export * from './changeRequestCreateFeatureSchemaOneOfOneoneAction'; export * from './changeRequestCreateFeatureSchemaOneOfOneoneAction';
export * from './changeRequestCreateFeatureSchemaOneOfOnesix'; export * from './changeRequestCreateFeatureSchemaOneOfOnesix';
@ -146,6 +148,9 @@ export * from './changeRequestCreateFeatureSchemaOneOfOnethreePayload';
export * from './changeRequestCreateFeatureSchemaOneOfPayload'; export * from './changeRequestCreateFeatureSchemaOneOfPayload';
export * from './changeRequestCreateFeatureSchemaOneOfSix'; export * from './changeRequestCreateFeatureSchemaOneOfSix';
export * from './changeRequestCreateFeatureSchemaOneOfSixAction'; export * from './changeRequestCreateFeatureSchemaOneOfSixAction';
export * from './changeRequestCreateFeatureSchemaOneOfTwozero';
export * from './changeRequestCreateFeatureSchemaOneOfTwozeroAction';
export * from './changeRequestCreateFeatureSchemaOneOfTwozeroPayload';
export * from './changeRequestCreateSchema'; export * from './changeRequestCreateSchema';
export * from './changeRequestCreateSchemaOneOf'; export * from './changeRequestCreateSchemaOneOf';
export * from './changeRequestCreateSchemaOneOfAction'; export * from './changeRequestCreateSchemaOneOfAction';
@ -167,8 +172,13 @@ export * from './changeRequestCreateSchemaOneOfSixPayload';
export * from './changeRequestCreateSchemaOneOfThree'; export * from './changeRequestCreateSchemaOneOfThree';
export * from './changeRequestCreateSchemaOneOfThreeAction'; export * from './changeRequestCreateSchemaOneOfThreeAction';
export * from './changeRequestCreateSchemaOneOfThreePayload'; export * from './changeRequestCreateSchemaOneOfThreePayload';
export * from './changeRequestCreateSchemaOneOfTwofive';
export * from './changeRequestCreateSchemaOneOfTwofiveAction';
export * from './changeRequestCreateSchemaOneOfTwofivePayload';
export * from './changeRequestCreateSchemaOneOfTwoone'; export * from './changeRequestCreateSchemaOneOfTwoone';
export * from './changeRequestCreateSchemaOneOfTwooneAction'; export * from './changeRequestCreateSchemaOneOfTwooneAction';
export * from './changeRequestCreateSchemaOneOfTwothree';
export * from './changeRequestCreateSchemaOneOfTwothreeAction';
export * from './changeRequestCreateSegmentSchema'; export * from './changeRequestCreateSegmentSchema';
export * from './changeRequestCreateSegmentSchemaOneOf'; export * from './changeRequestCreateSegmentSchemaOneOf';
export * from './changeRequestCreateSegmentSchemaOneOfAction'; export * from './changeRequestCreateSegmentSchemaOneOfAction';
@ -200,8 +210,13 @@ export * from './changeRequestOneOrManyCreateSchemaOneOfSixPayload';
export * from './changeRequestOneOrManyCreateSchemaOneOfThree'; export * from './changeRequestOneOrManyCreateSchemaOneOfThree';
export * from './changeRequestOneOrManyCreateSchemaOneOfThreeAction'; export * from './changeRequestOneOrManyCreateSchemaOneOfThreeAction';
export * from './changeRequestOneOrManyCreateSchemaOneOfThreePayload'; export * from './changeRequestOneOrManyCreateSchemaOneOfThreePayload';
export * from './changeRequestOneOrManyCreateSchemaOneOfTwofive';
export * from './changeRequestOneOrManyCreateSchemaOneOfTwofiveAction';
export * from './changeRequestOneOrManyCreateSchemaOneOfTwofivePayload';
export * from './changeRequestOneOrManyCreateSchemaOneOfTwoone'; export * from './changeRequestOneOrManyCreateSchemaOneOfTwoone';
export * from './changeRequestOneOrManyCreateSchemaOneOfTwooneAction'; export * from './changeRequestOneOrManyCreateSchemaOneOfTwooneAction';
export * from './changeRequestOneOrManyCreateSchemaOneOfTwothree';
export * from './changeRequestOneOrManyCreateSchemaOneOfTwothreeAction';
export * from './changeRequestSchema'; export * from './changeRequestSchema';
export * from './changeRequestSchemaCreatedBy'; export * from './changeRequestSchemaCreatedBy';
export * from './changeRequestSchemaState'; export * from './changeRequestSchemaState';
@ -309,12 +324,12 @@ export * from './createRole401';
export * from './createRole403'; export * from './createRole403';
export * from './createRole409'; export * from './createRole409';
export * from './createRoleWithPermissionsSchema'; export * from './createRoleWithPermissionsSchema';
export * from './createRoleWithPermissionsSchemaOneOf'; export * from './createRoleWithPermissionsSchemaAnyOf';
export * from './createRoleWithPermissionsSchemaOneOfFour'; export * from './createRoleWithPermissionsSchemaAnyOfFour';
export * from './createRoleWithPermissionsSchemaOneOfFourPermissionsItem'; export * from './createRoleWithPermissionsSchemaAnyOfFourPermissionsItem';
export * from './createRoleWithPermissionsSchemaOneOfFourType'; export * from './createRoleWithPermissionsSchemaAnyOfFourType';
export * from './createRoleWithPermissionsSchemaOneOfPermissionsItem'; export * from './createRoleWithPermissionsSchemaAnyOfPermissionsItem';
export * from './createRoleWithPermissionsSchemaOneOfType'; export * from './createRoleWithPermissionsSchemaAnyOfType';
export * from './createSegment400'; export * from './createSegment400';
export * from './createSegment401'; export * from './createSegment401';
export * from './createSegment403'; export * from './createSegment403';

View File

@ -17,9 +17,10 @@ export interface PlaygroundFeatureSchema {
projectId: string; projectId: string;
/** The feature's applicable strategies and cumulative results of the strategies */ /** The feature's applicable strategies and cumulative results of the strategies */
strategies: PlaygroundFeatureSchemaStrategies; strategies: PlaygroundFeatureSchemaStrategies;
/** Whether the feature has a parent dependency that is not satisfied */
hasUnsatisfiedDependency?: boolean;
/** Whether the feature is active and would be evaluated in the provided environment in a normal SDK context. */ /** Whether the feature is active and would be evaluated in the provided environment in a normal SDK context. */
isEnabledInCurrentEnvironment: boolean; isEnabledInCurrentEnvironment: boolean;
hasUnsatisfiedDependency?: boolean;
/** Whether this feature is enabled or not in the current environment. /** Whether this feature is enabled or not in the current environment.
If a feature can't be fully evaluated (that is, `strategies.result` is `unknown`), If a feature can't be fully evaluated (that is, `strategies.result` is `unknown`),
this will be `false` to align with how client SDKs treat unresolved feature states. */ this will be `false` to align with how client SDKs treat unresolved feature states. */