Skip to main content

NodeSchemaOptions Interface

Additional information to provide to Node Schema creation.

Input

This type is "input," meaning that code outside of the library defining it should not read from it. Future versions of this type may add optional members or make typing of members more general.

Signature​

export interface NodeSchemaOptions<out TCustomMetadata = unknown>

Type Parameters​

ParameterDefaultDescription
TCustomMetadataunknownCustom metadata properties to associate with the Node Schema. See custom.

Properties​

PropertyModifiersTypeDescription
metadataoptional, readonlyNodeSchemaMetadata<TCustomMetadata> | undefinedOptional metadata to associate with the Node Schema.

Property Details​

metadata​

Optional metadata to associate with the Node Schema.

Signature​

readonly metadata?: NodeSchemaMetadata<TCustomMetadata> | undefined;

Type: NodeSchemaMetadata<TCustomMetadata> | undefined

Remarks​

This specifies metadata which has more details about its use.