mirror of
https://github.com/Unleash/unleash.git
synced 2024-10-18 20:09:08 +02:00
dfe8250c26
* refactor: add missing @types/react-outside-click-handler * refactor: add missing disablePasswordAuth IUiConfig field * refactor: replace NBSPs with regular spaces * refactor: port UserProfile to TS/SWR * refactor: fix interface type prefix Co-authored-by: Fredrik Strand Oseberg <fredrik.no@gmail.com>
38 lines
665 B
TypeScript
38 lines
665 B
TypeScript
export interface IUiConfig {
|
|
authenticationType: string;
|
|
baseUriPath: string;
|
|
flags: IFlags;
|
|
name: string;
|
|
slogan: string;
|
|
unleashUrl: string;
|
|
version: string;
|
|
versionInfo: IVersionInfo;
|
|
links: ILinks[];
|
|
disablePasswordAuth?: boolean;
|
|
}
|
|
|
|
export interface IFlags {
|
|
C: boolean;
|
|
P: boolean;
|
|
E: 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: string;
|
|
href: string;
|
|
title: string;
|
|
}
|