/** * DevExtreme (common/data.types.d.ts) * Version: 25.1.7 * Build date: Mon Nov 10 2025 * * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/ */ import { KeySelector, OrderingDescriptor, SelectionDescriptor, } from '../data/data.types'; /** * @deprecated Attention! This type is for internal purposes only. If you used it previously, please submit a ticket to our {@link https://supportcenter.devexpress.com/ticket/create Support Center}. We will check if there is an alternative solution. */ export type SearchOperation = '=' | '<>' | '>' | '>=' | '<' | '<=' | 'startswith' | 'endswith' | 'contains' | 'notcontains'; /** * @deprecated Attention! This type is for internal purposes only. If you used it previously, please submit a ticket to our {@link https://supportcenter.devexpress.com/ticket/create Support Center}. We will check if there is an alternative solution. */ export type GroupingInterval = 'year' | 'quarter' | 'month' | 'day' | 'dayOfWeek' | 'hour' | 'minute' | 'second'; /** * @deprecated Attention! This type is for internal purposes only. If you used it previously, please submit a ticket to our {@link https://supportcenter.devexpress.com/ticket/create Support Center}. We will check if there is an alternative solution. */ export type SortDescriptor = KeySelector | OrderingDescriptor; /** * @deprecated Attention! This type is for internal purposes only. If you used it previously, please submit a ticket to our {@link https://supportcenter.devexpress.com/ticket/create Support Center}. We will check if there is an alternative solution. */ export type GroupDescriptor = KeySelector | (OrderingDescriptor & { groupInterval?: number | GroupingInterval; isExpanded?: boolean; }); /** * @deprecated Attention! This type is for internal purposes only. If you used it previously, please submit a ticket to our {@link https://supportcenter.devexpress.com/ticket/create Support Center}. We will check if there is an alternative solution. */ export type SelectDescriptor = string | Array | ((source: T) => any); /** * @deprecated Attention! This type is for internal purposes only. If you used it previously, please submit a ticket to our {@link https://supportcenter.devexpress.com/ticket/create Support Center}. We will check if there is an alternative solution. */ export type FilterDescriptor = any; /** * @deprecated Attention! This type is for internal purposes only. If you used it previously, please submit a ticket to our {@link https://supportcenter.devexpress.com/ticket/create Support Center}. We will check if there is an alternative solution. */ export type SummaryDescriptor = KeySelector | SelectionDescriptor & { summaryType?: 'sum' | 'avg' | 'min' | 'max' | 'count'; }; /** * @deprecated Attention! This type is for internal purposes only. If you used it previously, please submit a ticket to our {@link https://supportcenter.devexpress.com/ticket/create Support Center}. We will check if there is an alternative solution. */ export interface LoadOptions { /** * An object for storing additional settings that should be sent to the server. Relevant to the ODataStore only. */ customQueryParams?: any; /** * Specifies the start date of the date navigator range. Relevant to the Scheduler only. */ startDate?: Date; /** * Specifies the end date of the date navigator range. Relevant to the Scheduler only. */ endDate?: Date; /** * An array of strings that represent the names of navigation properties to be loaded simultaneously with the ODataStore. */ expand?: Array; /** * A filter expression. */ filter?: FilterDescriptor | Array; /** * A group expression. */ group?: GroupDescriptor | Array>; /** * A group summary expression. Used with the group setting. */ groupSummary?: SummaryDescriptor | Array>; /** * The IDs of the rows being expanded. Relevant only when the CustomStore is used in the TreeList UI component. */ parentIds?: Array; /** * Indicates whether a top-level group count is required. Used in conjunction with the filter, take, skip, requireTotalCount, and group settings. */ requireGroupCount?: boolean; /** * Indicates whether the total count of data objects is needed. */ requireTotalCount?: boolean; /** * A data field or expression whose value is compared to the search value. */ searchExpr?: string | Function | Array; /** * A comparison operation. */ searchOperation?: SearchOperation; /** * The current search value. */ searchValue?: any; /** * A select expression. */ select?: SelectDescriptor; /** * The number of data objects to be skipped from the result set's start. In conjunction with take, used to implement paging. */ skip?: number; /** * A sort expression. */ sort?: SortDescriptor | Array>; /** * The number of data objects to be loaded. In conjunction with skip, used to implement paging. */ take?: number; /** * A total summary expression. */ totalSummary?: SummaryDescriptor | Array>; /** * An object for storing additional settings that should be sent to the server. */ userData?: any; }