Skip to main content

DocumentDecoratorFactory

Home > @backstage/plugin-search-common > DocumentDecoratorFactory

Factory class for instantiating decorators.

Signature:

export interface DocumentDecoratorFactory 

Properties

PropertyModifiersTypeDescription
types?readonlystring[](Optional) An optional array of document/index types on which this decorator should be applied. If no types are provided, this decorator will be applied to all document/index types.

Methods

MethodDescription
getDecorator()Instantiates and resolves a document decorator.