({
id,
category,
value,
unit,
band = "info",
source = "core",
targetPath = null,
})
| 81 | } |
| 82 | |
| 83 | export function createMetric({ |
| 84 | id, |
| 85 | category, |
| 86 | value, |
| 87 | unit, |
| 88 | band = "info", |
| 89 | source = "core", |
| 90 | targetPath = null, |
| 91 | }) { |
| 92 | return { |
| 93 | id, |
| 94 | category, |
| 95 | value, |
| 96 | unit, |
| 97 | band, |
| 98 | source, |
| 99 | ...(targetPath ? { targetPath } : {}), |
| 100 | }; |
| 101 | } |
| 102 | |
| 103 | export function createArtifact({ |
| 104 | id, |
no outgoing calls
no test coverage detected