MCPcopy
hub / github.com/simstudioai/sim / isSharedCredentialType

Function isSharedCredentialType

apps/sim/lib/credentials/access.ts:23–25  ·  view source on GitHub ↗
(type: CredentialType)

Source from the content-addressed store, hash-verified

21
22/** Whether a credential is shared at the workspace level (i.e. not a personal env var). */
23export function isSharedCredentialType(type: CredentialType): boolean {
24 return type !== 'env_personal'
25}
26
27/**
28 * Whether a user is an admin of a credential: an explicit credential-member admin,

Callers 3

route.tsFile · 0.90
route.tsFile · 0.90
deriveCredentialAdminFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected