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

Function catalogRow

packages/react/src/lib/admin-users-display.test.ts:25–28  ·  view source on GitHub ↗
(value: string, kind = "openapi")

Source from the content-addressed store, hash-verified

23/** A catalog row for a normal, connectable integration. `kind` is the owning
24 * plugin's key on a real row, so "openapi" is what the catalog actually says. */
25const catalogRow = (value: string, kind = "openapi"): AdminCatalogRow => ({
26 slug: slug(value),
27 kind,
28});
29
30/** The built-in Executor row, exactly as a real catalog read returns it:
31 * `kind: "built-in"` with `authMethods: []` (verified against

Callers 1

Calls 1

slugFunction · 0.70

Tested by

no test coverage detected