Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update orval with latest change request schema updates (#4446)
- Loading branch information
1 parent
57c448c
commit 1779840
Showing
7 changed files
with
75 additions
and
3 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
27 changes: 27 additions & 0 deletions
27
frontend/src/openapi/models/changeRequestSegmentChangeSchema.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,27 @@ | ||
/** | ||
* Generated by Orval | ||
* Do not edit manually. | ||
* See `gen:api` script in package.json | ||
*/ | ||
import type { ChangeRequestSegmentChangeSchemaPayload } from './changeRequestSegmentChangeSchemaPayload'; | ||
import type { ChangeRequestSegmentChangeSchemaCreatedBy } from './changeRequestSegmentChangeSchemaCreatedBy'; | ||
|
||
/** | ||
* A change request segment change, containing info about the type of segment change and the specific changes. | ||
*/ | ||
export interface ChangeRequestSegmentChangeSchema { | ||
/** The ID of this change. */ | ||
id: number; | ||
/** The kind of action that the change contains information about. */ | ||
action: string; | ||
/** A description of the conflict caused by this change. Only present if there are any conflicts. */ | ||
conflict?: string; | ||
/** The data required to perform this action. */ | ||
payload: ChangeRequestSegmentChangeSchemaPayload; | ||
/** The user who created this change. */ | ||
createdBy?: ChangeRequestSegmentChangeSchemaCreatedBy; | ||
/** When this change was suggested */ | ||
createdAt?: string; | ||
/** The current name of the segment */ | ||
name: string; | ||
} |
15 changes: 15 additions & 0 deletions
15
frontend/src/openapi/models/changeRequestSegmentChangeSchemaCreatedBy.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 | ||
*/ | ||
|
||
/** | ||
* The user who created this change. | ||
*/ | ||
export type ChangeRequestSegmentChangeSchemaCreatedBy = { | ||
/** The user's username. */ | ||
username?: string | null; | ||
/** The URL where the user's image can be found. */ | ||
imageUrl?: string | null; | ||
}; |
17 changes: 17 additions & 0 deletions
17
frontend/src/openapi/models/changeRequestSegmentChangeSchemaPayload.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,17 @@ | ||
/** | ||
* Generated by Orval | ||
* Do not edit manually. | ||
* See `gen:api` script in package.json | ||
*/ | ||
import type { ChangeRequestSegmentChangeSchemaPayloadOneOf } from './changeRequestSegmentChangeSchemaPayloadOneOf'; | ||
import type { SetStrategySortOrderSchema } from './setStrategySortOrderSchema'; | ||
|
||
/** | ||
* The data required to perform this action. | ||
*/ | ||
export type ChangeRequestSegmentChangeSchemaPayload = | ||
| string | ||
| boolean | ||
| ChangeRequestSegmentChangeSchemaPayloadOneOf | ||
| number | ||
| SetStrategySortOrderSchema; |
9 changes: 9 additions & 0 deletions
9
frontend/src/openapi/models/changeRequestSegmentChangeSchemaPayloadOneOf.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,9 @@ | ||
/** | ||
* Generated by Orval | ||
* Do not edit manually. | ||
* See `gen:api` script in package.json | ||
*/ | ||
|
||
export type ChangeRequestSegmentChangeSchemaPayloadOneOf = { | ||
[key: string]: any; | ||
}; |
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