generator-jhipster
Version:
Spring Boot + Angular/React/Vue in one handy generator
23 lines (22 loc) • 1.09 kB
TypeScript
import type { MemFsEditorFile } from 'mem-fs-editor';
import type CoreGenerator from '../../base-core/index.ts';
import type { GetWebappTranslationCallback } from '../../client/translation.ts';
export declare function removeDeclarations({ content }: {
content: string;
}): string;
export declare function replaceVueTranslations(this: CoreGenerator | void, { body, enableTranslation, getWebappTranslation, }: {
body: string;
enableTranslation: boolean;
getWebappTranslation: GetWebappTranslationCallback;
}): string;
export declare function replaceTranslations({ content, type, getWebappTranslation, }: {
content: string;
type: 'vue' | 'ts';
getWebappTranslation: GetWebappTranslationCallback;
}): string;
export declare const isTranslatedVueFile: (file: MemFsEditorFile) => boolean;
declare function translateVueFilesTransform(this: CoreGenerator | void, { enableTranslation, getWebappTranslation, }: {
enableTranslation: boolean;
getWebappTranslation: GetWebappTranslationCallback;
}): import("stream").Transform;
export default translateVueFilesTransform;