-
-
Notifications
You must be signed in to change notification settings - Fork 725
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: orval types with change request for dependencies (#4961)
- Loading branch information
Showing
29 changed files
with
320 additions
and
58 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
18 changes: 18 additions & 0 deletions
18
frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfOneeight.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 | ||
*/ | ||
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; | ||
}; |
16 changes: 16 additions & 0 deletions
16
frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfOneeightAction.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 | ||
*/ | ||
|
||
/** | ||
* 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; |
18 changes: 18 additions & 0 deletions
18
frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfTwozero.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 | ||
*/ | ||
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; | ||
}; |
16 changes: 16 additions & 0 deletions
16
frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfTwozeroAction.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 | ||
*/ | ||
|
||
/** | ||
* 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; |
10 changes: 10 additions & 0 deletions
10
frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfTwozeroPayload.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,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; | ||
}; |
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
18 changes: 18 additions & 0 deletions
18
frontend/src/openapi/models/changeRequestCreateSchemaOneOfTwofive.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 | ||
*/ | ||
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; | ||
}; |
16 changes: 16 additions & 0 deletions
16
frontend/src/openapi/models/changeRequestCreateSchemaOneOfTwofiveAction.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 | ||
*/ | ||
|
||
/** | ||
* 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; |
10 changes: 10 additions & 0 deletions
10
frontend/src/openapi/models/changeRequestCreateSchemaOneOfTwofivePayload.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,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; | ||
}; |
18 changes: 18 additions & 0 deletions
18
frontend/src/openapi/models/changeRequestCreateSchemaOneOfTwothree.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 | ||
*/ | ||
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; | ||
}; |
16 changes: 16 additions & 0 deletions
16
frontend/src/openapi/models/changeRequestCreateSchemaOneOfTwothreeAction.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 | ||
*/ | ||
|
||
/** | ||
* 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; |
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
18 changes: 18 additions & 0 deletions
18
frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfTwofive.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 | ||
*/ | ||
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; | ||
}; |
16 changes: 16 additions & 0 deletions
16
frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfTwofiveAction.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 | ||
*/ | ||
|
||
/** | ||
* 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; |
10 changes: 10 additions & 0 deletions
10
frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfTwofivePayload.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,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; | ||
}; |
18 changes: 18 additions & 0 deletions
18
frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfTwothree.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 | ||
*/ | ||
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; | ||
}; |
16 changes: 16 additions & 0 deletions
16
frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfTwothreeAction.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 | ||
*/ | ||
|
||
/** | ||
* 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; |
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
18 changes: 18 additions & 0 deletions
18
frontend/src/openapi/models/createRoleWithPermissionsSchemaAnyOf.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 | ||
*/ | ||
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[]; | ||
}; |
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
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
Oops, something went wrong.