Skip to content

Commit

Permalink
Remove deprecation tags
Browse files Browse the repository at this point in the history
  • Loading branch information
IlyaKhD committed Dec 5, 2024
1 parent 5863c6c commit 5441dc8
Show file tree
Hide file tree
Showing 34 changed files with 41 additions and 319 deletions.
6 changes: 0 additions & 6 deletions packages/devextreme/js/animation/frame.d.ts
Original file line number Diff line number Diff line change
@@ -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';
16 changes: 0 additions & 16 deletions packages/devextreme/js/animation/fx.d.ts
Original file line number Diff line number Diff line change
@@ -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';

Expand All @@ -25,7 +12,4 @@ export {
*/
export type animationConfig = AnimationConfig;

/**
* @deprecated Use fx from common/core/animation instead
*/
export default fx;
10 changes: 1 addition & 9 deletions packages/devextreme/js/animation/position.d.ts
Original file line number Diff line number Diff line change
@@ -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 { }
3 changes: 0 additions & 3 deletions packages/devextreme/js/animation/presets.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
import { animationPresets } from '../common/core/animation';

/**
* @deprecated Use animationPresets from common/core/animation instead
*/
export default animationPresets;
4 changes: 0 additions & 4 deletions packages/devextreme/js/animation/transition_executor.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,2 @@
import { TransitionExecutor } from '../common/core/animation';

/**
* @deprecated Use TransitionExecutor from common/core/animation instead
*/
export default TransitionExecutor;
12 changes: 3 additions & 9 deletions packages/devextreme/js/core/config.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
7 changes: 0 additions & 7 deletions packages/devextreme/js/core/devices.d.ts
Original file line number Diff line number Diff line change
@@ -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;
4 changes: 0 additions & 4 deletions packages/devextreme/js/core/guid.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,2 @@
import { Guid } from '../common';

/**
* @deprecated Use Guid from /common instead
*/
export default Guid;
3 changes: 0 additions & 3 deletions packages/devextreme/js/core/options.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
export {
/**
* @deprecated Use DefaultOptionsRule from /common instead
*/
DefaultOptionsRule,
} from '../common';
4 changes: 0 additions & 4 deletions packages/devextreme/js/core/set_template_engine.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,2 @@
import { setTemplateEngine } from '../common';

/**
* @deprecated Use setTemplateEngine from /common instead
*/
export default setTemplateEngine;
3 changes: 0 additions & 3 deletions packages/devextreme/js/core/templates/template.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
export type {
/**
* @deprecated Use 'template' from /common instead
*/
template,
} from '../../common';

Expand Down
4 changes: 0 additions & 4 deletions packages/devextreme/js/data/apply_changes.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,2 @@
import { applyChanges } from '../common/data';

/**
* @deprecated Use applyChanges from /common/data instead
*/
export default applyChanges;
7 changes: 1 addition & 6 deletions packages/devextreme/js/data/array_store.d.ts
Original file line number Diff line number Diff line change
@@ -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
*/
Expand All @@ -16,7 +14,4 @@ export type Options<
TKey = any,
> = ArrayStoreOptions<TItem, TKey>;

/**
* @deprecated Use ArrayStore from /common/data instead
*/
export default ArrayStore;
13 changes: 1 addition & 12 deletions packages/devextreme/js/data/custom_store.d.ts
Original file line number Diff line number Diff line change
@@ -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
*/
Expand All @@ -24,7 +16,4 @@ export type Options<
TKey = any,
> = CustomStoreOptions<TItem, TKey>;

/**
* @deprecated Use CustomStore from /common/data instead
*/
export default CustomStore;
10 changes: 0 additions & 10 deletions packages/devextreme/js/data/data_source.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -65,7 +58,4 @@ export interface DataSourceOptionsStub<
store?: Array<TStoreItem> | Store<TStoreItem, any> | StoreOptions<TStoreItem, any>;
}

/**
* @deprecated Use DataSource from /common/data instead
*/
export default DataSource;
3 changes: 0 additions & 3 deletions packages/devextreme/js/data/endpoint_selector.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
import { EndpointSelector } from '../common/data';

/**
* @deprecated Use EndpointSelector from /common/data instead
*/
export default EndpointSelector;
6 changes: 0 additions & 6 deletions packages/devextreme/js/data/errors.d.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
export {
/**
* @deprecated Use setErrorHandler from /common/data instead
*/
setErrorHandler,
/**
* @deprecated Use errorHandler from /common/data instead
*/
errorHandler,
} from '../common/data';
33 changes: 0 additions & 33 deletions packages/devextreme/js/data/index.d.ts
Original file line number Diff line number Diff line change
@@ -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';
7 changes: 1 addition & 6 deletions packages/devextreme/js/data/local_store.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down
9 changes: 0 additions & 9 deletions packages/devextreme/js/data/odata/context.d.ts
Original file line number Diff line number Diff line change
@@ -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;
8 changes: 1 addition & 7 deletions packages/devextreme/js/data/odata/store.d.ts
Original file line number Diff line number Diff line change
@@ -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<
Expand All @@ -10,13 +10,7 @@ export type Options<
> = ODataStoreOptions<TItem, TKey>;

export {
/**
* @deprecated Use ODataStoreOptions from /common/data instead
*/
ODataStoreOptions,
};

/**
* @deprecated Use ODataStore from /common/data instead
*/
export default ODataStore;
6 changes: 0 additions & 6 deletions packages/devextreme/js/data/odata/utils.d.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
export {
/**
* @deprecated Use EdmLiteral from /common/data instead
*/
EdmLiteral,
/**
* @deprecated Use keyConverters from /common/data instead
*/
keyConverters,
} from '../../common/data';
6 changes: 0 additions & 6 deletions packages/devextreme/js/data/query.d.ts
Original file line number Diff line number Diff line change
@@ -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;
3 changes: 0 additions & 3 deletions packages/devextreme/js/data/utils.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
export {
/**
* @deprecated Use base64_encode from /common/data instead
*/
base64_encode,
} from '../common/data';
Loading

0 comments on commit 5441dc8

Please sign in to comment.