frontend-plugin-api: option ordering and export for createExtension types
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
@@ -73,9 +73,9 @@ export interface CreateExtensionOptions<
|
||||
TInputs extends AnyExtensionInputMap,
|
||||
TConfig,
|
||||
> {
|
||||
kind?: string;
|
||||
namespace?: string;
|
||||
name?: string;
|
||||
kind?: string;
|
||||
attachTo: { id: string; input: string };
|
||||
disabled?: boolean;
|
||||
inputs?: TInputs;
|
||||
@@ -91,9 +91,9 @@ export interface CreateExtensionOptions<
|
||||
/** @public */
|
||||
export interface ExtensionDefinition<TConfig> {
|
||||
$$type: '@backstage/ExtensionDefinition';
|
||||
kind?: string;
|
||||
namespace?: string;
|
||||
name?: string;
|
||||
kind?: string;
|
||||
attachTo: { id: string; input: string };
|
||||
disabled: boolean;
|
||||
inputs: AnyExtensionInputMap;
|
||||
|
||||
@@ -22,6 +22,7 @@ export {
|
||||
export {
|
||||
createExtension,
|
||||
type Extension,
|
||||
type ExtensionDefinition,
|
||||
type CreateExtensionOptions,
|
||||
type ExtensionDataValues,
|
||||
type ExtensionInputValues,
|
||||
|
||||
Reference in New Issue
Block a user