aboutsummaryrefslogtreecommitdiff
path: root/sandbox/testAppNevena/Front/node_modules/@angular-devkit/architect/src/progress-schema.json
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox/testAppNevena/Front/node_modules/@angular-devkit/architect/src/progress-schema.json')
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@angular-devkit/architect/src/progress-schema.json83
1 files changed, 83 insertions, 0 deletions
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/architect/src/progress-schema.json b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/architect/src/progress-schema.json
new file mode 100644
index 00000000..e782f4ad
--- /dev/null
+++ b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/architect/src/progress-schema.json
@@ -0,0 +1,83 @@
+{
+ "$schema": "http://json-schema.org/draft-07/schema",
+ "$id": "BuilderProgressSchema",
+ "title": "Progress schema for builders.",
+ "type": "object",
+ "allOf": [
+ {
+ "type": "object",
+ "oneOf": [
+ {
+ "type": "object",
+ "properties": {
+ "state": {
+ "type": "string",
+ "enum": ["stopped"]
+ }
+ },
+ "required": ["state"]
+ },
+ {
+ "type": "object",
+ "properties": {
+ "state": {
+ "type": "string",
+ "enum": ["waiting"]
+ },
+ "status": {
+ "type": "string"
+ }
+ },
+ "required": ["state"]
+ },
+ {
+ "type": "object",
+ "properties": {
+ "state": {
+ "type": "string",
+ "enum": ["running"]
+ },
+ "current": {
+ "type": "number",
+ "minimum": 0
+ },
+ "total": {
+ "type": "number",
+ "minimum": 0
+ },
+ "status": {
+ "type": "string"
+ }
+ },
+ "required": ["state"]
+ },
+ {
+ "type": "object",
+ "properties": {
+ "state": {
+ "type": "string",
+ "enum": ["error"]
+ },
+ "error": true
+ },
+ "required": ["state"]
+ }
+ ]
+ },
+ {
+ "type": "object",
+ "properties": {
+ "builder": {
+ "type": "object"
+ },
+ "target": {
+ "type": "object"
+ },
+ "id": {
+ "type": "number"
+ }
+ },
+ "required": ["builder", "id"]
+ }
+ ]
+}