mirror of
https://github.com/Unleash/unleash.git
synced 2025-03-18 00:19:49 +01:00
Removes feature flags for syncing sso groups and clone environment. These features are being made generally available for all who have access to environments and sso groups
68 lines
1.4 KiB
TypeScript
68 lines
1.4 KiB
TypeScript
import { ReactNode } from 'react';
|
|
|
|
export interface IUiConfig {
|
|
authenticationType?: string;
|
|
baseUriPath?: string;
|
|
flags: IFlags;
|
|
name: string;
|
|
slogan: string;
|
|
environment?: string;
|
|
unleashUrl?: string;
|
|
version: string;
|
|
versionInfo?: IVersionInfo;
|
|
links: ILinks[];
|
|
disablePasswordAuth?: boolean;
|
|
emailEnabled?: boolean;
|
|
toast?: IProclamationToast;
|
|
segmentValuesLimit?: number;
|
|
strategySegmentsLimit?: number;
|
|
frontendApiOrigins?: string[];
|
|
}
|
|
|
|
export interface IProclamationToast {
|
|
message: string;
|
|
id: string;
|
|
severity: 'success' | 'info' | 'warning' | 'error';
|
|
link: string;
|
|
}
|
|
|
|
export interface IFlags {
|
|
C: boolean;
|
|
P: boolean;
|
|
E: boolean;
|
|
RE: boolean;
|
|
EEA?: boolean;
|
|
OIDC?: boolean;
|
|
CO?: boolean;
|
|
SE?: boolean;
|
|
T?: boolean;
|
|
UNLEASH_CLOUD?: boolean;
|
|
UG?: boolean;
|
|
ENABLE_DARK_MODE_SUPPORT?: boolean;
|
|
embedProxyFrontend?: boolean;
|
|
changeRequests?: boolean;
|
|
variantsPerEnvironment?: boolean;
|
|
tokensLastSeen?: boolean;
|
|
favorites?: boolean;
|
|
networkView?: boolean;
|
|
}
|
|
|
|
export interface IVersionInfo {
|
|
instanceId: string;
|
|
isLatest: boolean;
|
|
latest: Partial<IVersion>;
|
|
current: IVersion;
|
|
}
|
|
|
|
export interface IVersion {
|
|
oss: string;
|
|
enterprise: string;
|
|
}
|
|
|
|
export interface ILinks {
|
|
value: string;
|
|
icon: ReactNode;
|
|
href: string;
|
|
title: string;
|
|
}
|