@keycloak/keycloak-admin-client 22.0.2 → 22.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export default interface FeatureRepresentation {
|
|
2
|
+
name: string;
|
|
3
|
+
label: string;
|
|
4
|
+
type: FeatureType;
|
|
5
|
+
enabled: boolean;
|
|
6
|
+
dependencies: string[];
|
|
7
|
+
}
|
|
8
|
+
export declare enum FeatureType {
|
|
9
|
+
Default = "DEFAULT",
|
|
10
|
+
DisabledByDefault = "DISABLED_BY_DEFAULT",
|
|
11
|
+
Preview = "PREVIEW",
|
|
12
|
+
PreviewDisabledByDefault = "PREVIEW_DISABLED_BY_DEFAULT",
|
|
13
|
+
Experimental = "EXPERIMENTAL",
|
|
14
|
+
Deprecated = "DEPRECATED"
|
|
15
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export var FeatureType;
|
|
2
|
+
(function (FeatureType) {
|
|
3
|
+
FeatureType["Default"] = "DEFAULT";
|
|
4
|
+
FeatureType["DisabledByDefault"] = "DISABLED_BY_DEFAULT";
|
|
5
|
+
FeatureType["Preview"] = "PREVIEW";
|
|
6
|
+
FeatureType["PreviewDisabledByDefault"] = "PREVIEW_DISABLED_BY_DEFAULT";
|
|
7
|
+
FeatureType["Experimental"] = "EXPERIMENTAL";
|
|
8
|
+
FeatureType["Deprecated"] = "DEPRECATED";
|
|
9
|
+
})(FeatureType || (FeatureType = {}));
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type ComponentTypeRepresentation from "./componentTypeRepresentation.js";
|
|
2
2
|
import type { ConfigPropertyRepresentation } from "./configPropertyRepresentation.js";
|
|
3
|
+
import FeatureRepresentation from "./featureRepresentation.js";
|
|
3
4
|
import type PasswordPolicyTypeRepresentation from "./passwordPolicyTypeRepresentation.js";
|
|
4
5
|
import type ProfileInfoRepresentation from "./profileInfoRepresentation.js";
|
|
5
6
|
import type ProtocolMapperRepresentation from "./protocolMapperRepresentation.js";
|
|
@@ -11,6 +12,7 @@ export interface ServerInfoRepresentation {
|
|
|
11
12
|
systemInfo?: SystemInfoRepresentation;
|
|
12
13
|
memoryInfo?: MemoryInfoRepresentation;
|
|
13
14
|
profileInfo?: ProfileInfoRepresentation;
|
|
15
|
+
features?: FeatureRepresentation[];
|
|
14
16
|
cryptoInfo?: CryptoInfoRepresentation;
|
|
15
17
|
themes?: {
|
|
16
18
|
[index: string]: ThemeInfoRepresentation[];
|
|
@@ -5,6 +5,7 @@ export default interface UserProfileConfig {
|
|
|
5
5
|
export interface UserProfileAttribute {
|
|
6
6
|
name?: string;
|
|
7
7
|
validations?: Record<string, Record<string, unknown>>;
|
|
8
|
+
validators?: Record<string, unknown>;
|
|
8
9
|
annotations?: Record<string, unknown>;
|
|
9
10
|
required?: UserProfileAttributeRequired;
|
|
10
11
|
readOnly?: boolean;
|