UNPKG

vsf-lexascms

Version:

Official LexasCMS module for Vue Storefront (Next).

42 lines (41 loc) 1.25 kB
import { LexascmsRequestContext } from './requestContext'; declare type LexascmsPageParamLimitSkip = { limit?: number; skip?: number; }; declare type LexascmsPageParamGeneric = { [key: string]: LexascmsPageParamLimitSkip | LexascmsPageParamGeneric; }; declare type LexascmsContextSearchParamsItem = { type: 'item'; contentType: string; itemId: string; params?: { fields?: { [contentType: string]: string; }; include?: string; localeCode?: string; page?: LexascmsPageParamGeneric; }; context?: LexascmsRequestContext | string; }; declare type LexascmsContextSearchParamsCollection = { type: 'collection'; contentType: string; params?: { fields?: { [contentType: string]: string; }; filter?: { [prop: string]: any; }; include?: string; localeCode?: string; page?: LexascmsPageParamLimitSkip | LexascmsPageParamGeneric; sort?: string; }; context?: LexascmsRequestContext | string; }; export declare type LexascmsContextSearchParams = LexascmsContextSearchParamsItem | LexascmsContextSearchParamsCollection; export {};