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

Function listPoliciesForRecord

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

Source from the content-addressed store, hash-verified

271 );
272
273 const listPoliciesForRecord = (toolkitId: string) =>
274 storage.policies
275 .query({ where: { toolkitId } })
276 .pipe(Effect.map((entries) => entries.map((entry) => entry.data).sort(comparePositioned)));
277
278 const listConnectionsForRecord = (toolkitId: string) =>
279 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