From 5441dc8218f417d47f398bb5ffa71a762ccfeed9 Mon Sep 17 00:00:00 2001 From: ilyakhd <14272298+IlyaKhD@users.noreply.github.com> Date: Thu, 5 Dec 2024 15:10:07 +0200 Subject: [PATCH] Remove deprecation tags --- packages/devextreme/js/animation/frame.d.ts | 6 ---- packages/devextreme/js/animation/fx.d.ts | 16 --------- .../devextreme/js/animation/position.d.ts | 10 +----- packages/devextreme/js/animation/presets.d.ts | 3 -- .../js/animation/transition_executor.d.ts | 4 --- packages/devextreme/js/core/config.d.ts | 12 ++----- packages/devextreme/js/core/devices.d.ts | 7 ---- packages/devextreme/js/core/guid.d.ts | 4 --- packages/devextreme/js/core/options.d.ts | 3 -- .../js/core/set_template_engine.d.ts | 4 --- .../js/core/templates/template.d.ts | 3 -- .../devextreme/js/data/apply_changes.d.ts | 4 --- packages/devextreme/js/data/array_store.d.ts | 7 +--- packages/devextreme/js/data/custom_store.d.ts | 13 +------- packages/devextreme/js/data/data_source.d.ts | 10 ------ .../devextreme/js/data/endpoint_selector.d.ts | 3 -- packages/devextreme/js/data/errors.d.ts | 6 ---- packages/devextreme/js/data/index.d.ts | 33 ------------------- packages/devextreme/js/data/local_store.d.ts | 7 +--- .../devextreme/js/data/odata/context.d.ts | 9 ----- packages/devextreme/js/data/odata/store.d.ts | 8 +---- packages/devextreme/js/data/odata/utils.d.ts | 6 ---- packages/devextreme/js/data/query.d.ts | 6 ---- packages/devextreme/js/data/utils.d.ts | 3 -- packages/devextreme/js/events/index.d.ts | 33 ------------------- packages/devextreme/js/excel_exporter.d.ts | 24 -------------- packages/devextreme/js/localization.d.ts | 27 --------------- .../js/mobile/hide_top_overlay.d.ts | 3 -- .../js/mobile/init_mobile_viewport.d.ts | 3 -- packages/devextreme/js/pdf_exporter.d.ts | 24 -------------- packages/devextreme/js/time_zone_utils.d.ts | 6 ---- packages/devextreme/js/utils.d.ts | 6 ---- packages/devextreme/ts/aliases.d.ts | 14 -------- packages/devextreme/ts/dx.all.d.ts | 33 +++++++++++++++++++ 34 files changed, 41 insertions(+), 319 deletions(-) diff --git a/packages/devextreme/js/animation/frame.d.ts b/packages/devextreme/js/animation/frame.d.ts index cd553b566da2..52f791ff914a 100644 --- a/packages/devextreme/js/animation/frame.d.ts +++ b/packages/devextreme/js/animation/frame.d.ts @@ -1,10 +1,4 @@ export { - /** - * @deprecated Use cancelAnimationFrame from common/core/animation instead - */ cancelAnimationFrame, - /** - * @deprecated Use requestAnimationFrame from common/core/animation instead - */ requestAnimationFrame, } from '../common/core/animation'; diff --git a/packages/devextreme/js/animation/fx.d.ts b/packages/devextreme/js/animation/fx.d.ts index 9d55d58ee02d..e23f4c360e09 100644 --- a/packages/devextreme/js/animation/fx.d.ts +++ b/packages/devextreme/js/animation/fx.d.ts @@ -1,21 +1,8 @@ import { fx, AnimationConfig } from '../common/core/animation'; export { - /** - * @deprecated Use AnimationState from common/core/animation instead - */ AnimationState, - - /** - * @deprecated Use AnimationConfig from common/core/animation instead - */ AnimationConfig, -} from '../common/core/animation'; - -export { - /** - * @deprecated Use AnimationType from common/core/animation instead - */ AnimationType, } from '../common/core/animation'; @@ -25,7 +12,4 @@ export { */ export type animationConfig = AnimationConfig; -/** - * @deprecated Use fx from common/core/animation instead - */ export default fx; diff --git a/packages/devextreme/js/animation/position.d.ts b/packages/devextreme/js/animation/position.d.ts index 14ceb70f0caf..f318b2db2287 100644 --- a/packages/devextreme/js/animation/position.d.ts +++ b/packages/devextreme/js/animation/position.d.ts @@ -1,22 +1,14 @@ import { PositionConfig } from '../common/core/animation'; export { - /** - * @deprecated Use CollisionResolution from common/core/animation instead - */ CollisionResolution, - /** - * @deprecated Use CollisionResolutionCombination from common/core/animation instead - */ CollisionResolutionCombination, - /** - * @deprecated Use PositionConfig from common/core/animation instead - */ PositionConfig, } from '../common/core/animation'; /** * @public * @deprecated Use the PositionConfig type from common/core/animation instead + * @namespace DevExpress.animation */ export interface positionConfig extends PositionConfig { } diff --git a/packages/devextreme/js/animation/presets.d.ts b/packages/devextreme/js/animation/presets.d.ts index c71e9502ba89..e6b56dc14e3f 100644 --- a/packages/devextreme/js/animation/presets.d.ts +++ b/packages/devextreme/js/animation/presets.d.ts @@ -1,6 +1,3 @@ import { animationPresets } from '../common/core/animation'; -/** - * @deprecated Use animationPresets from common/core/animation instead - */ export default animationPresets; diff --git a/packages/devextreme/js/animation/transition_executor.d.ts b/packages/devextreme/js/animation/transition_executor.d.ts index a6e19d96c443..9a9098e2fc31 100644 --- a/packages/devextreme/js/animation/transition_executor.d.ts +++ b/packages/devextreme/js/animation/transition_executor.d.ts @@ -1,6 +1,2 @@ import { TransitionExecutor } from '../common/core/animation'; - -/** - * @deprecated Use TransitionExecutor from common/core/animation instead - */ export default TransitionExecutor; diff --git a/packages/devextreme/js/core/config.d.ts b/packages/devextreme/js/core/config.d.ts index 92a26a563f76..abd2dd13228e 100644 --- a/packages/devextreme/js/core/config.d.ts +++ b/packages/devextreme/js/core/config.d.ts @@ -4,19 +4,13 @@ import { } from '../common'; export { - /** - * @deprecated Use FloatingActionButtonDirection from /common instead - */ FloatingActionButtonDirection, } from '../common'; /** -* @namespace DevExpress -* @deprecated Use GlobalConfig from /common instead -*/ + * @namespace DevExpress + * @deprecated Use GlobalConfig from /common instead + */ export type globalConfig = GlobalConfig; -/** - * @deprecated Use config from /common instead - */ export default config; diff --git a/packages/devextreme/js/core/devices.d.ts b/packages/devextreme/js/core/devices.d.ts index 9affb55bcb85..a5e3be3e80a6 100644 --- a/packages/devextreme/js/core/devices.d.ts +++ b/packages/devextreme/js/core/devices.d.ts @@ -1,13 +1,6 @@ import { devices } from '../common/core/environment'; export { - /** - * @deprecated Use Device from /common/core/environment instead - */ Device, } from '../common/core/environment'; - -/** - * @deprecated Use devices from /common/core/environment instead - */ export default devices; diff --git a/packages/devextreme/js/core/guid.d.ts b/packages/devextreme/js/core/guid.d.ts index 640d639b1d82..9488205f8dac 100644 --- a/packages/devextreme/js/core/guid.d.ts +++ b/packages/devextreme/js/core/guid.d.ts @@ -1,6 +1,2 @@ import { Guid } from '../common'; - -/** - * @deprecated Use Guid from /common instead - */ export default Guid; diff --git a/packages/devextreme/js/core/options.d.ts b/packages/devextreme/js/core/options.d.ts index 0d433d31595b..5411ad197048 100644 --- a/packages/devextreme/js/core/options.d.ts +++ b/packages/devextreme/js/core/options.d.ts @@ -1,6 +1,3 @@ export { - /** - * @deprecated Use DefaultOptionsRule from /common instead - */ DefaultOptionsRule, } from '../common'; diff --git a/packages/devextreme/js/core/set_template_engine.d.ts b/packages/devextreme/js/core/set_template_engine.d.ts index 2db0dfc8641c..7b0e1020d291 100644 --- a/packages/devextreme/js/core/set_template_engine.d.ts +++ b/packages/devextreme/js/core/set_template_engine.d.ts @@ -1,6 +1,2 @@ import { setTemplateEngine } from '../common'; - -/** - * @deprecated Use setTemplateEngine from /common instead - */ export default setTemplateEngine; diff --git a/packages/devextreme/js/core/templates/template.d.ts b/packages/devextreme/js/core/templates/template.d.ts index 617b3851eb11..b4417396b48c 100644 --- a/packages/devextreme/js/core/templates/template.d.ts +++ b/packages/devextreme/js/core/templates/template.d.ts @@ -1,7 +1,4 @@ export type { - /** - * @deprecated Use 'template' from /common instead - */ template, } from '../../common'; diff --git a/packages/devextreme/js/data/apply_changes.d.ts b/packages/devextreme/js/data/apply_changes.d.ts index 90017ffe8313..c3e8d8adc3be 100644 --- a/packages/devextreme/js/data/apply_changes.d.ts +++ b/packages/devextreme/js/data/apply_changes.d.ts @@ -1,6 +1,2 @@ import { applyChanges } from '../common/data'; - -/** - * @deprecated Use applyChanges from /common/data instead - */ export default applyChanges; diff --git a/packages/devextreme/js/data/array_store.d.ts b/packages/devextreme/js/data/array_store.d.ts index 3269add82ca2..b1276b1174f4 100644 --- a/packages/devextreme/js/data/array_store.d.ts +++ b/packages/devextreme/js/data/array_store.d.ts @@ -1,13 +1,11 @@ import { ArrayStore, ArrayStoreOptions } from '../common/data'; export { - /** - * @deprecated Use ArrayStoreOptions from /common/data instead - */ ArrayStoreOptions, } from '../common/data'; /** + * @public * @deprecated Use ArrayStoreOptions from /common/data instead * @namespace DevExpress.data.ArrayStore */ @@ -16,7 +14,4 @@ export type Options< TKey = any, > = ArrayStoreOptions; -/** - * @deprecated Use ArrayStore from /common/data instead - */ export default ArrayStore; diff --git a/packages/devextreme/js/data/custom_store.d.ts b/packages/devextreme/js/data/custom_store.d.ts index 5d3bf947835a..383a4679e75e 100644 --- a/packages/devextreme/js/data/custom_store.d.ts +++ b/packages/devextreme/js/data/custom_store.d.ts @@ -1,21 +1,13 @@ import { CustomStore, CustomStoreOptions } from '../common/data'; export { - /** - * @deprecated Use GroupItem from /common/data instead - */ GroupItem, - /** - * @deprecated Use ResolvedData from /common/data instead - */ ResolvedData, - /** - * @deprecated Use CustomStoreOptions from /common/data instead - */ CustomStoreOptions, } from '../common/data'; /** + * @public * @deprecated Use CustomStoreOptions from /common/data instead * @namespace DevExpress.data.CustomStore */ @@ -24,7 +16,4 @@ export type Options< TKey = any, > = CustomStoreOptions; -/** - * @deprecated Use CustomStore from /common/data instead - */ export default CustomStore; diff --git a/packages/devextreme/js/data/data_source.d.ts b/packages/devextreme/js/data/data_source.d.ts index 8530b2690c64..3adcca7fb4b5 100644 --- a/packages/devextreme/js/data/data_source.d.ts +++ b/packages/devextreme/js/data/data_source.d.ts @@ -11,15 +11,8 @@ import { } from '../common/data'; export { - /** - * @deprecated Use DataSourceOptions from /common/data instead - */ DataSourceOptions, } from '../common/data'; - -/** - * @deprecated Use DataSourceOptions from /common/data instead - */ export type Options< TStoreItem = any, TMappedItem = TStoreItem, @@ -65,7 +58,4 @@ export interface DataSourceOptionsStub< store?: Array | Store | StoreOptions; } -/** - * @deprecated Use DataSource from /common/data instead - */ export default DataSource; diff --git a/packages/devextreme/js/data/endpoint_selector.d.ts b/packages/devextreme/js/data/endpoint_selector.d.ts index 0fbb4d8a718b..868960c2ae4a 100644 --- a/packages/devextreme/js/data/endpoint_selector.d.ts +++ b/packages/devextreme/js/data/endpoint_selector.d.ts @@ -1,6 +1,3 @@ import { EndpointSelector } from '../common/data'; -/** - * @deprecated Use EndpointSelector from /common/data instead - */ export default EndpointSelector; diff --git a/packages/devextreme/js/data/errors.d.ts b/packages/devextreme/js/data/errors.d.ts index 2062b34e7a57..df232810705e 100644 --- a/packages/devextreme/js/data/errors.d.ts +++ b/packages/devextreme/js/data/errors.d.ts @@ -1,10 +1,4 @@ export { - /** - * @deprecated Use setErrorHandler from /common/data instead - */ setErrorHandler, - /** - * @deprecated Use errorHandler from /common/data instead - */ errorHandler, } from '../common/data'; diff --git a/packages/devextreme/js/data/index.d.ts b/packages/devextreme/js/data/index.d.ts index 2bc3f9dcc3b5..bc3e599575d0 100644 --- a/packages/devextreme/js/data/index.d.ts +++ b/packages/devextreme/js/data/index.d.ts @@ -1,46 +1,13 @@ export { - /** - * @deprecated Use SearchOperation from /common/data instead - */ SearchOperation, - /** - * @deprecated Use GroupingInterval from /common/data instead - */ GroupingInterval, - /** - * @deprecated Use GroupDescriptor from /common/data instead - */ GroupDescriptor, - /** - * @deprecated Use SortDescriptor from /common/data instead - */ SortDescriptor, - /** - * @deprecated Use SelectDescriptor from /common/data instead - */ SelectDescriptor, - /** - * @deprecated Use FilterDescriptor from /common/data instead - */ FilterDescriptor, - /** - * @deprecated Use LangParams from /common/data instead - */ LangParams, - /** - * @deprecated Use SummaryDescriptor from /common/data instead - */ SummaryDescriptor, - /** - * @deprecated Use LoadOptions from /common/data instead - */ LoadOptions, - /** - * @deprecated Use Store from /common/data instead - */ Store, - /** - * @deprecated Use StoreOptions from /common/data instead - */ StoreOptions, } from '../common/data'; diff --git a/packages/devextreme/js/data/local_store.d.ts b/packages/devextreme/js/data/local_store.d.ts index ccbe541962e8..7c5183f29251 100644 --- a/packages/devextreme/js/data/local_store.d.ts +++ b/packages/devextreme/js/data/local_store.d.ts @@ -4,18 +4,13 @@ import { } from '../common/data'; export { - /** - * @deprecated Use LocalStoreOptions from /common/data instead - */ LocalStoreOptions, } from '../common/data'; -/** - * @deprecated Use LocalStore from /common/data instead - */ export default LocalStore; /** +* @public * @deprecated Use LocalStoreOptions from /common/data instead * @namespace DevExpress.data.LocalStore */ diff --git a/packages/devextreme/js/data/odata/context.d.ts b/packages/devextreme/js/data/odata/context.d.ts index ad164199d5f6..9d0280eb4d55 100644 --- a/packages/devextreme/js/data/odata/context.d.ts +++ b/packages/devextreme/js/data/odata/context.d.ts @@ -1,17 +1,8 @@ import { ODataContext } from '../../common/data'; export { - /** - * @deprecated Use ODataContextOptions from /common/data instead - */ ODataContextOptions, - /** - * @deprecated Use ODataRequestOptions from /common/data instead - */ ODataRequestOptions, } from '../../common/data'; -/** - * @deprecated Use ODataContext from /common/data instead - */ export default ODataContext; diff --git a/packages/devextreme/js/data/odata/store.d.ts b/packages/devextreme/js/data/odata/store.d.ts index ea0d5a4a3c42..09dd1949248f 100644 --- a/packages/devextreme/js/data/odata/store.d.ts +++ b/packages/devextreme/js/data/odata/store.d.ts @@ -1,7 +1,7 @@ import { ODataStoreOptions, ODataStore } from '../../common/data'; /** - * @deprecated Use ODataStoreOptions from /common/data instead + * @public * @namespace DevExpress.data.ODataStore */ export type Options< @@ -10,13 +10,7 @@ export type Options< > = ODataStoreOptions; export { - /** - * @deprecated Use ODataStoreOptions from /common/data instead - */ ODataStoreOptions, }; -/** - * @deprecated Use ODataStore from /common/data instead - */ export default ODataStore; diff --git a/packages/devextreme/js/data/odata/utils.d.ts b/packages/devextreme/js/data/odata/utils.d.ts index 5c61cd7c4305..816523238d44 100644 --- a/packages/devextreme/js/data/odata/utils.d.ts +++ b/packages/devextreme/js/data/odata/utils.d.ts @@ -1,10 +1,4 @@ export { - /** - * @deprecated Use EdmLiteral from /common/data instead - */ EdmLiteral, - /** - * @deprecated Use keyConverters from /common/data instead - */ keyConverters, } from '../../common/data'; diff --git a/packages/devextreme/js/data/query.d.ts b/packages/devextreme/js/data/query.d.ts index e352c11ad441..234d42c6d11c 100644 --- a/packages/devextreme/js/data/query.d.ts +++ b/packages/devextreme/js/data/query.d.ts @@ -1,13 +1,7 @@ import { query } from '../common/data'; export { - /** - * @deprecated Use Query from /common/data instead - */ Query, } from '../common/data'; -/** - * @deprecated Use query from /common/data instead - */ export default query; diff --git a/packages/devextreme/js/data/utils.d.ts b/packages/devextreme/js/data/utils.d.ts index fc6ca7bdd009..9239caa554e8 100644 --- a/packages/devextreme/js/data/utils.d.ts +++ b/packages/devextreme/js/data/utils.d.ts @@ -1,6 +1,3 @@ export { - /** - * @deprecated Use base64_encode from /common/data instead - */ base64_encode, } from '../common/data'; diff --git a/packages/devextreme/js/events/index.d.ts b/packages/devextreme/js/events/index.d.ts index a1c3f6dcc3e4..ac9674be8739 100644 --- a/packages/devextreme/js/events/index.d.ts +++ b/packages/devextreme/js/events/index.d.ts @@ -1,47 +1,14 @@ export { - /** - * @deprecated Use InitializedEventInfo from /common/core/events instead - */ InitializedEventInfo, - /** - * @deprecated Use EventInfo from /common/core/events instead - */ EventInfo, - /** - * @deprecated Use NativeEventInfo from /common/core/events instead - */ NativeEventInfo, - /** - * @deprecated Use ChangedOptionInfo from /common/core/events instead - */ ChangedOptionInfo, - /** - * @deprecated Use ItemInfo from /common/core/events instead - */ ItemInfo, - /** - * @deprecated Use Cancelable from /common/core/events instead - */ Cancelable, - /** - * @deprecated Use AsyncCancelable from /common/core/events instead - */ AsyncCancelable, - /** - * @deprecated Use 'off' from /common/core/events instead - */ off, - /** - * @deprecated Use 'on' from /common/core/events instead - */ on, - /** - * @deprecated Use 'one' from /common/core/events instead - */ one, - /** - * @deprecated Use 'trigger' from /common/core/events instead - */ trigger, } from '../common/core/events'; diff --git a/packages/devextreme/js/excel_exporter.d.ts b/packages/devextreme/js/excel_exporter.d.ts index a24ceaa00f34..b6974f3910c8 100644 --- a/packages/devextreme/js/excel_exporter.d.ts +++ b/packages/devextreme/js/excel_exporter.d.ts @@ -1,40 +1,16 @@ export { - /** - * @deprecated Use DataGridCell from common/export/excel instead - */ DataGridCell, - /** - * @deprecated Use PivotGridCell from common/export/excel instead - */ PivotGridCell, - /** - * @deprecated Use DataGridExportOptions from common/export/excel instead - */ DataGridExportOptions as ExcelExportDataGridProps, - /** - * @deprecated Use PivotGridExportOptions from common/export/excel instead - */ PivotGridExportOptions as ExcelExportPivotGridProps, - /** - * @deprecated Use exportDataGrid from common/export/excel instead - */ exportDataGrid, - /** - * @deprecated Use exportPivotGrid from common/export/excel instead - */ exportPivotGrid, } from './common/export/excel'; export { ExcelExportBaseOptions as ExcelExportBaseProps, - /** - * @deprecated Use PivotGridCell from common/export/excel instead - */ ExcelPivotGridCell, CellAddress, CellRange, - /** - * @deprecated Use DataGridCell from common/export/excel instead - */ ExcelDataGridCell, } from './excel_exporter.types'; diff --git a/packages/devextreme/js/localization.d.ts b/packages/devextreme/js/localization.d.ts index 108bfcd95ac6..22611cfef47a 100644 --- a/packages/devextreme/js/localization.d.ts +++ b/packages/devextreme/js/localization.d.ts @@ -1,38 +1,11 @@ export { - /** - * @deprecated Use formatDate from common/core/localization instead - */ formatDate, - /** - * @deprecated Use formatMessage from common/core/localization instead - */ formatMessage, - /** - * @deprecated Use formatNumber from common/core/localization instead - */ formatNumber, - /** - * @deprecated Use loadMessages from common/core/localization instead - */ loadMessages, - /** - * @deprecated Use locale from common/core/localization instead - */ locale, - /** - * @deprecated Use parseDate from common/core/localization instead - */ parseDate, - /** - * @deprecated Use parseNumber from common/core/localization instead - */ parseNumber, - /** - * @deprecated Use Format from common/core/localization instead - */ Format, - /** - * @deprecated Use FormatObject from common/core/localization instead - */ FormatObject, } from './common/core/localization'; diff --git a/packages/devextreme/js/mobile/hide_top_overlay.d.ts b/packages/devextreme/js/mobile/hide_top_overlay.d.ts index 12cca1f8506d..2c333b5ede11 100644 --- a/packages/devextreme/js/mobile/hide_top_overlay.d.ts +++ b/packages/devextreme/js/mobile/hide_top_overlay.d.ts @@ -1,6 +1,3 @@ import { hideTopOverlay } from '../common/core/environment'; -/** - * @deprecated Use hideTopOverlay from /common/core/environment instead - */ export default hideTopOverlay; diff --git a/packages/devextreme/js/mobile/init_mobile_viewport.d.ts b/packages/devextreme/js/mobile/init_mobile_viewport.d.ts index febf3469ff1c..337826dd1c1b 100644 --- a/packages/devextreme/js/mobile/init_mobile_viewport.d.ts +++ b/packages/devextreme/js/mobile/init_mobile_viewport.d.ts @@ -1,6 +1,3 @@ import { initMobileViewport } from '../common/core/environment'; -/** - * @deprecated Use initMobileViewport from /common/core/environment instead - */ export default initMobileViewport; diff --git a/packages/devextreme/js/pdf_exporter.d.ts b/packages/devextreme/js/pdf_exporter.d.ts index 62928d5d554d..c13c297b203e 100644 --- a/packages/devextreme/js/pdf_exporter.d.ts +++ b/packages/devextreme/js/pdf_exporter.d.ts @@ -11,36 +11,12 @@ import { import { PdfDataGridCell } from './pdf_exporter.types'; export { - /** - * @deprecated Use DataGridCell from common/export/pdf instead - */ DataGridCell, - /** - * @deprecated Use Cell from common/export/pdf instead - */ Cell, - /** - * @deprecated Use exportDataGrid from common/export/pdf instead - */ exportDataGrid, - /** - * @deprecated Use exportGantt from common/export/pdf instead - */ exportGantt, - /** - * @deprecated Use GanttExportFont from common/export/pdf instead - */ GanttExportFont as PdfExportGanttFont, - /** - * @deprecated Use DataGridExportOptions from common/export/pdf instead - */ DataGridExportOptions as PdfExportDataGridProps, - /** - * @deprecated Use GanttExportOptions from common/export/pdf instead - */ GanttExportOptions as PdfExportGanttProps, - /** - * @deprecated Use DataGridCell from common/export/pdf instead - */ PdfDataGridCell, }; diff --git a/packages/devextreme/js/time_zone_utils.d.ts b/packages/devextreme/js/time_zone_utils.d.ts index 1bbbd06b06c6..afbc768f5fe5 100644 --- a/packages/devextreme/js/time_zone_utils.d.ts +++ b/packages/devextreme/js/time_zone_utils.d.ts @@ -1,10 +1,4 @@ export { - /** - * @deprecated Use getTimeZones from common/core/environment instead - */ getTimeZones, - /** - * @deprecated Use SchedulerTimeZone from common/core/environment instead - */ SchedulerTimeZone as dxSchedulerTimeZone, } from './common/core/environment'; diff --git a/packages/devextreme/js/utils.d.ts b/packages/devextreme/js/utils.d.ts index b1759c3b2cf0..83af02c7c84b 100644 --- a/packages/devextreme/js/utils.d.ts +++ b/packages/devextreme/js/utils.d.ts @@ -1,10 +1,4 @@ export { - /** - * @deprecated Use compileGetter from common/data instead - */ compileGetter, - /** - * @deprecated Use compileSetter from common/data instead - */ compileSetter, } from './common/data'; diff --git a/packages/devextreme/ts/aliases.d.ts b/packages/devextreme/ts/aliases.d.ts index a92bdb3a2d01..29d03bef91ae 100644 --- a/packages/devextreme/ts/aliases.d.ts +++ b/packages/devextreme/ts/aliases.d.ts @@ -827,7 +827,6 @@ declare namespace DevExpress.common.grids { declare namespace DevExpress { export type AnimationConfig = DevExpress.common.core.animation.AnimationConfig; export const animationPresets: typeof DevExpress.common.core.animation.animationPresets - export type commonFormat = DevExpress.common.core.localization.Format export type Device = DevExpress.common.core.environment.Device; export const devices: typeof DevExpress.common.core.environment.devices; export type DevicesObject = DevExpress.common.core.environment.DevicesObject; @@ -881,13 +880,8 @@ declare namespace DevExpress.data { export type Store = DevExpress.common.data.Store; } -declare namespace DevExpress.data.ArrayStore { - export type Options = DevExpress.common.data.ArrayStoreOptions; -} - declare namespace DevExpress.data.CustomStore { export type GroupItem = DevExpress.common.data.GroupItem; - export type Options = DevExpress.common.data.CustomStoreOptions; export type ResolvedData = DevExpress.common.data.ResolvedData; } @@ -895,14 +889,6 @@ declare namespace DevExpress.data.DataSource { export type Options = DevExpress.common.data.DataSourceOptions; } -declare namespace DevExpress.data.LocalStore { - export type Options = DevExpress.common.data.LocalStoreOptions; -} - -declare namespace DevExpress.data.ODataStore { - export type Options = DevExpress.common.data.ODataStoreOptions; -} - declare namespace DevExpress.data.Store { export type Options = DevExpress.common.data.StoreOptions; } diff --git a/packages/devextreme/ts/dx.all.d.ts b/packages/devextreme/ts/dx.all.d.ts index b08db83e9f87..1f74503d88ef 100644 --- a/packages/devextreme/ts/dx.all.d.ts +++ b/packages/devextreme/ts/dx.all.d.ts @@ -7374,6 +7374,39 @@ declare module DevExpress.data { url?: string; } } +declare module DevExpress.data.ArrayStore { + /** + * @deprecated Use DevExpress.common.data.ArrayStoreOptions from /common/data instead + */ + export type Options< + TItem = any, + TKey = any + > = DevExpress.common.data.ArrayStoreOptions; +} +declare module DevExpress.data.CustomStore { + /** + * @deprecated Use DevExpress.common.data.CustomStoreOptions from /common/data instead + */ + export type Options< + TItem = any, + TKey = any + > = DevExpress.common.data.CustomStoreOptions; +} +declare module DevExpress.data.LocalStore { + /** + * @deprecated Use DevExpress.common.data.LocalStoreOptions from /common/data instead + */ + export type Options< + TItem = any, + TKey = any + > = DevExpress.common.data.LocalStoreOptions; +} +declare module DevExpress.data.ODataStore { + export type Options< + TItem = any, + TKey = any + > = DevExpress.common.data.ODataStoreOptions; +} declare module DevExpress.data.PivotGridDataSource { /** * [descr:PivotGridDataSourceOptions.fields]