MCPcopy Create free account
hub / github.com/EvoMap/evolver / event

Function event

test/cliContracts.test.js:84–95  ·  view source on GitHub ↗
(extra)

Source from the content-addressed store, hash-verified

82}
83
84function event(extra) {
85 return Object.assign({
86 type: 'EvolutionEvent',
87 schema_version: '1',
88 asset_id: 'sha256:event-original',
89 id: 'event-1',
90 gene: 'sha256:gene-original',
91 capsule: 'sha256:cap-original',
92 signals: ['log_error'],
93 outcome: { status: 'success' },
94 }, extra || {});
95}
96
97function withComputedAssetId(asset) {
98 const copy = Object.assign({}, asset);

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected