({
id,
type,
label,
description,
data = null,
path = null,
source = "core",
})
| 101 | } |
| 102 | |
| 103 | export function createArtifact({ |
| 104 | id, |
| 105 | type, |
| 106 | label, |
| 107 | description, |
| 108 | data = null, |
| 109 | path = null, |
| 110 | source = "core", |
| 111 | }) { |
| 112 | return { |
| 113 | id, |
| 114 | type, |
| 115 | label, |
| 116 | description, |
| 117 | source, |
| 118 | ...(path ? { path } : {}), |
| 119 | ...(data ? { data } : {}), |
| 120 | }; |
| 121 | } |
no outgoing calls
no test coverage detected