(a: ArtifactSummary)
| 19 | ); |
| 20 | |
| 21 | const summaryToResponse = (a: ArtifactSummary) => ({ |
| 22 | id: a.id, |
| 23 | owner: a.owner, |
| 24 | title: a.title, |
| 25 | description: a.description, |
| 26 | preview: a.preview, |
| 27 | createdAt: a.createdAt.getTime(), |
| 28 | updatedAt: a.updatedAt.getTime(), |
| 29 | }); |
| 30 | |
| 31 | const artifactToResponse = (a: Artifact) => ({ |
| 32 | ...summaryToResponse(a), |
no outgoing calls
no test coverage detected