Skip to content

Commit

Permalink
fix: refine type
Browse files Browse the repository at this point in the history
  • Loading branch information
dnlkoch committed Jun 13, 2024
1 parent 0667bd5 commit fff6165
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions src/model/Role.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,23 @@ import BaseEntity, { BaseEntityArgs } from './BaseEntity';

export interface ProviderRoleDetails {}

export interface KeycloakRoleComposites {
realm?: string[];
client?: {
[key: string]: string[];
};
application?: {
[key: string]: string[];
};
}

export interface KeycloakRoleRepresentation extends ProviderRoleDetails {
id?: string;
name?: string;
description?: string;
scopeParamRequired?: boolean;
composite?: boolean;
// TODO Recheck this type
composites?: string;
composites?: KeycloakRoleComposites;
clientRole?: boolean;
containerId?: string;
attributes?: {
Expand Down

0 comments on commit fff6165

Please sign in to comment.