UNPKG

vsf-lexascms

Version:

Official LexasCMS module for Vue Storefront (Next).

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