[6a3a178] | 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 | */
|
---|
| 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 | }
|
---|