@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.
6 lines (5 loc) • 393 B
TypeScript
import { Occ } from '@spartacus/core';
export declare const createFeatureValue: () => Occ.FeatureValue;
export declare const createFeatureUnit: (additionalData?: Occ.FeatureUnit) => Occ.FeatureUnit;
export declare const createFeature: (additionalData?: Occ.Feature) => Occ.Feature;
export declare const createProductClassification: (additionalData?: Occ.Classification) => Occ.Classification;