dependencies dependencies cluster_ProfileTagModule cluster_ProfileTagModule_imports cluster_ProfileTagModule_providers ProfileTagCmsModule ProfileTagCmsModule ProfileTagModule ProfileTagModule ProfileTagCmsModule->ProfileTagModule ConsentReferenceInterceptor ConsentReferenceInterceptor ConsentReferenceInterceptor->ProfileTagModule DebugInterceptor DebugInterceptor DebugInterceptor->ProfileTagModule

File

integration-libs/cds/src/profiletag/profile-tag.module.ts

import { HTTP_INTERCEPTORS } from '@angular/common/http';
import { NgModule } from '@angular/core';
import { CdsBackendNotificationAdapter } from './adapters/cds-backend-notification-adapter';
import { OccBackendNotification } from './adapters/occ-backend-notification-adapter';
import { ProfileTagCmsModule } from './cms-components/profile-tag-cms.module';
import { ConsentReferenceInterceptor } from './http-interceptors/consent-reference-interceptor';
import { DebugInterceptor } from './http-interceptors/debug-interceptor';

@NgModule({
  imports: [ProfileTagCmsModule],
  providers: [
    {
      provide: HTTP_INTERCEPTORS,
      useExisting: ConsentReferenceInterceptor,
      multi: true,
    },
    { provide: HTTP_INTERCEPTORS, useExisting: DebugInterceptor, multi: true },
    {
      provide: CdsBackendNotificationAdapter,
      useClass: OccBackendNotification,
    },
  ],
})
export class ProfileTagModule {}

result-matching ""

    No results matching ""