@pumpkin-plugins/static-hermes-runtime API / component/generate / ComponentGenerationInput
Interface: ComponentGenerationInput
Defined in: component/generate.ts:22
Inputs for generating per-plugin native bindings from resolved WIT analysis.
Properties
analysis
analysis:
ComponentWitAnalysis
Defined in: component/generate.ts:24
Resolved API and WASI analysis used to generate native adapters.
bindgenPath
bindgenPath:
string
Defined in: component/generate.ts:26
Path to the pinned wit-bindgen executable.
outputDirectory
outputDirectory:
string
Defined in: component/generate.ts:28
Temporary output directory for generated bindings and runtime source.
run?
optionalrun?: (command,args) =>void
Defined in: component/generate.ts:30
Optional command runner, primarily for tests that inspect tool invocations.
Parameters
command
string
args
string[]
Returns
void
templatePath
templatePath:
string
Defined in: component/generate.ts:32
C++ runtime template populated with generated adapters and dispatch.
witDirectory
witDirectory:
string
Defined in: component/generate.ts:34
Prepared WIT directory passed to wit-bindgen.