Skip to content

Commit

Permalink
IKeycloakConfigurationInputFiles -> KeycloakConfigurationInputFilesIn…
Browse files Browse the repository at this point in the history
…terface (temp)
  • Loading branch information
wolfganggreschus committed Nov 13, 2023
1 parent b71afc5 commit e1c6ca5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export const KeycloakConfigurationInputFiles = Symbol('KeycloakConfigurationInputFiles');

export interface IKeycloakConfigurationInputFiles {
export interface KeycloakConfigurationInputFilesInterface {
accountsFile: string;
usersFile: string;
}
Original file line number Diff line number Diff line change
@@ -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',
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<number> {
Expand Down

0 comments on commit e1c6ca5

Please sign in to comment.