MCPcopy Create free account
hub / github.com/clientdb/clientdb / getCurrentIndexValue

Function getCurrentIndexValue

core/queryIndex.ts:87–89  ·  view source on GitHub ↗
(entity: TargetEntity)

Source from the content-addressed store, hash-verified

85 >({});
86
87 function getCurrentIndexValue(entity: TargetEntity): TargetValue {
88 return entity[key] as TargetValue;
89 }
90
91 /**
92 * Map keeping info to what index 'page' item currently belongs to

Callers 1

updateItemIndexFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected