UNPKG

@dlr-eoc/core-ui

Version:

This project includes schematics to add the base UKIS-Layout to an angular application. The Layout is based on Clarity so [add this first](https://clarity.design/get-started/developing/angular)!

20 lines (19 loc) 840 B
import { Rule } from '@angular-devkit/schematics'; import { UkisNgAddSchema } from './ng-add/schema'; import { ProjectDefinition } from '@angular-devkit/core/src/workspace'; export interface ImoduleImport { classifiedName: string; path: string; module?: boolean; provide?: boolean; declare?: boolean; standalone?: boolean; } export interface AddInjectionContext { componentPath: string; servicePath: string; serviceClassName: string; } export declare function getMainPath(project: ProjectDefinition): string; export declare function addServiceComponentModule(optionsProject: UkisNgAddSchema['project'], item: ImoduleImport, modulePathStr?: string): Rule; export declare function removeServiceComponentModule(optionsProject: UkisNgAddSchema['project'], item: ImoduleImport, modulePathStr?: string): Rule;