Skip to content

@pumpkin-plugins/static-hermes-runtime API / cli / CodegenGenerateOptions

Interface: CodegenGenerateOptions ​

Defined in: cli.ts:19

Additional file paths needed to generate runtime sources.

Extends ​

Properties ​

apiMethods? ​

optional apiMethods?: string[]

Defined in: component/types.ts:6

Pumpkin API operation identifiers for native dispatch; omission includes every declared operation.

Inherited from ​

ComponentBuildOptions.apiMethods


eventTypes? ​

optional eventTypes?: string[]

Defined in: component/types.ts:12

Event variants referenced by static registrations; omission includes every declared variant.

Inherited from ​

ComponentBuildOptions.eventTypes


header: string

Defined in: cli.ts:21

Generated plugin header used to determine required enum declarations.


outDir ​

outDir: string

Defined in: cli.ts:23

Destination directory for generated runtime source and enum header.


template ​

template: string

Defined in: cli.ts:25

C++ runtime template containing the generator marker comments.


wasiImports ​

wasiImports: string[]

Defined in: component/types.ts:22

WASI interface specifiers requested by the plugin.

Inherited from ​

ComponentBuildOptions.wasiImports


wasiMethods? ​

optional wasiMethods?: string[]

Defined in: component/types.ts:24

Optional WASI operation identifiers used to select native adapters.

Inherited from ​

ComponentBuildOptions.wasiMethods


wit ​

wit: string

Defined in: component/types.ts:26

Path to the prepared WIT directory containing the plugin world.

Inherited from ​

ComponentBuildOptions.wit

pumpkin-plugins documentation