1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-10-28 19:06:12 +01:00

chore: orval types for flag creator (#7305)

This commit is contained in:
Mateusz Kwasniewski 2024-06-06 12:11:41 +02:00 committed by GitHub
parent 2cc4b5faab
commit bb3498adb6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 71 additions and 4 deletions

View File

@ -10,10 +10,7 @@
export type FeatureSearchResponseSchemaCreatedBy = {
/** The user id */
id: number;
/**
* URL used for the user profile image
* @nullable
*/
/** URL used for the user profile image */
imageUrl: string;
/** Name of the user */
name: string;

View File

@ -0,0 +1,14 @@
/**
* Generated by Orval
* Do not edit manually.
* See `gen:api` script in package.json
*/
export type GetProjectFlagCreators401 = {
/** The ID of the error instance */
id?: string;
/** A description of what went wrong. */
message?: string;
/** The name of the error kind */
name?: string;
};

View File

@ -0,0 +1,14 @@
/**
* Generated by Orval
* Do not edit manually.
* See `gen:api` script in package.json
*/
export type GetProjectFlagCreators403 = {
/** The ID of the error instance */
id?: string;
/** A description of what went wrong. */
message?: string;
/** The name of the error kind */
name?: string;
};

View File

@ -0,0 +1,14 @@
/**
* Generated by Orval
* Do not edit manually.
* See `gen:api` script in package.json
*/
export type GetProjectFlagCreators404 = {
/** The ID of the error instance */
id?: string;
/** A description of what went wrong. */
message?: string;
/** The name of the error kind */
name?: string;
};

View File

@ -679,6 +679,9 @@ export * from './getProjectDora404';
export * from './getProjectEnvironments401';
export * from './getProjectEnvironments403';
export * from './getProjectEnvironments404';
export * from './getProjectFlagCreators401';
export * from './getProjectFlagCreators403';
export * from './getProjectFlagCreators404';
export * from './getProjectHealthReport401';
export * from './getProjectHealthReport403';
export * from './getProjectHealthReport404';
@ -891,6 +894,8 @@ export * from './projectCreatedSchemaChangeRequestEnvironmentsItem';
export * from './projectCreatedSchemaMode';
export * from './projectDoraMetricsSchema';
export * from './projectEnvironmentSchema';
export * from './projectFlagCreatorsSchema';
export * from './projectFlagCreatorsSchemaItem';
export * from './projectInsightsSchema';
export * from './projectInsightsSchemaHealth';
export * from './projectInsightsSchemaMembers';

View File

@ -0,0 +1,11 @@
/**
* Generated by Orval
* Do not edit manually.
* See `gen:api` script in package.json
*/
import type { ProjectFlagCreatorsSchemaItem } from './projectFlagCreatorsSchemaItem';
/**
* A list of project flag creators
*/
export type ProjectFlagCreatorsSchema = ProjectFlagCreatorsSchemaItem[];

View File

@ -0,0 +1,12 @@
/**
* Generated by Orval
* Do not edit manually.
* See `gen:api` script in package.json
*/
export type ProjectFlagCreatorsSchemaItem = {
/** The user id. */
id: number;
/** Name of the user. If the user has no set name, the API falls back to using the user's username (if they have one) or email (if neither name or username is set). */
name: string;
};