1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 | import { BaseException } from '@angular-devkit/core';
|
9 | import { Observable } from 'rxjs';
|
10 | import { Tree } from '../tree/interface';
|
11 | import { Collection, Engine, ExecutionOptions, RuleFactory, Schematic, SchematicDescription, TypedSchematicContext } from './interface';
|
12 | export declare class InvalidSchematicsNameException extends BaseException {
|
13 | constructor(name: string);
|
14 | }
|
15 | export declare class SchematicImpl<CollectionT extends object, SchematicT extends object> implements Schematic<CollectionT, SchematicT> {
|
16 | private _description;
|
17 | private _factory;
|
18 | private _collection;
|
19 | private _engine;
|
20 | constructor(_description: SchematicDescription<CollectionT, SchematicT>, _factory: RuleFactory<{}>, _collection: Collection<CollectionT, SchematicT>, _engine: Engine<CollectionT, SchematicT>);
|
21 | get description(): SchematicDescription<CollectionT, SchematicT>;
|
22 | get collection(): Collection<CollectionT, SchematicT>;
|
23 | call<OptionT extends object>(options: OptionT, host: Observable<Tree>, parentContext?: Partial<TypedSchematicContext<CollectionT, SchematicT>>, executionOptions?: Partial<ExecutionOptions>): Observable<Tree>;
|
24 | }
|