-
-
Notifications
You must be signed in to change notification settings - Fork 728
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 for personal dashboards (#8268)
Updates orval for personal dashboards
- Loading branch information
1 parent
3f80fdb
commit cf476f9
Showing
15 changed files
with
173 additions
and
1 deletion.
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
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/personalDashboardSchemaProjectsItemOwners.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 | ||
*/ | ||
import type { PersonalDashboardSchemaProjectsItemOwnersOneOfItem } from './personalDashboardSchemaProjectsItemOwnersOneOfItem'; | ||
import type { PersonalDashboardSchemaProjectsItemOwnersOneOfSixItem } from './personalDashboardSchemaProjectsItemOwnersOneOfSixItem'; | ||
|
||
/** | ||
* The users and/or groups that have the "owner" role in this project. If no such users or groups exist, the list will contain the "system" owner instead. | ||
*/ | ||
export type PersonalDashboardSchemaProjectsItemOwners = | ||
| PersonalDashboardSchemaProjectsItemOwnersOneOfItem[] | ||
| PersonalDashboardSchemaProjectsItemOwnersOneOfSixItem[]; |
11 changes: 11 additions & 0 deletions
11
frontend/src/openapi/models/personalDashboardSchemaProjectsItemOwnersOneOfItem.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,11 @@ | ||
/** | ||
* Generated by Orval | ||
* Do not edit manually. | ||
* See `gen:api` script in package.json | ||
*/ | ||
import type { PersonalDashboardSchemaProjectsItemOwnersOneOfItemAnyOf } from './personalDashboardSchemaProjectsItemOwnersOneOfItemAnyOf'; | ||
import type { PersonalDashboardSchemaProjectsItemOwnersOneOfItemAnyOfThree } from './personalDashboardSchemaProjectsItemOwnersOneOfItemAnyOfThree'; | ||
|
||
export type PersonalDashboardSchemaProjectsItemOwnersOneOfItem = | ||
| PersonalDashboardSchemaProjectsItemOwnersOneOfItemAnyOf | ||
| PersonalDashboardSchemaProjectsItemOwnersOneOfItemAnyOfThree; |
15 changes: 15 additions & 0 deletions
15
frontend/src/openapi/models/personalDashboardSchemaProjectsItemOwnersOneOfItemAnyOf.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 | ||
*/ | ||
import type { PersonalDashboardSchemaProjectsItemOwnersOneOfItemAnyOfOwnerType } from './personalDashboardSchemaProjectsItemOwnersOneOfItemAnyOfOwnerType'; | ||
|
||
export type PersonalDashboardSchemaProjectsItemOwnersOneOfItemAnyOf = { | ||
/** @nullable */ | ||
email?: string | null; | ||
/** @nullable */ | ||
imageUrl?: string | null; | ||
name: string; | ||
ownerType: PersonalDashboardSchemaProjectsItemOwnersOneOfItemAnyOfOwnerType; | ||
}; |
14 changes: 14 additions & 0 deletions
14
...nd/src/openapi/models/personalDashboardSchemaProjectsItemOwnersOneOfItemAnyOfOwnerType.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 PersonalDashboardSchemaProjectsItemOwnersOneOfItemAnyOfOwnerType = | ||
(typeof PersonalDashboardSchemaProjectsItemOwnersOneOfItemAnyOfOwnerType)[keyof typeof PersonalDashboardSchemaProjectsItemOwnersOneOfItemAnyOfOwnerType]; | ||
|
||
// eslint-disable-next-line @typescript-eslint/no-redeclare | ||
export const PersonalDashboardSchemaProjectsItemOwnersOneOfItemAnyOfOwnerType = | ||
{ | ||
user: 'user', | ||
} as const; |
11 changes: 11 additions & 0 deletions
11
frontend/src/openapi/models/personalDashboardSchemaProjectsItemOwnersOneOfItemAnyOfThree.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,11 @@ | ||
/** | ||
* Generated by Orval | ||
* Do not edit manually. | ||
* See `gen:api` script in package.json | ||
*/ | ||
import type { PersonalDashboardSchemaProjectsItemOwnersOneOfItemAnyOfThreeOwnerType } from './personalDashboardSchemaProjectsItemOwnersOneOfItemAnyOfThreeOwnerType'; | ||
|
||
export type PersonalDashboardSchemaProjectsItemOwnersOneOfItemAnyOfThree = { | ||
name: string; | ||
ownerType: PersonalDashboardSchemaProjectsItemOwnersOneOfItemAnyOfThreeOwnerType; | ||
}; |
14 changes: 14 additions & 0 deletions
14
...c/openapi/models/personalDashboardSchemaProjectsItemOwnersOneOfItemAnyOfThreeOwnerType.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 PersonalDashboardSchemaProjectsItemOwnersOneOfItemAnyOfThreeOwnerType = | ||
(typeof PersonalDashboardSchemaProjectsItemOwnersOneOfItemAnyOfThreeOwnerType)[keyof typeof PersonalDashboardSchemaProjectsItemOwnersOneOfItemAnyOfThreeOwnerType]; | ||
|
||
// eslint-disable-next-line @typescript-eslint/no-redeclare | ||
export const PersonalDashboardSchemaProjectsItemOwnersOneOfItemAnyOfThreeOwnerType = | ||
{ | ||
group: 'group', | ||
} as const; |
10 changes: 10 additions & 0 deletions
10
frontend/src/openapi/models/personalDashboardSchemaProjectsItemOwnersOneOfSixItem.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 { PersonalDashboardSchemaProjectsItemOwnersOneOfSixItemOwnerType } from './personalDashboardSchemaProjectsItemOwnersOneOfSixItemOwnerType'; | ||
|
||
export type PersonalDashboardSchemaProjectsItemOwnersOneOfSixItem = { | ||
ownerType: PersonalDashboardSchemaProjectsItemOwnersOneOfSixItemOwnerType; | ||
}; |
13 changes: 13 additions & 0 deletions
13
...tend/src/openapi/models/personalDashboardSchemaProjectsItemOwnersOneOfSixItemOwnerType.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 | ||
*/ | ||
|
||
export type PersonalDashboardSchemaProjectsItemOwnersOneOfSixItemOwnerType = | ||
(typeof PersonalDashboardSchemaProjectsItemOwnersOneOfSixItemOwnerType)[keyof typeof PersonalDashboardSchemaProjectsItemOwnersOneOfSixItemOwnerType]; | ||
|
||
// eslint-disable-next-line @typescript-eslint/no-redeclare | ||
export const PersonalDashboardSchemaProjectsItemOwnersOneOfSixItemOwnerType = { | ||
system: 'system', | ||
} as const; |
18 changes: 18 additions & 0 deletions
18
frontend/src/openapi/models/personalDashboardSchemaProjectsItemRolesItem.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 { PersonalDashboardSchemaProjectsItemRolesItemType } from './personalDashboardSchemaProjectsItemRolesItemType'; | ||
|
||
/** | ||
* An Unleash role. | ||
*/ | ||
export type PersonalDashboardSchemaProjectsItemRolesItem = { | ||
/** The id of the role */ | ||
id: number; | ||
/** The name of the role */ | ||
name: string; | ||
/** The type of the role */ | ||
type: PersonalDashboardSchemaProjectsItemRolesItemType; | ||
}; |
19 changes: 19 additions & 0 deletions
19
frontend/src/openapi/models/personalDashboardSchemaProjectsItemRolesItemType.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,19 @@ | ||
/** | ||
* Generated by Orval | ||
* Do not edit manually. | ||
* See `gen:api` script in package.json | ||
*/ | ||
|
||
/** | ||
* The type of the role | ||
*/ | ||
export type PersonalDashboardSchemaProjectsItemRolesItemType = | ||
(typeof PersonalDashboardSchemaProjectsItemRolesItemType)[keyof typeof PersonalDashboardSchemaProjectsItemRolesItemType]; | ||
|
||
// eslint-disable-next-line @typescript-eslint/no-redeclare | ||
export const PersonalDashboardSchemaProjectsItemRolesItemType = { | ||
custom: 'custom', | ||
project: 'project', | ||
root: 'root', | ||
'custom-root': 'custom-root', | ||
} 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