diff options
Diffstat (limited to 'sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/rules/base.d.ts')
-rw-r--r-- | sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/rules/base.d.ts | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/rules/base.d.ts b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/rules/base.d.ts new file mode 100644 index 00000000..f78b3895 --- /dev/null +++ b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/rules/base.d.ts @@ -0,0 +1,38 @@ +/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ +import { FileOperator, Rule, Source } from '../engine/interface'; +import { FilePredicate, MergeStrategy, Tree } from '../tree/interface'; +/** + * A Source that returns an tree as its single value. + */ +export declare function source(tree: Tree): Source; +/** + * A source that returns an empty tree. + */ +export declare function empty(): Source; +/** + * Chain multiple rules into a single rule. + */ +export declare function chain(rules: Rule[]): Rule; +/** + * Apply multiple rules to a source, and returns the source transformed. + */ +export declare function apply(source: Source, rules: Rule[]): Source; +/** + * Merge an input tree with the source passed in. + */ +export declare function mergeWith(source: Source, strategy?: MergeStrategy): Rule; +export declare function noop(): Rule; +export declare function filter(predicate: FilePredicate<boolean>): Rule; +export declare function asSource(rule: Rule): Source; +export declare function branchAndMerge(rule: Rule, strategy?: MergeStrategy): Rule; +export declare function when(predicate: FilePredicate<boolean>, operator: FileOperator): FileOperator; +export declare function partitionApplyMerge(predicate: FilePredicate<boolean>, ruleYes: Rule, ruleNo?: Rule): Rule; +export declare function forEach(operator: FileOperator): Rule; +export declare function composeFileOperators(operators: FileOperator[]): FileOperator; +export declare function applyToSubtree(path: string, rules: Rule[]): Rule; |