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.
36 lines (35 loc) • 837 B
TypeScript
/**
* A single file inside a file map
* @internal
*/
export interface File {
content: Buffer;
filename?: string;
mode?: keyof typeof FileMode;
sourceMap?: Buffer;
}
/**
* An in memory file tree representation interface
* @internal
*/
export type FileMap = Record<string, File>;
/**
* @internal
*/
export declare const FileMode: {
created: string;
updated: string;
deleted: string;
copied: string;
};
/**
* Retrieves the output .js and .map file for a given TypeScript input (can be used as an index in the FileMap)
* Returns an empty string for cssFileName and cssFileMapName in case it does not exist.
* @internal
*/
export declare function getCompiledFileName(inputFileName: string): {
jsFileName: string;
mapFileName: string;
cssFileName: string;
cssFileMapName: string;
};