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.
8 lines (7 loc) • 627 B
TypeScript
export declare const INVALID_FILENAME = "The intended action name is not allowed. Names can only contain:\n - ASCII letters & numbers\n - underscore (_)\n - dot (.)\n - and hyphen (-)\n but they can only start with either underscore (_) or letters and cannot end with hyphen (-) or dot (.)\n ";
/**
* Validates whether the name for the new action/function contain valid characters
* @param name The name we want to validate
* @returns True if name contain allowed characters
*/
export declare function checkIfNameIsValid(name: string): boolean;