mirror of
https://github.com/Unleash/unleash.git
synced 2025-06-18 01:18:23 +02:00
chore: update orval schemas (#5249)
This PR updates the orval schemas in prep for working with scheduled CRs on the front end. Also contains a whole host of other orval updates.
This commit is contained in:
parent
9fbb61a1c4
commit
e471c0c62e
33
frontend/src/openapi/models/bannerSchema.ts
Normal file
33
frontend/src/openapi/models/bannerSchema.ts
Normal file
@ -0,0 +1,33 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
/**
|
||||
* An object describing a banner to be displayed to all users.
|
||||
*/
|
||||
export interface BannerSchema {
|
||||
/** The banner's ID. Banner IDs are incrementing integers. In other words, a more recently created banner will always have a higher ID than an older one. */
|
||||
id: number;
|
||||
/** The message to display to all users. Supports markdown. */
|
||||
message: string;
|
||||
/** Whether the banner should be displayed currently. If not specified, defaults to true. */
|
||||
enabled?: boolean;
|
||||
/** The variant of the banner. One of "info", "warning", "error", or "success". If not specified, defaults to "info". */
|
||||
variant?: string;
|
||||
/** Whether the banner should be sticky on the screen. If not specified, defaults to `false`. */
|
||||
sticky?: boolean;
|
||||
/** The icon to display on the banner. Can be one of https://fonts.google.com/icons. If not specified, this will be the default icon for the variant. If "none", no icon will be displayed. */
|
||||
icon?: string | null;
|
||||
/** The link to display on the banner. Can either be an absolute or a relative link (e.g. absolute: "https://example.com" or relative: "/admin/service-accounts"). If "dialog", will display a dialog when clicked. If not specified, no link will be displayed. */
|
||||
link?: string | null;
|
||||
/** The text to display on the link. If not specified, will be displayed as "More info". */
|
||||
linkText?: string | null;
|
||||
/** The title to display on the dialog. If not specified, this will be the same as `linkText`. */
|
||||
dialogTitle?: string | null;
|
||||
/** The markdown to display on the dialog. If not specified, no dialog will be displayed. */
|
||||
dialog?: string | null;
|
||||
/** The date and time of when the banner was created. */
|
||||
createdAt: string;
|
||||
}
|
14
frontend/src/openapi/models/bannersSchema.ts
Normal file
14
frontend/src/openapi/models/bannersSchema.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
import type { BannerSchema } from './bannerSchema';
|
||||
|
||||
/**
|
||||
* A response model with a list of banners.
|
||||
*/
|
||||
export interface BannersSchema {
|
||||
/** A list of banners. */
|
||||
banners: BannerSchema[];
|
||||
}
|
@ -7,6 +7,6 @@
|
||||
export type ChangeRequestCreateFeatureSchemaOneOfPayload = {
|
||||
/** The new state of the feature. */
|
||||
enabled: boolean;
|
||||
/** Only relevant when ALL the strategies are disabled. If true, all the disabled strategies will be enabled. If false, the default strategy will be added */
|
||||
/** Only relevant when ALL the strategies are disabled. If `true`, all the disabled strategies will be enabled. If `false`, the default strategy will be added */
|
||||
shouldActivateDisabledStrategies?: boolean;
|
||||
};
|
||||
|
@ -7,6 +7,6 @@
|
||||
export type ChangeRequestCreateSchemaOneOfSixPayload = {
|
||||
/** The new state of the feature. */
|
||||
enabled: boolean;
|
||||
/** Only relevant when ALL the strategies are disabled. If true, all the disabled strategies will be enabled. If false, the default strategy will be added */
|
||||
/** Only relevant when ALL the strategies are disabled. If `true`, all the disabled strategies will be enabled. If `false`, the default strategy will be added */
|
||||
shouldActivateDisabledStrategies?: boolean;
|
||||
};
|
||||
|
@ -7,6 +7,6 @@
|
||||
export type ChangeRequestOneOrManyCreateSchemaOneOfSixPayload = {
|
||||
/** The new state of the feature. */
|
||||
enabled: boolean;
|
||||
/** Only relevant when ALL the strategies are disabled. If true, all the disabled strategies will be enabled. If false, the default strategy will be added */
|
||||
/** Only relevant when ALL the strategies are disabled. If `true`, all the disabled strategies will be enabled. If `false`, the default strategy will be added */
|
||||
shouldActivateDisabledStrategies?: boolean;
|
||||
};
|
||||
|
16
frontend/src/openapi/models/changeRequestScheduleSchema.ts
Normal file
16
frontend/src/openapi/models/changeRequestScheduleSchema.ts
Normal file
@ -0,0 +1,16 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
import type { ChangeRequestScheduleSchemaStatus } from './changeRequestScheduleSchemaStatus';
|
||||
|
||||
/**
|
||||
* A schedule for a change request.
|
||||
*/
|
||||
export interface ChangeRequestScheduleSchema {
|
||||
/** When this change request is to be applied. */
|
||||
scheduledAt: string;
|
||||
/** The status of the schedule. */
|
||||
status: ChangeRequestScheduleSchemaStatus;
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
/**
|
||||
* The status of the schedule.
|
||||
*/
|
||||
export type ChangeRequestScheduleSchemaStatus =
|
||||
typeof ChangeRequestScheduleSchemaStatus[keyof typeof ChangeRequestScheduleSchemaStatus];
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
||||
export const ChangeRequestScheduleSchemaStatus = {
|
||||
pending: 'pending',
|
||||
failed: 'failed',
|
||||
} as const;
|
@ -3,41 +3,12 @@
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
import type { ChangeRequestSchemaState } from './changeRequestSchemaState';
|
||||
import type { ChangeRequestFeatureSchema } from './changeRequestFeatureSchema';
|
||||
import type { ChangeRequestSegmentChangeSchema } from './changeRequestSegmentChangeSchema';
|
||||
import type { ChangeRequestApprovalSchema } from './changeRequestApprovalSchema';
|
||||
import type { ChangeRequestCommentSchema } from './changeRequestCommentSchema';
|
||||
import type { ChangeRequestSchemaCreatedBy } from './changeRequestSchemaCreatedBy';
|
||||
import type { ChangeRequestSchemaOneOf } from './changeRequestSchemaOneOf';
|
||||
import type { ChangeRequestSchemaOneOfFour } from './changeRequestSchemaOneOfFour';
|
||||
|
||||
/**
|
||||
* A [change request](https://docs.getunleash.io/reference/change-requests)
|
||||
*/
|
||||
export interface ChangeRequestSchema {
|
||||
/** This change requests's ID. */
|
||||
id: number;
|
||||
/** A title describing the change request's content. */
|
||||
title?: string;
|
||||
/** The environment in which the changes should be applied. */
|
||||
environment: string;
|
||||
/** The current state of the change request. */
|
||||
state: ChangeRequestSchemaState;
|
||||
/** The minimum number of approvals required before this change request can be applied. */
|
||||
minApprovals: number;
|
||||
/** The project this change request belongs to. */
|
||||
project: string;
|
||||
/** The list of features and their changes that relate to this change request. */
|
||||
features: ChangeRequestFeatureSchema[];
|
||||
/** The list of segments and their changes that relate to this change request. */
|
||||
segments: ChangeRequestSegmentChangeSchema[];
|
||||
/** A list of approvals that this change request has received. */
|
||||
approvals?: ChangeRequestApprovalSchema[];
|
||||
/** A list of rejections that this change request has received. */
|
||||
rejections?: ChangeRequestApprovalSchema[];
|
||||
/** All comments that have been made on this change request. */
|
||||
comments?: ChangeRequestCommentSchema[];
|
||||
/** The user who created this change request. */
|
||||
createdBy: ChangeRequestSchemaCreatedBy;
|
||||
/** When this change request was created. */
|
||||
createdAt: string;
|
||||
}
|
||||
export type ChangeRequestSchema =
|
||||
| ChangeRequestSchemaOneOf
|
||||
| ChangeRequestSchemaOneOfFour;
|
||||
|
40
frontend/src/openapi/models/changeRequestSchemaOneOf.ts
Normal file
40
frontend/src/openapi/models/changeRequestSchemaOneOf.ts
Normal file
@ -0,0 +1,40 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
import type { ChangeRequestFeatureSchema } from './changeRequestFeatureSchema';
|
||||
import type { ChangeRequestSegmentChangeSchema } from './changeRequestSegmentChangeSchema';
|
||||
import type { ChangeRequestApprovalSchema } from './changeRequestApprovalSchema';
|
||||
import type { ChangeRequestCommentSchema } from './changeRequestCommentSchema';
|
||||
import type { ChangeRequestSchemaOneOfCreatedBy } from './changeRequestSchemaOneOfCreatedBy';
|
||||
import type { ChangeRequestSchemaOneOfState } from './changeRequestSchemaOneOfState';
|
||||
|
||||
export type ChangeRequestSchemaOneOf = {
|
||||
/** This change requests's ID. */
|
||||
id: number;
|
||||
/** A title describing the change request's content. */
|
||||
title?: string;
|
||||
/** The environment in which the changes should be applied. */
|
||||
environment: string;
|
||||
/** The minimum number of approvals required before this change request can be applied. */
|
||||
minApprovals: number;
|
||||
/** The project this change request belongs to. */
|
||||
project: string;
|
||||
/** The list of features and their changes that relate to this change request. */
|
||||
features: ChangeRequestFeatureSchema[];
|
||||
/** The list of segments and their changes that relate to this change request. */
|
||||
segments: ChangeRequestSegmentChangeSchema[];
|
||||
/** A list of approvals that this change request has received. */
|
||||
approvals?: ChangeRequestApprovalSchema[];
|
||||
/** A list of rejections that this change request has received. */
|
||||
rejections?: ChangeRequestApprovalSchema[];
|
||||
/** All comments that have been made on this change request. */
|
||||
comments?: ChangeRequestCommentSchema[];
|
||||
/** The user who created this change request. */
|
||||
createdBy: ChangeRequestSchemaOneOfCreatedBy;
|
||||
/** When this change request was created. */
|
||||
createdAt: string;
|
||||
/** The current state of the change request. */
|
||||
state: ChangeRequestSchemaOneOfState;
|
||||
};
|
@ -7,7 +7,7 @@
|
||||
/**
|
||||
* The user who created this change request.
|
||||
*/
|
||||
export type ChangeRequestSchemaCreatedBy = {
|
||||
export type ChangeRequestSchemaOneOfCreatedBy = {
|
||||
username?: string | null;
|
||||
/** The URL of the user's profile image. */
|
||||
imageUrl?: string | null;
|
42
frontend/src/openapi/models/changeRequestSchemaOneOfFour.ts
Normal file
42
frontend/src/openapi/models/changeRequestSchemaOneOfFour.ts
Normal file
@ -0,0 +1,42 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
import type { ChangeRequestFeatureSchema } from './changeRequestFeatureSchema';
|
||||
import type { ChangeRequestSegmentChangeSchema } from './changeRequestSegmentChangeSchema';
|
||||
import type { ChangeRequestApprovalSchema } from './changeRequestApprovalSchema';
|
||||
import type { ChangeRequestCommentSchema } from './changeRequestCommentSchema';
|
||||
import type { ChangeRequestSchemaOneOfFourCreatedBy } from './changeRequestSchemaOneOfFourCreatedBy';
|
||||
import type { ChangeRequestSchemaOneOfFourState } from './changeRequestSchemaOneOfFourState';
|
||||
import type { ChangeRequestScheduleSchema } from './changeRequestScheduleSchema';
|
||||
|
||||
export type ChangeRequestSchemaOneOfFour = {
|
||||
/** This change requests's ID. */
|
||||
id: number;
|
||||
/** A title describing the change request's content. */
|
||||
title?: string;
|
||||
/** The environment in which the changes should be applied. */
|
||||
environment: string;
|
||||
/** The minimum number of approvals required before this change request can be applied. */
|
||||
minApprovals: number;
|
||||
/** The project this change request belongs to. */
|
||||
project: string;
|
||||
/** The list of features and their changes that relate to this change request. */
|
||||
features: ChangeRequestFeatureSchema[];
|
||||
/** The list of segments and their changes that relate to this change request. */
|
||||
segments: ChangeRequestSegmentChangeSchema[];
|
||||
/** A list of approvals that this change request has received. */
|
||||
approvals?: ChangeRequestApprovalSchema[];
|
||||
/** A list of rejections that this change request has received. */
|
||||
rejections?: ChangeRequestApprovalSchema[];
|
||||
/** All comments that have been made on this change request. */
|
||||
comments?: ChangeRequestCommentSchema[];
|
||||
/** The user who created this change request. */
|
||||
createdBy: ChangeRequestSchemaOneOfFourCreatedBy;
|
||||
/** When this change request was created. */
|
||||
createdAt: string;
|
||||
/** The current state of the change request. */
|
||||
state: ChangeRequestSchemaOneOfFourState;
|
||||
schedule: ChangeRequestScheduleSchema;
|
||||
};
|
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
/**
|
||||
* The user who created this change request.
|
||||
*/
|
||||
export type ChangeRequestSchemaOneOfFourCreatedBy = {
|
||||
username?: string | null;
|
||||
/** The URL of the user's profile image. */
|
||||
imageUrl?: string | null;
|
||||
};
|
@ -0,0 +1,16 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
/**
|
||||
* The current state of the change request.
|
||||
*/
|
||||
export type ChangeRequestSchemaOneOfFourState =
|
||||
typeof ChangeRequestSchemaOneOfFourState[keyof typeof ChangeRequestSchemaOneOfFourState];
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
||||
export const ChangeRequestSchemaOneOfFourState = {
|
||||
Scheduled: 'Scheduled',
|
||||
} as const;
|
@ -7,11 +7,11 @@
|
||||
/**
|
||||
* The current state of the change request.
|
||||
*/
|
||||
export type ChangeRequestSchemaState =
|
||||
typeof ChangeRequestSchemaState[keyof typeof ChangeRequestSchemaState];
|
||||
export type ChangeRequestSchemaOneOfState =
|
||||
typeof ChangeRequestSchemaOneOfState[keyof typeof ChangeRequestSchemaOneOfState];
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
||||
export const ChangeRequestSchemaState = {
|
||||
export const ChangeRequestSchemaOneOfState = {
|
||||
Draft: 'Draft',
|
||||
In_review: 'In review',
|
||||
Approved: 'Approved',
|
@ -3,14 +3,12 @@
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
import type { ChangeRequestStateSchemaState } from './changeRequestStateSchemaState';
|
||||
import type { ChangeRequestStateSchemaOneOf } from './changeRequestStateSchemaOneOf';
|
||||
import type { ChangeRequestStateSchemaOneOfThree } from './changeRequestStateSchemaOneOfThree';
|
||||
|
||||
/**
|
||||
* Data used to update the state of a [change request](https://docs.getunleash.io/reference/change-requests).
|
||||
*/
|
||||
export interface ChangeRequestStateSchema {
|
||||
/** The new desired state for the change request */
|
||||
state: ChangeRequestStateSchemaState;
|
||||
/** Any comments accompanying the state changed. Used when sending a draft to review. */
|
||||
comment?: string;
|
||||
}
|
||||
export type ChangeRequestStateSchema =
|
||||
| ChangeRequestStateSchemaOneOf
|
||||
| ChangeRequestStateSchemaOneOfThree;
|
||||
|
13
frontend/src/openapi/models/changeRequestStateSchemaOneOf.ts
Normal file
13
frontend/src/openapi/models/changeRequestStateSchemaOneOf.ts
Normal file
@ -0,0 +1,13 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
import type { ChangeRequestStateSchemaOneOfState } from './changeRequestStateSchemaOneOfState';
|
||||
|
||||
export type ChangeRequestStateSchemaOneOf = {
|
||||
/** The new desired state for the change request */
|
||||
state: ChangeRequestStateSchemaOneOfState;
|
||||
/** Any comments accompanying the state changed. Used when sending a draft to review. */
|
||||
comment?: string;
|
||||
};
|
@ -7,11 +7,11 @@
|
||||
/**
|
||||
* The new desired state for the change request
|
||||
*/
|
||||
export type ChangeRequestStateSchemaState =
|
||||
typeof ChangeRequestStateSchemaState[keyof typeof ChangeRequestStateSchemaState];
|
||||
export type ChangeRequestStateSchemaOneOfState =
|
||||
typeof ChangeRequestStateSchemaOneOfState[keyof typeof ChangeRequestStateSchemaOneOfState];
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
||||
export const ChangeRequestStateSchemaState = {
|
||||
export const ChangeRequestStateSchemaOneOfState = {
|
||||
Draft: 'Draft',
|
||||
In_review: 'In review',
|
||||
Approved: 'Approved',
|
@ -0,0 +1,15 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
import type { ChangeRequestStateSchemaOneOfThreeState } from './changeRequestStateSchemaOneOfThreeState';
|
||||
|
||||
export type ChangeRequestStateSchemaOneOfThree = {
|
||||
/** The new desired state for the change request */
|
||||
state: ChangeRequestStateSchemaOneOfThreeState;
|
||||
/** The time at which the change request should be applied. */
|
||||
scheduledAt: string;
|
||||
/** Any comments accompanying the state changed. Used when sending a draft to review. */
|
||||
comment?: string;
|
||||
};
|
@ -0,0 +1,16 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
/**
|
||||
* The new desired state for the change request
|
||||
*/
|
||||
export type ChangeRequestStateSchemaOneOfThreeState =
|
||||
typeof ChangeRequestStateSchemaOneOfThreeState[keyof typeof ChangeRequestStateSchemaOneOfThreeState];
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
||||
export const ChangeRequestStateSchemaOneOfThreeState = {
|
||||
Scheduled: 'Scheduled',
|
||||
} as const;
|
@ -4,7 +4,7 @@
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type GetMessageBanners401 = {
|
||||
export type CreateBanner400 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** The name of the error kind */
|
@ -4,7 +4,7 @@
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type CreateMessageBanner403 = {
|
||||
export type CreateBanner401 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** The name of the error kind */
|
@ -4,7 +4,7 @@
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type CreateMessageBanner401 = {
|
||||
export type CreateBanner403 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** The name of the error kind */
|
@ -4,7 +4,7 @@
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type CreateMessageBanner400 = {
|
||||
export type CreateBanner415 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** The name of the error kind */
|
29
frontend/src/openapi/models/createBannerSchema.ts
Normal file
29
frontend/src/openapi/models/createBannerSchema.ts
Normal file
@ -0,0 +1,29 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
/**
|
||||
* Describes the properties required to create or update a banner.
|
||||
*/
|
||||
export interface CreateBannerSchema {
|
||||
/** The message to display to all users. Supports markdown. */
|
||||
message: string;
|
||||
/** Whether the banner should be displayed currently. If not specified, defaults to true. */
|
||||
enabled?: boolean;
|
||||
/** The variant of the banner. One of "info", "warning", "error", or "success". If not specified, defaults to "info". */
|
||||
variant?: string;
|
||||
/** Whether the banner should be sticky on the screen. If not specified, defaults to `false`. */
|
||||
sticky?: boolean;
|
||||
/** The icon to display on the banner. Can be one of https://fonts.google.com/icons. If not specified, this will be the default icon for the variant. If "none", no icon will be displayed. */
|
||||
icon?: string | null;
|
||||
/** The link to display on the banner. Can either be an absolute or a relative link (e.g. absolute: "https://example.com" or relative: "/admin/service-accounts"). If "dialog", will display a dialog when clicked. If not specified, no link will be displayed. */
|
||||
link?: string | null;
|
||||
/** The text to display on the link. If not specified, will be displayed as "More info". */
|
||||
linkText?: string | null;
|
||||
/** The title to display on the dialog. If not specified, this will be the same as `linkText`. */
|
||||
dialogTitle?: string | null;
|
||||
/** The markdown to display on the dialog. If not specified, no dialog will be displayed. */
|
||||
dialog?: string | null;
|
||||
}
|
@ -1,14 +0,0 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type CreateMessageBanner415 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
};
|
@ -1,29 +0,0 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
/**
|
||||
* Describes the properties required to create or update a message banner.
|
||||
*/
|
||||
export interface CreateMessageBannerSchema {
|
||||
/** The message to display to all users. Supports markdown. */
|
||||
message: string;
|
||||
/** Whether the message banner should be displayed to all users. If not specified, defaults to true. */
|
||||
enabled?: boolean;
|
||||
/** The variant of the message banner. One of "info", "warning", "error", or "success". If not specified, defaults to "info". */
|
||||
variant?: string;
|
||||
/** Whether the message banner should be sticky on the screen. If not specified, defaults to `false`. */
|
||||
sticky?: boolean;
|
||||
/** The icon to display on the message banner. Can be one of https://fonts.google.com/icons. If not specified, this will be the default icon for the variant. If "none", no icon will be displayed. */
|
||||
icon?: string | null;
|
||||
/** The link to display on the message banner. Can either be an absolute or a relative link (e.g. absolute: "https://example.com" or relative: "/admin/service-accounts"). If "dialog", will display a dialog when clicked. If not specified, no link will be displayed. */
|
||||
link?: string | null;
|
||||
/** The text to display on the link. If not specified, will be displayed as "More info". */
|
||||
linkText?: string | null;
|
||||
/** The title to display on the dialog. If not specified, this will be the same as `linkText`. */
|
||||
dialogTitle?: string | null;
|
||||
/** The markdown to display on the dialog. If not specified, no dialog will be displayed. */
|
||||
dialog?: string | null;
|
||||
}
|
14
frontend/src/openapi/models/deleteBanner401.ts
Normal file
14
frontend/src/openapi/models/deleteBanner401.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type DeleteBanner401 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
};
|
14
frontend/src/openapi/models/deleteBanner403.ts
Normal file
14
frontend/src/openapi/models/deleteBanner403.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type DeleteBanner403 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
};
|
14
frontend/src/openapi/models/deleteBanner404.ts
Normal file
14
frontend/src/openapi/models/deleteBanner404.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type DeleteBanner404 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
};
|
@ -1,14 +0,0 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type DeleteMessageBanner401 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
};
|
@ -1,14 +0,0 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type DeleteMessageBanner403 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
};
|
@ -1,14 +0,0 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type DeleteMessageBanner404 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
};
|
14
frontend/src/openapi/models/disableBanner401.ts
Normal file
14
frontend/src/openapi/models/disableBanner401.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type DisableBanner401 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
};
|
14
frontend/src/openapi/models/disableBanner403.ts
Normal file
14
frontend/src/openapi/models/disableBanner403.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type DisableBanner403 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
};
|
14
frontend/src/openapi/models/disableBanner404.ts
Normal file
14
frontend/src/openapi/models/disableBanner404.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type DisableBanner404 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
};
|
14
frontend/src/openapi/models/enableBanner401.ts
Normal file
14
frontend/src/openapi/models/enableBanner401.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type EnableBanner401 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
};
|
14
frontend/src/openapi/models/enableBanner403.ts
Normal file
14
frontend/src/openapi/models/enableBanner403.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type EnableBanner403 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
};
|
14
frontend/src/openapi/models/enableBanner404.ts
Normal file
14
frontend/src/openapi/models/enableBanner404.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type EnableBanner404 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
};
|
@ -109,6 +109,7 @@ export const EventSchemaType = {
|
||||
'change-request-cancelled': 'change-request-cancelled',
|
||||
'change-request-sent-to-review': 'change-request-sent-to-review',
|
||||
'change-request-applied': 'change-request-applied',
|
||||
'change-request-scheduled': 'change-request-scheduled',
|
||||
'api-token-created': 'api-token-created',
|
||||
'api-token-updated': 'api-token-updated',
|
||||
'api-token-deleted': 'api-token-deleted',
|
||||
@ -125,7 +126,7 @@ export const EventSchemaType = {
|
||||
'feature-dependency-added': 'feature-dependency-added',
|
||||
'feature-dependency-removed': 'feature-dependency-removed',
|
||||
'feature-dependencies-removed': 'feature-dependencies-removed',
|
||||
'message-banner-created': 'message-banner-created',
|
||||
'message-banner-updated': 'message-banner-updated',
|
||||
'message-banner-deleted': 'message-banner-deleted',
|
||||
'banner-created': 'banner-created',
|
||||
'banner-updated': 'banner-updated',
|
||||
'banner-deleted': 'banner-deleted',
|
||||
} as const;
|
||||
|
@ -30,4 +30,8 @@ export interface FeatureEnvironmentSchema {
|
||||
variants?: VariantSchema[];
|
||||
/** The date when metrics where last collected for the feature environment */
|
||||
lastSeenAt?: string | null;
|
||||
/** Whether the feature has any strategies defined. */
|
||||
hasStrategies?: boolean;
|
||||
/** Whether the feature has any enabled strategies defined. */
|
||||
hasEnabledStrategies?: boolean;
|
||||
}
|
||||
|
14
frontend/src/openapi/models/getBanners401.ts
Normal file
14
frontend/src/openapi/models/getBanners401.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type GetBanners401 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
};
|
@ -87,6 +87,8 @@ export * from './archiveFeatures400';
|
||||
export * from './archiveFeatures401';
|
||||
export * from './archiveFeatures403';
|
||||
export * from './archiveFeatures415';
|
||||
export * from './bannerSchema';
|
||||
export * from './bannersSchema';
|
||||
export * from './batchFeaturesSchema';
|
||||
export * from './batchStaleSchema';
|
||||
export * from './bulkMetrics400';
|
||||
@ -214,15 +216,24 @@ export * from './changeRequestOneOrManyCreateSchemaOneOfTwoone';
|
||||
export * from './changeRequestOneOrManyCreateSchemaOneOfTwooneAction';
|
||||
export * from './changeRequestOneOrManyCreateSchemaOneOfTwothree';
|
||||
export * from './changeRequestOneOrManyCreateSchemaOneOfTwothreeAction';
|
||||
export * from './changeRequestScheduleSchema';
|
||||
export * from './changeRequestScheduleSchemaStatus';
|
||||
export * from './changeRequestSchema';
|
||||
export * from './changeRequestSchemaCreatedBy';
|
||||
export * from './changeRequestSchemaState';
|
||||
export * from './changeRequestSchemaOneOf';
|
||||
export * from './changeRequestSchemaOneOfCreatedBy';
|
||||
export * from './changeRequestSchemaOneOfFour';
|
||||
export * from './changeRequestSchemaOneOfFourCreatedBy';
|
||||
export * from './changeRequestSchemaOneOfFourState';
|
||||
export * from './changeRequestSchemaOneOfState';
|
||||
export * from './changeRequestSegmentChangeSchema';
|
||||
export * from './changeRequestSegmentChangeSchemaCreatedBy';
|
||||
export * from './changeRequestSegmentChangeSchemaPayload';
|
||||
export * from './changeRequestSegmentChangeSchemaPayloadOneOf';
|
||||
export * from './changeRequestStateSchema';
|
||||
export * from './changeRequestStateSchemaState';
|
||||
export * from './changeRequestStateSchemaOneOf';
|
||||
export * from './changeRequestStateSchemaOneOfState';
|
||||
export * from './changeRequestStateSchemaOneOfThree';
|
||||
export * from './changeRequestStateSchemaOneOfThreeState';
|
||||
export * from './changeRequestUpdateTitleSchema';
|
||||
export * from './changeRequestsSchema';
|
||||
export * from './changeRoleForGroup401';
|
||||
@ -279,6 +290,11 @@ export * from './createApplication400';
|
||||
export * from './createApplication401';
|
||||
export * from './createApplication403';
|
||||
export * from './createApplicationSchema';
|
||||
export * from './createBanner400';
|
||||
export * from './createBanner401';
|
||||
export * from './createBanner403';
|
||||
export * from './createBanner415';
|
||||
export * from './createBannerSchema';
|
||||
export * from './createContextFieldSchema';
|
||||
export * from './createDependentFeatureSchema';
|
||||
export * from './createEnvironment400';
|
||||
@ -302,11 +318,6 @@ export * from './createGroupSchema';
|
||||
export * from './createGroupSchemaUsersItem';
|
||||
export * from './createGroupSchemaUsersItemUser';
|
||||
export * from './createInvitedUserSchema';
|
||||
export * from './createMessageBanner400';
|
||||
export * from './createMessageBanner401';
|
||||
export * from './createMessageBanner403';
|
||||
export * from './createMessageBanner415';
|
||||
export * from './createMessageBannerSchema';
|
||||
export * from './createPat401';
|
||||
export * from './createPat403';
|
||||
export * from './createPat404';
|
||||
@ -386,6 +397,9 @@ export * from './deleteApiToken401';
|
||||
export * from './deleteApiToken403';
|
||||
export * from './deleteApplication401';
|
||||
export * from './deleteApplication403';
|
||||
export * from './deleteBanner401';
|
||||
export * from './deleteBanner403';
|
||||
export * from './deleteBanner404';
|
||||
export * from './deleteFeature401';
|
||||
export * from './deleteFeature403';
|
||||
export * from './deleteFeatureDependencies401';
|
||||
@ -403,9 +417,6 @@ export * from './deleteFeatures403';
|
||||
export * from './deleteGroup400';
|
||||
export * from './deleteGroup401';
|
||||
export * from './deleteGroup403';
|
||||
export * from './deleteMessageBanner401';
|
||||
export * from './deleteMessageBanner403';
|
||||
export * from './deleteMessageBanner404';
|
||||
export * from './deletePat401';
|
||||
export * from './deletePat403';
|
||||
export * from './deletePat404';
|
||||
@ -436,11 +447,17 @@ export * from './dependentFeatureSchema';
|
||||
export * from './deprecateStrategy401';
|
||||
export * from './deprecateStrategy403';
|
||||
export * from './deprecateStrategy404';
|
||||
export * from './disableBanner401';
|
||||
export * from './disableBanner403';
|
||||
export * from './disableBanner404';
|
||||
export * from './doraFeaturesSchema';
|
||||
export * from './edgeTokenSchema';
|
||||
export * from './edgeTokenSchemaType';
|
||||
export * from './editChange404';
|
||||
export * from './emailSchema';
|
||||
export * from './enableBanner401';
|
||||
export * from './enableBanner403';
|
||||
export * from './enableBanner404';
|
||||
export * from './environmentProjectSchema';
|
||||
export * from './environmentSchema';
|
||||
export * from './environmentsProjectSchema';
|
||||
@ -503,6 +520,7 @@ export * from './getArchivedFeatures401';
|
||||
export * from './getArchivedFeatures403';
|
||||
export * from './getArchivedFeaturesByProjectId401';
|
||||
export * from './getArchivedFeaturesByProjectId403';
|
||||
export * from './getBanners401';
|
||||
export * from './getBaseUsersAndGroups401';
|
||||
export * from './getChangeRequest404';
|
||||
export * from './getEnvironment401';
|
||||
@ -551,7 +569,6 @@ export * from './getLoginHistory404';
|
||||
export * from './getMaintenance401';
|
||||
export * from './getMaintenance403';
|
||||
export * from './getMe401';
|
||||
export * from './getMessageBanners401';
|
||||
export * from './getOidcSettings400';
|
||||
export * from './getOidcSettings401';
|
||||
export * from './getOidcSettings403';
|
||||
@ -665,8 +682,6 @@ export * from './maintenanceSchema';
|
||||
export * from './markNotificationsAsReadSchema';
|
||||
export * from './meSchema';
|
||||
export * from './meSchemaSplash';
|
||||
export * from './messageBannerSchema';
|
||||
export * from './messageBannersSchema';
|
||||
export * from './nameSchema';
|
||||
export * from './notificationsSchema';
|
||||
export * from './notificationsSchemaItem';
|
||||
@ -842,6 +857,11 @@ export * from './sdkContextSchemaProperties';
|
||||
export * from './sdkFlatContextSchema';
|
||||
export * from './searchEventsSchema';
|
||||
export * from './searchEventsSchemaType';
|
||||
export * from './searchFeatures401';
|
||||
export * from './searchFeatures403';
|
||||
export * from './searchFeatures404';
|
||||
export * from './searchFeaturesParams';
|
||||
export * from './searchFeaturesSchema';
|
||||
export * from './searchUsers401';
|
||||
export * from './searchUsersParams';
|
||||
export * from './segmentSchema';
|
||||
@ -938,6 +958,11 @@ export * from './updateApiToken401';
|
||||
export * from './updateApiToken403';
|
||||
export * from './updateApiToken415';
|
||||
export * from './updateApiTokenSchema';
|
||||
export * from './updateBanner400';
|
||||
export * from './updateBanner401';
|
||||
export * from './updateBanner403';
|
||||
export * from './updateBanner404';
|
||||
export * from './updateBanner415';
|
||||
export * from './updateChangeRequestEnvironmentConfigSchema';
|
||||
export * from './updateContextFieldSchema';
|
||||
export * from './updateEnvironment400';
|
||||
@ -974,11 +999,6 @@ export * from './updateGroup401';
|
||||
export * from './updateGroup403';
|
||||
export * from './updateGroup404';
|
||||
export * from './updateGroup409';
|
||||
export * from './updateMessageBanner400';
|
||||
export * from './updateMessageBanner401';
|
||||
export * from './updateMessageBanner403';
|
||||
export * from './updateMessageBanner404';
|
||||
export * from './updateMessageBanner415';
|
||||
export * from './updateProject400';
|
||||
export * from './updateProject401';
|
||||
export * from './updateProject403';
|
||||
@ -1053,6 +1073,7 @@ export * from './validateArchiveFeatures400';
|
||||
export * from './validateArchiveFeatures401';
|
||||
export * from './validateArchiveFeatures403';
|
||||
export * from './validateArchiveFeatures415';
|
||||
export * from './validateArchiveFeaturesSchema';
|
||||
export * from './validateConstraint400';
|
||||
export * from './validateConstraint401';
|
||||
export * from './validateConstraint403';
|
||||
|
@ -1,33 +0,0 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
/**
|
||||
* An object describing a message banner to be displayed to all users.
|
||||
*/
|
||||
export interface MessageBannerSchema {
|
||||
/** The message banner's ID. Message banner IDs are incrementing integers. In other words, a more recently created message banner will always have a higher ID than an older one. */
|
||||
id: number;
|
||||
/** The message to display to all users. Supports markdown. */
|
||||
message: string;
|
||||
/** Whether the message banner should be displayed to all users. If not specified, defaults to true. */
|
||||
enabled?: boolean;
|
||||
/** The variant of the message banner. One of "info", "warning", "error", or "success". If not specified, defaults to "info". */
|
||||
variant?: string;
|
||||
/** Whether the message banner should be sticky on the screen. If not specified, defaults to `false`. */
|
||||
sticky?: boolean;
|
||||
/** The icon to display on the message banner. Can be one of https://fonts.google.com/icons. If not specified, this will be the default icon for the variant. If "none", no icon will be displayed. */
|
||||
icon?: string | null;
|
||||
/** The link to display on the message banner. Can either be an absolute or a relative link (e.g. absolute: "https://example.com" or relative: "/admin/service-accounts"). If "dialog", will display a dialog when clicked. If not specified, no link will be displayed. */
|
||||
link?: string | null;
|
||||
/** The text to display on the link. If not specified, will be displayed as "More info". */
|
||||
linkText?: string | null;
|
||||
/** The title to display on the dialog. If not specified, this will be the same as `linkText`. */
|
||||
dialogTitle?: string | null;
|
||||
/** The markdown to display on the dialog. If not specified, no dialog will be displayed. */
|
||||
dialog?: string | null;
|
||||
/** The date and time of when the message banner was created. */
|
||||
createdAt: string;
|
||||
}
|
@ -1,14 +0,0 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
import type { MessageBannerSchema } from './messageBannerSchema';
|
||||
|
||||
/**
|
||||
* A response model with a list of message banners.
|
||||
*/
|
||||
export interface MessageBannersSchema {
|
||||
/** A list of message banners. */
|
||||
messageBanners: MessageBannerSchema[];
|
||||
}
|
@ -109,6 +109,7 @@ export const SearchEventsSchemaType = {
|
||||
'change-request-cancelled': 'change-request-cancelled',
|
||||
'change-request-sent-to-review': 'change-request-sent-to-review',
|
||||
'change-request-applied': 'change-request-applied',
|
||||
'change-request-scheduled': 'change-request-scheduled',
|
||||
'api-token-created': 'api-token-created',
|
||||
'api-token-updated': 'api-token-updated',
|
||||
'api-token-deleted': 'api-token-deleted',
|
||||
@ -125,7 +126,7 @@ export const SearchEventsSchemaType = {
|
||||
'feature-dependency-added': 'feature-dependency-added',
|
||||
'feature-dependency-removed': 'feature-dependency-removed',
|
||||
'feature-dependencies-removed': 'feature-dependencies-removed',
|
||||
'message-banner-created': 'message-banner-created',
|
||||
'message-banner-updated': 'message-banner-updated',
|
||||
'message-banner-deleted': 'message-banner-deleted',
|
||||
'banner-created': 'banner-created',
|
||||
'banner-updated': 'banner-updated',
|
||||
'banner-deleted': 'banner-deleted',
|
||||
} as const;
|
||||
|
14
frontend/src/openapi/models/searchFeatures401.ts
Normal file
14
frontend/src/openapi/models/searchFeatures401.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type SearchFeatures401 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
};
|
14
frontend/src/openapi/models/searchFeatures403.ts
Normal file
14
frontend/src/openapi/models/searchFeatures403.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type SearchFeatures403 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
};
|
14
frontend/src/openapi/models/searchFeatures404.ts
Normal file
14
frontend/src/openapi/models/searchFeatures404.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type SearchFeatures404 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
};
|
36
frontend/src/openapi/models/searchFeaturesParams.ts
Normal file
36
frontend/src/openapi/models/searchFeaturesParams.ts
Normal file
@ -0,0 +1,36 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type SearchFeaturesParams = {
|
||||
/**
|
||||
* The search query for the feature or tag
|
||||
*/
|
||||
query?: string;
|
||||
/**
|
||||
* Id of the project where search and filter is performed
|
||||
*/
|
||||
projectId?: string;
|
||||
/**
|
||||
* The list of feature types to filter by
|
||||
*/
|
||||
type?: string[];
|
||||
/**
|
||||
* The list of feature tags to filter by. Feature tag has to specify a type and a value joined with a colon.
|
||||
*/
|
||||
tag?: string[];
|
||||
/**
|
||||
* The list of feature environment status to filter by. Feature environment has to specify a name and a status joined with a colon.
|
||||
*/
|
||||
status?: string[];
|
||||
/**
|
||||
* The next feature created at date the client has not seen. Used for cursor-based pagination. Empty if starting from the beginning.
|
||||
*/
|
||||
cursor?: string;
|
||||
/**
|
||||
* The number of results to return in a page. By default it is set to 50
|
||||
*/
|
||||
limit?: string;
|
||||
};
|
14
frontend/src/openapi/models/searchFeaturesSchema.ts
Normal file
14
frontend/src/openapi/models/searchFeaturesSchema.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
import type { FeatureSchema } from './featureSchema';
|
||||
|
||||
/**
|
||||
* A list of features matching search and filter criteria.
|
||||
*/
|
||||
export interface SearchFeaturesSchema {
|
||||
/** The full list of features in this project (excluding archived features) */
|
||||
features: FeatureSchema[];
|
||||
}
|
14
frontend/src/openapi/models/updateBanner400.ts
Normal file
14
frontend/src/openapi/models/updateBanner400.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type UpdateBanner400 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
};
|
14
frontend/src/openapi/models/updateBanner401.ts
Normal file
14
frontend/src/openapi/models/updateBanner401.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type UpdateBanner401 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
};
|
14
frontend/src/openapi/models/updateBanner403.ts
Normal file
14
frontend/src/openapi/models/updateBanner403.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type UpdateBanner403 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
};
|
14
frontend/src/openapi/models/updateBanner404.ts
Normal file
14
frontend/src/openapi/models/updateBanner404.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type UpdateBanner404 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
};
|
14
frontend/src/openapi/models/updateBanner415.ts
Normal file
14
frontend/src/openapi/models/updateBanner415.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type UpdateBanner415 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
};
|
@ -1,14 +0,0 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type UpdateMessageBanner400 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
};
|
@ -1,14 +0,0 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type UpdateMessageBanner401 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
};
|
@ -1,14 +0,0 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type UpdateMessageBanner403 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
};
|
@ -1,14 +0,0 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type UpdateMessageBanner404 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
};
|
@ -1,14 +0,0 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type UpdateMessageBanner415 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
};
|
15
frontend/src/openapi/models/validateArchiveFeaturesSchema.ts
Normal file
15
frontend/src/openapi/models/validateArchiveFeaturesSchema.ts
Normal file
@ -0,0 +1,15 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
/**
|
||||
* Validation details for features archive operation
|
||||
*/
|
||||
export interface ValidateArchiveFeaturesSchema {
|
||||
/** List of parent features that would orphan child features that are not part of the archive operation */
|
||||
parentsWithChildFeatures: string[];
|
||||
/** Whether any dependencies will be deleted as part of archive */
|
||||
hasDeletedDependencies: boolean;
|
||||
}
|
Loading…
Reference in New Issue
Block a user