Skip to content

syncBlockMetadata

syncBlockMetadata(options, executionOptions?): Promise<SyncBlockMetadataResult>

Defined in: wp-typia-block-runtime/src/metadata-core.ts:316

Synchronizes block metadata artifacts from a source TypeScript contract.

This updates block.json attributes/examples and emits the related JSON Schema, manifest, OpenAPI, and optional PHP validator artifacts derived from the same source type.

SyncBlockMetadataOptions

Configuration for locating the project root, source types file/type name, and output artifact paths.

ArtifactSyncExecutionOptions = {}

Promise<SyncBlockMetadataResult>

The generated artifact paths plus any lossy WordPress projection or PHP validator coverage warnings discovered during synchronization.