← Public packages
@kody/salesforce
Salesforce REST helpers for identity, SOQL, multi-org routing, and error investigation.
src/list-orgs.ts
13 lines · 435 B · TypeScriptimport { listOrgs } from './orgs.ts'
/**
* List saved Salesforce connections and return an organizationId →
* integrationName map. Persist `map` in a private package's packageStorage
* (`org-map`); live `@kody/salesforce` cannot store it.
* @example
* import listOrgs from 'kody:@kody/salesforce/list-orgs'
* const { orgs, map } = await listOrgs()
*/
export default async function listOrgsEntrypoint() {
return listOrgs()
}