DocumentDecoratorFactory
Home > @backstage/plugin-search-common
> DocumentDecoratorFactory
Factory class for instantiating decorators.
Signature:
export interface DocumentDecoratorFactory
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
types? | readonly | string[] | (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
Method | Description |
---|---|
getDecorator() | Instantiates and resolves a document decorator. |