source: trip-planner-front/node_modules/@angular-devkit/schematics/src/index.js@ 188ee53

Last change on this file since 188ee53 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 3.1 KB
Line 
1"use strict";
2/**
3 * @license
4 * Copyright Google LLC All Rights Reserved.
5 *
6 * Use of this source code is governed by an MIT-style license that can be
7 * found in the LICENSE file at https://angular.io/license
8 */
9var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
10 if (k2 === undefined) k2 = k;
11 Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
12}) : (function(o, m, k, k2) {
13 if (k2 === undefined) k2 = k;
14 o[k2] = m[k];
15}));
16var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17 Object.defineProperty(o, "default", { enumerable: true, value: v });
18}) : function(o, v) {
19 o["default"] = v;
20});
21var __importStar = (this && this.__importStar) || function (mod) {
22 if (mod && mod.__esModule) return mod;
23 var result = {};
24 if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25 __setModuleDefault(result, mod);
26 return result;
27};
28var __exportStar = (this && this.__exportStar) || function(m, exports) {
29 for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
30};
31Object.defineProperty(exports, "__esModule", { value: true });
32exports.Tree = exports.workflow = exports.formats = exports.SchematicsException = void 0;
33const formats = __importStar(require("./formats/index"));
34exports.formats = formats;
35const interface_1 = require("./tree/interface");
36const static_1 = require("./tree/static");
37const workflow = __importStar(require("./workflow/index"));
38exports.workflow = workflow;
39var exception_1 = require("./exception/exception");
40Object.defineProperty(exports, "SchematicsException", { enumerable: true, get: function () { return exception_1.SchematicsException; } });
41__exportStar(require("./tree/action"), exports);
42__exportStar(require("./engine/index"), exports);
43__exportStar(require("./exception/exception"), exports);
44__exportStar(require("./tree/interface"), exports);
45__exportStar(require("./rules/base"), exports);
46__exportStar(require("./rules/call"), exports);
47__exportStar(require("./rules/move"), exports);
48__exportStar(require("./rules/random"), exports);
49__exportStar(require("./rules/schematic"), exports);
50__exportStar(require("./rules/template"), exports);
51__exportStar(require("./rules/url"), exports);
52__exportStar(require("./tree/delegate"), exports);
53__exportStar(require("./tree/empty"), exports);
54__exportStar(require("./tree/host-tree"), exports);
55__exportStar(require("./engine/schematic"), exports);
56__exportStar(require("./sink/dryrun"), exports);
57__exportStar(require("./sink/host"), exports);
58__exportStar(require("./sink/sink"), exports);
59exports.Tree = {
60 empty() {
61 return static_1.empty();
62 },
63 branch(tree) {
64 return static_1.branch(tree);
65 },
66 merge(tree, other, strategy = interface_1.MergeStrategy.Default) {
67 return static_1.merge(tree, other, strategy);
68 },
69 partition(tree, predicate) {
70 return static_1.partition(tree, predicate);
71 },
72 optimize(tree) {
73 return tree;
74 },
75};
Note: See TracBrowser for help on using the repository browser.