| 1234567891011121314151617181920212223242526 |
- import { CallExpression, SourceFile, TransformationContext, TransformerFactory } from 'typescript';
- import { FileCache } from '../util/file-cache';
- import { BuildContext, ChangedFile, DeepLinkConfigEntry, DeepLinkDecoratorAndClass, DeepLinkPathInfo, File } from '../util/interfaces';
- export declare function getDeepLinkData(appNgModuleFilePath: string, fileCache: FileCache, isAot: boolean): Map<string, DeepLinkConfigEntry>;
- export declare function filterTypescriptFilesForDeepLinks(fileCache: FileCache): File[];
- export declare function isDeepLinkingFile(filePath: string): boolean;
- export declare function getNgModulePathFromCorrespondingPage(filePath: string): string;
- export declare function getRelativePathToPageNgModuleFromAppNgModule(pathToAppNgModule: string, pathToPageNgModule: string): string;
- export declare function getNgModuleDataFromPage(appNgModuleFilePath: string, filePath: string, className: string, fileCache: FileCache, isAot: boolean): DeepLinkPathInfo;
- export declare function getDeepLinkDecoratorContentForSourceFile(sourceFile: SourceFile): DeepLinkDecoratorAndClass;
- export declare function hasExistingDeepLinkConfig(appNgModuleFilePath: string, appNgModuleFileContent: string): boolean;
- export declare function convertDeepLinkConfigEntriesToString(entries: Map<string, DeepLinkConfigEntry>): string;
- export declare function convertDeepLinkEntryToJsObjectString(entry: DeepLinkConfigEntry): string;
- export declare function updateAppNgModuleWithDeepLinkConfig(context: BuildContext, deepLinkString: string, changedFiles: ChangedFile[]): void;
- export declare function getUpdatedAppNgModuleContentWithDeepLinkConfig(appNgModuleFilePath: string, appNgModuleFileContent: string, deepLinkStringContent: string): string;
- export declare function getUpdatedAppNgModuleFactoryContentWithDeepLinksConfig(appNgModuleFactoryFileContent: string, deepLinkStringContent: string): string;
- export declare function addDefaultSecondArgumentToAppNgModule(appNgModuleFileContent: string, ionicModuleForRoot: CallExpression): string;
- export declare function addDeepLinkArgumentToAppNgModule(appNgModuleFileContent: string, ionicModuleForRoot: CallExpression, deepLinkString: string): string;
- export declare function generateDefaultDeepLinkNgModuleContent(pageFilePath: string, className: string): string;
- export declare function purgeDeepLinkDecoratorTSTransform(): TransformerFactory<SourceFile>;
- export declare function purgeDeepLinkDecoratorTSTransformImpl(transformContext: TransformationContext): (sourceFile: SourceFile) => SourceFile;
- export declare function purgeDeepLinkDecorator(inputText: string): string;
- export declare function purgeDeepLinkImport(inputText: string): string;
- export declare function getInjectDeepLinkConfigTypescriptTransform(): TransformerFactory<SourceFile>;
- export declare function injectDeepLinkConfigTypescriptTransform(deepLinkString: string, appNgModuleFilePath: string): TransformerFactory<SourceFile>;
|