@sitecore/sc-contenthub-webclient-sdk
Version:
Sitecore Content Hub WebClient SDK.
24 lines (23 loc) • 844 B
TypeScript
import { QueryLoadingResource } from "../../models/query-loading-resource";
import { QueryFilter } from "./filters/query-filter";
import { Sorting } from "./sorting";
export declare class Query extends QueryLoadingResource {
filter: QueryFilter;
/**
* The number of items to skip. If not specified, no items will be skipped.
*/
skip: number;
/**
* The number of items to take. If not specified, the underlying implementation will use a default value.
*/
take: number;
/**
* Indicates how the results should be sorted.
*/
sorting: Array<Sorting>;
/**
* If specified, the query will return as {@link QueryResult#scrollId}, which can be used to walk through the set of results without having to use paging.
*/
scrollTime?: Date;
constructor(init?: Partial<Query>);
}