MCPcopy Create free account
hub / github.com/ReviewStage/stage-cli / toCommentDto

Function toCommentDto

packages/cli/src/routes/comments.ts:293–301  ·  view source on GitHub ↗
(row: CommentRow)

Source from the content-addressed store, hash-verified

291}
292
293function toCommentDto(row: CommentRow): CommentDto {
294 return {
295 id: row.id,
296 body: row.body,
297 authorId: row.authorId,
298 createdAt: row.createdAt.toISOString(),
299 updatedAt: row.updatedAt.toISOString(),
300 };
301}

Callers 1

commentRoutesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected