devui-admin-test
Version:
Schematics for ng-devui-admin
8 lines (7 loc) • 650 B
TypeScript
import { Tree, Rule } from '@angular-devkit/schematics';
export declare function addModule(filePath: string, moduleName: string, modulePath: string): Rule;
export declare function addDeclaration(componentName: string, modulePath: string, relativePath: string): Rule;
export declare function addRouteToNgModule(tree: Tree, path: string, componentName: string, routePath: string, relativePath: string): Tree;
export declare function getPageNameFromFilePath(filePath: string): string;
export declare function getRoutingModule(tree: Tree, modulePath: string): string | undefined;
export declare function getModuleName(modulePath: string): string;