MCPcopy Create free account
hub / github.com/adcontextprotocol/adcp / stageIndex

Function stageIndex

server/src/db/relationship-db.ts:38–40  ·  view source on GitHub ↗
(stage: RelationshipStage)

Source from the content-addressed store, hash-verified

36];
37
38function stageIndex(stage: RelationshipStage): number {
39 return STAGE_ORDER.indexOf(stage);
40}
41
42export function rowToRelationship(row: Record<string, unknown>): PersonRelationship {
43 return {

Callers 3

resolvePersonIdFunction · 0.70
updateStageFunction · 0.70
evaluateStageTransitionsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected