MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / listPoliciesForRecord

Function listPoliciesForRecord

packages/plugins/toolkits/src/server.ts:274–277  ·  view source on GitHub ↗
(toolkitId: string)

Source from the content-addressed store, hash-verified

272 );
273
274 const listPoliciesForRecord = (toolkitId: string) =>
275 storage.policies
276 .query({ where: { toolkitId } })
277 .pipe(Effect.map((entries) => entries.map((entry) => entry.data).sort(comparePositioned)));
278
279 const listConnectionsForRecord = (toolkitId: string) =>
280 storage.connections

Callers 6

removeFunction · 0.85
listPoliciesFunction · 0.85
createPolicyFunction · 0.85
policyRulesForSlugFunction · 0.85
resolvePolicyForSlugFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected