generator-jhipster
Version:
Spring Boot + Angular/React/Vue in one handy generator
74 lines (73 loc) • 5.34 kB
TypeScript
import BaseWorkspacesGenerator, { type Deployment as BaseDeployment, type WorkspacesApplication } from '../base-workspaces/index.ts';
export default class DockerComposeGenerator extends BaseWorkspacesGenerator {
[BaseWorkspacesGenerator.INITIALIZING]: Record<"sayHello" | "checkDocker" | "checkDockerCompose", import("../base-core/types.js").GenericTask<any, import("../base/tasks.js").TaskParamWithControl>>;
[BaseWorkspacesGenerator.PROMPTING]: Record<"askForDirectoryPath", import("../base-core/types.js").GenericTask<any, import("../base/tasks.js").TaskParamWithControl>>;
[BaseWorkspacesGenerator.PREPARING]: Record<"setWorkspacesRoot", import("../base-core/types.js").GenericTask<any, import("../base/tasks.js").TaskParamWithSource<import("../base/types.js").Source>>>;
[BaseWorkspacesGenerator.PROMPTING_WORKSPACES]: Record<"askForMonitoring" | "askForClustersModeWorkspace" | "askForServiceDiscoveryWorkspace", import("../base-core/types.js").GenericTask<any, import("../base/tasks.js").TaskParamWithControl & {
applications: WorkspacesApplication[];
deployment: BaseDeployment;
}>>;
[BaseWorkspacesGenerator.CONFIGURING_WORKSPACES]: Record<"configureBaseDeployment", import("../base-core/types.js").GenericTask<any, import("../base/tasks.js").TaskParamWithControl & {
applications: WorkspacesApplication[];
deployment: BaseDeployment;
}>>;
[BaseWorkspacesGenerator.LOADING_WORKSPACES]: Record<"loadBaseDeployment", import("../base-core/types.js").GenericTask<any, import("../base/tasks.js").TaskParamWithControl & {
applications: WorkspacesApplication[];
deployment: BaseDeployment;
}>>;
[BaseWorkspacesGenerator.PREPARING_WORKSPACES]: Record<"prepareDeployment", import("../base-core/types.js").GenericTask<any, import("../base/tasks.js").TaskParamWithControl & {
applications: WorkspacesApplication[];
deployment: BaseDeployment;
}>>;
[BaseWorkspacesGenerator.DEFAULT]: Record<"setAppsYaml", import("../base-core/types.js").GenericTask<any, import("../base/tasks.js").TaskParamWithControl & {
applications: WorkspacesApplication[];
deployment: BaseDeployment;
}>>;
[BaseWorkspacesGenerator.WRITING]: Record<"cleanupOldFilesTask" | "writeFiles", import("../base-core/types.js").GenericTask<any, import("../base/tasks.js").TaskParamWithControl & {
applications: WorkspacesApplication[];
deployment: BaseDeployment;
}>>;
[BaseWorkspacesGenerator.END]: Record<"end", import("../base-core/types.js").GenericTask<any, import("../base/tasks.js").TaskParamWithControl & {
applications: WorkspacesApplication[];
deployment: BaseDeployment;
}>>;
beforeQueue(): Promise<void>;
get initializing(): Record<"sayHello" | "checkDocker" | "checkDockerCompose", import("../base-core/types.js").GenericTask<any, import("../base/tasks.js").TaskParamWithControl>>;
get prompting(): Record<"askForDirectoryPath", import("../base-core/types.js").GenericTask<any, import("../base/tasks.js").TaskParamWithControl>>;
get preparing(): Record<"setWorkspacesRoot", import("../base-core/types.js").GenericTask<any, import("../base/tasks.js").TaskParamWithSource<import("../base/types.js").Source>>>;
get promptingWorkspaces(): Record<"askForMonitoring" | "askForClustersModeWorkspace" | "askForServiceDiscoveryWorkspace", import("../base-core/types.js").GenericTask<any, import("../base/tasks.js").TaskParamWithControl & {
applications: WorkspacesApplication[];
deployment: BaseDeployment;
}>>;
get configuringWorkspaces(): Record<"configureBaseDeployment", import("../base-core/types.js").GenericTask<any, import("../base/tasks.js").TaskParamWithControl & {
applications: WorkspacesApplication[];
deployment: BaseDeployment;
}>>;
get loadingWorkspaces(): Record<"loadBaseDeployment", import("../base-core/types.js").GenericTask<any, import("../base/tasks.js").TaskParamWithControl & {
applications: WorkspacesApplication[];
deployment: BaseDeployment;
}>>;
get preparingWorkspaces(): Record<"prepareDeployment", import("../base-core/types.js").GenericTask<any, import("../base/tasks.js").TaskParamWithControl & {
applications: WorkspacesApplication[];
deployment: BaseDeployment;
}>>;
get default(): Record<"setAppsYaml", import("../base-core/types.js").GenericTask<any, import("../base/tasks.js").TaskParamWithControl & {
applications: WorkspacesApplication[];
deployment: BaseDeployment;
}>>;
get writing(): Record<"cleanupOldFilesTask" | "writeFiles", import("../base-core/types.js").GenericTask<any, import("../base/tasks.js").TaskParamWithControl & {
applications: WorkspacesApplication[];
deployment: BaseDeployment;
}>>;
get end(): Record<"end", import("../base-core/types.js").GenericTask<any, import("../base/tasks.js").TaskParamWithControl & {
applications: WorkspacesApplication[];
deployment: BaseDeployment;
}>>;
checkApplicationsDockerImages({ applications }: {
applications: WorkspacesApplication[];
}): void;
prepareDeploymentDerivedProperties({ deployment, applications }: {
deployment: BaseDeployment;
applications: any[];
}): void;
}