kentico-cloud-delivery
Version:
Official Kentico Cloud Delivery SDK
21 lines (20 loc) • 825 B
TypeScript
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;
}