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.
11 lines (10 loc) • 601 B
TypeScript
import type { Plugin } from 'vite';
/** App Framework API prefix that should be proxied, see [AppFW URL]/swagger-ui */
export declare const APPFW_API_PATH_PREFIX = "/platform";
/**
* Vite plugin that provides App Framework API stubs and controlled redirect proxy.
* Ports packages/cli/src/dev/fastify/appfw-plugin.ts to Vite's configureServer hook.
*/
export declare function dtAppfwVitePlugin(): Plugin;
/** Checks if the redirect target is the approved runtime.js or settings-widgets-runtime URL */
export declare function isAllowedRedirect(environmentUrl: string, redirectUrl: string): boolean;