@crvouga/atlas 0.14.0 → 0.15.0

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 (39) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/reports/src/artifact-tag-store.d.ts +20 -0
  3. package/dist/reports/src/artifact-tag-store.js +70 -0
  4. package/dist/reports/src/artifact-tags.d.ts +96 -0
  5. package/dist/reports/src/artifact-tags.js +96 -0
  6. package/dist/reports/src/evidence-detail.d.ts +1 -1
  7. package/dist/reports/src/evidence-detail.js +6 -2
  8. package/dist/reports/src/evidence-types.d.ts +2 -0
  9. package/dist/reports/src/reports-explorer-route.d.ts +8 -0
  10. package/dist/reports/src/reports-route.d.ts +8 -0
  11. package/dist/reports/src/test-catalog.d.ts +11 -23
  12. package/dist/reports/src/test-catalog.js +42 -4
  13. package/dist/schema/src/api.d.ts +79 -0
  14. package/dist/schema/src/api.js +31 -1
  15. package/dist/schema/src/layer.d.ts +33 -0
  16. package/dist/schema/src/layer.js +11 -1
  17. package/dist/server/src/app.js +32 -1
  18. package/dist/server/src/openapi.d.ts +1 -1
  19. package/dist/server/src/openapi.js +18 -2
  20. package/docs/extending.md +3 -0
  21. package/docs/reference/http-api.md +48 -0
  22. package/docs/reference/reports.md +217 -2
  23. package/docs/reference/schema.md +32 -0
  24. package/docs/rich-evidence.md +28 -0
  25. package/docs/server.md +24 -0
  26. package/llms-full.txt +103 -0
  27. package/package.json +1 -1
  28. package/packages/schema/schemas/check-detail.schema.json +28 -0
  29. package/packages/schema/schemas/effective-delta.schema.json +14 -0
  30. package/packages/schema/schemas/effective-evidence.schema.json +14 -0
  31. package/packages/schema/schemas/evidence-page.schema.json +7 -0
  32. package/packages/schema/schemas/layer-rows.schema.json +7 -0
  33. package/packages/schema/schemas/layer.schema.json +70 -0
  34. package/packages/schema/schemas/publish-checks.schema.json +35 -0
  35. package/packages/schema/schemas/test-catalog.schema.json +42 -0
  36. package/packages/schema/schemas/test-history.schema.json +28 -0
  37. package/packages/server/openapi.json +732 -1
  38. package/packages/visualizer/src/evidence/artifact-tags.tsx +285 -0
  39. package/packages/visualizer/src/evidence/artifacts.tsx +18 -12
@@ -132,6 +132,13 @@
132
132
  "type": "string"
133
133
  }
134
134
  },
135
+ "artifactTags": {
136
+ "description": "Normalized tags of the attachments themselves, sorted and distinct. Absent when no attachment is tagged; never inherited from a check or run",
137
+ "type": "array",
138
+ "items": {
139
+ "type": "string"
140
+ }
141
+ },
135
142
  "labels": {
136
143
  "type": "object",
137
144
  "propertyNames": {
@@ -358,6 +365,13 @@
358
365
  "type": "string"
359
366
  }
360
367
  },
368
+ "artifactTags": {
369
+ "description": "Normalized tags of the attachments themselves, sorted and distinct. Absent when no attachment is tagged; never inherited from a check or run",
370
+ "type": "array",
371
+ "items": {
372
+ "type": "string"
373
+ }
374
+ },
361
375
  "labels": {
362
376
  "type": "object",
363
377
  "propertyNames": {
@@ -177,6 +177,13 @@
177
177
  "type": "string"
178
178
  }
179
179
  },
180
+ "artifactTags": {
181
+ "description": "Normalized tags of the attachments themselves, sorted and distinct. Absent when no attachment is tagged; never inherited from a check or run",
182
+ "type": "array",
183
+ "items": {
184
+ "type": "string"
185
+ }
186
+ },
180
187
  "labels": {
181
188
  "type": "object",
182
189
  "propertyNames": {
@@ -123,6 +123,13 @@
123
123
  "type": "string"
124
124
  }
125
125
  },
126
+ "artifactTags": {
127
+ "description": "Normalized tags of the attachments themselves, sorted and distinct. Absent when no attachment is tagged; never inherited from a check or run",
128
+ "type": "array",
129
+ "items": {
130
+ "type": "string"
131
+ }
132
+ },
126
133
  "labels": {
127
134
  "type": "object",
128
135
  "propertyNames": {
@@ -337,6 +337,13 @@
337
337
  "description": {
338
338
  "type": "string"
339
339
  },
340
+ "tags": {
341
+ "description": "Free labels of this one attachment, such as `demo`: shown as `#demo`, searchable, and normalized by `normalizeTag` (a leading `#` and letter case never matter). Unlike the tags of a check they say nothing about its result",
342
+ "type": "array",
343
+ "items": {
344
+ "type": "string"
345
+ }
346
+ },
340
347
  "at": {
341
348
  "type": "object",
342
349
  "properties": {
@@ -565,6 +572,13 @@
565
572
  "description": {
566
573
  "type": "string"
567
574
  },
575
+ "tags": {
576
+ "description": "Free labels of this one attachment, such as `demo`: shown as `#demo`, searchable, and normalized by `normalizeTag` (a leading `#` and letter case never matter). Unlike the tags of a check they say nothing about its result",
577
+ "type": "array",
578
+ "items": {
579
+ "type": "string"
580
+ }
581
+ },
568
582
  "at": {
569
583
  "type": "object",
570
584
  "properties": {
@@ -830,6 +844,13 @@
830
844
  "description": {
831
845
  "type": "string"
832
846
  },
847
+ "tags": {
848
+ "description": "Free labels of this one attachment, such as `demo`: shown as `#demo`, searchable, and normalized by `normalizeTag` (a leading `#` and letter case never matter). Unlike the tags of a check they say nothing about its result",
849
+ "type": "array",
850
+ "items": {
851
+ "type": "string"
852
+ }
853
+ },
833
854
  "at": {
834
855
  "type": "object",
835
856
  "properties": {
@@ -1030,6 +1051,13 @@
1030
1051
  "description": {
1031
1052
  "type": "string"
1032
1053
  },
1054
+ "tags": {
1055
+ "description": "Free labels of this one attachment, such as `demo`: shown as `#demo`, searchable, and normalized by `normalizeTag` (a leading `#` and letter case never matter). Unlike the tags of a check they say nothing about its result",
1056
+ "type": "array",
1057
+ "items": {
1058
+ "type": "string"
1059
+ }
1060
+ },
1033
1061
  "at": {
1034
1062
  "type": "object",
1035
1063
  "properties": {
@@ -1280,6 +1308,13 @@
1280
1308
  "description": {
1281
1309
  "type": "string"
1282
1310
  },
1311
+ "tags": {
1312
+ "description": "Free labels of this one attachment, such as `demo`: shown as `#demo`, searchable, and normalized by `normalizeTag` (a leading `#` and letter case never matter). Unlike the tags of a check they say nothing about its result",
1313
+ "type": "array",
1314
+ "items": {
1315
+ "type": "string"
1316
+ }
1317
+ },
1283
1318
  "at": {
1284
1319
  "type": "object",
1285
1320
  "properties": {
@@ -1641,6 +1676,13 @@
1641
1676
  "description": {
1642
1677
  "type": "string"
1643
1678
  },
1679
+ "tags": {
1680
+ "description": "Free labels of this one attachment, such as `demo`: shown as `#demo`, searchable, and normalized by `normalizeTag` (a leading `#` and letter case never matter). Unlike the tags of a check they say nothing about its result",
1681
+ "type": "array",
1682
+ "items": {
1683
+ "type": "string"
1684
+ }
1685
+ },
1644
1686
  "at": {
1645
1687
  "type": "object",
1646
1688
  "properties": {
@@ -1869,6 +1911,13 @@
1869
1911
  "description": {
1870
1912
  "type": "string"
1871
1913
  },
1914
+ "tags": {
1915
+ "description": "Free labels of this one attachment, such as `demo`: shown as `#demo`, searchable, and normalized by `normalizeTag` (a leading `#` and letter case never matter). Unlike the tags of a check they say nothing about its result",
1916
+ "type": "array",
1917
+ "items": {
1918
+ "type": "string"
1919
+ }
1920
+ },
1872
1921
  "at": {
1873
1922
  "type": "object",
1874
1923
  "properties": {
@@ -2134,6 +2183,13 @@
2134
2183
  "description": {
2135
2184
  "type": "string"
2136
2185
  },
2186
+ "tags": {
2187
+ "description": "Free labels of this one attachment, such as `demo`: shown as `#demo`, searchable, and normalized by `normalizeTag` (a leading `#` and letter case never matter). Unlike the tags of a check they say nothing about its result",
2188
+ "type": "array",
2189
+ "items": {
2190
+ "type": "string"
2191
+ }
2192
+ },
2137
2193
  "at": {
2138
2194
  "type": "object",
2139
2195
  "properties": {
@@ -2334,6 +2390,13 @@
2334
2390
  "description": {
2335
2391
  "type": "string"
2336
2392
  },
2393
+ "tags": {
2394
+ "description": "Free labels of this one attachment, such as `demo`: shown as `#demo`, searchable, and normalized by `normalizeTag` (a leading `#` and letter case never matter). Unlike the tags of a check they say nothing about its result",
2395
+ "type": "array",
2396
+ "items": {
2397
+ "type": "string"
2398
+ }
2399
+ },
2337
2400
  "at": {
2338
2401
  "type": "object",
2339
2402
  "properties": {
@@ -2750,6 +2813,13 @@
2750
2813
  "description": {
2751
2814
  "type": "string"
2752
2815
  },
2816
+ "tags": {
2817
+ "description": "Free labels of this one attachment, such as `demo`: shown as `#demo`, searchable, and normalized by `normalizeTag` (a leading `#` and letter case never matter). Unlike the tags of a check they say nothing about its result",
2818
+ "type": "array",
2819
+ "items": {
2820
+ "type": "string"
2821
+ }
2822
+ },
2753
2823
  "at": {
2754
2824
  "type": "object",
2755
2825
  "properties": {
@@ -169,6 +169,13 @@
169
169
  "description": {
170
170
  "type": "string"
171
171
  },
172
+ "tags": {
173
+ "description": "Free labels of this one attachment, such as `demo`: shown as `#demo`, searchable, and normalized by `normalizeTag` (a leading `#` and letter case never matter). Unlike the tags of a check they say nothing about its result",
174
+ "type": "array",
175
+ "items": {
176
+ "type": "string"
177
+ }
178
+ },
172
179
  "at": {
173
180
  "type": "object",
174
181
  "properties": {
@@ -406,6 +413,13 @@
406
413
  "description": {
407
414
  "type": "string"
408
415
  },
416
+ "tags": {
417
+ "description": "Free labels of this one attachment, such as `demo`: shown as `#demo`, searchable, and normalized by `normalizeTag` (a leading `#` and letter case never matter). Unlike the tags of a check they say nothing about its result",
418
+ "type": "array",
419
+ "items": {
420
+ "type": "string"
421
+ }
422
+ },
409
423
  "at": {
410
424
  "type": "object",
411
425
  "properties": {
@@ -680,6 +694,13 @@
680
694
  "description": {
681
695
  "type": "string"
682
696
  },
697
+ "tags": {
698
+ "description": "Free labels of this one attachment, such as `demo`: shown as `#demo`, searchable, and normalized by `normalizeTag` (a leading `#` and letter case never matter). Unlike the tags of a check they say nothing about its result",
699
+ "type": "array",
700
+ "items": {
701
+ "type": "string"
702
+ }
703
+ },
683
704
  "at": {
684
705
  "type": "object",
685
706
  "properties": {
@@ -890,6 +911,13 @@
890
911
  "description": {
891
912
  "type": "string"
892
913
  },
914
+ "tags": {
915
+ "description": "Free labels of this one attachment, such as `demo`: shown as `#demo`, searchable, and normalized by `normalizeTag` (a leading `#` and letter case never matter). Unlike the tags of a check they say nothing about its result",
916
+ "type": "array",
917
+ "items": {
918
+ "type": "string"
919
+ }
920
+ },
893
921
  "at": {
894
922
  "type": "object",
895
923
  "properties": {
@@ -1270,6 +1298,13 @@
1270
1298
  "description": {
1271
1299
  "type": "string"
1272
1300
  },
1301
+ "tags": {
1302
+ "description": "Free labels of this one attachment, such as `demo`: shown as `#demo`, searchable, and normalized by `normalizeTag` (a leading `#` and letter case never matter). Unlike the tags of a check they say nothing about its result",
1303
+ "type": "array",
1304
+ "items": {
1305
+ "type": "string"
1306
+ }
1307
+ },
1273
1308
  "at": {
1274
1309
  "type": "object",
1275
1310
  "properties": {
@@ -590,6 +590,27 @@
590
590
  "additionalProperties": {}
591
591
  }
592
592
  },
593
+ "artifactTags": {
594
+ "type": "array",
595
+ "items": {
596
+ "type": "object",
597
+ "properties": {
598
+ "value": {
599
+ "type": "string"
600
+ },
601
+ "count": {
602
+ "type": "integer",
603
+ "minimum": 0,
604
+ "maximum": 9007199254740991
605
+ }
606
+ },
607
+ "required": [
608
+ "value",
609
+ "count"
610
+ ],
611
+ "additionalProperties": {}
612
+ }
613
+ },
593
614
  "branches": {
594
615
  "type": "array",
595
616
  "items": {
@@ -856,6 +877,13 @@
856
877
  "type": "string"
857
878
  }
858
879
  },
880
+ "artifactTags": {
881
+ "description": "Normalized tags of the attachments themselves, sorted and distinct. Absent when no attachment is tagged; never inherited from a check or run",
882
+ "type": "array",
883
+ "items": {
884
+ "type": "string"
885
+ }
886
+ },
859
887
  "labels": {
860
888
  "type": "object",
861
889
  "propertyNames": {
@@ -1050,6 +1078,20 @@
1050
1078
  "type": "string"
1051
1079
  }
1052
1080
  },
1081
+ "artifactTags": {
1082
+ "description": "Normalized tags of the attachments of its current results, such as `demo` (shown `#demo`). Not inherited from a check or run, unlike `tags`",
1083
+ "type": "array",
1084
+ "items": {
1085
+ "type": "string"
1086
+ }
1087
+ },
1088
+ "inheritedArtifactTags": {
1089
+ "description": "Normalized tags its attachments inherit from their check and run, apart from `artifactTags`: what `?artifactTag=…&inherited=1` also matches",
1090
+ "type": "array",
1091
+ "items": {
1092
+ "type": "string"
1093
+ }
1094
+ },
1053
1095
  "labels": {
1054
1096
  "type": "object",
1055
1097
  "propertyNames": {
@@ -197,6 +197,13 @@
197
197
  "type": "string"
198
198
  }
199
199
  },
200
+ "artifactTags": {
201
+ "description": "Normalized tags of the attachments themselves, sorted and distinct. Absent when no attachment is tagged; never inherited from a check or run",
202
+ "type": "array",
203
+ "items": {
204
+ "type": "string"
205
+ }
206
+ },
200
207
  "labels": {
201
208
  "type": "object",
202
209
  "propertyNames": {
@@ -391,6 +398,20 @@
391
398
  "type": "string"
392
399
  }
393
400
  },
401
+ "artifactTags": {
402
+ "description": "Normalized tags of the attachments of its current results, such as `demo` (shown `#demo`). Not inherited from a check or run, unlike `tags`",
403
+ "type": "array",
404
+ "items": {
405
+ "type": "string"
406
+ }
407
+ },
408
+ "inheritedArtifactTags": {
409
+ "description": "Normalized tags its attachments inherit from their check and run, apart from `artifactTags`: what `?artifactTag=…&inherited=1` also matches",
410
+ "type": "array",
411
+ "items": {
412
+ "type": "string"
413
+ }
414
+ },
394
415
  "labels": {
395
416
  "type": "object",
396
417
  "propertyNames": {
@@ -573,6 +594,13 @@
573
594
  "type": "string"
574
595
  }
575
596
  },
597
+ "artifactTags": {
598
+ "description": "Normalized tags of the attachments themselves, sorted and distinct. Absent when no attachment is tagged; never inherited from a check or run",
599
+ "type": "array",
600
+ "items": {
601
+ "type": "string"
602
+ }
603
+ },
576
604
  "labels": {
577
605
  "type": "object",
578
606
  "propertyNames": {