UNPKG

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.

12 lines (11 loc) 617 B
import type { CliAsset } from '../../utils/config/cli-options'; /** * Returns path to file if url is requesting a valid ui asset * @param normalizedRequestUrl is what the api request provides and should match the assets output path */ export declare function findUiAsset(root: string, uiAssetConfigs: CliAsset[], normalizedRequestUrl: string): string | undefined; /** * Checks whether given path points to a ui asset file or not * @param filePath relative path from root or absolute path to ui asset on disk */ export declare function isAsset(root: string, assetConfigs: CliAsset[], filePath: string): boolean;