Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface StoreRegistration

Response from store registration which includes metadata and a function to update app cards buttons.

Hierarchy

Index

Properties

clientAPIVersion: string
workspaceVersion: string

Methods

  • Function to updates app card button config.

    example

    Updating primary button title and disabled flag.

    Parameters

    • request: UpdateButtonConfigRequest

      object that contains primary button and secondary buttons configs that will be used to update button configuration returned by provider for an app.

       registration = await Store.register(provider);
      registration.updateAppCardButtons({
      appId: request.payload.appId,
      primaryButton: {
      ...request.payload.sourcePrimaryButton,
      title: "Primary button is now disabled",
      disabled: true
      },
      secondaryButtons: request.payload.sourceSecondaryButtons
      });

    Returns Promise<void>

Generated using TypeDoc