ExampleMetadata
typetype ExampleMetadata = ExampleMetadataRegistry extends { metadata: infer T }
? T
: Record<string, unknown>;Resolved example metadata type.
If ExampleMetadataRegistry has been augmented with a metadata property,
this resolves to that type. Otherwise, falls back to Record<string, unknown>.
This allows the generate command to provide project-specific types that
automatically apply to all Example types without explicit generic parameters.