mirror of
https://github.com/Unleash/unleash.git
synced 2025-07-21 13:47:39 +02:00
parent
f02c883da5
commit
fd4042db00
@ -27,6 +27,12 @@ export interface EnvironmentProjectSchema {
|
|||||||
projectEnabledToggleCount?: number;
|
projectEnabledToggleCount?: number;
|
||||||
/** `true` if the environment is protected, otherwise `false`. A *protected* environment can not be deleted. */
|
/** `true` if the environment is protected, otherwise `false`. A *protected* environment can not be deleted. */
|
||||||
protected: boolean;
|
protected: boolean;
|
||||||
|
/**
|
||||||
|
* Experimental field. The number of approvals required before a change request can be applied in this environment.
|
||||||
|
* @minimum 1
|
||||||
|
* @nullable
|
||||||
|
*/
|
||||||
|
requiredApprovals?: number | null;
|
||||||
/** Priority of the environment in a list of environments, the lower the value, the higher up in the list the environment will appear */
|
/** Priority of the environment in a list of environments, the lower the value, the higher up in the list the environment will appear */
|
||||||
sortOrder: number;
|
sortOrder: number;
|
||||||
/** The [type of environment](https://docs.getunleash.io/reference/environments#environment-types). */
|
/** The [type of environment](https://docs.getunleash.io/reference/environments#environment-types). */
|
||||||
|
@ -1100,6 +1100,7 @@ export * from './projectFlagCreatorsSchemaItem';
|
|||||||
export * from './projectInsightsSchema';
|
export * from './projectInsightsSchema';
|
||||||
export * from './projectInsightsSchemaHealth';
|
export * from './projectInsightsSchemaHealth';
|
||||||
export * from './projectInsightsSchemaMembers';
|
export * from './projectInsightsSchemaMembers';
|
||||||
|
export * from './projectLinkTemplateSchema';
|
||||||
export * from './projectOverviewSchema';
|
export * from './projectOverviewSchema';
|
||||||
export * from './projectOverviewSchemaMode';
|
export * from './projectOverviewSchemaMode';
|
||||||
export * from './projectOverviewSchemaOnboardingStatus';
|
export * from './projectOverviewSchemaOnboardingStatus';
|
||||||
|
18
frontend/src/openapi/models/projectLinkTemplateSchema.ts
Normal file
18
frontend/src/openapi/models/projectLinkTemplateSchema.ts
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
/**
|
||||||
|
* Generated by Orval
|
||||||
|
* Do not edit manually.
|
||||||
|
* See `gen:api` script in package.json
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* A template for a link that can be automatically added to new feature flags.
|
||||||
|
*/
|
||||||
|
export interface ProjectLinkTemplateSchema {
|
||||||
|
/**
|
||||||
|
* The title of the link.
|
||||||
|
* @nullable
|
||||||
|
*/
|
||||||
|
title?: string | null;
|
||||||
|
/** The URL to use as a template. Can contain {{project}} or {{feature}} as placeholders. */
|
||||||
|
urlTemplate: string;
|
||||||
|
}
|
@ -6,6 +6,7 @@
|
|||||||
import type { ProjectEnvironmentSchema } from './projectEnvironmentSchema';
|
import type { ProjectEnvironmentSchema } from './projectEnvironmentSchema';
|
||||||
import type { CreateFeatureNamingPatternSchema } from './createFeatureNamingPatternSchema';
|
import type { CreateFeatureNamingPatternSchema } from './createFeatureNamingPatternSchema';
|
||||||
import type { FeatureTypeCountSchema } from './featureTypeCountSchema';
|
import type { FeatureTypeCountSchema } from './featureTypeCountSchema';
|
||||||
|
import type { ProjectLinkTemplateSchema } from './projectLinkTemplateSchema';
|
||||||
import type { ProjectOverviewSchemaMode } from './projectOverviewSchemaMode';
|
import type { ProjectOverviewSchemaMode } from './projectOverviewSchemaMode';
|
||||||
import type { ProjectOverviewSchemaOnboardingStatus } from './projectOverviewSchemaOnboardingStatus';
|
import type { ProjectOverviewSchemaOnboardingStatus } from './projectOverviewSchemaOnboardingStatus';
|
||||||
import type { ProjectStatsSchema } from './projectStatsSchema';
|
import type { ProjectStatsSchema } from './projectStatsSchema';
|
||||||
@ -45,6 +46,8 @@ export interface ProjectOverviewSchema {
|
|||||||
featureTypeCounts?: FeatureTypeCountSchema[];
|
featureTypeCounts?: FeatureTypeCountSchema[];
|
||||||
/** An indicator of the [project's health](https://docs.getunleash.io/reference/technical-debt#project-status) on a scale from 0 to 100 */
|
/** An indicator of the [project's health](https://docs.getunleash.io/reference/technical-debt#project-status) on a scale from 0 to 100 */
|
||||||
health?: number;
|
health?: number;
|
||||||
|
/** A list of templates for links that will be automatically added to new feature flags. */
|
||||||
|
linkTemplates?: ProjectLinkTemplateSchema[];
|
||||||
/** The number of members this project has */
|
/** The number of members this project has */
|
||||||
members?: number;
|
members?: number;
|
||||||
/** The project's [collaboration mode](https://docs.getunleash.io/reference/project-collaboration-mode). Determines whether non-project members can submit change requests or not. */
|
/** The project's [collaboration mode](https://docs.getunleash.io/reference/project-collaboration-mode). Determines whether non-project members can submit change requests or not. */
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
* See `gen:api` script in package.json
|
* See `gen:api` script in package.json
|
||||||
*/
|
*/
|
||||||
import type { CreateFeatureNamingPatternSchema } from './createFeatureNamingPatternSchema';
|
import type { CreateFeatureNamingPatternSchema } from './createFeatureNamingPatternSchema';
|
||||||
|
import type { ProjectLinkTemplateSchema } from './projectLinkTemplateSchema';
|
||||||
import type { UpdateProjectEnterpriseSettingsSchemaMode } from './updateProjectEnterpriseSettingsSchemaMode';
|
import type { UpdateProjectEnterpriseSettingsSchemaMode } from './updateProjectEnterpriseSettingsSchemaMode';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -11,6 +12,8 @@ import type { UpdateProjectEnterpriseSettingsSchemaMode } from './updateProjectE
|
|||||||
*/
|
*/
|
||||||
export interface UpdateProjectEnterpriseSettingsSchema {
|
export interface UpdateProjectEnterpriseSettingsSchema {
|
||||||
featureNaming?: CreateFeatureNamingPatternSchema;
|
featureNaming?: CreateFeatureNamingPatternSchema;
|
||||||
|
/** A list of link templates for the project. Templates are added to new flags as flag links automatically. */
|
||||||
|
linkTemplates?: ProjectLinkTemplateSchema[];
|
||||||
/** A mode of the project affecting what actions are possible in this project */
|
/** A mode of the project affecting what actions are possible in this project */
|
||||||
mode?: UpdateProjectEnterpriseSettingsSchemaMode;
|
mode?: UpdateProjectEnterpriseSettingsSchemaMode;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user