MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / route

Function route

__tests__/ui-entry-model.test.ts:57–72  ·  view source on GitHub ↗
(over: Partial<WireEntryRoute> = {})

Source from the content-addressed store, hash-verified

55}
56
57function route(over: Partial<WireEntryRoute> = {}): WireEntryRoute {
58 return {
59 url: 'POST /v1/payroll/cycles/{cycleID}/run',
60 method: 'POST',
61 path: '/v1/payroll/cycles/{cycleID}/run',
62 handler: 'RunCycle',
63 handlerKind: 'method',
64 file: 'internal/transport/httpapi/payroll_handler.go',
65 line: 34,
66 handlerId: 'method:RunCycle',
67 routeFile: 'internal/transport/httpapi/router.go',
68 routeLine: 9,
69 routeId: 'route:router.go:9:POST:/v1/payroll/cycles/{cycleID}/run',
70 ...over,
71 };
72}
73
74function file(over: Partial<WireEntryFile> = {}): WireEntryFile {
75 return {

Callers 2

payloadFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected