@shopify/app-bridge-host
Version:
App Bridge Host contains middleware and components that are meant to be consumed by the app's host. The middleware and `Frame` component are responsible for facilitating messages posted between the client and host, and used to act on actions sent from the
21 lines (20 loc) • 771 B
TypeScript
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;
};