import AppVariant from "../appVariant.js"; import BaseApp from "../baseApp.js"; import { IConfiguration } from "../model/configuration.js"; import { UI5BuilderTools } from "../model/types.js"; import IRepository from "../repositories/repository.js"; import { IAdapter } from "./adapter.js"; import CFAdapter from "./cfAdapter.js"; import { AdaptCommandChain, PostCommandChain, SetupCommandChain } from "./commands/command.js"; export default class PreviewAdapter implements IAdapter { private configuration; private cfAdapter; private fetchPreviewResourcesCommand; private fetchEndpointsCommand; constructor(configuration: IConfiguration, cfAdapter?: CFAdapter); createSetupCommandChain(appId: string, repository: IRepository): SetupCommandChain; createAdaptCommandChain(baseApp: BaseApp, appVariant: AppVariant): AdaptCommandChain; createPostCommandChain(references: Map, adaptationProject: AppVariant, ui5BuilderTools: UI5BuilderTools): PostCommandChain; }