@netgrif/components-core
Version:
Netgrif Application engine frontend core Angular library
8 lines (7 loc) • 565 B
TypeScript
import { Tree } from '@angular-devkit/schematics';
import { ImportToAdd } from '../../_commons/import-to-add';
export declare function getParentPath(path: string): string;
export declare function parentViewDefined(tree: Tree, path: string): boolean;
export declare function updateAppModule(tree: Tree, className: string, componentPath: string, imports?: Array<ImportToAdd>): void;
export declare function addImportsToAppModule(tree: Tree, imports: Array<ImportToAdd>): void;
export declare function constructRoutePath(pathPrefix: string, pathPart: string): string;