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

Function slugifyName

packages/core/sdk/src/migration-spec.ts:1222–1223  ·  view source on GitHub ↗
(name: string, fallback = "account")

Source from the content-addressed store, hash-verified

1220 binding.secretScopeId ?? binding.scopeId;
1221
1222const slugifyName = (name: string, fallback = "account"): string =>
1223 String(connectionIdentifier(name, fallback));
1224
1225const secretRefKey = (scopeId: string, secretId: string): string => `${scopeId}\0${secretId}`;
1226

Callers 2

planMigrationFunction · 0.70

Calls 1

connectionIdentifierFunction · 0.90

Tested by

no test coverage detected