MCPcopy Create free account
hub / github.com/callstackincubator/polygen / definePlugin

Function definePlugin

packages/polygen-cli/src/plugin.ts:22–30  ·  view source on GitHub ↗
(
  name: string,
  definition: PluginDefinition
)

Source from the content-addressed store, hash-verified

20}
21
22export function definePlugin(
23 name: string,
24 definition: PluginDefinition
25): CodegenPlugin {
26 return {
27 name,
28 definition,
29 };
30}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected