/** * Copyright 2013-2026 the original author or authors from the JHipster project. * * This file is part of the JHipster project, see https://www.jhipster.tech/ * for more information. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ import type { ExportGeneratorOptionsFromCommand, ExportStoragePropertiesFromCommand, ParsableCommand } from '../../lib/command/types.ts'; import BaseGenerator from '../base/index.ts'; import type { GenericTask } from '../base-core/types.ts'; import type { Application as SimpleApplication } from '../base-simple-application/types.d.ts'; import type { Tasks as WorkspacesTasks } from './tasks.ts'; import type { Config as BaseWorkspacesConfig, Deployment as BaseDeployment, Features as BaseWorkspacesFeatures, Options as BaseWorkspacesOptions, Source as BaseWorkspacesSource, WorkspacesApplication } from './types.ts'; /** * This is the base class for a generator that generates entities. */ export default abstract class BaseWorkspacesGenerator = WorkspacesTasks> extends BaseGenerator { #private; static readonly PROMPTING_WORKSPACES: string; static readonly CONFIGURING_WORKSPACES: string; static readonly LOADING_WORKSPACES: string; static readonly PREPARING_WORKSPACES: string; constructor(args?: string[], options?: Options, features?: Features); get jhipsterConfigWithDefaults(): { appsFolders: string[]; directoryPath: "../"; clusteredDbApps: string[]; serviceDiscoveryType: "consul"; dockerRepositoryName: ""; dockerPushCommand: "docker push"; kubernetesNamespace: "default"; kubernetesServiceType: string; kubernetesUseDynamicStorage: false; kubernetesStorageClassName: ""; ingressDomain: ""; monitoring: string; istio: false; ingressType: string; gatewayType?: undefined; } & Config; get context(): {}; get appsFolders(): string[]; get directoryPath(): string; get workspacesRoot(): string; get promptingWorkspaces(): {}; get configuringWorkspaces(): {}; get loadingWorkspaces(): {}; get preparingWorkspaces(): {}; workspacePath(...dest: string[]): string; private resolveApplicationFolders; setWorkspacesRoot(root: string): void; bootstrapApplications(): Promise; getArgsForPriority(priorityName: string): any; /** * Utility method to get typed objects for autocomplete. */ asPromptingWorkspacesTaskGroup>>(taskGroup: T): Record>; /** * Utility method to get typed objects for autocomplete. */ asConfiguringWorkspacesTaskGroup>>(taskGroup: T): Record>; /** * Utility method to get typed objects for autocomplete. */ asLoadingWorkspacesTaskGroup>>(taskGroup: T): Record>; /** * Utility method to get typed objects for autocomplete. */ asPreparingWorkspacesTaskGroup>>(taskGroup: T): Record>; } export declare class CommandBaseWorkspacesGenerator extends BaseWorkspacesGenerator, BaseWorkspacesOptions & ExportGeneratorOptionsFromCommand & AdditionalOptions> { }