UNPKG

@spartacus/core

Version:

Spartacus - the core framework

18 lines (17 loc) 1.07 kB
import { Observable } from 'rxjs'; import { CmsComponent } from '../../../model/cms.model'; import { OccConfig } from '../../../occ/config/occ-config'; import { PageContext } from '../../../routing/models/page-context.model'; import { CmsStructureConfigService } from '../../services/cms-structure-config.service'; import { CmsComponentAdapter } from './cms-component.adapter'; import * as i0 from "@angular/core"; export declare class CmsComponentConnector { protected cmsStructureConfigService: CmsStructureConfigService; protected cmsComponentAdapter: CmsComponentAdapter; protected config: OccConfig; constructor(cmsStructureConfigService: CmsStructureConfigService, cmsComponentAdapter: CmsComponentAdapter, config: OccConfig); get<T extends CmsComponent>(id: string, pageContext: PageContext): Observable<T>; getList(ids: string[], pageContext: PageContext): Observable<CmsComponent[]>; static ɵfac: i0.ɵɵFactoryDeclaration<CmsComponentConnector, never>; static ɵprov: i0.ɵɵInjectableDeclaration<CmsComponentConnector>; }