Skip to content

Commit

Permalink
fix: app config service exported correctly (#537)
Browse files Browse the repository at this point in the history
  • Loading branch information
markuczy authored Oct 10, 2024
1 parent 0a40237 commit b05e319
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
1 change: 0 additions & 1 deletion libs/angular-accelerator/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ export * from './lib/components/data-loading-error/data-loading-error.component'
// services
export * from './lib/services/breadcrumb.service'
export * from './lib/services/translation-cache.service'
export * from './lib/services/app-config-service'

// pipes
export * from './lib/pipes/dynamic.pipe'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { FormsModule, ReactiveFormsModule } from '@angular/forms'
import { RouterModule } from '@angular/router'
import { MissingTranslationHandler, MissingTranslationHandlerParams, TranslateModule } from '@ngx-translate/core'

import { UserService } from '@onecx/angular-integration-interface'
import { AppConfigService, UserService } from '@onecx/angular-integration-interface'
import { AngularRemoteComponentsModule } from '@onecx/angular-remote-components'

import { firstValueFrom, skip } from 'rxjs'
Expand All @@ -30,7 +30,6 @@ import { TooltipOnOverflowDirective } from './directives/tooltipOnOverflow.direc
import { DynamicPipe } from './pipes/dynamic.pipe'
import { OcxTimeAgoPipe } from './pipes/ocxtimeago.pipe'
import { DynamicLocaleId } from './utils/dynamic-locale-id'
import { AppConfigService } from './services/app-config-service'

export class AngularAcceleratorMissingTranslationHandler implements MissingTranslationHandler {
handle(params: MissingTranslationHandlerParams) {
Expand Down
1 change: 1 addition & 0 deletions libs/angular-integration-interface/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// services
export * from './lib/services/app-config-service'
export * from './lib/services/app-state.service'
export * from './lib/services/configuration.service'
export * from './lib/services/user.service'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Injectable } from '@angular/core'
import { Config } from '@onecx/integration-interface'
import { BehaviorSubject, firstValueFrom } from 'rxjs'

@Injectable({ providedIn: 'any' })
@Injectable()
export class AppConfigService {
config$ = new BehaviorSubject<{ [key: string]: string }>({})

Expand Down
1 change: 1 addition & 0 deletions libs/portal-integration-angular/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ export * from './lib/core/utils/portal-api-configuration.utils'

export * from '@onecx/angular-accelerator'
export {
AppConfigService,
AppStateService,
ConfigurationService,
UserService,
Expand Down

0 comments on commit b05e319

Please sign in to comment.