1 | "use strict";
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 | Object.defineProperty(exports, "__esModule", { value: true });
|
10 | exports.RunSchematicTask = void 0;
|
11 | const options_1 = require("./options");
|
12 | class RunSchematicTask {
|
13 | constructor(c, s, o) {
|
14 | if (arguments.length == 2 || typeof s !== 'string') {
|
15 | o = s;
|
16 | s = c;
|
17 | c = null;
|
18 | }
|
19 | this._collection = c;
|
20 | this._schematic = s;
|
21 | this._options = o;
|
22 | }
|
23 | toConfiguration() {
|
24 | return {
|
25 | name: options_1.RunSchematicName,
|
26 | options: {
|
27 | collection: this._collection,
|
28 | name: this._schematic,
|
29 | options: this._options,
|
30 | },
|
31 | };
|
32 | }
|
33 | }
|
34 | exports.RunSchematicTask = RunSchematicTask;
|