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.
16 lines (15 loc) • 873 B
TypeScript
import { type Diagnostic } from './diagnostic';
import type { DocumentTypes } from '../utils/config/cli-options';
/**
* Creates a filemap of documents. Also returns diagnostics about possible naming violations
* @param documents all the documents we will transform into a filemap
* @returns Object with Filemap based on all the documents and the diagnostics with all the errors found
*/
export declare function createDocumentsFilemap(documents: string[]): Diagnostic[];
/**
* Create a filemap of document types. Also returns diagnostics about possible violations
* @param documentTypeIconPaths paths to document type icons
* @param documentTypes all the documents we will transform into a filemap
* @returns Array of diagnostics
*/
export declare function createDocumentTypesDiagnostic(documentTypeIconPaths: string[], documentTypes: DocumentTypes): Diagnostic[];