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.
Parameters
Section titled “Parameters”options
Section titled “options”Configuration for locating the project root, source types file/type name, and output artifact paths.
executionOptions?
Section titled “executionOptions?”ArtifactSyncExecutionOptions = {}
Returns
Section titled “Returns”Promise<SyncBlockMetadataResult>
The generated artifact paths plus any lossy WordPress projection or PHP validator coverage warnings discovered during synchronization.