Skip to main content
Version: Next

ExtensionBlueprintDefineParams

Home > @backstage/frontend-plugin-api > ExtensionBlueprintDefineParams

A function used to define a parameter mapping function in order to facilitate advanced parameter typing for extension blueprints.

Signature:

export type ExtensionBlueprintDefineParams<TParams extends object = object, TInput = any> = (params: TInput) => ExtensionBlueprintParams<TParams>;

References: ExtensionBlueprintParams

Remarks

This function is primarily intended to enable the use of inferred type parameters for blueprint params, but it can also be used to transoform the params before they are handed ot the blueprint.

The function must return an object created with createExtensionBlueprintParams().