MCPcopy Index your code
hub / github.com/simstudioai/sim / toSdkCategory

Function toSdkCategory

apps/sim/app/api/tools/onepassword/utils.ts:443–445  ·  view source on GitHub ↗
(category: string)

Source from the content-addressed store, hash-verified

441
442/** Convert a Connect-style category string to the SDK category string. */
443export function toSdkCategory(category: string): `${ItemCategory}` {
444 return CONNECT_TO_SDK_CATEGORY[category] ?? 'Login'
445}
446
447/** Convert a Connect-style field type string to the SDK field type string. */
448export function toSdkFieldType(type: string): `${ItemFieldType}` {

Callers 2

route.tsFile · 0.90
route.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected