UNPKG

@valantic/spartacus-mock

Version:

This project offers you the possibility to mock the OCC Endpoints of your Composable Storefront (Spartacus). It uses the Mock Service Worker to mock the API calls.

17 lines (16 loc) 681 B
import { Occ } from '@spartacus/core'; export declare class PageFactoryService { protected customSlots?: Occ.ContentSlot[] | undefined; private _customSlots; private _headerSlotsWithBreadCrumb; private _headerSlots; private _footerSlots; constructor(customSlots?: Occ.ContentSlot[] | undefined); private _getGlobalSlots; createContentPage(label: string, title: string, contentSlots: Occ.ContentSlot[], template?: string): Occ.CMSPage; createProductCategoryPage(): Occ.CMSPage; createHomePage(): Occ.CMSPage; createProductDetailPage(code: string): Occ.CMSPage; createLoginPage(): Occ.CMSPage; createRegisterPage(): Occ.CMSPage; }