diff --git a/apps/server/src/infra/identity-management/keycloak-configuration/interface/keycloak-configuration-input-files.interface.ts b/apps/server/src/infra/identity-management/keycloak-configuration/interface/keycloak-configuration-input-files.interface.ts index f5568c29481..5725f67714b 100644 --- a/apps/server/src/infra/identity-management/keycloak-configuration/interface/keycloak-configuration-input-files.interface.ts +++ b/apps/server/src/infra/identity-management/keycloak-configuration/interface/keycloak-configuration-input-files.interface.ts @@ -1,6 +1,6 @@ export const KeycloakConfigurationInputFiles = Symbol('KeycloakConfigurationInputFiles'); -export interface IKeycloakConfigurationInputFiles { +export interface KeycloakConfigurationInputFilesInterface { accountsFile: string; usersFile: string; } diff --git a/apps/server/src/infra/identity-management/keycloak-configuration/keycloak-config.ts b/apps/server/src/infra/identity-management/keycloak-configuration/keycloak-config.ts index ed51cff7d8d..34842ab1d26 100644 --- a/apps/server/src/infra/identity-management/keycloak-configuration/keycloak-config.ts +++ b/apps/server/src/infra/identity-management/keycloak-configuration/keycloak-config.ts @@ -1,7 +1,7 @@ -import { IKeycloakConfigurationInputFiles } from './interface/keycloak-configuration-input-files.interface'; +import { KeycloakConfigurationInputFilesInterface } from './interface/keycloak-configuration-input-files.interface'; export default class KeycloakConfiguration { - static keycloakInputFiles: IKeycloakConfigurationInputFiles = { + static keycloakInputFiles: KeycloakConfigurationInputFilesInterface = { accountsFile: './backup/setup/accounts.json', usersFile: './backup/setup/users.json', }; diff --git a/apps/server/src/infra/identity-management/keycloak-configuration/service/keycloak-seed.service.ts b/apps/server/src/infra/identity-management/keycloak-configuration/service/keycloak-seed.service.ts index 5ba3071c2b4..6a435477f96 100644 --- a/apps/server/src/infra/identity-management/keycloak-configuration/service/keycloak-seed.service.ts +++ b/apps/server/src/infra/identity-management/keycloak-configuration/service/keycloak-seed.service.ts @@ -6,15 +6,15 @@ import { KeycloakAdministrationService } from '../../keycloak-administration/ser import { JsonAccount } from '../interface/json-account.interface'; import { JsonUser } from '../interface/json-user.interface'; import { - IKeycloakConfigurationInputFiles, KeycloakConfigurationInputFiles, + KeycloakConfigurationInputFilesInterface, } from '../interface/keycloak-configuration-input-files.interface'; export class KeycloakSeedService { constructor( private readonly kcAdmin: KeycloakAdministrationService, private readonly logger: LegacyLogger, - @Inject(KeycloakConfigurationInputFiles) private readonly inputFiles: IKeycloakConfigurationInputFiles + @Inject(KeycloakConfigurationInputFiles) private readonly inputFiles: KeycloakConfigurationInputFilesInterface ) {} async seed(): Promise {