/** * 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 BaseApplicationGenerator from '../base-application/index.ts'; import { cleanupEntitiesTask } from './entity-files.ts'; type GrpcConfig = { grpcEnabled?: boolean; grpcPort?: string | number; grpcSecured?: boolean; grpcUseSsl?: boolean; grpcCertificatePath?: string; grpcPrivateKeyPath?: string; }; export default class GrpcGenerator extends BaseApplicationGenerator { [BaseApplicationGenerator.INITIALIZING]: Record<"loadConfig", import("../base-core/types.js").GenericTask>; [BaseApplicationGenerator.PROMPTING]: Record<"showPrompts", import("../base-core/types.js").GenericTask>; [BaseApplicationGenerator.PREPARING]: Record<"preparing", import("../base-core/types.js").GenericTask>; } & import("../base-simple-application/tasks.js").ApplicationDefaultsTaskParam>>>>; [BaseApplicationGenerator.PREPARING_EACH_ENTITY]: Record<"prepareEntity", import("../base-core/types.js").GenericTask, import("../base-application/types.js").Application>>>>; [BaseApplicationGenerator.PREPARING_EACH_ENTITY_RELATIONSHIP]: Record<"prepareRelationship", import("../base-core/types.js").GenericTask, import("../base-application/types.js").Application>>>>; [BaseApplicationGenerator.WRITING]: { writeGrpcFilesTask: (this: import("../index.ts").GeneratorBaseCore, params: import("../base-simple-application/tasks.js").TaskParamWithApplication>>) => void; }; [BaseApplicationGenerator.WRITING_ENTITIES]: { cleanupEntitiesTask: typeof cleanupEntitiesTask; writeEntitiesTasks: (this: import("../index.ts").GeneratorBaseCore, params: import("../base-application/tasks.js").TaskParamWithEntities, import("../base-application/types.js").Application>>) => void; }; [BaseApplicationGenerator.POST_WRITING]: Record<"addDependencies" | "addPlugins", import("../base-core/types.js").GenericTask>; }>>; grpcConfig: GrpcConfig; enableGrpc: boolean; beforeQueue(): Promise; get initializing(): Record<"loadConfig", import("../base-core/types.js").GenericTask>; get prompting(): Record<"showPrompts", import("../base-core/types.js").GenericTask>; get preparing(): Record<"preparing", import("../base-core/types.js").GenericTask>; } & import("../base-simple-application/tasks.js").ApplicationDefaultsTaskParam>>>>; get preparingEachEntity(): Record<"prepareEntity", import("../base-core/types.js").GenericTask, import("../base-application/types.js").Application>>>>; get preparingEachEntityRelationship(): Record<"prepareRelationship", import("../base-core/types.js").GenericTask, import("../base-application/types.js").Application>>>>; get writing(): { writeGrpcFilesTask: (this: import("../index.ts").GeneratorBaseCore, params: import("../base-simple-application/tasks.js").TaskParamWithApplication>>) => void; }; get writingEntities(): { cleanupEntitiesTask: typeof cleanupEntitiesTask; writeEntitiesTasks: (this: import("../index.ts").GeneratorBaseCore, params: import("../base-application/tasks.js").TaskParamWithEntities, import("../base-application/types.js").Application>>) => void; }; get postWriting(): Record<"addDependencies" | "addPlugins", import("../base-core/types.js").GenericTask>; }>>; } export {};