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.
26 lines (25 loc) • 769 B
TypeScript
/** A single file inside a file map */
export interface File {
content: Buffer;
filename?: string;
mode?: keyof typeof FileMode;
sourceMap?: Buffer;
}
/** An in memory file tree representation interface */
export type FileMap = Record<string, File>;
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.
*/
export declare function getCompiledFileName(inputFileName: string): {
jsFileName: string;
mapFileName: string;
cssFileName: string;
cssFileMapName: string;
};