UNPKG

@sitecore/sc-contenthub-webclient-sdk

Version:

Sitecore Content Hub WebClient SDK.

26 lines (25 loc) 587 B
import type CultureInfo from "../../culture-info"; import { QuerySortOrder } from "./query-sort-order"; import { SortFieldType } from "./sort-field-type"; /** * Indicates how to sort the result of a query. */ export declare class Sorting { /** * The type of the field to sort on. */ fieldType?: SortFieldType; /** * The field to sort on. */ field: string; /** * The culture to sort in. */ culture: CultureInfo; /** * The direction to sort in. */ order: QuerySortOrder; constructor(init?: Partial<Sorting>); }