generator-jhipster 8.0.0-beta.1 → 8.0.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -5
- package/dist/generators/angular/resources/package.json +14 -14
- package/dist/generators/angular/templates/src/main/webapp/app/admin/logs/logs.component.ts.ejs +1 -1
- package/dist/generators/angular/templates/src/main/webapp/app/admin/user-management/user-management.route.ts.ejs +9 -14
- package/dist/generators/angular/templates/src/main/webapp/app/app-routing.module.ts.ejs +1 -1
- package/dist/generators/angular/templates/src/main/webapp/app/core/auth/user-route-access.service.ts.ejs +26 -33
- package/dist/generators/angular/templates/src/main/webapp/app/layouts/navbar/navbar.component.html.ejs +1 -1
- package/dist/generators/angular/templates/src/main/webapp/app/layouts/navbar/navbar.component.ts.ejs +1 -1
- package/dist/generators/angular/templates/src/main/webapp/app/shared/filter/filter.model.ts.ejs +1 -1
- package/dist/generators/app/generator.mjs +0 -1
- package/dist/generators/app/prompts.mjs +1 -1
- package/dist/generators/base/generator-base-blueprint.mjs +5 -3
- package/dist/generators/base/generator-base-todo.mjs +5 -12
- package/dist/generators/base/support/faker.mjs +6 -8
- package/dist/generators/base-application/support/prepare-field.mjs +9 -9
- package/dist/generators/base-core/generator-base.mjs +565 -0
- package/dist/generators/base-core/index.mjs +1 -1
- package/dist/generators/base-docker/generator.mjs +0 -7
- package/dist/generators/bootstrap/generator.mjs +10 -26
- package/dist/generators/ci-cd/templates/jenkins/idea.gdsl.ejs +1 -1
- package/dist/generators/client/needle-api/needle-client-webpack.mjs +1 -1
- package/dist/generators/client/resources/package.json +6 -6
- package/dist/generators/client/templates/src/main/webapp/index.html.ejs +7 -8
- package/dist/generators/client/templates/src/main/webapp/swagger-ui/index.html.ejs +2 -1
- package/dist/generators/common/resources/package.json +3 -3
- package/dist/generators/docker/generator.mjs +1 -1
- package/dist/generators/docker/templates/src/main/docker/app.yml.ejs +1 -2
- package/dist/generators/docker/templates/src/main/docker/mariadb.yml.ejs +5 -5
- package/dist/generators/docker-compose/generator.mjs +1 -1
- package/dist/generators/entities/generator.mjs +0 -1
- package/dist/generators/generate-blueprint/files.mjs +1 -0
- package/dist/generators/generate-blueprint/generator.mjs +3 -1
- package/dist/generators/generate-blueprint/templates/.github/workflows/generator.yml.ejs +1 -1
- package/dist/generators/generate-blueprint/templates/tsconfig.json.ejs +31 -0
- package/dist/generators/generator-constants.mjs +11 -14
- package/dist/generators/gradle/constants.mjs +1 -1
- package/dist/generators/heroku/generator.mjs +42 -2
- package/dist/generators/init/constants.mjs +0 -1
- package/dist/generators/init/generator.mjs +3 -2
- package/dist/generators/init/templates/package.json.ejs +1 -1
- package/dist/generators/jdl/generator.mjs +22 -15
- package/dist/generators/kubernetes/kubernetes-base.mjs +2 -2
- package/dist/generators/kubernetes/templates/deployment.yml.ejs +1 -3
- package/dist/generators/kubernetes-helm/templates/app/Chart.yml.ejs +1 -1
- package/dist/generators/kubernetes-helm/templates/app/requirements.yml.ejs +1 -1
- package/dist/generators/kubernetes-knative/templates/service.yml.ejs +1 -3
- package/dist/generators/languages/templates/entity/i18n/entity_ja.json.ejs +11 -11
- package/dist/generators/languages/templates/src/main/resources/i18n/messages_ja.properties.ejs +7 -7
- package/dist/generators/languages/templates/src/main/webapp/i18n/ja/error.json +5 -5
- package/dist/generators/languages/templates/src/main/webapp/i18n/ja/gateway.json +6 -6
- package/dist/generators/languages/templates/src/main/webapp/i18n/ja/global.json.ejs +37 -37
- package/dist/generators/languages/templates/src/main/webapp/i18n/ja/health.json.ejs +6 -6
- package/dist/generators/languages/templates/src/main/webapp/i18n/ja/home.json +2 -2
- package/dist/generators/languages/templates/src/main/webapp/i18n/ja/login.json +2 -2
- package/dist/generators/languages/templates/src/main/webapp/i18n/ja/metrics.json +54 -46
- package/dist/generators/languages/templates/src/main/webapp/i18n/ja/register.json +1 -1
- package/dist/generators/languages/templates/src/main/webapp/i18n/ja/reset.json.ejs +10 -10
- package/dist/generators/languages/templates/src/main/webapp/i18n/ja/user-management.json +21 -21
- package/dist/generators/liquibase/generator.mjs +6 -0
- package/dist/generators/liquibase/support/maven-plugin.mjs +2 -1
- package/dist/generators/liquibase/templates/gradle/liquibase.gradle.ejs +14 -4
- package/dist/generators/liquibase-changelogs/templates/src/main/resources/config/liquibase/fake-data/table_entity.csv.ejs +1 -1
- package/dist/generators/openshift/templates/deployment.yml.ejs +1 -3
- package/dist/generators/page/generator.mjs +0 -1
- package/dist/generators/react/resources/package.json +26 -26
- package/dist/generators/react/templates/src/main/webapp/app/entities/_entityFolder/_entityFile.tsx.ejs +1 -0
- package/dist/generators/react/templates/src/main/webapp/app/modules/administration/user-management/user-management.tsx.ejs +1 -1
- package/dist/generators/server/command.mjs +1 -1
- package/dist/generators/server/generator.mjs +1 -7
- package/dist/generators/server/resources/Dockerfile +11 -11
- package/dist/generators/server/resources/gradle/libs.versions.toml +5 -3
- package/dist/generators/server/resources/pom.xml +35 -17
- package/dist/generators/server/support/spring-factories.mjs +8 -13
- package/dist/generators/server/templates/.devcontainer/devcontainer.json.ejs +24 -19
- package/dist/generators/server/templates/build.gradle.ejs +10 -1
- package/dist/generators/server/templates/entity/src/test/java/package/web/rest/_EntityClass_ResourceIT.java.ejs +2 -2
- package/dist/generators/server/templates/gradle/profile_dev.gradle.ejs +16 -4
- package/dist/generators/server/templates/gradle/profile_prod.gradle.ejs +16 -4
- package/dist/generators/server/templates/gradle.properties.ejs +1 -0
- package/dist/generators/server/templates/pom.xml.ejs +39 -9
- package/dist/generators/server/templates/settings.gradle.ejs +1 -0
- package/dist/generators/server/templates/src/main/java/package/config/JacksonConfiguration.java.ejs +3 -3
- package/dist/generators/server/templates/src/main/java/package/config/SecurityConfiguration_imperative.java.ejs +11 -4
- package/dist/generators/server/templates/src/main/java/package/config/SecurityConfiguration_reactive.java.ejs +5 -3
- package/dist/generators/server/templates/src/main/java/package/config/WebConfigurer.java.ejs +3 -3
- package/dist/generators/server/templates/src/main/java/package/repository/UserRepository.java.ejs +1 -1
- package/dist/generators/server/templates/src/main/java/package/security/DomainUserDetailsService.java.ejs +2 -4
- package/dist/generators/server/templates/src/main/java/package/security/PersistentTokenRememberMeServices.java.ejs +1 -1
- package/dist/generators/server/templates/src/main/java/package/service/UserService.java.ejs +1 -1
- package/dist/generators/server/templates/src/main/java/package/web/rest/AccountResource.java.ejs +3 -3
- package/dist/generators/server/templates/src/main/java/package/web/rest/UserResource.java.ejs +2 -2
- package/dist/generators/server/templates/src/main/java/package/web/rest/errors/BadRequestAlertException.java.ejs +0 -9
- package/dist/generators/server/templates/src/main/java/package/web/rest/errors/ExceptionTranslator.java.ejs +2 -2
- package/dist/generators/server/templates/src/main/resources/config/application-dev.yml.ejs +1 -2
- package/dist/generators/server/templates/src/main/resources/config/application-prod.yml.ejs +1 -2
- package/dist/generators/server/templates/src/main/resources/config/application.yml.ejs +1 -1
- package/dist/generators/server/templates/src/main/resources/logback-spring.xml.ejs +4 -0
- package/dist/generators/server/templates/src/test/java/package/security/oauth2/AuthorizationHeaderUtilTest.java.ejs +70 -37
- package/dist/generators/server/templates/src/test/java/package/web/filter/SpaWebFilterIT_imperative.java.ejs +1 -1
- package/dist/generators/server/templates/src/test/java/package/web/filter/SpaWebFilterIT_reactive.java.ejs +1 -1
- package/dist/generators/server/templates/src/test/java/package/web/rest/AccountResourceIT.java.ejs +7 -7
- package/dist/generators/server/templates/src/test/java/package/web/rest/TestUtil.java.ejs +5 -5
- package/dist/generators/server/templates/src/test/java/package/web/rest/UserResourceIT.java.ejs +6 -6
- package/dist/generators/spring-cache/internal/dependencies.mjs +3 -0
- package/dist/generators/spring-controller/generator.mjs +0 -1
- package/dist/generators/spring-data-relational/internal/dependencies.mjs +6 -6
- package/dist/generators/spring-data-relational/support/database-data.mjs +0 -4
- package/dist/generators/spring-data-relational/templates/src/test/java/package/config/SqlTestContainersSpringContextCustomizerFactory.java.ejs +1 -1
- package/dist/generators/spring-service/generator.mjs +0 -1
- package/dist/generators/upgrade/generator.mjs +25 -55
- package/dist/generators/vue/resources/package.json +23 -23
- package/dist/types/generators/angular/support/index.d.mts +23 -0
- package/dist/types/generators/angular/support/needles.d.mts +35 -0
- package/dist/types/generators/angular/support/path-utils.d.mts +1 -0
- package/dist/types/generators/angular/support/translate-angular.d.mts +11 -0
- package/dist/types/generators/angular/support/update-languages.d.mts +21 -0
- package/dist/types/generators/angular/types-export.d.ts +1 -0
- package/dist/types/generators/app/support/check-node.d.mts +10 -0
- package/dist/types/generators/app/support/index.d.mts +19 -0
- package/dist/types/generators/app/types-export.d.ts +1 -0
- package/dist/types/generators/aws/types-export.d.ts +1 -0
- package/dist/types/generators/azure-app-service/types-export.d.ts +1 -0
- package/dist/types/generators/azure-spring-cloud/types-export.d.ts +1 -0
- package/dist/types/generators/base/generator-base-blueprint.d.mts +1 -1
- package/dist/types/generators/base/generator-base-todo.d.mts +9 -15
- package/dist/types/generators/base/support/needles.d.mts +1 -1
- package/dist/types/generators/base/types-export.d.ts +4 -0
- package/dist/types/generators/base-application/generator.d.mts +1 -22
- package/dist/types/generators/base-application/types-export.d.ts +4 -0
- package/dist/types/generators/base-core/generator-base.d.mts +166 -0
- package/dist/types/generators/base-core/index.d.mts +1 -1
- package/dist/types/generators/base-core/types-export.d.ts +1 -0
- package/dist/types/generators/bootstrap/support/auto-crlf-transform.d.mts +7 -0
- package/dist/types/generators/bootstrap/support/force-write-config-files-transform.d.mts +3 -0
- package/dist/types/generators/bootstrap/support/index.d.mts +23 -0
- package/dist/types/generators/bootstrap/support/multi-step-transform/index.d.mts +24 -0
- package/dist/types/generators/bootstrap/support/multi-step-transform/template-data.d.mts +18 -0
- package/dist/types/generators/bootstrap/support/multi-step-transform/template-file-fs.d.mts +11 -0
- package/dist/types/generators/bootstrap/support/multi-step-transform/template-file.d.mts +18 -0
- package/dist/types/generators/bootstrap/support/prettier-support.d.mts +2 -0
- package/dist/types/generators/bootstrap/support/sort-config-files-transform.d.mts +2 -0
- package/dist/types/generators/bootstrap/types-export.d.ts +1 -0
- package/dist/types/generators/bootstrap-application/types-export.d.ts +1 -0
- package/dist/types/generators/bootstrap-application-base/types-export.d.ts +1 -0
- package/dist/types/generators/bootstrap-application-client/types-export.d.ts +1 -0
- package/dist/types/generators/bootstrap-application-server/types-export.d.ts +1 -0
- package/dist/types/generators/ci-cd/types-export.d.ts +1 -0
- package/dist/types/generators/client/needle-api/needle-client-webpack.d.mts +1 -1
- package/dist/types/generators/client/types-export.d.ts +1 -0
- package/dist/types/generators/cloudfoundry/types-export.d.ts +1 -0
- package/dist/types/generators/common/types-export.d.ts +1 -0
- package/dist/types/generators/cucumber/types-export.d.ts +1 -0
- package/dist/types/generators/cypress/types-export.d.ts +1 -0
- package/dist/types/generators/docker/types-export.d.ts +1 -0
- package/dist/types/generators/docker-compose/types-export.d.ts +1 -0
- package/dist/types/generators/entities/types-export.d.ts +1 -0
- package/dist/types/generators/entity/support/asserts.d.mts +18 -0
- package/dist/types/generators/entity/support/index.d.mts +19 -0
- package/dist/types/generators/entity/types-export.d.ts +1 -0
- package/dist/types/generators/export-jdl/types-export.d.ts +1 -0
- package/dist/types/generators/gae/types-export.d.ts +1 -0
- package/dist/types/generators/gatling/types-export.d.ts +1 -0
- package/dist/types/generators/generate-blueprint/types-export.d.ts +1 -0
- package/dist/types/generators/generator-constants.d.mts +6 -6
- package/dist/types/generators/git/types-export.d.ts +1 -0
- package/dist/types/generators/gradle/types-export.d.ts +1 -0
- package/dist/types/generators/heroku/types-export.d.ts +1 -0
- package/dist/types/generators/info/types-export.d.ts +1 -0
- package/dist/types/generators/init/types-export.d.ts +1 -0
- package/dist/types/generators/java/support/add-java-annotation.d.mts +22 -0
- package/dist/types/generators/java/support/checks/check-java.d.mts +9 -0
- package/dist/types/generators/java/support/checks/index.d.mts +1 -0
- package/dist/types/generators/java/support/generated-annotation-transform.d.mts +3 -0
- package/dist/types/generators/java/support/index.d.mts +23 -0
- package/dist/types/generators/java/support/package-info-transform.d.mts +11 -0
- package/dist/types/generators/java/types-export.d.ts +1 -0
- package/dist/types/generators/jdl/types-export.d.ts +1 -0
- package/dist/types/generators/kubernetes/types-export.d.ts +1 -0
- package/dist/types/generators/kubernetes-helm/types-export.d.ts +1 -0
- package/dist/types/generators/kubernetes-knative/types-export.d.ts +1 -0
- package/dist/types/generators/languages/types-export.d.ts +1 -0
- package/dist/types/generators/liquibase/support/index.d.mts +21 -0
- package/dist/types/generators/liquibase/support/maven-plugin.d.mts +13 -0
- package/dist/types/generators/liquibase/support/post-prepare-entity.d.mts +2 -0
- package/dist/types/generators/liquibase/support/prepare-field.d.mts +1 -0
- package/dist/types/generators/liquibase/support/relationship.d.mts +15 -0
- package/dist/types/generators/liquibase/types-export.d.ts +1 -0
- package/dist/types/generators/liquibase/types.d.mts +8 -0
- package/dist/types/generators/liquibase-changelogs/support/formatting.d.mts +9 -0
- package/dist/types/generators/liquibase-changelogs/support/index.d.mts +19 -0
- package/dist/types/generators/liquibase-changelogs/types-export.d.ts +1 -0
- package/dist/types/generators/maven/internal/xml-store.d.mts +40 -0
- package/dist/types/generators/maven/support/index.d.mts +20 -0
- package/dist/types/generators/maven/support/pom-store.d.mts +47 -0
- package/dist/types/generators/maven/types-export.d.ts +1 -0
- package/dist/types/generators/needle-base.d.mts +1 -1
- package/dist/types/generators/openapi-client/types-export.d.ts +1 -0
- package/dist/types/generators/openshift/types-export.d.ts +1 -0
- package/dist/types/generators/page/support/index.d.mts +19 -0
- package/dist/types/generators/page/support/needles.d.mts +22 -0
- package/dist/types/generators/page/types-export.d.ts +1 -0
- package/dist/types/generators/project-name/types-export.d.ts +1 -0
- package/dist/types/generators/react/support/index.d.mts +22 -0
- package/dist/types/generators/react/support/needles.d.mts +1 -0
- package/dist/types/generators/react/support/translate-react.d.mts +5 -0
- package/dist/types/generators/react/support/update-languages.d.mts +21 -0
- package/dist/types/generators/react/types-export.d.ts +1 -0
- package/dist/types/generators/server/types-export.d.ts +1 -0
- package/dist/types/generators/server/types.d.mts +2 -0
- package/dist/types/generators/spring-cache/types-export.d.ts +1 -0
- package/dist/types/generators/spring-cloud-stream/types-export.d.ts +1 -0
- package/dist/types/generators/spring-controller/types-export.d.ts +1 -0
- package/dist/types/generators/spring-data-cassandra/types-export.d.ts +1 -0
- package/dist/types/generators/spring-data-couchbase/types-export.d.ts +1 -0
- package/dist/types/generators/spring-data-elasticsearch/types-export.d.ts +1 -0
- package/dist/types/generators/spring-data-mongodb/types-export.d.ts +1 -0
- package/dist/types/generators/spring-data-neo4j/types-export.d.ts +1 -0
- package/dist/types/generators/spring-data-relational/types-export.d.ts +1 -0
- package/dist/types/generators/spring-service/types-export.d.ts +1 -0
- package/dist/types/generators/spring-websocket/types-export.d.ts +1 -0
- package/dist/types/generators/upgrade/types-export.d.ts +1 -0
- package/dist/types/generators/vue/support/convert-translation.d.mts +11 -0
- package/dist/types/generators/vue/support/index.d.mts +23 -0
- package/dist/types/generators/vue/support/needles.d.mts +1 -0
- package/dist/types/generators/vue/support/translate-vue.d.mts +22 -0
- package/dist/types/generators/vue/support/update-languages.d.mts +21 -0
- package/dist/types/generators/vue/types-export.d.ts +1 -0
- package/dist/types/generators/workspaces/types-export.d.ts +1 -0
- package/package.json +33 -26
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export default class TemplateFile {
|
|
2
|
+
constructor(filename: any, extension: any);
|
|
3
|
+
_filename: any;
|
|
4
|
+
_extension: any;
|
|
5
|
+
_compiled: () => string;
|
|
6
|
+
_fragments: any[];
|
|
7
|
+
_fragmentName: any;
|
|
8
|
+
_debug: any;
|
|
9
|
+
rootTemplate: boolean;
|
|
10
|
+
depth: any;
|
|
11
|
+
compile(filePath: any, contents: any, options: any): void;
|
|
12
|
+
filePath: any;
|
|
13
|
+
basePath: any;
|
|
14
|
+
parentPath: any;
|
|
15
|
+
addFragment(templateFile: any): void;
|
|
16
|
+
renderFragments(data: any): any[];
|
|
17
|
+
render(data?: {}): string;
|
|
18
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { default } from '../base-application/types-export.mjs';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { default } from '../base-application/types-export.mjs';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { default } from '../base-application/types-export.mjs';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { default } from '../base-application/types-export.mjs';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { default } from '../base-application/types-export.mjs';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { default } from '../base-application/types-export.mjs';
|
|
@@ -19,6 +19,6 @@
|
|
|
19
19
|
import needleClient from './needle-client.mjs';
|
|
20
20
|
export default class extends needleClient {
|
|
21
21
|
_getWebpackFile(clientFramework?: string): string;
|
|
22
|
-
copyExternalAssets(source: string, target: string, clientFramework
|
|
22
|
+
copyExternalAssets(source: string, target: string, clientFramework?: string): void;
|
|
23
23
|
addWebpackConfig(config: string, clientFramework: string): void;
|
|
24
24
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { default } from '../base-application/types-export.mjs';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { default } from '../base-application/types-export.mjs';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { default } from '../base-application/types-export.mjs';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { default } from '../base-application/types-export.mjs';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { default } from '../base-application/types-export.mjs';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { default } from '../base-application/types-export.mjs';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { default } from '../base-application/types-export.mjs';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { default } from '../base-application/types-export.mjs';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @private
|
|
3
|
+
* @param {any} input input
|
|
4
|
+
* @returns {boolean} true if input is number; false otherwise
|
|
5
|
+
*/
|
|
6
|
+
export function isNumber(input: any): boolean;
|
|
7
|
+
/**
|
|
8
|
+
* @private
|
|
9
|
+
* @param {any} input input
|
|
10
|
+
* @returns {boolean} true if input is a signed number; false otherwise
|
|
11
|
+
*/
|
|
12
|
+
export function isSignedNumber(input: any): boolean;
|
|
13
|
+
/**
|
|
14
|
+
* @private
|
|
15
|
+
* @param {any} input input
|
|
16
|
+
* @returns {boolean} true if input is a signed decimal number; false otherwise
|
|
17
|
+
*/
|
|
18
|
+
export function isSignedDecimalNumber(input: any): boolean;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2013-2023 the original author or authors from the JHipster project.
|
|
3
|
+
*
|
|
4
|
+
* This file is part of the JHipster project, see https://www.jhipster.tech/
|
|
5
|
+
* for more information.
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
*
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
18
|
+
*/
|
|
19
|
+
export { isNumber as inputIsNumber, isSignedNumber as inputIsSignedNumber, isSignedDecimalNumber as inputIsSignedDecimalNumber, } from './asserts.mjs';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { default } from '../base-application/types-export.mjs';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { default } from '../base-application/types-export.mjs';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { default } from '../base-application/types-export.mjs';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { default } from '../base-application/types-export.mjs';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { default } from '../base-application/types-export.mjs';
|
|
@@ -16,15 +16,15 @@
|
|
|
16
16
|
* See the License for the specific language governing permissions and
|
|
17
17
|
* limitations under the License.
|
|
18
18
|
*/
|
|
19
|
-
export declare const JHIPSTER_DEPENDENCIES_VERSION = "8.0.0-beta.
|
|
19
|
+
export declare const JHIPSTER_DEPENDENCIES_VERSION = "8.0.0-beta.2";
|
|
20
20
|
export declare const JAVA_VERSION = "17";
|
|
21
21
|
export declare const JAVA_COMPATIBLE_VERSIONS: string[];
|
|
22
22
|
export declare const ADD_SPRING_MILESTONE_REPOSITORY = false;
|
|
23
|
-
export declare const NODE_VERSION = "18.16.
|
|
24
|
-
export declare const OPENAPI_GENERATOR_CLI_VERSION = "2.
|
|
23
|
+
export declare const NODE_VERSION = "18.16.1";
|
|
24
|
+
export declare const OPENAPI_GENERATOR_CLI_VERSION = "2.6.0";
|
|
25
25
|
export declare const javaDependencies: Record<string, string>;
|
|
26
|
-
export declare const
|
|
27
|
-
export declare const
|
|
26
|
+
export declare const ELASTICSEARCH_TAG = "8.7.1";
|
|
27
|
+
export declare const ELASTICSEARCH_IMAGE = "docker.elastic.co/elasticsearch/elasticsearch";
|
|
28
28
|
/**
|
|
29
29
|
* Manually updated docker containers
|
|
30
30
|
*/
|
|
@@ -43,7 +43,7 @@ export declare const HELM_GRAFANA = "^4.0.0";
|
|
|
43
43
|
export declare const HELM_MYSQL = "^1.4.0";
|
|
44
44
|
export declare const HELM_MARIADB = "^6.12.2";
|
|
45
45
|
export declare const HELM_POSTGRESQL = "^6.5.3";
|
|
46
|
-
export declare const
|
|
46
|
+
export declare const HELM_MONGODB_REPLICASET = "^3.10.1";
|
|
47
47
|
export declare const HELM_COUCHBASE_OPERATOR = "^2.2.1";
|
|
48
48
|
export declare const LOGIN_REGEX = "^(?>[a-zA-Z0-9!$&*+=?^_`{|}~.-]+@[a-zA-Z0-9-]+(?:\\\\.[a-zA-Z0-9-]+)*)|(?>[_.@A-Za-z0-9-]+)$";
|
|
49
49
|
export declare const LOGIN_REGEX_JS = "^[a-zA-Z0-9!$&*+=?^_`{|}~.-]+@[a-zA-Z0-9-]+(?:\\\\.[a-zA-Z0-9-]+)*$|^[_.@A-Za-z0-9-]+$";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { default } from '../base-application/types-export.mjs';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { default } from '../base-application/types-export.mjs';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { default } from '../base-application/types-export.mjs';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { default } from '../base-application/types-export.mjs';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { default } from '../base-application/types-export.mjs';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2013-2023 the original author or authors from the JHipster project.
|
|
3
|
+
*
|
|
4
|
+
* This file is part of the JHipster project, see https://www.jhipster.tech/
|
|
5
|
+
* for more information.
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
*
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
18
|
+
*/
|
|
19
|
+
export default function addJavaAnnotation(content: string, { package: packageName, annotation }: {
|
|
20
|
+
package?: string;
|
|
21
|
+
annotation: string;
|
|
22
|
+
}): string;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { type ValidationResult } from '../../../base/api.mjs';
|
|
2
|
+
/**
|
|
3
|
+
* Check if installed java version is compatible
|
|
4
|
+
* @param javaCompatibleVersions
|
|
5
|
+
*/
|
|
6
|
+
declare const _default: (javaCompatibleVersions: string[]) => ValidationResult & {
|
|
7
|
+
javaVersion?: string;
|
|
8
|
+
};
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as checkJava } from './check-java.mjs';
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2013-2023 the original author or authors from the JHipster project.
|
|
3
|
+
*
|
|
4
|
+
* This file is part of the JHipster project, see https://www.jhipster.tech/
|
|
5
|
+
* for more information.
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
*
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
18
|
+
*/
|
|
19
|
+
export { default as addJavaAnnotation } from './add-java-annotation.mjs';
|
|
20
|
+
export * from './checks/index.mjs';
|
|
21
|
+
export * from './files.mjs';
|
|
22
|
+
export { default as generatedAnnotationTransform } from './generated-annotation-transform.mjs';
|
|
23
|
+
export { default as packageInfoTransform } from './package-info-transform.mjs';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="node" resolution-mode="require"/>
|
|
2
|
+
import { MemFsEditor } from 'mem-fs-editor';
|
|
3
|
+
import { Minimatch } from 'minimatch';
|
|
4
|
+
type PackageInfoTransformOptions = {
|
|
5
|
+
javaRoots: string[];
|
|
6
|
+
editor: MemFsEditor;
|
|
7
|
+
javadocs?: Record<string, string>;
|
|
8
|
+
};
|
|
9
|
+
declare const packageInfoTransform: ({ javaRoots, editor, javadocs }: PackageInfoTransformOptions) => import("stream").Transform;
|
|
10
|
+
export declare const matchMainJavaFiles: (srcMainJava: string) => Minimatch;
|
|
11
|
+
export default packageInfoTransform;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { default } from '../base-application/types-export.mjs';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { default } from '../base-application/types-export.mjs';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { default } from '../base-application/types-export.mjs';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { default } from '../base-application/types-export.mjs';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { default } from '../base-application/types-export.mjs';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { default } from '../base-application/types-export.mjs';
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2013-2023 the original author or authors from the JHipster project.
|
|
3
|
+
*
|
|
4
|
+
* This file is part of the JHipster project, see https://www.jhipster.tech/
|
|
5
|
+
* for more information.
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
*
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
18
|
+
*/
|
|
19
|
+
export { default as postPrepareEntity } from './post-prepare-entity.mjs';
|
|
20
|
+
export { default as prepareField } from './prepare-field.mjs';
|
|
21
|
+
export * from './relationship.mjs';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export default function mavenPluginContent({ reactive, packageName, srcMainResources, authenticationTypeOauth2, devDatabaseTypeH2Any, driver, url, username, password, hibernateDialect, defaultSchemaName, }: {
|
|
2
|
+
reactive: any;
|
|
3
|
+
packageName: any;
|
|
4
|
+
srcMainResources: any;
|
|
5
|
+
authenticationTypeOauth2: any;
|
|
6
|
+
devDatabaseTypeH2Any: any;
|
|
7
|
+
driver: any;
|
|
8
|
+
url: any;
|
|
9
|
+
username: any;
|
|
10
|
+
password: any;
|
|
11
|
+
hibernateDialect: any;
|
|
12
|
+
defaultSchemaName?: string | undefined;
|
|
13
|
+
}): string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function prepareField(entity: any, field: any): any;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Whether the two relationships are absolutely equal
|
|
3
|
+
* @param relationshipA
|
|
4
|
+
* @param relationshipB
|
|
5
|
+
* @returns
|
|
6
|
+
*/
|
|
7
|
+
export declare function relationshipEquals(relationshipA: any, relationshipB: any): boolean;
|
|
8
|
+
/**
|
|
9
|
+
* Whether the two relationships are equal, except for the foreign key on handlers, indicating that foreign key recreation is sufficient
|
|
10
|
+
* @param relationshipA
|
|
11
|
+
* @param relationshipB
|
|
12
|
+
* @returns
|
|
13
|
+
*/
|
|
14
|
+
export declare function relationshipNeedsForeignKeyRecreationOnly(relationshipA: any, relationshipB: any): boolean;
|
|
15
|
+
export declare function prepareRelationshipForLiquibase(entity: any, relationship: any): any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { default } from '../base-application/types-export.mjs';
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import type { Entity } from '../base-application/index.mjs';
|
|
2
|
+
|
|
1
3
|
export type LiquibaseChangelog = { changelogName: string };
|
|
2
4
|
|
|
3
5
|
export type LiquibaseSourceType = {
|
|
@@ -5,3 +7,9 @@ export type LiquibaseSourceType = {
|
|
|
5
7
|
addLiquibaseIncrementalChangelog?(changelog: LiquibaseChangelog): void;
|
|
6
8
|
addLiquibaseConstraintsChangelog?(changelog: LiquibaseChangelog): void;
|
|
7
9
|
};
|
|
10
|
+
|
|
11
|
+
export type LiquibaseEntity = Entity & {
|
|
12
|
+
anyRelationshipIsOwnerSide: boolean;
|
|
13
|
+
liquibaseFakeData: Record<string, any>[];
|
|
14
|
+
fakeDataCount: number;
|
|
15
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export default formatAsLiquibaseRemarks;
|
|
2
|
+
/**
|
|
3
|
+
* Format As Liquibase Remarks
|
|
4
|
+
*
|
|
5
|
+
* @param {string} text - text to format
|
|
6
|
+
* @param {boolean} addRemarksTag - add remarks tag
|
|
7
|
+
* @returns formatted liquibase remarks
|
|
8
|
+
*/
|
|
9
|
+
declare function formatAsLiquibaseRemarks(text: string, addRemarksTag?: boolean): any;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2013-2023 the original author or authors from the JHipster project.
|
|
3
|
+
*
|
|
4
|
+
* This file is part of the JHipster project, see https://www.jhipster.tech/
|
|
5
|
+
* for more information.
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
*
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
18
|
+
*/
|
|
19
|
+
export { default as liquibaseComment } from './formatting.mjs';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { default } from '../base-application/types-export.mjs';
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2013-2023 the original author or authors from the JHipster project.
|
|
3
|
+
*
|
|
4
|
+
* This file is part of the JHipster project, see https://www.jhipster.tech/
|
|
5
|
+
* for more information.
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
*
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
18
|
+
*/
|
|
19
|
+
import { XMLParser, XMLBuilder, XmlBuilderOptions, X2jOptions } from 'fast-xml-parser';
|
|
20
|
+
export default class XmlStorage {
|
|
21
|
+
protected readonly saveFile: (string: any) => void;
|
|
22
|
+
protected readonly loadFile: () => string;
|
|
23
|
+
protected readonly parser: XMLParser;
|
|
24
|
+
protected readonly builder: XMLBuilder;
|
|
25
|
+
protected _cachedStore: any;
|
|
26
|
+
constructor({ saveFile, loadFile, xmlParserOptions, xmlBuildOptions, }: {
|
|
27
|
+
saveFile: (string: any) => void;
|
|
28
|
+
loadFile: () => string;
|
|
29
|
+
xmlParserOptions?: Partial<X2jOptions>;
|
|
30
|
+
xmlBuildOptions?: Partial<XmlBuilderOptions>;
|
|
31
|
+
});
|
|
32
|
+
clearCache(): void;
|
|
33
|
+
save(): void;
|
|
34
|
+
protected sort(): void;
|
|
35
|
+
protected persist(sort?: boolean): void;
|
|
36
|
+
protected get store(): any;
|
|
37
|
+
protected load(): void;
|
|
38
|
+
protected merge(source: any): void;
|
|
39
|
+
protected mergeContent<T>(existing: T, newContent?: string): T;
|
|
40
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2013-2023 the original author or authors from the JHipster project.
|
|
3
|
+
*
|
|
4
|
+
* This file is part of the JHipster project, see https://www.jhipster.tech/
|
|
5
|
+
* for more information.
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
*
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
18
|
+
*/
|
|
19
|
+
export { default as PomStorage } from './pom-store.mjs';
|
|
20
|
+
export * from './pom-store.mjs';
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2013-2023 the original author or authors from the JHipster project.
|
|
3
|
+
*
|
|
4
|
+
* This file is part of the JHipster project, see https://www.jhipster.tech/
|
|
5
|
+
* for more information.
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
*
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
18
|
+
*/
|
|
19
|
+
import CoreGenerator from '../../base-core/index.mjs';
|
|
20
|
+
import XmlStorage from '../internal/xml-store.mjs';
|
|
21
|
+
import { MavenAnnotationProcessor, MavenDependency, MavenDistributionManagement, MavenPlugin, MavenProfile, MavenProperty, MavenRepository } from '../types.mjs';
|
|
22
|
+
export default class PomStorage extends XmlStorage {
|
|
23
|
+
constructor({ saveFile, loadFile }: {
|
|
24
|
+
saveFile: (string: any) => void;
|
|
25
|
+
loadFile: () => string;
|
|
26
|
+
});
|
|
27
|
+
addProperty({ inProfile, property, value }: MavenProperty): void;
|
|
28
|
+
addDependency({ inProfile, ...dependency }: MavenDependency): void;
|
|
29
|
+
addDependencyManagement({ inProfile, ...dependency }: MavenDependency): void;
|
|
30
|
+
addDistributionManagement({ inProfile, snapshotsId, snapshotsUrl, releasesId, releasesUrl }: MavenDistributionManagement): void;
|
|
31
|
+
addProfile({ content, ...profile }: MavenProfile): void;
|
|
32
|
+
addPlugin({ inProfile, ...plugin }: MavenPlugin): void;
|
|
33
|
+
addPluginManagement({ inProfile, ...plugin }: MavenPlugin): void;
|
|
34
|
+
addRepository({ inProfile, ...repository }: MavenRepository): void;
|
|
35
|
+
addPluginRepository({ inProfile, ...repository }: MavenRepository): void;
|
|
36
|
+
addAnnotationProcessor({ inProfile, ...artifact }: MavenAnnotationProcessor): void;
|
|
37
|
+
protected getNode({ profile, nodePath }?: {
|
|
38
|
+
profile?: string;
|
|
39
|
+
nodePath?: string;
|
|
40
|
+
}): any;
|
|
41
|
+
protected addDependencyAt(node: any, { additionalContent, ...dependency }: MavenDependency): void;
|
|
42
|
+
protected addPluginAt(node: any, { additionalContent, ...artifact }: MavenPlugin): void;
|
|
43
|
+
protected addRepositoryAt(node: any, { releasesEnabled, snapshotsEnabled, ...repository }: MavenRepository): void;
|
|
44
|
+
protected addPluginRepositoryAt(node: any, { releasesEnabled, snapshotsEnabled, ...repository }: MavenRepository): void;
|
|
45
|
+
protected sort(): void;
|
|
46
|
+
}
|
|
47
|
+
export declare const createPomStorage: (generator: CoreGenerator) => PomStorage;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { default } from '../base-application/types-export.mjs';
|
|
@@ -43,7 +43,7 @@ export default class {
|
|
|
43
43
|
* @param rewriteFileModel
|
|
44
44
|
* @param errorMessage
|
|
45
45
|
*/
|
|
46
|
-
addBlockContentToFile(rewriteFileModel: NeedleFileModel, errorMessage
|
|
46
|
+
addBlockContentToFile(rewriteFileModel: NeedleFileModel, errorMessage?: string): void;
|
|
47
47
|
editFile(fullPath: any, errorMessage: string, needleData: NeedleInsertion): void;
|
|
48
48
|
logNeedleNotFound(exception: Error, message?: string, fullPath?: string): void;
|
|
49
49
|
/**
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { default } from '../base-application/types-export.mjs';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { default } from '../base-application/types-export.mjs';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2013-2023 the original author or authors from the JHipster project.
|
|
3
|
+
*
|
|
4
|
+
* This file is part of the JHipster project, see https://www.jhipster.tech/
|
|
5
|
+
* for more information.
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
*
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
18
|
+
*/
|
|
19
|
+
export * from './needles.mjs';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export declare function vueAddPageToRouterImport(generator: any, { clientSrcDir, pageName, pageFolderName, pageFilename }: {
|
|
2
|
+
clientSrcDir: any;
|
|
3
|
+
pageName: any;
|
|
4
|
+
pageFolderName: any;
|
|
5
|
+
pageFilename?: any;
|
|
6
|
+
}): void;
|
|
7
|
+
export declare function vueAddPageToRouter(generator: any, { clientSrcDir, pageName, pageFilename }: {
|
|
8
|
+
clientSrcDir: any;
|
|
9
|
+
pageName: any;
|
|
10
|
+
pageFilename: any;
|
|
11
|
+
}): void;
|
|
12
|
+
export declare function vueAddPageServiceToMainImport(generator: any, { clientSrcDir, pageName, pageFolderName, pageFilename }: {
|
|
13
|
+
clientSrcDir: any;
|
|
14
|
+
pageName: any;
|
|
15
|
+
pageFolderName: any;
|
|
16
|
+
pageFilename?: any;
|
|
17
|
+
}): void;
|
|
18
|
+
export declare function vueAddPageServiceToMain(generator: any, { clientSrcDir, pageName, pageInstance }: {
|
|
19
|
+
clientSrcDir: any;
|
|
20
|
+
pageName: any;
|
|
21
|
+
pageInstance: any;
|
|
22
|
+
}): void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { default } from '../base-application/types-export.mjs';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { default } from '../base-application/types-export.mjs';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2013-2023 the original author or authors from the JHipster project.
|
|
3
|
+
*
|
|
4
|
+
* This file is part of the JHipster project, see https://www.jhipster.tech/
|
|
5
|
+
* for more information.
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
*
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
18
|
+
*/
|
|
19
|
+
export * from './needles.mjs';
|
|
20
|
+
export * from './translate-react.mjs';
|
|
21
|
+
export { default as translateReactFilesTransform } from './translate-react.mjs';
|
|
22
|
+
export { default as updateLanguagesTask } from './update-languages.mjs';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/// <reference types="node" resolution-mode="require"/>
|
|
2
|
+
export function createTranslationReplacer(getWebappTranslation: any): import('../../base/api.mjs').EditFileCallback;
|
|
3
|
+
export function isTranslatedReactFile(file: any): boolean;
|
|
4
|
+
export default translateReactFilesTransform;
|
|
5
|
+
declare function translateReactFilesTransform(getWebappTranslation: any): import("stream").Transform;
|