UNPKG

@shopify/app-bridge-host

Version:

App Bridge Host contains components and middleware to be consumed by the app's host, as well as the host itself. The middleware and `Frame` component are responsible for facilitating communication between the client and host, and used to act on actions se

11 lines (10 loc) 505 B
import { Action as ActionBase, AnyAction } from 'redux'; import { History, Redirect } from '@shopify/app-bridge-core/actions'; export declare const COMPLETE_ROUTE_UPDATE = "PRIVATE_APP::NAVIGATION::COMPLETE_ROUTE_UPDATE"; export declare function completeRouteUpdate(): { type: string; }; export interface CompleteRouteUpdate extends ActionBase { readonly type: typeof COMPLETE_ROUTE_UPDATE; } export type Action = Redirect.RedirectAction | History.HistoryAction | CompleteRouteUpdate | AnyAction;