fn(entry$0) =>
{
event_hash: @definy.snapshot-summary-key(event_hash: $0.event_hash),
commit: match $0.commit {
#none(_) =>
#none,
#some(commit$1) =>
#some({
account_id: $1.account_id,
project_name: $1.project_name,
branch: $1.branch,
time_ms: $1.time_ms,
message: $1.message,
parent_commit_hash: $1.parent_commit_hash,
merged_commit_hash: $1.merged_commit_hash,
modules: @core.list-map(
T: @definy.stored-snapshot-module,
U: @definy.stored-snapshot-module,
f: fn(item$2) =>
{name: $2.name, id: $2.id, description: $2.description, visibility: $2.visibility, parts: []},
xs: $1.modules
)
})
}
}