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 * as formats from './formats/index';
|
---|
9 | import { FilePredicate, MergeStrategy, Tree as TreeInterface } from './tree/interface';
|
---|
10 | import * as workflow from './workflow/index';
|
---|
11 | export { SchematicsException } from './exception/exception';
|
---|
12 | export * from './tree/action';
|
---|
13 | export * from './engine/index';
|
---|
14 | export * from './exception/exception';
|
---|
15 | export * from './tree/interface';
|
---|
16 | export * from './rules/base';
|
---|
17 | export * from './rules/call';
|
---|
18 | export * from './rules/move';
|
---|
19 | export * from './rules/random';
|
---|
20 | export * from './rules/schematic';
|
---|
21 | export * from './rules/template';
|
---|
22 | export * from './rules/url';
|
---|
23 | export * from './tree/delegate';
|
---|
24 | export * from './tree/empty';
|
---|
25 | export * from './tree/host-tree';
|
---|
26 | export { UpdateRecorder } from './tree/interface';
|
---|
27 | export * from './engine/schematic';
|
---|
28 | export * from './sink/dryrun';
|
---|
29 | export * from './sink/host';
|
---|
30 | export * from './sink/sink';
|
---|
31 | export { formats };
|
---|
32 | export { workflow };
|
---|
33 | export interface TreeConstructor {
|
---|
34 | empty(): TreeInterface;
|
---|
35 | branch(tree: TreeInterface): TreeInterface;
|
---|
36 | merge(tree: TreeInterface, other: TreeInterface, strategy?: MergeStrategy): TreeInterface;
|
---|
37 | partition(tree: TreeInterface, predicate: FilePredicate<boolean>): [TreeInterface, TreeInterface];
|
---|
38 | optimize(tree: TreeInterface): TreeInterface;
|
---|
39 | }
|
---|
40 | export declare type Tree = TreeInterface;
|
---|
41 | export declare const Tree: TreeConstructor;
|
---|