stack

Home > @infiniteobjects/shopify-data-manager > AdminTypes > ResourceAlertAction

AdminTypes.ResourceAlertAction interface

An action associated to a resource alert, such as editing variants.

Signature:

export interface ResourceAlertAction 

Properties

Property Modifiers Type Description
primary   Scalars[‘Boolean’][‘output’] Whether the action appears as a button or as a link.
show?   Maybe<Scalars[‘String’][‘output’]> (Optional) Resource for the action to show.
title   Scalars[‘String’][‘output’] The text for the button in the alert. For example, _Edit variants_.
url   Scalars[‘URL’][‘output’] The target URL that the button links to.