mirror of
https://github.com/Unleash/unleash.git
synced 2025-09-01 13:47:27 +02:00
chore: orval with impact metrics (#10573)
This commit is contained in:
parent
af28fb110d
commit
c36d1554c7
14
frontend/src/openapi/models/addReleasePlan401.ts
Normal file
14
frontend/src/openapi/models/addReleasePlan401.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type AddReleasePlan401 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
};
|
14
frontend/src/openapi/models/addReleasePlan409.ts
Normal file
14
frontend/src/openapi/models/addReleasePlan409.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type AddReleasePlan409 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
};
|
@ -15,4 +15,5 @@ export const ApiTokenSchemaType = {
|
||||
client: 'client',
|
||||
admin: 'admin',
|
||||
frontend: 'frontend',
|
||||
backend: 'backend',
|
||||
} as const;
|
||||
|
@ -37,7 +37,7 @@ export type ChangeRequestSchemaOneOf = {
|
||||
/** The current state of the change request. */
|
||||
state: ChangeRequestSchemaOneOfState;
|
||||
/** A mapping of each state this change request has entered to the most recent time when it entered that state. If a change request has entered the same state multiple times, only the most recent timestamp will be included. */
|
||||
stateTimestamps?: ChangeRequestSchemaOneOfStateTimestamps;
|
||||
stateTimestamps: ChangeRequestSchemaOneOfStateTimestamps;
|
||||
/** A title describing the change request's content. */
|
||||
title?: string;
|
||||
};
|
||||
|
@ -39,7 +39,7 @@ export type ChangeRequestSchemaOneOfFive = {
|
||||
/** The current state of the change request. */
|
||||
state: ChangeRequestSchemaOneOfFiveState;
|
||||
/** A mapping of each state this change request has entered to the most recent time when it entered that state. If a change request has entered the same state multiple times, only the most recent timestamp will be included. */
|
||||
stateTimestamps?: ChangeRequestSchemaOneOfFiveStateTimestamps;
|
||||
stateTimestamps: ChangeRequestSchemaOneOfFiveStateTimestamps;
|
||||
/** A title describing the change request's content. */
|
||||
title?: string;
|
||||
};
|
||||
|
@ -4,11 +4,11 @@
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
import type { ChangeRequestsSchemaItemOneOf } from './changeRequestsSchemaItemOneOf.js';
|
||||
import type { ChangeRequestsSchemaItemOneOfFive } from './changeRequestsSchemaItemOneOfFive.js';
|
||||
import type { ChangeRequestsSchemaItemOneOfFour } from './changeRequestsSchemaItemOneOfFour.js';
|
||||
|
||||
/**
|
||||
* A simplified change request overview
|
||||
*/
|
||||
export type ChangeRequestsSchemaItem =
|
||||
| ChangeRequestsSchemaItemOneOf
|
||||
| ChangeRequestsSchemaItemOneOfFive;
|
||||
| ChangeRequestsSchemaItemOneOfFour;
|
||||
|
@ -9,7 +9,6 @@ import type { ChangeRequestsSchemaItemOneOfCreatedBy } from './changeRequestsSch
|
||||
import type { ChangeRequestFeatureSchema } from './changeRequestFeatureSchema.js';
|
||||
import type { ChangeRequestSegmentChangeSchema } from './changeRequestSegmentChangeSchema.js';
|
||||
import type { ChangeRequestsSchemaItemOneOfState } from './changeRequestsSchemaItemOneOfState.js';
|
||||
import type { ChangeRequestsSchemaItemOneOfStateTimestamps } from './changeRequestsSchemaItemOneOfStateTimestamps.js';
|
||||
|
||||
export type ChangeRequestsSchemaItemOneOf = {
|
||||
/**
|
||||
@ -36,7 +35,7 @@ export type ChangeRequestsSchemaItemOneOf = {
|
||||
* The minimum number of approvals required before this change request can be applied.
|
||||
* @deprecated
|
||||
*/
|
||||
minApprovals: number;
|
||||
minApprovals?: number;
|
||||
/** The project this change request belongs to. */
|
||||
project: string;
|
||||
/**
|
||||
@ -48,8 +47,6 @@ export type ChangeRequestsSchemaItemOneOf = {
|
||||
segments: ChangeRequestSegmentChangeSchema[];
|
||||
/** The current state of the change request. */
|
||||
state: ChangeRequestsSchemaItemOneOfState;
|
||||
/** A mapping of each state this change request has entered to the most recent time when it entered that state. If a change request has entered the same state multiple times, only the most recent timestamp will be included. */
|
||||
stateTimestamps?: ChangeRequestsSchemaItemOneOfStateTimestamps;
|
||||
/** A title describing the change request's content. */
|
||||
title?: string;
|
||||
};
|
||||
|
@ -1,12 +0,0 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
/**
|
||||
* A mapping of each state this change request has entered to the most recent time when it entered that state. If a change request has entered the same state multiple times, only the most recent timestamp will be included.
|
||||
*/
|
||||
export type ChangeRequestsSchemaItemOneOfFiveStateTimestamps = {
|
||||
[key: string]: string;
|
||||
};
|
@ -5,14 +5,13 @@
|
||||
*/
|
||||
import type { ChangeRequestApprovalSchema } from './changeRequestApprovalSchema.js';
|
||||
import type { ChangeRequestCommentSchema } from './changeRequestCommentSchema.js';
|
||||
import type { ChangeRequestsSchemaItemOneOfFiveCreatedBy } from './changeRequestsSchemaItemOneOfFiveCreatedBy.js';
|
||||
import type { ChangeRequestsSchemaItemOneOfFourCreatedBy } from './changeRequestsSchemaItemOneOfFourCreatedBy.js';
|
||||
import type { ChangeRequestFeatureSchema } from './changeRequestFeatureSchema.js';
|
||||
import type { ChangeRequestScheduleSchema } from './changeRequestScheduleSchema.js';
|
||||
import type { ChangeRequestSegmentChangeSchema } from './changeRequestSegmentChangeSchema.js';
|
||||
import type { ChangeRequestsSchemaItemOneOfFiveState } from './changeRequestsSchemaItemOneOfFiveState.js';
|
||||
import type { ChangeRequestsSchemaItemOneOfFiveStateTimestamps } from './changeRequestsSchemaItemOneOfFiveStateTimestamps.js';
|
||||
import type { ChangeRequestsSchemaItemOneOfFourState } from './changeRequestsSchemaItemOneOfFourState.js';
|
||||
|
||||
export type ChangeRequestsSchemaItemOneOfFive = {
|
||||
export type ChangeRequestsSchemaItemOneOfFour = {
|
||||
/**
|
||||
* A list of approvals that this change request has received.
|
||||
* @deprecated
|
||||
@ -26,7 +25,7 @@ export type ChangeRequestsSchemaItemOneOfFive = {
|
||||
/** When this change request was created. */
|
||||
createdAt: string;
|
||||
/** The user who created this change request. */
|
||||
createdBy: ChangeRequestsSchemaItemOneOfFiveCreatedBy;
|
||||
createdBy: ChangeRequestsSchemaItemOneOfFourCreatedBy;
|
||||
/** The environment in which the changes should be applied. */
|
||||
environment: string;
|
||||
/** The list of features and their changes that relate to this change request. */
|
||||
@ -37,7 +36,7 @@ export type ChangeRequestsSchemaItemOneOfFive = {
|
||||
* The minimum number of approvals required before this change request can be applied.
|
||||
* @deprecated
|
||||
*/
|
||||
minApprovals: number;
|
||||
minApprovals?: number;
|
||||
/** The project this change request belongs to. */
|
||||
project: string;
|
||||
/**
|
||||
@ -49,9 +48,7 @@ export type ChangeRequestsSchemaItemOneOfFive = {
|
||||
/** The list of segments and their changes that relate to this change request. */
|
||||
segments: ChangeRequestSegmentChangeSchema[];
|
||||
/** The current state of the change request. */
|
||||
state: ChangeRequestsSchemaItemOneOfFiveState;
|
||||
/** A mapping of each state this change request has entered to the most recent time when it entered that state. If a change request has entered the same state multiple times, only the most recent timestamp will be included. */
|
||||
stateTimestamps?: ChangeRequestsSchemaItemOneOfFiveStateTimestamps;
|
||||
state: ChangeRequestsSchemaItemOneOfFourState;
|
||||
/** A title describing the change request's content. */
|
||||
title?: string;
|
||||
};
|
@ -7,7 +7,7 @@
|
||||
/**
|
||||
* The user who created this change request.
|
||||
*/
|
||||
export type ChangeRequestsSchemaItemOneOfFiveCreatedBy = {
|
||||
export type ChangeRequestsSchemaItemOneOfFourCreatedBy = {
|
||||
/**
|
||||
* The URL of the user's profile image.
|
||||
* @nullable
|
@ -7,10 +7,10 @@
|
||||
/**
|
||||
* The current state of the change request.
|
||||
*/
|
||||
export type ChangeRequestsSchemaItemOneOfFiveState =
|
||||
(typeof ChangeRequestsSchemaItemOneOfFiveState)[keyof typeof ChangeRequestsSchemaItemOneOfFiveState];
|
||||
export type ChangeRequestsSchemaItemOneOfFourState =
|
||||
(typeof ChangeRequestsSchemaItemOneOfFourState)[keyof typeof ChangeRequestsSchemaItemOneOfFourState];
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
||||
export const ChangeRequestsSchemaItemOneOfFiveState = {
|
||||
export const ChangeRequestsSchemaItemOneOfFourState = {
|
||||
Scheduled: 'Scheduled',
|
||||
} as const;
|
@ -1,12 +0,0 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
/**
|
||||
* A mapping of each state this change request has entered to the most recent time when it entered that state. If a change request has entered the same state multiple times, only the most recent timestamp will be included.
|
||||
*/
|
||||
export type ChangeRequestsSchemaItemOneOfStateTimestamps = {
|
||||
[key: string]: string;
|
||||
};
|
@ -16,8 +16,8 @@ export type CreateApiTokenSchemaOneOf = {
|
||||
/** The name of the token. */
|
||||
tokenName: string;
|
||||
/**
|
||||
* A client or frontend token. Must be one of the strings "client" or "frontend" (not case sensitive).
|
||||
* @pattern ^([Cc][Ll][Ii][Ee][Nn][Tt]|[Ff][Rr][Oo][Nn][Tt][Ee][Nn][Dd])$
|
||||
* A client or frontend token. Must be one of the strings "client" (deprecated), "backend" (preferred over "client") or "frontend" (not case sensitive).
|
||||
* @pattern ^([Cc][Ll][Ii][Ee][Nn][Tt]|[Bb][Aa][Cc][Kk][Ee][Nn][Dd]|[Ff][Rr][Oo][Nn][Tt][Ee][Nn][Dd])$
|
||||
*/
|
||||
type: string;
|
||||
};
|
||||
|
@ -15,8 +15,8 @@ export interface CreateProjectApiTokenSchema {
|
||||
/** A unique name for this particular token */
|
||||
tokenName: string;
|
||||
/**
|
||||
* A client or frontend token. Must be one of the strings "client" or "frontend" (not case sensitive).
|
||||
* @pattern ^([Cc][Ll][Ii][Ee][Nn][Tt]|[Ff][Rr][Oo][Nn][Tt][Ee][Nn][Dd])$
|
||||
* A client or frontend token. Must be one of the strings "client" (deprecated), "backend" (preferred over "client") or "frontend" (not case sensitive).
|
||||
* @pattern ^([Cc][Ll][Ii][Ee][Nn][Tt]|[Bb][Aa][Cc][Kk][Ee][Nn][Dd]|[Ff][Rr][Oo][Nn][Tt][Ee][Nn][Dd])$
|
||||
*/
|
||||
type: string;
|
||||
}
|
||||
|
@ -4,6 +4,7 @@
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
import type { ConnectionConsumptionSchema } from './connectionConsumptionSchema.js';
|
||||
import type { EdgeInstanceDataSchemaHosting } from './edgeInstanceDataSchemaHosting.js';
|
||||
import type { EdgeUpstreamLatencySchema } from './edgeUpstreamLatencySchema.js';
|
||||
import type { EdgeProcessMetricsSchema } from './edgeProcessMetricsSchema.js';
|
||||
import type { RequestConsumptionSchema } from './requestConsumptionSchema.js';
|
||||
@ -27,6 +28,8 @@ export interface EdgeInstanceDataSchema {
|
||||
connectionConsumptionSinceLastReport?: ConnectionConsumptionSchema;
|
||||
/** Which version (semver) of Edge is the Edge instance running. */
|
||||
edgeVersion: string;
|
||||
/** A marker that tells Unleash whether this Edge instance is self-hosted or hosted by Unleash. */
|
||||
hosting?: EdgeInstanceDataSchemaHosting;
|
||||
/** The ID of the Edge process, typically a ULID. Newly generated for each restart of the instance. */
|
||||
identifier: string;
|
||||
latencyUpstream: EdgeUpstreamLatencySchema;
|
||||
@ -37,7 +40,7 @@ export interface EdgeInstanceDataSchema {
|
||||
* @nullable
|
||||
*/
|
||||
region?: string | null;
|
||||
/** Request consumption data since last report, grouped by metered group. User for frontend SDKs with unpredictable and potentially large number of user devices running those SDKs. */
|
||||
/** Request consumption data since last report, grouped by metered group. Used for frontend SDKs with unpredictable and potentially large number of user devices running those SDKs. */
|
||||
requestConsumptionSinceLastReport?: RequestConsumptionSchema;
|
||||
/** Requests made to edge's endpoints since last report. Meant to be used for billing purposes. */
|
||||
requestsSinceLastReport?: EdgeRequestStatsSchema;
|
||||
|
17
frontend/src/openapi/models/edgeInstanceDataSchemaHosting.ts
Normal file
17
frontend/src/openapi/models/edgeInstanceDataSchemaHosting.ts
Normal file
@ -0,0 +1,17 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
/**
|
||||
* A marker that tells Unleash whether this Edge instance is self-hosted or hosted by Unleash.
|
||||
*/
|
||||
export type EdgeInstanceDataSchemaHosting =
|
||||
(typeof EdgeInstanceDataSchemaHosting)[keyof typeof EdgeInstanceDataSchemaHosting];
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
||||
export const EdgeInstanceDataSchemaHosting = {
|
||||
hosted: 'hosted',
|
||||
'self-hosted': 'self-hosted',
|
||||
} as const;
|
@ -15,4 +15,5 @@ export const EdgeTokenSchemaType = {
|
||||
client: 'client',
|
||||
admin: 'admin',
|
||||
frontend: 'frontend',
|
||||
backend: 'backend',
|
||||
} as const;
|
||||
|
14
frontend/src/openapi/models/getReleasePlans401.ts
Normal file
14
frontend/src/openapi/models/getReleasePlans401.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type GetReleasePlans401 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
};
|
35
frontend/src/openapi/models/impactMetricsConfigSchema.ts
Normal file
35
frontend/src/openapi/models/impactMetricsConfigSchema.ts
Normal file
@ -0,0 +1,35 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
import type { ImpactMetricsConfigSchemaSelectedLabels } from './impactMetricsConfigSchemaSelectedLabels.js';
|
||||
import type { ImpactMetricsConfigSchemaSelectedRange } from './impactMetricsConfigSchemaSelectedRange.js';
|
||||
|
||||
/**
|
||||
* Describes the configuration for a single impact metric chart.
|
||||
*/
|
||||
export interface ImpactMetricsConfigSchema {
|
||||
/** The aggregation mode for the metric data. */
|
||||
aggregationMode: string;
|
||||
/** Whether the chart should begin at zero on the y-axis. */
|
||||
beginAtZero: boolean;
|
||||
/**
|
||||
* Optional feature name that this impact metric is associated with.
|
||||
* @nullable
|
||||
*/
|
||||
feature?: string | null;
|
||||
/** The unique ULID identifier for this impact metric configuration. Generated automatically if not provided. */
|
||||
id?: string;
|
||||
/** The selected labels and their values for filtering the metric data. */
|
||||
selectedLabels: ImpactMetricsConfigSchemaSelectedLabels;
|
||||
/** The time range for the metric data. */
|
||||
selectedRange: ImpactMetricsConfigSchemaSelectedRange;
|
||||
/** The Prometheus metric series to display. */
|
||||
selectedSeries: string;
|
||||
/**
|
||||
* Optional title for the impact metric chart.
|
||||
* @nullable
|
||||
*/
|
||||
title?: string | null;
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
/**
|
||||
* The selected labels and their values for filtering the metric data.
|
||||
*/
|
||||
export type ImpactMetricsConfigSchemaSelectedLabels = {
|
||||
[key: string]: string[];
|
||||
};
|
@ -0,0 +1,19 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
/**
|
||||
* The time range for the metric data.
|
||||
*/
|
||||
export type ImpactMetricsConfigSchemaSelectedRange =
|
||||
(typeof ImpactMetricsConfigSchemaSelectedRange)[keyof typeof ImpactMetricsConfigSchemaSelectedRange];
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
||||
export const ImpactMetricsConfigSchemaSelectedRange = {
|
||||
hour: 'hour',
|
||||
day: 'day',
|
||||
week: 'week',
|
||||
month: 'month',
|
||||
} as const;
|
@ -52,6 +52,8 @@ export * from './addMilestoneToReleasePlanTemplate403.js';
|
||||
export * from './addMilestoneToReleasePlanTemplate404.js';
|
||||
export * from './addPublicSignupTokenUser400.js';
|
||||
export * from './addPublicSignupTokenUser409.js';
|
||||
export * from './addReleasePlan401.js';
|
||||
export * from './addReleasePlan409.js';
|
||||
export * from './addStrategyToMilestone401.js';
|
||||
export * from './addStrategyToMilestone403.js';
|
||||
export * from './addStrategyToMilestone404.js';
|
||||
@ -314,12 +316,10 @@ export * from './changeRequestsSchema.js';
|
||||
export * from './changeRequestsSchemaItem.js';
|
||||
export * from './changeRequestsSchemaItemOneOf.js';
|
||||
export * from './changeRequestsSchemaItemOneOfCreatedBy.js';
|
||||
export * from './changeRequestsSchemaItemOneOfFive.js';
|
||||
export * from './changeRequestsSchemaItemOneOfFiveCreatedBy.js';
|
||||
export * from './changeRequestsSchemaItemOneOfFiveState.js';
|
||||
export * from './changeRequestsSchemaItemOneOfFiveStateTimestamps.js';
|
||||
export * from './changeRequestsSchemaItemOneOfFour.js';
|
||||
export * from './changeRequestsSchemaItemOneOfFourCreatedBy.js';
|
||||
export * from './changeRequestsSchemaItemOneOfFourState.js';
|
||||
export * from './changeRequestsSchemaItemOneOfState.js';
|
||||
export * from './changeRequestsSchemaItemOneOfStateTimestamps.js';
|
||||
export * from './changeUserPassword400.js';
|
||||
export * from './changeUserPassword401.js';
|
||||
export * from './changeUserPassword403.js';
|
||||
@ -591,6 +591,7 @@ export * from './disconnectAll403.js';
|
||||
export * from './doraFeaturesSchema.js';
|
||||
export * from './edgeEndpointTrafficSchema.js';
|
||||
export * from './edgeInstanceDataSchema.js';
|
||||
export * from './edgeInstanceDataSchemaHosting.js';
|
||||
export * from './edgeInstanceTrafficSchema.js';
|
||||
export * from './edgeInstanceTrafficSchemaAccessDenied.js';
|
||||
export * from './edgeInstanceTrafficSchemaCachedResponses.js';
|
||||
@ -816,6 +817,7 @@ export * from './getRawFeatureMetrics401.js';
|
||||
export * from './getRawFeatureMetrics403.js';
|
||||
export * from './getRawFeatureMetrics404.js';
|
||||
export * from './getReleasePlanTemplate401.js';
|
||||
export * from './getReleasePlans401.js';
|
||||
export * from './getRequestsForPeriodGrouping.js';
|
||||
export * from './getRequestsForPeriodParams.js';
|
||||
export * from './getRoleById400.js';
|
||||
@ -885,6 +887,9 @@ export * from './healthReportSchema.js';
|
||||
export * from './healthReportSchemaMode.js';
|
||||
export * from './idSchema.js';
|
||||
export * from './idsSchema.js';
|
||||
export * from './impactMetricsConfigSchema.js';
|
||||
export * from './impactMetricsConfigSchemaSelectedLabels.js';
|
||||
export * from './impactMetricsConfigSchemaSelectedRange.js';
|
||||
export * from './impactMetricsSchema.js';
|
||||
export * from './impactMetricsSchemaSamplesItem.js';
|
||||
export * from './impactMetricsSchemaSamplesItemLabels.js';
|
||||
@ -1164,6 +1169,8 @@ export * from './removeFavoriteProject404.js';
|
||||
export * from './removeGroupAccess401.js';
|
||||
export * from './removeGroupAccess403.js';
|
||||
export * from './removeGroupAccess404.js';
|
||||
export * from './removeReleasePlan401.js';
|
||||
export * from './removeReleasePlan403.js';
|
||||
export * from './removeReleasePlanMilestone401.js';
|
||||
export * from './removeReleasePlanMilestone403.js';
|
||||
export * from './removeReleasePlanMilestone404.js';
|
||||
@ -1294,6 +1301,9 @@ export * from './splashResponseSchema.js';
|
||||
export * from './staleFeatures401.js';
|
||||
export * from './staleFeatures403.js';
|
||||
export * from './staleFeatures415.js';
|
||||
export * from './startMilestone401.js';
|
||||
export * from './startMilestone403.js';
|
||||
export * from './startMilestone404.js';
|
||||
export * from './strategiesSchema.js';
|
||||
export * from './strategiesSchemaVersion.js';
|
||||
export * from './strategySchema.js';
|
||||
|
@ -22,6 +22,8 @@ export interface LicenseReadSchema {
|
||||
isValid: boolean;
|
||||
/** Name of plan that the license is for. */
|
||||
plan?: string;
|
||||
/** Number of release templates in the license. */
|
||||
releaseTemplates?: number;
|
||||
/** Number of seats in the license. */
|
||||
seats?: number;
|
||||
/** The actual license token. */
|
||||
|
14
frontend/src/openapi/models/removeReleasePlan401.ts
Normal file
14
frontend/src/openapi/models/removeReleasePlan401.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type RemoveReleasePlan401 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
};
|
14
frontend/src/openapi/models/removeReleasePlan403.ts
Normal file
14
frontend/src/openapi/models/removeReleasePlan403.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type RemoveReleasePlan403 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
};
|
@ -71,7 +71,7 @@ export type SearchFeaturesParams = {
|
||||
*/
|
||||
createdAt?: string;
|
||||
/**
|
||||
* The date the feature was last seen (either from metrics or manual report). The date can be specified with an operator. The supported operators are IS_BEFORE, IS_ON_OR_AFTER.
|
||||
* The date the feature was last seen from metrics. The date can be specified with an operator. The supported operators are IS_BEFORE, IS_ON_OR_AFTER.
|
||||
*/
|
||||
lastSeenAt?: string;
|
||||
};
|
||||
|
14
frontend/src/openapi/models/startMilestone401.ts
Normal file
14
frontend/src/openapi/models/startMilestone401.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type StartMilestone401 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
};
|
14
frontend/src/openapi/models/startMilestone403.ts
Normal file
14
frontend/src/openapi/models/startMilestone403.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type StartMilestone403 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
};
|
14
frontend/src/openapi/models/startMilestone404.ts
Normal file
14
frontend/src/openapi/models/startMilestone404.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type StartMilestone404 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
};
|
@ -12,6 +12,11 @@ export interface UnknownFlagSchema {
|
||||
appName: string;
|
||||
/** The environment in which the unknown flag was reported. */
|
||||
environment: string;
|
||||
/**
|
||||
* The date and time when the last event for the unknown flag name occurred, if any.
|
||||
* @nullable
|
||||
*/
|
||||
lastEventAt?: string | null;
|
||||
/** The name of the unknown flag. */
|
||||
name: string;
|
||||
/** The date and time when the unknown flag was reported. */
|
||||
|
@ -4,6 +4,7 @@
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
import type { CreateFeatureNamingPatternSchema } from './createFeatureNamingPatternSchema.js';
|
||||
import type { ProjectLinkTemplateSchema } from './projectLinkTemplateSchema.js';
|
||||
import type { UpdateProjectEnterpriseSettingsSchemaMode } from './updateProjectEnterpriseSettingsSchemaMode.js';
|
||||
|
||||
/**
|
||||
@ -11,6 +12,8 @@ import type { UpdateProjectEnterpriseSettingsSchemaMode } from './updateProjectE
|
||||
*/
|
||||
export interface UpdateProjectEnterpriseSettingsSchema {
|
||||
featureNaming?: CreateFeatureNamingPatternSchema;
|
||||
/** A list of link templates that can be automatically added to new feature flags. */
|
||||
linkTemplates?: ProjectLinkTemplateSchema[];
|
||||
/** A mode of the project affecting what actions are possible in this project */
|
||||
mode?: UpdateProjectEnterpriseSettingsSchemaMode;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user