Example

interface
interface Example<TMetadata>

A discovered example with metadata and files.
This is the base type returned by extractors.

Metadata is typed via ExampleMetadata by default, which can be augmented
by running functional-examples generate. You can also pass an explicit
generic parameter for custom typing.

PROPERTIES

NAMETYPEDESCRIPTION
description?stringOptional description
extractorNamestringWhich extractor produced this example
filesExampleFile[]All files belonging to this example
idstringUnique identifier for this example
metadataTMetadataAdditional metadata (loosely typed unless user provides schema)
rootPathstringAbsolute path to the example root (file or directory)
titlestringHuman-readable title