UNPKG

@sap/generator-adaptation-project

Version:

Adaptation project allows you to create an app variant for an existing SAP Fiori elements-based or SAPUI5 freestyle application, without changing the original application.

15 lines (14 loc) 683 B
import Generator = require("yeoman-generator"); import { AppWizard } from "@sap-devx/yeoman-ui-types"; import { Log, LogFn, GeneratorTypes } from "@sap/adp-common"; declare class AdaptationProjectGeneratorBase extends Generator { protected readonly logger: Log<LogFn>; protected readonly appWizard: AppWizard; protected readonly type: GeneratorTypes; protected validationError: Error; constructor(args: string | string[], opts: any, type: GeneratorTypes); private _getLoggerMessageTemplate; protected handleRuntimeCrash(errorMessage: string, isCFEnv?: boolean): Promise<void>; private getErrorMessagePrompt; } export = AdaptationProjectGeneratorBase;