aboutsummaryrefslogtreecommitdiff
path: root/sandbox/testAppNevena/Front/node_modules/@angular-devkit/architect/builders
diff options
context:
space:
mode:
authorDanijel Andjelkovic <adanijel99@gmail.com>2022-03-01 21:54:41 +0100
committerDanijel Andjelkovic <adanijel99@gmail.com>2022-03-01 21:54:41 +0100
commit6c8128f9fd5a5d0be115806c35a21b3d683df8d6 (patch)
treef46c2f6b3b9b294ff32bd75c08ccdc9e7a8cc4ef /sandbox/testAppNevena/Front/node_modules/@angular-devkit/architect/builders
parent2400b84e95913665da6279114168148444b8f9ab (diff)
parent7d3640f824f46490b47bd95f1c5a16644f712068 (diff)
Merge branch 'dev' of http://gitlab.pmf.kg.ac.rs/igrannonica/neuronstellar into logo
Diffstat (limited to 'sandbox/testAppNevena/Front/node_modules/@angular-devkit/architect/builders')
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@angular-devkit/architect/builders/all-of.d.ts11
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@angular-devkit/architect/builders/all-of.js48
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@angular-devkit/architect/builders/builders.json25
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@angular-devkit/architect/builders/concat.d.ts11
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@angular-devkit/architect/builders/concat.js45
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@angular-devkit/architect/builders/false.d.ts9
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@angular-devkit/architect/builders/false.js14
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@angular-devkit/architect/builders/noop-schema.json4
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@angular-devkit/architect/builders/operator-schema.d.ts19
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@angular-devkit/architect/builders/operator-schema.js4
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@angular-devkit/architect/builders/operator-schema.json41
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@angular-devkit/architect/builders/true.d.ts9
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@angular-devkit/architect/builders/true.js11
13 files changed, 251 insertions, 0 deletions
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/architect/builders/all-of.d.ts b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/architect/builders/all-of.d.ts
new file mode 100644
index 00000000..1db82959
--- /dev/null
+++ b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/architect/builders/all-of.d.ts
@@ -0,0 +1,11 @@
+/**
+ * @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 { json } from '@angular-devkit/core';
+import { Schema as OperatorSchema } from './operator-schema';
+declare const _default: import("../src/internal").Builder<json.JsonObject & OperatorSchema>;
+export default _default;
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/architect/builders/all-of.js b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/architect/builders/all-of.js
new file mode 100644
index 00000000..fd085e6a
--- /dev/null
+++ b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/architect/builders/all-of.js
@@ -0,0 +1,48 @@
+"use strict";
+/**
+ * @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
+ */
+Object.defineProperty(exports, "__esModule", { value: true });
+const rxjs_1 = require("rxjs");
+const operators_1 = require("rxjs/operators");
+const src_1 = require("../src");
+exports.default = (0, src_1.createBuilder)((options, context) => {
+ const allRuns = [];
+ context.reportProgress(0, (options.targets ? options.targets.length : 0) +
+ (options.builders ? options.builders.length : 0));
+ if (options.targets) {
+ allRuns.push(...options.targets.map(({ target: targetStr, overrides }, i) => {
+ const [project, target, configuration] = targetStr.split(/:/g, 3);
+ return context
+ .scheduleTarget({ project, target, configuration }, overrides || {})
+ .then((run) => [i, run]);
+ }));
+ }
+ if (options.builders) {
+ allRuns.push(...options.builders.map(({ builder, options }, i) => {
+ return context
+ .scheduleBuilder(builder, options || {})
+ .then((run) => [i, run]);
+ }));
+ }
+ const allResults = allRuns.map(() => null);
+ let n = 0;
+ context.reportProgress(n++, allRuns.length);
+ return (0, rxjs_1.from)(allRuns).pipe((0, operators_1.mergeMap)((runPromise) => (0, rxjs_1.from)(runPromise)), (0, operators_1.mergeMap)(([i, run]) => run.output.pipe((0, operators_1.map)((output) => [i, output]))), (0, operators_1.mergeMap)(([i, output]) => {
+ allResults[i] = output;
+ context.reportProgress(n++, allRuns.length);
+ if (allResults.some((x) => x === null)) {
+ // Some builders aren't done running yet.
+ return rxjs_1.EMPTY;
+ }
+ else {
+ return (0, rxjs_1.of)({
+ success: allResults.every((x) => (x ? x.success : false)),
+ });
+ }
+ }));
+});
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/architect/builders/builders.json b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/architect/builders/builders.json
new file mode 100644
index 00000000..5bbff828
--- /dev/null
+++ b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/architect/builders/builders.json
@@ -0,0 +1,25 @@
+{
+ "$schema": "../src/builders-schema.json",
+ "builders": {
+ "true": {
+ "implementation": "./true",
+ "schema": "./noop-schema.json",
+ "description": "Always succeed."
+ },
+ "false": {
+ "implementation": "./false",
+ "schema": "./noop-schema.json",
+ "description": "Always fails."
+ },
+ "allOf": {
+ "implementation": "./all-of",
+ "schema": "./operator-schema.json",
+ "description": "A builder that executes many builders in parallel, and succeed if both succeeds."
+ },
+ "concat": {
+ "implementation": "./concat",
+ "schema": "./operator-schema.json",
+ "description": "A builder that executes many builders one after the other, and stops when one fail. It will succeed if all builders succeeds (and return the last output)"
+ }
+ }
+}
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/architect/builders/concat.d.ts b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/architect/builders/concat.d.ts
new file mode 100644
index 00000000..1db82959
--- /dev/null
+++ b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/architect/builders/concat.d.ts
@@ -0,0 +1,11 @@
+/**
+ * @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 { json } from '@angular-devkit/core';
+import { Schema as OperatorSchema } from './operator-schema';
+declare const _default: import("../src/internal").Builder<json.JsonObject & OperatorSchema>;
+export default _default;
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/architect/builders/concat.js b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/architect/builders/concat.js
new file mode 100644
index 00000000..747fefac
--- /dev/null
+++ b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/architect/builders/concat.js
@@ -0,0 +1,45 @@
+"use strict";
+/**
+ * @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
+ */
+Object.defineProperty(exports, "__esModule", { value: true });
+const rxjs_1 = require("rxjs");
+const operators_1 = require("rxjs/operators");
+const src_1 = require("../src");
+exports.default = (0, src_1.createBuilder)((options, context) => {
+ const allRuns = [];
+ context.reportProgress(0, (options.targets ? options.targets.length : 0) +
+ (options.builders ? options.builders.length : 0));
+ if (options.targets) {
+ allRuns.push(...options.targets.map(({ target: targetStr, overrides }) => {
+ const [project, target, configuration] = targetStr.split(/:/g, 3);
+ return () => context.scheduleTarget({ project, target, configuration }, overrides || {});
+ }));
+ }
+ if (options.builders) {
+ allRuns.push(...options.builders.map(({ builder, options }) => {
+ return () => context.scheduleBuilder(builder, options || {});
+ }));
+ }
+ let stop = null;
+ let i = 0;
+ context.reportProgress(i++, allRuns.length);
+ return (0, rxjs_1.from)(allRuns).pipe((0, operators_1.concatMap)((fn) => stop
+ ? (0, rxjs_1.of)(null)
+ : (0, rxjs_1.from)(fn()).pipe((0, operators_1.switchMap)((run) => (run === null ? (0, rxjs_1.of)(null) : run.output.pipe((0, operators_1.first)()))))), (0, operators_1.map)((output) => {
+ context.reportProgress(i++, allRuns.length);
+ if (output === null || stop !== null) {
+ return stop || { success: false };
+ }
+ else if (output.success === false) {
+ return (stop = output);
+ }
+ else {
+ return output;
+ }
+ }), (0, operators_1.last)());
+});
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/architect/builders/false.d.ts b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/architect/builders/false.d.ts
new file mode 100644
index 00000000..cef2dd8a
--- /dev/null
+++ b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/architect/builders/false.d.ts
@@ -0,0 +1,9 @@
+/**
+ * @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
+ */
+declare const _default: import("../src/internal").Builder<import("../../core/src").JsonObject>;
+export default _default;
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/architect/builders/false.js b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/architect/builders/false.js
new file mode 100644
index 00000000..590e6c17
--- /dev/null
+++ b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/architect/builders/false.js
@@ -0,0 +1,14 @@
+"use strict";
+/**
+ * @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
+ */
+Object.defineProperty(exports, "__esModule", { value: true });
+const src_1 = require("../src");
+exports.default = (0, src_1.createBuilder)(() => ({
+ success: false,
+ error: 'False builder always errors.',
+}));
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/architect/builders/noop-schema.json b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/architect/builders/noop-schema.json
new file mode 100644
index 00000000..77dd56a3
--- /dev/null
+++ b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/architect/builders/noop-schema.json
@@ -0,0 +1,4 @@
+{
+ "$schema": "http://json-schema.org/draft-07/schema",
+ "type": "object"
+}
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/architect/builders/operator-schema.d.ts b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/architect/builders/operator-schema.d.ts
new file mode 100644
index 00000000..9bc83751
--- /dev/null
+++ b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/architect/builders/operator-schema.d.ts
@@ -0,0 +1,19 @@
+/**
+ * All input types of builders that perform operations on one or multiple sub-builders.
+ */
+export interface Schema {
+ builders?: Builder[];
+ targets?: Target[];
+}
+export interface Builder {
+ builder: string;
+ options?: {
+ [key: string]: any;
+ };
+}
+export interface Target {
+ overrides?: {
+ [key: string]: any;
+ };
+ target: string;
+}
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/architect/builders/operator-schema.js b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/architect/builders/operator-schema.js
new file mode 100644
index 00000000..4fb6d3d1
--- /dev/null
+++ b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/architect/builders/operator-schema.js
@@ -0,0 +1,4 @@
+"use strict";
+// THIS FILE IS AUTOMATICALLY GENERATED. TO UPDATE THIS FILE YOU NEED TO CHANGE THE
+// CORRESPONDING JSON SCHEMA FILE, THEN RUN devkit-admin build (or bazel build ...).
+Object.defineProperty(exports, "__esModule", { value: true });
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/architect/builders/operator-schema.json b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/architect/builders/operator-schema.json
new file mode 100644
index 00000000..1de86018
--- /dev/null
+++ b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/architect/builders/operator-schema.json
@@ -0,0 +1,41 @@
+{
+ "$schema": "http://json-schema.org/draft-07/schema",
+ "description": "All input types of builders that perform operations on one or multiple sub-builders.",
+ "type": "object",
+ "properties": {
+ "builders": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "builder": {
+ "type": "string",
+ "pattern": ".*:.*"
+ },
+ "options": {
+ "type": "object"
+ }
+ },
+ "required": ["builder"]
+ },
+ "minItems": 1
+ },
+ "targets": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "target": {
+ "type": "string",
+ "pattern": ".*:.*"
+ },
+ "overrides": {
+ "type": "object"
+ }
+ },
+ "required": ["target"]
+ },
+ "minItems": 1
+ }
+ }
+}
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/architect/builders/true.d.ts b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/architect/builders/true.d.ts
new file mode 100644
index 00000000..cef2dd8a
--- /dev/null
+++ b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/architect/builders/true.d.ts
@@ -0,0 +1,9 @@
+/**
+ * @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
+ */
+declare const _default: import("../src/internal").Builder<import("../../core/src").JsonObject>;
+export default _default;
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/architect/builders/true.js b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/architect/builders/true.js
new file mode 100644
index 00000000..32a3fbcc
--- /dev/null
+++ b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/architect/builders/true.js
@@ -0,0 +1,11 @@
+"use strict";
+/**
+ * @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
+ */
+Object.defineProperty(exports, "__esModule", { value: true });
+const src_1 = require("../src");
+exports.default = (0, src_1.createBuilder)(() => ({ success: true }));