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

Function listCatalogSlugs

packages/core/sdk/src/executor.ts:3125–3128  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3123 /** Every slug in the tenant's catalog — the set an owned row's
3124 * `integration` must belong to for the row to be servable. */
3125 const listCatalogSlugs = (): Effect.Effect<ReadonlySet<string>, StorageFailure> =>
3126 core
3127 .findMany("integration", { select: ["slug"] })
3128 .pipe(Effect.map((rows) => new Set(rows.map((row) => String(row.slug)))));
3129
3130 // Project a row's stored config into declared auth methods via the owning
3131 // plugin's `describeAuthMethods` hook. The hook is plugin-authored, so a

Callers 2

connectionsListFunction · 0.85
toolsListFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected