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

Function promiseTypePrefix

packages/httpapi-codegen/src/index.ts:540–542  ·  view source on GitHub ↗
(group: string, endpoint: string)

Source from the content-addressed store, hash-verified

538}
539
540function promiseTypePrefix(group: string, endpoint: string) {
541 return `${identifierPart(group)}${identifierPart(endpoint)}`
542}
543
544function clientEndpointName(name: string) {
545 return name.slice(name.lastIndexOf(".") + 1)

Callers 2

renderPromiseTypesFunction · 0.85
renderPromiseClientFunction · 0.85

Calls 1

identifierPartFunction · 0.85

Tested by

no test coverage detected