UNPKG

kentico-cloud-delivery

Version:

Official Kentico Cloud Delivery SDK

15 lines (14 loc) 1.02 kB
import { ContentItem, IDeliveryClientConfig, ISDKInfo, ResponseMapper } from '../../lib'; import { IItemQueryConfig } from '../../lib/interfaces/item/iitem-query.config'; import { ItemResponses } from '../../lib/models/item/responses'; import { IDeliveryHttpService } from '../../lib/services/http/idelivery-http-service'; import { QueryService } from '../../lib/services/query.service'; export declare class MockQueryService extends QueryService { protected config: IDeliveryClientConfig; protected httpService: IDeliveryHttpService; protected sdkInfo: ISDKInfo; protected responseMapper: ResponseMapper; constructor(config: IDeliveryClientConfig, httpService: IDeliveryHttpService, sdkInfo: ISDKInfo); mockGetSingleItem<TItem extends ContentItem>(json: any, queryConfig: IItemQueryConfig): ItemResponses.DeliveryItemResponse<TItem>; mockGetMultipleItems<TItem extends ContentItem>(json: any, queryConfig: IItemQueryConfig): ItemResponses.DeliveryItemListingResponse<TItem>; }