UNPKG

@spartacus/core

Version:

Spartacus - the core framework

18 lines (17 loc) 703 B
import { ProductScope } from '../../../product/model/product-scope'; import { LoadingScopeConfig, LoadingScopesConfig } from '../../config/loading-scopes-config'; declare module '../../config/loading-scopes-config' { interface LoadingScopes { product?: ProductScopesConfig; } } export interface ProductScopesConfig extends LoadingScopesConfig { list?: ProductLoadingScopeConfig; details?: ProductLoadingScopeConfig; attributes?: ProductLoadingScopeConfig; variants?: ProductLoadingScopeConfig; [scope: string]: ProductLoadingScopeConfig | undefined; } export interface ProductLoadingScopeConfig extends LoadingScopeConfig { include?: (ProductScope | string)[]; }