1 | interface FeatureTypes {
|
2 | simpleFeatureMapping: {
|
3 | [key: string]: string[];
|
4 | };
|
5 | quantifiedFeatureMapping: Record<string, string | number | boolean | null | undefined>;
|
6 | deprecatedFeatures: string[];
|
7 | }
|
8 | export declare class ScratchOrgFeatureDeprecation {
|
9 | private featureTypes;
|
10 | constructor(options?: FeatureTypes);
|
11 | /**
|
12 | * Gets list of feature warnings that should be logged
|
13 | *
|
14 | * @param features The requested features.
|
15 | * @returns List of string feature warnings.
|
16 | */
|
17 | getFeatureWarnings(features: string | string[]): string[];
|
18 | /**
|
19 | * Removes all deprecated features for the organization.
|
20 | *
|
21 | * @param features List of features to filter
|
22 | * @returns feature array with proper mapping.
|
23 | */
|
24 | filterDeprecatedFeatures(features: string[]): string[];
|
25 | }
|
26 | export {};
|