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

Function ownerForCtx

packages/plugins/onepassword/src/sdk/plugin.ts:563–564  ·  view source on GitHub ↗
(ctx: PluginCtx<OnePasswordStore>)

Source from the content-addressed store, hash-verified

561// ---------------------------------------------------------------------------
562
563const ownerForCtx = (ctx: PluginCtx<OnePasswordStore>): Owner =>
564 ctx.owner.subject === null ? "org" : "user";
565
566const makeOnePasswordExtension = (
567 ctx: PluginCtx<OnePasswordStore>,

Callers 1

makeOnePasswordExtensionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected