source: trip-planner-front/node_modules/@angular-devkit/schematics/tools/node-module-engine-host.d.ts@ ceaed42

Last change on this file since ceaed42 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 1.3 KB
Line 
1/**
2 * @license
3 * Copyright Google LLC All Rights Reserved.
4 *
5 * Use of this source code is governed by an MIT-style license that can be
6 * found in the LICENSE file at https://angular.io/license
7 */
8import { BaseException } from '@angular-devkit/core';
9import { RuleFactory } from '../src';
10import { FileSystemCollectionDesc, FileSystemSchematicDesc } from './description';
11import { FileSystemEngineHostBase } from './file-system-engine-host-base';
12export declare class NodePackageDoesNotSupportSchematics extends BaseException {
13 constructor(name: string);
14}
15/**
16 * A simple EngineHost that uses NodeModules to resolve collections.
17 */
18export declare class NodeModulesEngineHost extends FileSystemEngineHostBase {
19 private readonly paths?;
20 constructor(paths?: string[] | undefined);
21 private resolve;
22 protected _resolveCollectionPath(name: string, requester?: string): string;
23 protected _resolveReferenceString(refString: string, parentPath: string): {
24 ref: RuleFactory<{}>;
25 path: string;
26 } | null;
27 protected _transformCollectionDescription(name: string, desc: Partial<FileSystemCollectionDesc>): FileSystemCollectionDesc;
28 protected _transformSchematicDescription(name: string, _collection: FileSystemCollectionDesc, desc: Partial<FileSystemSchematicDesc>): FileSystemSchematicDesc;
29}
Note: See TracBrowser for help on using the repository browser.