source: trip-planner-front/node_modules/@angular-devkit/schematics/tools/file-system-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.4 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 { Observable } from 'rxjs';
9import { RuleFactory, TaskExecutor } from '../src';
10import { FileSystemCollectionDesc, FileSystemSchematicDesc } from './description';
11import { FileSystemEngineHostBase } from './file-system-engine-host-base';
12/**
13 * A simple EngineHost that uses a root with one directory per collection inside of it. The
14 * collection declaration follows the same rules as the regular FileSystemEngineHostBase.
15 */
16export declare class FileSystemEngineHost extends FileSystemEngineHostBase {
17 protected _root: string;
18 constructor(_root: string);
19 protected _resolveCollectionPath(name: string): string;
20 protected _resolveReferenceString(refString: string, parentPath: string): {
21 ref: RuleFactory<{}>;
22 path: string;
23 } | null;
24 protected _transformCollectionDescription(name: string, desc: Partial<FileSystemCollectionDesc>): FileSystemCollectionDesc;
25 protected _transformSchematicDescription(name: string, _collection: FileSystemCollectionDesc, desc: Partial<FileSystemSchematicDesc>): FileSystemSchematicDesc;
26 hasTaskExecutor(name: string): boolean;
27 createTaskExecutor(name: string): Observable<TaskExecutor>;
28}
Note: See TracBrowser for help on using the repository browser.