UNPKG

generator-jhipster

Version:

Spring Boot + Angular/React/Vue in one handy generator

49 lines (48 loc) 2.88 kB
import type { GetWebappTranslationCallback } from './translation.ts'; import type { Application as ClientApplication, Entity as ClientEntity } from './types.ts'; export type ClientAddedApplicationProperties = { clientI18nDir: string; webappLoginRegExp: string; clientThemeNone: boolean; clientThemeAny: boolean; webappEnumerationsDir?: string; clientFrameworkBuiltIn: boolean; frontendAppName: string; filterEntitiesForClient?: <const E extends ClientEntity>(entity: E[]) => E[]; filterEntitiesAndPropertiesForClient?: <const E extends ClientEntity>(entity: E[]) => E[]; filterEntityPropertiesForClient?: <const E extends ClientEntity>(entity: E) => E; getWebappTranslation?: GetWebappTranslationCallback; clientBundlerName: string; clientTestFrameworkName: string; withAdminUi: boolean; messageHeaderNameAlert: string; messageHeaderNameError: string; messageHeaderNameParam: string; microfrontend: boolean; microfrontends: { baseName: string; lowercaseBaseName: string; moduleFederationName: string; capitalizedBaseName: string; endpointPrefix: string; }[] | undefined; exposeMicrofrontend: boolean; }; export declare const mutateApplication: { readonly __override__: false; readonly clientI18nDir: (ctx: ClientApplication) => string; readonly webappLoginRegExp: "^[a-zA-Z0-9!$&*+=?^_`{|}~.-]+@[a-zA-Z0-9-]+(?:\\\\.[a-zA-Z0-9-]+)*$|^[_.@A-Za-z0-9-]+$"; readonly frontendAppName: ({ baseName }: ClientApplication) => string; readonly microfrontend: (ctx: ClientApplication, { data }: import("../../lib/utils/object.ts").MutateDataCallbackOptions<ClientApplication>) => boolean; readonly microfrontends: ({ microfrontend }: ClientApplication, { delayMarker, undefinedMarker }: import("../../lib/utils/object.ts").MutateDataCallbackOptions<ClientApplication>) => never[] | "__DelayedMutation__" | "__UndefinedMutation__"; readonly exposeMicrofrontend: (_: ClientApplication, { delayMarker }: import("../../lib/utils/object.ts").MutateDataCallbackOptions<ClientApplication>) => false | "__DelayedMutation__"; readonly clientFrameworkBuiltIn: ({ clientFramework }: ClientApplication) => boolean; readonly clientThemeNone: ({ clientTheme }: ClientApplication) => boolean; readonly clientThemeAny: ({ clientThemeNone }: ClientApplication) => boolean; readonly clientBundlerName: (ctx: ClientApplication) => string; readonly clientTestFrameworkName: (ctx: ClientApplication) => string; readonly withAdminUi: (ctx: ClientApplication) => boolean; readonly messageHeaderNameAlert: ({ frontendAppName }: ClientApplication) => string; readonly messageHeaderNameError: ({ frontendAppName }: ClientApplication) => string; readonly messageHeaderNameParam: ({ frontendAppName }: ClientApplication) => string; };