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.
23 lines (22 loc) • 862 B
TypeScript
import type { VirtualFile } from '../utils/file-map/file-map';
import type { ResolvedCliOptions } from '../utils/config/cli-options';
import type { CompilationResult } from './compile';
export declare enum AppFunctionsBuildPlatform {
BROWSER = "browser",
NODE = "node"
}
export interface FunctionsFileInfo {
content: Buffer;
sourceMap?: Buffer;
filename: string;
isOfType: string;
}
export declare const defaultSupportedExternalRuntimeLibraries: string[];
/** Builds the app functions */
export declare function buildFunctions(config: ResolvedCliOptions, isDev: boolean, include?: string[]): Promise<CompilationResult & {
fileMap: Record<string, VirtualFile>;
}>;
/**
* Returns true if path is nested like e.g. foo/bar and false if path is not nested e.g. foo or /foo
*/
export declare function isPathNested(path: string): boolean;