MCPcopy
hub / github.com/npmx-dev/npmx.dev / getOrgTeams

Method getOrgTeams

cli/src/mock-state.ts:144–147  ·  view source on GitHub ↗
(org: string)

Source from the content-addressed store, hash-verified

142 }
143
144 getOrgTeams(org: string): string[] | null {
145 const normalizedOrg = org.startsWith('@') ? org : `@${org}`
146 return this.state.orgs[normalizedOrg]?.teams ?? null
147 }
148
149 getTeamUsers(scope: string, team: string): string[] | null {
150 const normalizedScope = scope.startsWith('@') ? scope : `@${scope}`

Callers 1

createMockConnectorAppFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected