inspectBlockGeneration
Inspects built-in block generation through the staged generator boundary without mutating the destination workspace.
Use stopAfter to halt after the plan, validate, or render stage.
The render stage includes copied template file paths, emitter-owned source
previews, starter manifest previews, and post-render intent metadata. Any
temporary render state is cleaned up before the promise resolves.
Example
Section titled “Example”const inspection = await inspectBlockGeneration({ answers, noInstall: true, packageManager: "bun", projectDir: "demo-block", templateId: "basic", stopAfter: "render",});Planning input plus an optional stopAfter stage selector.
Optional generator service instance. Defaults to a new
BlockGeneratorService.
Throws
Section titled “Throws”Propagates planning, validation, or render failures from
BlockGeneratorService.
Call Signature
Section titled “Call Signature”inspectBlockGeneration(
input,service?):Promise<InspectBlockGenerationPlanResult>
Defined in: wp-typia-project-tools/src/runtime/block-generator-tool-contract.ts:230
Parameters
Section titled “Parameters”InspectBlockGenerationInput & object
service?
Section titled “service?”Returns
Section titled “Returns”Promise<InspectBlockGenerationPlanResult>
Call Signature
Section titled “Call Signature”inspectBlockGeneration(
input,service?):Promise<InspectBlockGenerationValidateResult>
Defined in: wp-typia-project-tools/src/runtime/block-generator-tool-contract.ts:234
Parameters
Section titled “Parameters”InspectBlockGenerationInput & object
service?
Section titled “service?”Returns
Section titled “Returns”Promise<InspectBlockGenerationValidateResult>
Call Signature
Section titled “Call Signature”inspectBlockGeneration(
input,service?):Promise<InspectBlockGenerationRenderResult>
Defined in: wp-typia-project-tools/src/runtime/block-generator-tool-contract.ts:238
Parameters
Section titled “Parameters”InspectBlockGenerationInput & object
service?
Section titled “service?”Returns
Section titled “Returns”Promise<InspectBlockGenerationRenderResult>