UNPKG

dt-app

Version:

The Dynatrace App Toolkit is a tool you can use from your command line to create, develop, and deploy apps on your Dynatrace environment.

18 lines (17 loc) 1.36 kB
import type { DynatraceDependency } from '../../interfaces'; import type { ResolvedCliOptions } from '../config/cli-options'; export type DynatraceDepsMetadataOptions = Pick<ResolvedCliOptions, 'root' | 'build'>; /** Checks all the dynatrace dependencies for metadata files and returns their content */ export declare function getAllMetadataFileContents(allInputPaths: string[], root: string, includeRuntime: boolean): DynatraceDependency[]; /** * Apply the in the app.config.json added or overridden dependencies. This function manipulates the input array, hence there is no return value. * It will also ignore the list of platform dependencies that you pass. If you override and ignore the same dependency it will be ignored. * @param processedDeps An array of all processed dynatrace dependencies * @param addOrOverrideDeps The cli options */ export declare function addOrOverrideOrIgnoreDependencies(processedDeps: DynatraceDependency[], addOrOverrideDeps?: NonNullable<DynatraceDepsMetadataOptions['build']['dynatraceDependencies']['addOrOverride']>, ignoreDependencies?: string[]): void; /** * Logs all the dependencies with their corresponding endpoints * @param transitiveDependencyObject The object that contains the dependency and endpoints */ export declare function logDependenciesWithEndpoints(platformDeps: DynatraceDependency[]): void;