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.01 kB
TypeScript
import type { Changes, Change, ResolvedChange, ResolvedChanges, MigrationChanges } from './types';
/** This function accepts a Changes Type and returns Resolved changes */
export declare function resolveChanges(changes: Changes): ResolvedChange[];
/** Makes some validity checks and returns the resolved change */
export declare function resolveChange(change: Change & {
migrationFactory?: string;
}, isBreakingChange: boolean): ResolvedChange;
/**
* Processes changes from a package's dt property and filters them based on the current version.
* Also adds a major version update change if the major version has changed.
*/
export declare function processPackageChanges(dt: Changes | undefined, packageName: string, updateReference: {
current: string;
latest: string;
}): ResolvedChange[];
/** Filters all the resolved changes and returns only the once that contain a migrationFactory. */
export declare function filterChangesForContainingMigrations(allChanges: ResolvedChanges): MigrationChanges;