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.
21 lines (20 loc) • 885 B
TypeScript
import { type CwdOption } from '../utils/file-operations';
import type { PackageJson } from '../interfaces';
/** Generates an url path out of the function file name */
export declare function functionNameToUrlPath(fileName: string): string;
/** Check if a function with the name already exists */
export declare function checkIfFunctionExists(options: {
/** Relative path where the functions are located */
functionsFolder: string;
/** The file name */
name: string;
} & CwdOption): boolean;
/** Check if a function with the name already exists */
export declare function checkIfFunctionTestExists(options: {
/** Relative path where the functions are located */
functionsFolder: string;
/** The file name */
name: string;
} & CwdOption): boolean;
/** Get package json content. */
export declare function getPackageJson(options: CwdOption): PackageJson;