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.
22 lines (21 loc) • 587 B
TypeScript
import type { BeforeBuildCallback, BeforeServeCallBack } from './hooks';
/**
* Interface for collecting callbacks of a plugin during its setup
* @internal
* @experimental
* @deprecated Use _DtApp instead
*/
export interface DtApp {
beforeBuild: (callBack: BeforeBuildCallback) => void;
beforeServe: (callBack: BeforeServeCallBack) => void;
}
/**
* Plugin that can be registered/used by the dt-app
* @internal
* @experimental
* @deprecated Use _DtAppPlugin instead
*/
export interface DtAppPlugin {
name: string;
setup: (dtApp: DtApp) => void | Promise<void>;
}