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

21 lines (20 loc) 771 B
import { Action } from 'redux'; import { AppInfo, PaginationPayload } from './types'; export declare const SET_PAGINATION = "PRIVATE_APP::TITLEBAR::SET_PAGINATION"; export declare const SET_APP_INFO = "PRIVATE_APP::TITLEBAR::SET_APP_INFO"; export interface SetPaginationAction extends Action { readonly type: typeof SET_PAGINATION; readonly payload: PaginationPayload; } export interface SetAppDetailsAction extends Action { readonly type: typeof SET_APP_INFO; readonly payload: AppInfo; } export declare function setPagination(payload?: PaginationPayload): { type: string; payload: PaginationPayload | undefined; }; export declare function setAppInfo(payload?: Partial<AppInfo>): { type: string; payload: Partial<AppInfo> | undefined; };