mirror of
				https://github.com/Unleash/unleash.git
				synced 2025-10-27 11:02:16 +01:00 
			
		
		
		
	chore: update orval for personal dashboards (#8268)
Updates orval for personal dashboards
This commit is contained in:
		
							parent
							
								
									3f80fdb090
								
							
						
					
					
						commit
						cf476f9e7d
					
				| @ -41,6 +41,11 @@ export interface EventSchema { | ||||
|      * @minimum 1 | ||||
|      */ | ||||
|     id: number; | ||||
|     /** | ||||
|      * **[Experimental]** The concise, human-readable name of the event. | ||||
|      * @nullable | ||||
|      */ | ||||
|     label?: string | null; | ||||
|     /** | ||||
|      * Data relating to the previous state of the event's subject. | ||||
|      * @nullable | ||||
| @ -51,6 +56,11 @@ export interface EventSchema { | ||||
|      * @nullable | ||||
|      */ | ||||
|     project?: string | null; | ||||
|     /** | ||||
|      * **[Experimental]** A markdown-formatted summary of the event. | ||||
|      * @nullable | ||||
|      */ | ||||
|     summary?: string | null; | ||||
|     /** | ||||
|      * Any tags related to the event, if applicable. | ||||
|      * @nullable | ||||
|  | ||||
| @ -903,6 +903,16 @@ export * from './permissionSchema'; | ||||
| export * from './personalDashboardSchema'; | ||||
| export * from './personalDashboardSchemaFlagsItem'; | ||||
| export * from './personalDashboardSchemaProjectsItem'; | ||||
| export * from './personalDashboardSchemaProjectsItemOwners'; | ||||
| export * from './personalDashboardSchemaProjectsItemOwnersOneOfItem'; | ||||
| export * from './personalDashboardSchemaProjectsItemOwnersOneOfItemAnyOf'; | ||||
| export * from './personalDashboardSchemaProjectsItemOwnersOneOfItemAnyOfOwnerType'; | ||||
| export * from './personalDashboardSchemaProjectsItemOwnersOneOfItemAnyOfThree'; | ||||
| export * from './personalDashboardSchemaProjectsItemOwnersOneOfItemAnyOfThreeOwnerType'; | ||||
| export * from './personalDashboardSchemaProjectsItemOwnersOneOfSixItem'; | ||||
| export * from './personalDashboardSchemaProjectsItemOwnersOneOfSixItemOwnerType'; | ||||
| export * from './personalDashboardSchemaProjectsItemRolesItem'; | ||||
| export * from './personalDashboardSchemaProjectsItemRolesItemType'; | ||||
| export * from './playgroundConstraintSchema'; | ||||
| export * from './playgroundConstraintSchemaOperator'; | ||||
| export * from './playgroundFeatureSchema'; | ||||
|  | ||||
| @ -7,6 +7,8 @@ | ||||
| export type PersonalDashboardSchemaFlagsItem = { | ||||
|     /** The name of the flag */ | ||||
|     name: string; | ||||
|     /** The id of the feature project */ | ||||
|     project: string; | ||||
|     /** The type of the feature flag */ | ||||
|     type: string; | ||||
| }; | ||||
|  | ||||
| @ -3,8 +3,19 @@ | ||||
|  * Do not edit manually. | ||||
|  * See `gen:api` script in package.json | ||||
|  */ | ||||
| import type { PersonalDashboardSchemaProjectsItemOwners } from './personalDashboardSchemaProjectsItemOwners'; | ||||
| import type { PersonalDashboardSchemaProjectsItemRolesItem } from './personalDashboardSchemaProjectsItemRolesItem'; | ||||
| 
 | ||||
| export type PersonalDashboardSchemaProjectsItem = { | ||||
|     /** The id of the project */ | ||||
|     id: string; | ||||
|     /** The name of the project */ | ||||
|     name: string; | ||||
|     /** 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. */ | ||||
|     owners?: PersonalDashboardSchemaProjectsItemOwners; | ||||
|     /** | ||||
|      * The list of roles that the user has in this project. | ||||
|      * @minItems 1 | ||||
|      */ | ||||
|     roles: PersonalDashboardSchemaProjectsItemRolesItem[]; | ||||
| }; | ||||
|  | ||||
| @ -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[]; | ||||
| @ -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; | ||||
| @ -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; | ||||
| }; | ||||
| @ -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; | ||||
| @ -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; | ||||
| }; | ||||
| @ -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; | ||||
| @ -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; | ||||
| }; | ||||
| @ -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; | ||||
| @ -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; | ||||
| }; | ||||
| @ -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; | ||||
| @ -71,7 +71,7 @@ export const personalDashboardSchema = { | ||||
|             items: { | ||||
|                 type: 'object', | ||||
|                 additionalProperties: false, | ||||
|                 required: ['name'], | ||||
|                 required: ['name', 'project', 'type'], | ||||
|                 properties: { | ||||
|                     name: { | ||||
|                         type: 'string', | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user