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

Interface CodegenPlugin

packages/polygen-cli/src/plugin.ts:4–7  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2import type { PolygenModuleConfig, Project } from '@callstack/polygen-project';
3
4export interface CodegenPlugin {
5 name: string;
6 definition: PluginDefinition;
7}
8
9export interface PluginCodegenHooks {
10 beforeModulesGenerated?(codegen: Codegen): Promise<void> | void;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected