UNPKG

@netgrif/components

Version:

Netgrif Application Engine frontend Angular components

9 lines (8 loc) 637 B
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; export declare function getViewIdSegmentFromPath(path: string): string;