Last change
on this file since 6a80231 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
890 bytes
|
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 | */
|
---|
8 | import { BaseException } from '@angular-devkit/core';
|
---|
9 | import { Observable } from 'rxjs';
|
---|
10 | import { Rule, SchematicContext, Source } from '../engine/interface';
|
---|
11 | import { Tree } from '../tree/interface';
|
---|
12 | /**
|
---|
13 | * When a rule or source returns an invalid value.
|
---|
14 | */
|
---|
15 | export declare class InvalidRuleResultException extends BaseException {
|
---|
16 | constructor(value?: {});
|
---|
17 | }
|
---|
18 | export declare class InvalidSourceResultException extends BaseException {
|
---|
19 | constructor(value?: {});
|
---|
20 | }
|
---|
21 | export declare function callSource(source: Source, context: SchematicContext): Observable<Tree>;
|
---|
22 | export declare function callRule(rule: Rule, input: Tree | Observable<Tree>, context: SchematicContext): Observable<Tree>;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.