MCPcopy Create free account
hub / github.com/bearlyai/OpenADE / getNonSnapshotEventPreview

Function getNonSnapshotEventPreview

projects/openade-module/src/yjsMutation.ts:343–351  ·  view source on GitHub ↗
(event: Y.Map<unknown>, at: string)

Source from the content-addressed store, hash-verified

341}
342
343function getNonSnapshotEventPreview(event: Y.Map<unknown>, at: string): Record<string, unknown> {
344 if (event.get("type") === "action") return getEventPreview(event, at)
345 return {
346 type: event.get("type"),
347 status: event.get("status"),
348 sourceLabel: event.get("type") === "setup_environment" ? "Setup" : "Snapshot",
349 at,
350 }
351}
352
353async function syncTaskMetadataPreview(
354 storage: OpenADEYjsMutationStorageAdapter,

Callers 1

syncTaskMetadataPreviewFunction · 0.85

Calls 2

getEventPreviewFunction · 0.85
getMethod · 0.65

Tested by

no test coverage detected