kentico-cloud-delivery
Version:
Official Kentico Cloud Delivery SDK
20 lines (19 loc) • 765 B
TypeScript
import { Observable } from 'rxjs';
import { IDeliveryClientConfig } from '../../config';
import { TypeResponses } from '../../models';
import { QueryService } from '../../services';
import { BaseTypeQuery } from './base-type-query.class';
export declare class SingleTypeQuery extends BaseTypeQuery<TypeResponses.DeliveryTypeResponse> {
protected config: IDeliveryClientConfig;
protected queryService: QueryService;
private typeCodename;
constructor(config: IDeliveryClientConfig, queryService: QueryService, typeCodename: string);
/**
* Gets the runnable Observable
*/
getObservable(): Observable<TypeResponses.DeliveryTypeResponse>;
/**
* Gets 'Url' representation of query
*/
getUrl(): string;
}