MCPcopy Create free account
hub / github.com/anomalyco/opencode / partData

Function partData

packages/core/src/session/projector.ts:85–88  ·  view source on GitHub ↗
(part: (typeof SessionV1.Event.PartUpdated.Type)["data"]["part"])

Source from the content-addressed store, hash-verified

83}
84
85function partData(part: (typeof SessionV1.Event.PartUpdated.Type)["data"]["part"]): typeof PartTable.$inferInsert.data {
86 const { id: _, messageID: __, sessionID: ___, ...rest } = part
87 return rest as DeepMutable<typeof rest>
88}
89
90function applyUsage(
91 db: DatabaseService,

Callers 1

projector.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected