Projects / definy / auto-release core.event-content-to-value description Turn core.event-content into a value of the evaluator (core.value). The inverse of core.value-to-event-content (generated by scripts/generate_value_decoders.ts) type Fn(value: @core.event-content ) -> @core.value expression fn(value$0) =>
match $0 {
#create_account(payload$1) =>
#variant<@core.value >({
tag: "create_account",
payload: #record<@core.value >([{key: "account_name", value: #string<@core.value >($1.account_name)}])
}),
#project_commit(payload$2) =>
#variant<@core.value >({tag: "project_commit", payload: @core.project-snapshot-to-value (value: $2)})
} visibility public core.event-content-to-value (project definy, branch auto-release, snapshot oiQgPqhJm-TbM4kexXeRHBaJB_tS7gwBSewII64P-44)
id: WE93lJhTwC6bfkvFasHsByA80bnU6sOi6GwlovHjHNo
content hash: z_G-QiZR7Y8KUBOAJsZTeDEC023w4hr0F9dVR-AzRuM