@keycloak/keycloak-admin-client 16.0.0-dev.51 → 16.0.0-dev.52
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.
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import Resource from './resource';
|
|
2
2
|
import ComponentRepresentation from '../defs/componentRepresentation';
|
|
3
|
+
import ComponentTypeRepresentation from '../defs/componentTypeRepresentation';
|
|
3
4
|
import { KeycloakAdminClient } from '../client';
|
|
4
5
|
export interface ComponentQuery {
|
|
5
6
|
name?: string;
|
|
@@ -32,5 +33,11 @@ export declare class Components extends Resource<{
|
|
|
32
33
|
} & {
|
|
33
34
|
realm?: string | undefined;
|
|
34
35
|
}) | undefined) => Promise<void>;
|
|
36
|
+
listSubComponents: (payload?: ({
|
|
37
|
+
id: string;
|
|
38
|
+
type: string;
|
|
39
|
+
} & {
|
|
40
|
+
realm?: string | undefined;
|
|
41
|
+
}) | undefined) => Promise<ComponentTypeRepresentation[]>;
|
|
35
42
|
constructor(client: KeycloakAdminClient);
|
|
36
43
|
}
|
|
@@ -53,6 +53,12 @@ var Components = (function (_super) {
|
|
|
53
53
|
path: '/{id}',
|
|
54
54
|
urlParamKeys: ['id']
|
|
55
55
|
});
|
|
56
|
+
_this.listSubComponents = _this.makeRequest({
|
|
57
|
+
method: 'GET',
|
|
58
|
+
path: '/{id}/sub-component-types',
|
|
59
|
+
urlParamKeys: ['id'],
|
|
60
|
+
queryParamKeys: ['type']
|
|
61
|
+
});
|
|
56
62
|
return _this;
|
|
57
63
|
}
|
|
58
64
|
return Components;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"components.js","sourceRoot":"","sources":["../../src/resources/components.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,wDAAkC;
|
|
1
|
+
{"version":3,"file":"components.js","sourceRoot":"","sources":["../../src/resources/components.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,wDAAk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