gen-jhipster
Version:
VHipster - Spring Boot + Angular/React/Vue in one handy generator
359 lines (358 loc) • 13.6 kB
TypeScript
/**
* 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 { JDLApplicationConfig, JDLApplicationOptionType } from '../jdl/core/types/parsing.ts';
declare const SPRING_WEBSOCKET: string;
declare const optionNames: {
readonly APPLICATION_TYPE: "applicationType";
readonly AUTHENTICATION_TYPE: "authenticationType";
readonly BASE_NAME: "baseName";
readonly BLUEPRINT: "blueprint";
readonly BLUEPRINTS: "blueprints";
readonly BUILD_TOOL: "buildTool";
readonly CACHE_PROVIDER: "cacheProvider";
readonly CLIENT_FRAMEWORK: "clientFramework";
readonly CLIENT_THEME: "clientTheme";
readonly CLIENT_THEME_VARIANT: "clientThemeVariant";
readonly WITH_ADMIN_UI: "withAdminUi";
readonly CREATION_TIMESTAMP: "creationTimestamp";
readonly DATABASE_TYPE: "databaseType";
readonly DEV_DATABASE_TYPE: "devDatabaseType";
readonly DTO_SUFFIX: "dtoSuffix";
readonly ENABLE_HIBERNATE_CACHE: "enableHibernateCache";
readonly ENABLE_SWAGGER_CODEGEN: "enableSwaggerCodegen";
readonly ENABLE_TRANSLATION: "enableTranslation";
readonly ENTITY_SUFFIX: "entitySuffix";
readonly EXPERIMENTAL: "experimental";
readonly GATEWAY_SERVER_PORT: "gatewayServerPort";
readonly I_18_N: "i18N";
readonly INSTALL_MODULES: "installModules";
readonly JHI_PREFIX: "jhiPrefix";
readonly JHIPSTER_VERSION: "jhipsterVersion";
readonly JWT_SECRET_KEY: "jwtSecretKey";
readonly LANGUAGES: "languages";
readonly MICROFRONTEND: "microfrontend";
readonly MICROFRONTENDS: "microfrontends";
readonly NATIVE_LANGUAGE: "nativeLanguage";
readonly NODE_PACKAGE_MANAGER: "nodePackageManager";
readonly PACKAGE_NAME: "packageName";
readonly PACKAGE_FOLDER: "packageFolder";
readonly PROD_DATABASE_TYPE: "prodDatabaseType";
readonly REACTIVE: "reactive";
readonly REMEMBER_ME_KEY: "rememberMeKey";
readonly SEARCH_ENGINE: "searchEngine";
readonly SERVER_PORT: "serverPort";
readonly SERVICE_DISCOVERY_TYPE: "serviceDiscoveryType";
readonly SKIP_CLIENT: "skipClient";
readonly SKIP_GIT: "skipGit";
readonly SKIP_INSTALL: "skipInstall";
readonly SKIP_SERVER: "skipServer";
readonly SKIP_USER_MANAGEMENT: "skipUserManagement";
readonly TEST_FRAMEWORKS: "testFrameworks";
readonly WEBSOCKET: "websocket";
readonly ENABLE_GRADLE_DEVELOCITY: "enableGradleDevelocity";
readonly GRADLE_DEVELOCITY_HOST: "gradleDevelocityHost";
readonly ENABLE_GRPC: "enableGrpc";
readonly GRPC_PORT: "grpcPort";
readonly ENABLE_VIRTUAL_THREADS: "enableVirtualThreads";
};
export declare const jhipsterOptionValues: {
readonly applicationType: {
readonly monolith: "monolith";
readonly microservice: "microservice";
readonly gateway: "gateway";
};
readonly authenticationType: {
readonly jwt: "jwt";
readonly oauth2: "oauth2";
readonly session: "session";
};
readonly baseName: "jhipster";
readonly blueprint: undefined;
readonly blueprints: [];
readonly buildTool: {
readonly maven: "maven";
readonly gradle: "gradle";
};
readonly cacheProvider: {
readonly caffeine: "caffeine";
readonly ehcache: "ehcache";
readonly hazelcast: "hazelcast";
readonly infinispan: "infinispan";
readonly memcached: "memcached";
readonly redis: "redis";
readonly no: "no";
};
readonly clientFramework: {
readonly angular: "angular";
readonly react: "react";
readonly vue: "vue";
readonly svelte: "svelte";
readonly no: "no";
};
readonly clientTheme: "none";
readonly databaseType: {
readonly sql: "sql";
readonly mongodb: "mongodb";
readonly cassandra: "cassandra";
readonly couchbase: "couchbase";
readonly neo4j: "neo4j";
readonly no: "no";
};
readonly devDatabaseType: {
readonly h2Disk: "h2Disk";
readonly h2Memory: "h2Memory";
readonly mysql: "mysql";
readonly mariadb: "mariadb";
readonly postgresql: "postgresql";
readonly oracle: "oracle";
readonly mssql: "mssql";
};
readonly dtoSuffix: "DTO";
readonly enableHibernateCache: true;
readonly enableSwaggerCodegen: false;
readonly enableTranslation: true;
readonly entitySuffix: "";
readonly experimental: false;
readonly i18N: true;
readonly installModules: false;
readonly jhiPrefix: "jhi";
readonly jhipsterVersion: "";
readonly jwtSecretKey: "";
readonly languages: [];
readonly microfrontend: false;
readonly microfrontends: [];
readonly nodePackageManager: {
readonly npm: "npm";
};
readonly packageName: "com.mycompany.myapp";
readonly prodDatabaseType: {
readonly mysql: "mysql";
readonly mariadb: "mariadb";
readonly postgresql: "postgresql";
readonly oracle: "oracle";
readonly mssql: "mssql";
readonly no: "no";
};
readonly reactive: false;
readonly rememberMeKey: "";
readonly searchEngine: {
readonly elasticsearch: "elasticsearch";
readonly couchbase: "couchbase";
readonly no: "no";
};
readonly serverPort: 8080;
readonly serviceDiscoveryType: {
readonly eureka: "eureka";
readonly consul: "consul";
readonly no: "no";
};
readonly skipClient: false;
readonly skipGit: false;
readonly skipInstall: false;
readonly skipServer: false;
readonly skipUserManagement: false;
readonly testFrameworks: {
readonly cypress: "cypress";
readonly cucumber: "cucumber";
readonly gatling: "gatling";
};
readonly websocket: {
readonly [SPRING_WEBSOCKET]: string;
readonly no: string;
};
readonly withAdminUi: true;
readonly enableGradleDevelocity: false;
readonly gradleDevelocityHost: "";
readonly enableGrpc: true;
readonly grpcPort: "9090";
readonly enableVirtualThreads: true;
};
export declare const jhipsterOptionTypes: Record<string, JDLApplicationOptionType>;
export declare const jhipsterQuotedOptionNames: string[];
export declare const builtInJDLApplicationConfig: JDLApplicationConfig;
export { optionNames as OptionNames };
declare const _default: {
OptionNames: {
readonly APPLICATION_TYPE: "applicationType";
readonly AUTHENTICATION_TYPE: "authenticationType";
readonly BASE_NAME: "baseName";
readonly BLUEPRINT: "blueprint";
readonly BLUEPRINTS: "blueprints";
readonly BUILD_TOOL: "buildTool";
readonly CACHE_PROVIDER: "cacheProvider";
readonly CLIENT_FRAMEWORK: "clientFramework";
readonly CLIENT_THEME: "clientTheme";
readonly CLIENT_THEME_VARIANT: "clientThemeVariant";
readonly WITH_ADMIN_UI: "withAdminUi";
readonly CREATION_TIMESTAMP: "creationTimestamp";
readonly DATABASE_TYPE: "databaseType";
readonly DEV_DATABASE_TYPE: "devDatabaseType";
readonly DTO_SUFFIX: "dtoSuffix";
readonly ENABLE_HIBERNATE_CACHE: "enableHibernateCache";
readonly ENABLE_SWAGGER_CODEGEN: "enableSwaggerCodegen";
readonly ENABLE_TRANSLATION: "enableTranslation";
readonly ENTITY_SUFFIX: "entitySuffix";
readonly EXPERIMENTAL: "experimental";
readonly GATEWAY_SERVER_PORT: "gatewayServerPort";
readonly I_18_N: "i18N";
readonly INSTALL_MODULES: "installModules";
readonly JHI_PREFIX: "jhiPrefix";
readonly JHIPSTER_VERSION: "jhipsterVersion";
readonly JWT_SECRET_KEY: "jwtSecretKey";
readonly LANGUAGES: "languages";
readonly MICROFRONTEND: "microfrontend";
readonly MICROFRONTENDS: "microfrontends";
readonly NATIVE_LANGUAGE: "nativeLanguage";
readonly NODE_PACKAGE_MANAGER: "nodePackageManager";
readonly PACKAGE_NAME: "packageName";
readonly PACKAGE_FOLDER: "packageFolder";
readonly PROD_DATABASE_TYPE: "prodDatabaseType";
readonly REACTIVE: "reactive";
readonly REMEMBER_ME_KEY: "rememberMeKey";
readonly SEARCH_ENGINE: "searchEngine";
readonly SERVER_PORT: "serverPort";
readonly SERVICE_DISCOVERY_TYPE: "serviceDiscoveryType";
readonly SKIP_CLIENT: "skipClient";
readonly SKIP_GIT: "skipGit";
readonly SKIP_INSTALL: "skipInstall";
readonly SKIP_SERVER: "skipServer";
readonly SKIP_USER_MANAGEMENT: "skipUserManagement";
readonly TEST_FRAMEWORKS: "testFrameworks";
readonly WEBSOCKET: "websocket";
readonly ENABLE_GRADLE_DEVELOCITY: "enableGradleDevelocity";
readonly GRADLE_DEVELOCITY_HOST: "gradleDevelocityHost";
readonly ENABLE_GRPC: "enableGrpc";
readonly GRPC_PORT: "grpcPort";
readonly ENABLE_VIRTUAL_THREADS: "enableVirtualThreads";
};
OptionValues: {
readonly applicationType: {
readonly monolith: "monolith";
readonly microservice: "microservice";
readonly gateway: "gateway";
};
readonly authenticationType: {
readonly jwt: "jwt";
readonly oauth2: "oauth2";
readonly session: "session";
};
readonly baseName: "jhipster";
readonly blueprint: undefined;
readonly blueprints: [];
readonly buildTool: {
readonly maven: "maven";
readonly gradle: "gradle";
};
readonly cacheProvider: {
readonly caffeine: "caffeine";
readonly ehcache: "ehcache";
readonly hazelcast: "hazelcast";
readonly infinispan: "infinispan";
readonly memcached: "memcached";
readonly redis: "redis";
readonly no: "no";
};
readonly clientFramework: {
readonly angular: "angular";
readonly react: "react";
readonly vue: "vue";
readonly svelte: "svelte";
readonly no: "no";
};
readonly clientTheme: "none";
readonly databaseType: {
readonly sql: "sql";
readonly mongodb: "mongodb";
readonly cassandra: "cassandra";
readonly couchbase: "couchbase";
readonly neo4j: "neo4j";
readonly no: "no";
};
readonly devDatabaseType: {
readonly h2Disk: "h2Disk";
readonly h2Memory: "h2Memory";
readonly mysql: "mysql";
readonly mariadb: "mariadb";
readonly postgresql: "postgresql";
readonly oracle: "oracle";
readonly mssql: "mssql";
};
readonly dtoSuffix: "DTO";
readonly enableHibernateCache: true;
readonly enableSwaggerCodegen: false;
readonly enableTranslation: true;
readonly entitySuffix: "";
readonly experimental: false;
readonly i18N: true;
readonly installModules: false;
readonly jhiPrefix: "jhi";
readonly jhipsterVersion: "";
readonly jwtSecretKey: "";
readonly languages: [];
readonly microfrontend: false;
readonly microfrontends: [];
readonly nodePackageManager: {
readonly npm: "npm";
};
readonly packageName: "com.mycompany.myapp";
readonly prodDatabaseType: {
readonly mysql: "mysql";
readonly mariadb: "mariadb";
readonly postgresql: "postgresql";
readonly oracle: "oracle";
readonly mssql: "mssql";
readonly no: "no";
};
readonly reactive: false;
readonly rememberMeKey: "";
readonly searchEngine: {
readonly elasticsearch: "elasticsearch";
readonly couchbase: "couchbase";
readonly no: "no";
};
readonly serverPort: 8080;
readonly serviceDiscoveryType: {
readonly eureka: "eureka";
readonly consul: "consul";
readonly no: "no";
};
readonly skipClient: false;
readonly skipGit: false;
readonly skipInstall: false;
readonly skipServer: false;
readonly skipUserManagement: false;
readonly testFrameworks: {
readonly cypress: "cypress";
readonly cucumber: "cucumber";
readonly gatling: "gatling";
};
readonly websocket: {
readonly [SPRING_WEBSOCKET]: string;
readonly no: string;
};
readonly withAdminUi: true;
readonly enableGradleDevelocity: false;
readonly gradleDevelocityHost: "";
readonly enableGrpc: true;
readonly grpcPort: "9090";
readonly enableVirtualThreads: true;
};
QuotedOptionNames: string[];
};
export default _default;