@crvouga/atlas 0.10.0 → 0.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/CHANGELOG.md +7 -1
  2. package/dist/schema/src/common.d.ts +2 -2
  3. package/dist/schema/src/manifest.d.ts +4 -4
  4. package/dist/schema/src/spec.d.ts +6 -6
  5. package/package.json +3 -3
  6. package/packages/schema/schemas/check-detail.schema.json +15 -15
  7. package/packages/schema/schemas/checks-result.schema.json +2 -2
  8. package/packages/schema/schemas/command-error.schema.json +4 -4
  9. package/packages/schema/schemas/doctor-result.schema.json +4 -4
  10. package/packages/schema/schemas/effective-delta.schema.json +69 -95
  11. package/packages/schema/schemas/effective-evidence.schema.json +63 -89
  12. package/packages/schema/schemas/evidence-page.schema.json +41 -59
  13. package/packages/schema/schemas/init-plan.schema.json +58 -90
  14. package/packages/schema/schemas/layer-rows.schema.json +17 -29
  15. package/packages/schema/schemas/layer.schema.json +54 -70
  16. package/packages/schema/schemas/live-run-start.schema.json +1 -1
  17. package/packages/schema/schemas/live-run.schema.json +1 -1
  18. package/packages/schema/schemas/merge-result.schema.json +6 -6
  19. package/packages/schema/schemas/outline.schema.json +7 -11
  20. package/packages/schema/schemas/path-record.schema.json +12 -28
  21. package/packages/schema/schemas/problem.schema.json +9 -9
  22. package/packages/schema/schemas/publish-checks.schema.json +27 -43
  23. package/packages/schema/schemas/publish-result.schema.json +16 -24
  24. package/packages/schema/schemas/ready.schema.json +12 -12
  25. package/packages/schema/schemas/report-event.schema.json +22 -28
  26. package/packages/schema/schemas/report-run.schema.json +33 -59
  27. package/packages/schema/schemas/report-runs.schema.json +24 -38
  28. package/packages/schema/schemas/report-status.schema.json +30 -54
  29. package/packages/schema/schemas/run-info.schema.json +9 -21
  30. package/packages/schema/schemas/run-summary.schema.json +6 -14
  31. package/packages/schema/schemas/server-config.schema.json +21 -21
  32. package/packages/schema/schemas/server-editable-settings.schema.json +14 -14
  33. package/packages/schema/schemas/server-info.schema.json +15 -19
  34. package/packages/schema/schemas/server-settings-snapshot.schema.json +28 -28
  35. package/packages/schema/schemas/spec-set.schema.json +16 -24
  36. package/packages/schema/schemas/state-node.schema.json +16 -16
  37. package/packages/schema/schemas/state-record.schema.json +5 -9
  38. package/packages/schema/schemas/store-listing.schema.json +3 -7
  39. package/packages/schema/schemas/store-write-result.schema.json +2 -2
  40. package/packages/schema/schemas/stream-result.schema.json +13 -17
  41. package/packages/schema/schemas/test-catalog.schema.json +109 -151
  42. package/packages/schema/schemas/test-history.schema.json +72 -136
  43. package/packages/schema/schemas/timeline-entry.schema.json +2 -2
  44. package/packages/schema/schemas/transition-record.schema.json +9 -21
  45. package/packages/server/openapi.json +620 -910
@@ -6,7 +6,7 @@
6
6
  "id": {
7
7
  "type": "string",
8
8
  "format": "uuid",
9
- "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$"
9
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
10
10
  },
11
11
  "producer": {
12
12
  "type": "string",
@@ -6,7 +6,7 @@
6
6
  "id": {
7
7
  "type": "string",
8
8
  "format": "uuid",
9
- "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$"
9
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
10
10
  },
11
11
  "producer": {
12
12
  "type": "string",
@@ -11,22 +11,22 @@
11
11
  "type": "string"
12
12
  },
13
13
  "copied": {
14
- "description": "Objects that were missing in the destination and were copied",
15
14
  "type": "integer",
16
15
  "minimum": 0,
17
- "maximum": 9007199254740991
16
+ "maximum": 9007199254740991,
17
+ "description": "Objects that were missing in the destination and were copied"
18
18
  },
19
19
  "skipped": {
20
- "description": "Objects the destination already had",
21
20
  "type": "integer",
22
21
  "minimum": 0,
23
- "maximum": 9007199254740991
22
+ "maximum": 9007199254740991,
23
+ "description": "Objects the destination already had"
24
24
  },
25
25
  "ignored": {
26
- "description": "Objects outside `layers/`, which are never merged",
27
26
  "type": "integer",
28
27
  "minimum": 0,
29
- "maximum": 9007199254740991
28
+ "maximum": 9007199254740991,
29
+ "description": "Objects outside `layers/`, which are never merged"
30
30
  }
31
31
  },
32
32
  "required": [
@@ -9,15 +9,15 @@
9
9
  "type": "object",
10
10
  "properties": {
11
11
  "path": {
12
- "description": "`specs/<path>`",
13
- "type": "string"
12
+ "type": "string",
13
+ "description": "`specs/<path>`"
14
14
  },
15
15
  "domain": {
16
16
  "type": "string"
17
17
  },
18
18
  "kind": {
19
- "description": "The kind of spec: `gherkin`, `quint`, `dmn`, …",
20
- "type": "string"
19
+ "type": "string",
20
+ "description": "The kind of spec: `gherkin`, `quint`, `dmn`, …"
21
21
  },
22
22
  "title": {
23
23
  "type": "string"
@@ -37,13 +37,9 @@
37
37
  }
38
38
  },
39
39
  "sha": {
40
- "anyOf": [
41
- {
42
- "type": "string"
43
- },
44
- {
45
- "type": "null"
46
- }
40
+ "type": [
41
+ "string",
42
+ "null"
47
43
  ]
48
44
  },
49
45
  "changedFiles": {
@@ -46,33 +46,21 @@
46
46
  "type": "string"
47
47
  },
48
48
  "error": {
49
- "anyOf": [
50
- {
51
- "type": "string"
52
- },
53
- {
54
- "type": "null"
55
- }
49
+ "type": [
50
+ "string",
51
+ "null"
56
52
  ]
57
53
  },
58
54
  "stoppedAt": {
59
- "anyOf": [
60
- {
61
- "type": "string"
62
- },
63
- {
64
- "type": "null"
65
- }
55
+ "type": [
56
+ "string",
57
+ "null"
66
58
  ]
67
59
  },
68
60
  "trace": {
69
- "anyOf": [
70
- {
71
- "type": "string"
72
- },
73
- {
74
- "type": "null"
75
- }
61
+ "type": [
62
+ "string",
63
+ "null"
76
64
  ]
77
65
  },
78
66
  "traces": {
@@ -96,13 +84,9 @@
96
84
  "items": {}
97
85
  },
98
86
  "stoppedAt": {
99
- "anyOf": [
100
- {
101
- "type": "string"
102
- },
103
- {
104
- "type": "null"
105
- }
87
+ "type": [
88
+ "string",
89
+ "null"
106
90
  ]
107
91
  },
108
92
  "key": {
@@ -4,27 +4,27 @@
4
4
  "type": "object",
5
5
  "properties": {
6
6
  "type": {
7
- "description": "A URI naming the kind of problem. `about:blank` means the status code says it all",
8
7
  "default": "about:blank",
8
+ "description": "A URI naming the kind of problem. `about:blank` means the status code says it all",
9
9
  "type": "string"
10
10
  },
11
11
  "title": {
12
- "description": "The status in words, such as \"Unauthorized\"",
13
- "type": "string"
12
+ "type": "string",
13
+ "description": "The status in words, such as \"Unauthorized\""
14
14
  },
15
15
  "status": {
16
- "description": "The HTTP status code",
17
16
  "type": "integer",
18
17
  "minimum": -9007199254740991,
19
- "maximum": 9007199254740991
18
+ "maximum": 9007199254740991,
19
+ "description": "The HTTP status code"
20
20
  },
21
21
  "detail": {
22
- "description": "What went wrong and what to do about it, in a sentence an agent or a person can act on",
23
- "type": "string"
22
+ "type": "string",
23
+ "description": "What went wrong and what to do about it, in a sentence an agent or a person can act on"
24
24
  },
25
25
  "error": {
26
- "description": "The same as `detail`. Kept for clients that read `error`",
27
- "type": "string"
26
+ "type": "string",
27
+ "description": "The same as `detail`. Kept for clients that read `error`"
28
28
  }
29
29
  },
30
30
  "required": [
@@ -13,9 +13,9 @@
13
13
  "type": "object",
14
14
  "properties": {
15
15
  "id": {
16
- "description": "The check's stable identity within its producer. The same check must keep the same id in every layer, or layers cannot replace one another",
17
16
  "type": "string",
18
- "minLength": 1
17
+ "minLength": 1,
18
+ "description": "The check's stable identity within its producer. The same check must keep the same id in every layer, or layers cannot replace one another"
19
19
  },
20
20
  "title": {
21
21
  "type": "string"
@@ -30,8 +30,8 @@
30
30
  ]
31
31
  },
32
32
  "detail": {
33
- "description": "Why it failed, or what was measured",
34
33
  "default": "",
34
+ "description": "Why it failed, or what was measured",
35
35
  "type": "string"
36
36
  },
37
37
  "specPath": {
@@ -49,8 +49,8 @@
49
49
  "minLength": 1
50
50
  },
51
51
  "value": {
52
- "description": "A finite number",
53
- "type": "number"
52
+ "type": "number",
53
+ "description": "A finite number"
54
54
  },
55
55
  "unit": {
56
56
  "type": "string"
@@ -225,9 +225,9 @@
225
225
  "type": "object",
226
226
  "properties": {
227
227
  "type": {
228
- "description": "An open vocabulary: note, warning, deprecation, issue, accessibility, coverage…",
229
228
  "type": "string",
230
- "minLength": 1
229
+ "minLength": 1,
230
+ "description": "An open vocabulary: note, warning, deprecation, issue, accessibility, coverage…"
231
231
  },
232
232
  "message": {
233
233
  "type": "string"
@@ -462,9 +462,9 @@
462
462
  "type": "object",
463
463
  "properties": {
464
464
  "type": {
465
- "description": "An open vocabulary: note, warning, deprecation, issue, accessibility, coverage…",
466
465
  "type": "string",
467
- "minLength": 1
466
+ "minLength": 1,
467
+ "description": "An open vocabulary: note, warning, deprecation, issue, accessibility, coverage…"
468
468
  },
469
469
  "message": {
470
470
  "type": "string"
@@ -736,9 +736,9 @@
736
736
  "type": "object",
737
737
  "properties": {
738
738
  "type": {
739
- "description": "An open vocabulary: note, warning, deprecation, issue, accessibility, coverage…",
740
739
  "type": "string",
741
- "minLength": 1
740
+ "minLength": 1,
741
+ "description": "An open vocabulary: note, warning, deprecation, issue, accessibility, coverage…"
742
742
  },
743
743
  "message": {
744
744
  "type": "string"
@@ -946,9 +946,9 @@
946
946
  "type": "object",
947
947
  "properties": {
948
948
  "type": {
949
- "description": "An open vocabulary: note, warning, deprecation, issue, accessibility, coverage…",
950
949
  "type": "string",
951
- "minLength": 1
950
+ "minLength": 1,
951
+ "description": "An open vocabulary: note, warning, deprecation, issue, accessibility, coverage…"
952
952
  },
953
953
  "message": {
954
954
  "type": "string"
@@ -1068,45 +1068,29 @@
1068
1068
  },
1069
1069
  "sha": {
1070
1070
  "default": null,
1071
- "anyOf": [
1072
- {
1073
- "type": "string"
1074
- },
1075
- {
1076
- "type": "null"
1077
- }
1071
+ "type": [
1072
+ "string",
1073
+ "null"
1078
1074
  ]
1079
1075
  },
1080
1076
  "branch": {
1081
1077
  "default": null,
1082
- "anyOf": [
1083
- {
1084
- "type": "string"
1085
- },
1086
- {
1087
- "type": "null"
1088
- }
1078
+ "type": [
1079
+ "string",
1080
+ "null"
1089
1081
  ]
1090
1082
  },
1091
1083
  "runUrl": {
1092
1084
  "default": null,
1093
- "anyOf": [
1094
- {
1095
- "type": "string"
1096
- },
1097
- {
1098
- "type": "null"
1099
- }
1085
+ "type": [
1086
+ "string",
1087
+ "null"
1100
1088
  ]
1101
1089
  },
1102
1090
  "environment": {
1103
- "anyOf": [
1104
- {
1105
- "type": "string"
1106
- },
1107
- {
1108
- "type": "null"
1109
- }
1091
+ "type": [
1092
+ "string",
1093
+ "null"
1110
1094
  ]
1111
1095
  },
1112
1096
  "parameters": {
@@ -1312,9 +1296,9 @@
1312
1296
  "type": "object",
1313
1297
  "properties": {
1314
1298
  "type": {
1315
- "description": "An open vocabulary: note, warning, deprecation, issue, accessibility, coverage…",
1316
1299
  "type": "string",
1317
- "minLength": 1
1300
+ "minLength": 1,
1301
+ "description": "An open vocabulary: note, warning, deprecation, issue, accessibility, coverage…"
1318
1302
  },
1319
1303
  "message": {
1320
1304
  "type": "string"
@@ -8,27 +8,23 @@
8
8
  "const": true
9
9
  },
10
10
  "store": {
11
- "description": "Where it was written: a folder, `s3://…` or a server URL",
12
- "type": "string"
11
+ "type": "string",
12
+ "description": "Where it was written: a folder, `s3://…` or a server URL"
13
13
  },
14
14
  "layer": {
15
15
  "type": "object",
16
16
  "properties": {
17
17
  "id": {
18
- "description": "The layer id: 64 hex digits, the SHA-256 of its content. Publishing the same input again gives the same id",
19
- "type": "string"
18
+ "type": "string",
19
+ "description": "The layer id: 64 hex digits, the SHA-256 of its content. Publishing the same input again gives the same id"
20
20
  },
21
21
  "producer": {
22
22
  "type": "string"
23
23
  },
24
24
  "environment": {
25
- "anyOf": [
26
- {
27
- "type": "string"
28
- },
29
- {
30
- "type": "null"
31
- }
25
+ "type": [
26
+ "string",
27
+ "null"
32
28
  ]
33
29
  },
34
30
  "checks": {
@@ -47,16 +43,16 @@
47
43
  "maximum": 9007199254740991
48
44
  },
49
45
  "notRun": {
50
- "description": "Skipped, pending or otherwise not run",
51
46
  "type": "integer",
52
47
  "minimum": 0,
53
- "maximum": 9007199254740991
48
+ "maximum": 9007199254740991,
49
+ "description": "Skipped, pending or otherwise not run"
54
50
  },
55
51
  "linkedToSpec": {
56
- "description": "Checks that were matched to a spec file. The rest still count, but belong to no spec",
57
52
  "type": "integer",
58
53
  "minimum": 0,
59
- "maximum": 9007199254740991
54
+ "maximum": 9007199254740991,
55
+ "description": "Checks that were matched to a spec file. The rest still count, but belong to no spec"
60
56
  },
61
57
  "freshness": {
62
58
  "description": "Set when the checkout had uncommitted changes (`modified`) or no git origin (`unknown`)",
@@ -104,13 +100,9 @@
104
100
  "maximum": 9007199254740991
105
101
  },
106
102
  "branch": {
107
- "anyOf": [
108
- {
109
- "type": "string"
110
- },
111
- {
112
- "type": "null"
113
- }
103
+ "type": [
104
+ "string",
105
+ "null"
114
106
  ]
115
107
  }
116
108
  },
@@ -151,11 +143,11 @@
151
143
  "additionalProperties": {}
152
144
  },
153
145
  "warnings": {
154
- "description": "What was skipped and why, such as an attachment file that could not be read. Never fatal",
155
146
  "type": "array",
156
147
  "items": {
157
148
  "type": "string"
158
- }
149
+ },
150
+ "description": "What was skipped and why, such as an attachment file that could not be read. Never fatal"
159
151
  }
160
152
  },
161
153
  "required": [
@@ -4,36 +4,36 @@
4
4
  "type": "object",
5
5
  "properties": {
6
6
  "ready": {
7
- "description": "True once the first pass over the backends is done and at least one backend answers",
8
- "type": "boolean"
7
+ "type": "boolean",
8
+ "description": "True once the first pass over the backends is done and at least one backend answers"
9
9
  },
10
10
  "layers": {
11
- "description": "Distinct layers read",
12
11
  "type": "integer",
13
12
  "minimum": 0,
14
- "maximum": 9007199254740991
13
+ "maximum": 9007199254740991,
14
+ "description": "Distinct layers read"
15
15
  },
16
16
  "slots": {
17
- "description": "Distinct checks (slots) the report holds a winner for",
18
17
  "type": "integer",
19
18
  "minimum": 0,
20
- "maximum": 9007199254740991
19
+ "maximum": 9007199254740991,
20
+ "description": "Distinct checks (slots) the report holds a winner for"
21
21
  },
22
22
  "holding": {
23
- "description": "Layers that still hold at least one winner",
24
23
  "type": "integer",
25
24
  "minimum": 0,
26
- "maximum": 9007199254740991
25
+ "maximum": 9007199254740991,
26
+ "description": "Layers that still hold at least one winner"
27
27
  },
28
28
  "failed": {
29
- "description": "Layers or backends that could not be read right now",
30
29
  "type": "integer",
31
30
  "minimum": 0,
32
- "maximum": 9007199254740991
31
+ "maximum": 9007199254740991,
32
+ "description": "Layers or backends that could not be read right now"
33
33
  },
34
34
  "refreshedAt": {
35
- "description": "When a pass over the backends last finished, epoch milliseconds; 0 before the first",
36
- "type": "number"
35
+ "type": "number",
36
+ "description": "When a pass over the backends last finished, epoch milliseconds; 0 before the first"
37
37
  },
38
38
  "backends": {
39
39
  "type": "array",
@@ -4,8 +4,8 @@
4
4
  "type": "object",
5
5
  "properties": {
6
6
  "version": {
7
- "description": "The report version after these layers",
8
- "type": "string"
7
+ "type": "string",
8
+ "description": "The report version after these layers"
9
9
  },
10
10
  "totalLayers": {
11
11
  "type": "integer",
@@ -13,7 +13,6 @@
13
13
  "maximum": 9007199254740991
14
14
  },
15
15
  "added": {
16
- "description": "At most the 20 newest of the layers that arrived",
17
16
  "type": "array",
18
17
  "items": {
19
18
  "type": "object",
@@ -25,33 +24,21 @@
25
24
  "type": "string"
26
25
  },
27
26
  "environment": {
28
- "anyOf": [
29
- {
30
- "type": "string"
31
- },
32
- {
33
- "type": "null"
34
- }
27
+ "type": [
28
+ "string",
29
+ "null"
35
30
  ]
36
31
  },
37
32
  "branch": {
38
- "anyOf": [
39
- {
40
- "type": "string"
41
- },
42
- {
43
- "type": "null"
44
- }
33
+ "type": [
34
+ "string",
35
+ "null"
45
36
  ]
46
37
  },
47
38
  "sha": {
48
- "anyOf": [
49
- {
50
- "type": "string"
51
- },
52
- {
53
- "type": "null"
54
- }
39
+ "type": [
40
+ "string",
41
+ "null"
55
42
  ]
56
43
  },
57
44
  "recordedAtMs": {
@@ -72,7 +59,13 @@
72
59
  "type": "integer",
73
60
  "minimum": 0,
74
61
  "maximum": 9007199254740991
75
- }
62
+ },
63
+ "required": [
64
+ "passed",
65
+ "failed",
66
+ "running",
67
+ "not-run"
68
+ ]
76
69
  }
77
70
  },
78
71
  "required": [
@@ -81,13 +74,14 @@
81
74
  "recordedAtMs"
82
75
  ],
83
76
  "additionalProperties": {}
84
- }
77
+ },
78
+ "description": "At most the 20 newest of the layers that arrived"
85
79
  },
86
80
  "addedTotal": {
87
- "description": "How many layers arrived, including those not listed",
88
81
  "type": "integer",
89
82
  "minimum": 0,
90
- "maximum": 9007199254740991
83
+ "maximum": 9007199254740991,
84
+ "description": "How many layers arrived, including those not listed"
91
85
  }
92
86
  },
93
87
  "required": [