UNPKG

salesforce-alm

Version:

This package contains tools, and APIs, for an improved salesforce.com developer experience.

27 lines (26 loc) 785 B
interface FeatureTypes { simpleFeatureMapping: { [key: string]: string[]; }; quantifiedFeatureMapping: object; deprecatedFeatures: string[]; } export declare class ScratchOrgFeatureDeprecation { private featureTypes; constructor(options?: FeatureTypes); /** * Gets list of feature warnings that should be logged * * @param features The requested features. * @returns List of string feature warnings. */ getFeatureWarnings(features: string | string[]): string[]; /** * Removes all deprecated features for the organization. * * @param features List of features to filter * @returns feature array with proper mapping. */ filterDeprecatedFeatures(features: string[]): string[]; } export {};