UNPKG

gen-jhipster

Version:

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

40 lines (39 loc) 2.21 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; }; export declare const mutateApplication: { readonly __override__: false; readonly clientI18nDir: (data: ClientApplication) => string; readonly webappLoginRegExp: "^[a-zA-Z0-9!$&*+=?^_`{|}~.-]+@[a-zA-Z0-9-]+(?:\\\\.[a-zA-Z0-9-]+)*$|^[_.@A-Za-z0-9-]+$"; readonly clientDistDir: "dist/"; readonly clientTestDir: ({ clientRootDir }: ClientApplication) => string; readonly frontendAppName: ({ baseName }: ClientApplication) => string; readonly microfrontend: (application: ClientApplication) => boolean; 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; };