UNPKG

banjo-kentico-cloud-delivery

Version:
21 lines (20 loc) 805 B
import { Observable } from 'rxjs'; import { IDeliveryClientConfig } from '../../config'; import { ElementResponses } from '../../models'; import { QueryService } from '../../services'; import { BaseElementQuery } from './base-element-query.class'; export declare class ElementQuery extends BaseElementQuery<ElementResponses.ElementResponse> { protected config: IDeliveryClientConfig; protected queryService: QueryService; private typeCodename; private elementCodename; constructor(config: IDeliveryClientConfig, queryService: QueryService, typeCodename: string, elementCodename: string); /** * Gets the runnable Observable */ getObservable(): Observable<ElementResponses.ElementResponse>; /** * Gets 'Url' representation of query */ getUrl(): string; }