-
-
Notifications
You must be signed in to change notification settings - Fork 720
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: generate orval types with dependent features (#4902)
- Loading branch information
Showing
113 changed files
with
1,407 additions
and
87 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
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
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 | ||
*/ | ||
import type { UserAccessSchema } from './userAccessSchema'; | ||
|
||
/** | ||
* Data containing an overview of all the projects and groups users have access to | ||
*/ | ||
export interface AccessOverviewSchema { | ||
/** A list of user access details */ | ||
overview?: UserAccessSchema[]; | ||
} |
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 AddFeatureDependency401 = { | ||
/** The ID of the error instance */ | ||
id?: string; | ||
/** The name of the error kind */ | ||
name?: string; | ||
/** A description of what went wrong. */ | ||
message?: 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 AddFeatureDependency403 = { | ||
/** The ID of the error instance */ | ||
id?: string; | ||
/** The name of the error kind */ | ||
name?: string; | ||
/** A description of what went wrong. */ | ||
message?: 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 AddFeatureDependency404 = { | ||
/** The ID of the error instance */ | ||
id?: string; | ||
/** The name of the error kind */ | ||
name?: string; | ||
/** A description of what went wrong. */ | ||
message?: 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
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
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
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/changeRequestCreateSchemaOneOf.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 | ||
*/ | ||
import type { ChangeRequestCreateSchemaOneOfAction } from './changeRequestCreateSchemaOneOfAction'; | ||
import type { UpsertSegmentSchema } from './upsertSegmentSchema'; | ||
|
||
export type ChangeRequestCreateSchemaOneOf = { | ||
/** The name of this action. */ | ||
action: ChangeRequestCreateSchemaOneOfAction; | ||
payload: UpsertSegmentSchema; | ||
}; |
16 changes: 16 additions & 0 deletions
16
frontend/src/openapi/models/changeRequestCreateSchemaOneOfAction.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 ChangeRequestCreateSchemaOneOfAction = | ||
typeof ChangeRequestCreateSchemaOneOfAction[keyof typeof ChangeRequestCreateSchemaOneOfAction]; | ||
|
||
// eslint-disable-next-line @typescript-eslint/no-redeclare | ||
export const ChangeRequestCreateSchemaOneOfAction = { | ||
updateSegment: 'updateSegment', | ||
} as const; |
18 changes: 18 additions & 0 deletions
18
frontend/src/openapi/models/changeRequestCreateSchemaOneOfNine.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 { ChangeRequestCreateSchemaOneOfNineAction } from './changeRequestCreateSchemaOneOfNineAction'; | ||
import type { CreateFeatureStrategySchema } from './createFeatureStrategySchema'; | ||
|
||
/** | ||
* Add a strategy to the feature | ||
*/ | ||
export type ChangeRequestCreateSchemaOneOfNine = { | ||
/** The name of the feature that this change applies to. */ | ||
feature: string; | ||
/** The name of this action. */ | ||
action: ChangeRequestCreateSchemaOneOfNineAction; | ||
payload: CreateFeatureStrategySchema; | ||
}; |
16 changes: 16 additions & 0 deletions
16
frontend/src/openapi/models/changeRequestCreateSchemaOneOfNineAction.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 ChangeRequestCreateSchemaOneOfNineAction = | ||
typeof ChangeRequestCreateSchemaOneOfNineAction[keyof typeof ChangeRequestCreateSchemaOneOfNineAction]; | ||
|
||
// eslint-disable-next-line @typescript-eslint/no-redeclare | ||
export const ChangeRequestCreateSchemaOneOfNineAction = { | ||
addStrategy: 'addStrategy', | ||
} as const; |
18 changes: 18 additions & 0 deletions
18
frontend/src/openapi/models/changeRequestCreateSchemaOneOfOneeight.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 { ChangeRequestCreateSchemaOneOfOneeightAction } from './changeRequestCreateSchemaOneOfOneeightAction'; | ||
import type { ChangeRequestCreateSchemaOneOfOneeightPayload } from './changeRequestCreateSchemaOneOfOneeightPayload'; | ||
|
||
/** | ||
* Update variants for this feature. | ||
*/ | ||
export type ChangeRequestCreateSchemaOneOfOneeight = { | ||
/** The name of the feature that this change applies to. */ | ||
feature: string; | ||
/** The name of this action. */ | ||
action: ChangeRequestCreateSchemaOneOfOneeightAction; | ||
payload: ChangeRequestCreateSchemaOneOfOneeightPayload; | ||
}; |
16 changes: 16 additions & 0 deletions
16
frontend/src/openapi/models/changeRequestCreateSchemaOneOfOneeightAction.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 ChangeRequestCreateSchemaOneOfOneeightAction = | ||
typeof ChangeRequestCreateSchemaOneOfOneeightAction[keyof typeof ChangeRequestCreateSchemaOneOfOneeightAction]; | ||
|
||
// eslint-disable-next-line @typescript-eslint/no-redeclare | ||
export const ChangeRequestCreateSchemaOneOfOneeightAction = { | ||
patchVariant: 'patchVariant', | ||
} as const; |
10 changes: 10 additions & 0 deletions
10
frontend/src/openapi/models/changeRequestCreateSchemaOneOfOneeightPayload.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 | ||
*/ | ||
import type { VariantSchema } from './variantSchema'; | ||
|
||
export type ChangeRequestCreateSchemaOneOfOneeightPayload = { | ||
variants: VariantSchema[]; | ||
}; |
18 changes: 18 additions & 0 deletions
18
frontend/src/openapi/models/changeRequestCreateSchemaOneOfOneone.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 { ChangeRequestCreateSchemaOneOfOneoneAction } from './changeRequestCreateSchemaOneOfOneoneAction'; | ||
import type { UpdateFeatureStrategySchema } from './updateFeatureStrategySchema'; | ||
|
||
/** | ||
* Update a strategy belonging to this feature. | ||
*/ | ||
export type ChangeRequestCreateSchemaOneOfOneone = { | ||
/** The name of the feature that this change applies to. */ | ||
feature: string; | ||
/** The name of this action. */ | ||
action: ChangeRequestCreateSchemaOneOfOneoneAction; | ||
payload: UpdateFeatureStrategySchema; | ||
}; |
16 changes: 16 additions & 0 deletions
16
frontend/src/openapi/models/changeRequestCreateSchemaOneOfOneoneAction.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 ChangeRequestCreateSchemaOneOfOneoneAction = | ||
typeof ChangeRequestCreateSchemaOneOfOneoneAction[keyof typeof ChangeRequestCreateSchemaOneOfOneoneAction]; | ||
|
||
// eslint-disable-next-line @typescript-eslint/no-redeclare | ||
export const ChangeRequestCreateSchemaOneOfOneoneAction = { | ||
updateStrategy: 'updateStrategy', | ||
} as const; |
Oops, something went wrong.