Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.

Commit

Permalink
pre-release small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
edewit committed Nov 24, 2020
1 parent 977e232 commit 5cc35e0
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
12 changes: 12 additions & 0 deletions src/defs/componentExportRepresentation.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/**
* https://www.keycloak.org/docs-api/11.0/rest-api/index.html#_componentexportrepresentation
*/

export default interface ComponentExportRepresentation {
id?: string;
name?: string;
providerId?: string;
subType?: string;
subComponents?: {[index: string]: ComponentExportRepresentation};
config?: {[index: string]: string};
}
4 changes: 2 additions & 2 deletions src/defs/realmRepresentation.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import ClientRepresentation from './clientRepresentation';
import MultivaluedHashMap from './multivaluedHashMap';
import ComponentExportRepresentation from './componentExportRepresentation';
import UserRepresentation from './userRepresentation';
import GroupRepresentation from './groupRepresentation';
import IdentityProviderRepresentation from './identityProviderRepresentation';
Expand Down Expand Up @@ -35,7 +35,7 @@ export default interface RealmRepresentation {
// ClientScopeRepresentation
clientScopes?: any[];
clients?: ClientRepresentation[];
components?: MultivaluedHashMap;
components?: {[index: string]: ComponentExportRepresentation};
defaultDefaultClientScopes?: string[];
defaultGroups?: string[];
defaultLocale?: string;
Expand Down
2 changes: 1 addition & 1 deletion src/resources/realms.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export class Realms extends Resource {
public removeSession = this.makeRequest<{realm: string, sessionId: string}, void>({
method: 'DELETE',
path: '/{realm}/sessions/{session}',
urlParamKeys: ['realm','session'],
urlParamKeys: ['realm', 'session'],
catchNotFound: true,
});

Expand Down

0 comments on commit 5cc35e0

Please sign in to comment.