ResolvedExtensionInputs
Home > @backstage/frontend-plugin-api
> ResolvedExtensionInputs
Converts an extension input map into a matching collection of resolved inputs.
Signature:
export type ResolvedExtensionInputs<TInputs extends {
[name in string]: ExtensionInput<any, any>;
}> = {
[InputName in keyof TInputs]: false extends TInputs[InputName]['config']['singleton'] ? Array<Expand<ResolvedExtensionInput<TInputs[InputName]>>> : false extends TInputs[InputName]['config']['optional'] ? Expand<ResolvedExtensionInput<TInputs[InputName]>> : Expand<ResolvedExtensionInput<TInputs[InputName]> | undefined>;
};
References: ExtensionInput, ResolvedExtensionInput