@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
14 lines (13 loc) • 553 B
TypeScript
import { ApiClientConfig } from './types';
export declare const API_CLIENT_LOAD = "APICLIENT::LOAD";
export declare const API_CLIENT_UNLOAD = "APICLIENT::UNLOAD";
export interface ApiClientLoadAction {
type: typeof API_CLIENT_LOAD;
payload: ApiClientConfig;
}
export interface ApiClientUnloadAction {
type: typeof API_CLIENT_UNLOAD;
payload: ApiClientConfig;
}
export declare function apiClientLoad(payload: ApiClientConfig): ApiClientLoadAction;
export declare function apiClientUnload(payload: ApiClientConfig): ApiClientUnloadAction;