1 | import * as actions from './actions';
|
2 | export { actions };
|
3 | import { AppConfig, ClientApplication } from './client/types';
|
4 | /**
|
5 | * Creates your application instance with validator middleware.
|
6 | * @param config - Both `apiKey` and `shopOrigin` are required.
|
7 | * @remarks
|
8 | * Please note that `forceRedirect` only works in production environment (`shopname.myshopify.com/admin`).
|
9 | * You will need to store `shopOrigin` during the authentication process and then retrieve it for the code
|
10 | * to work properly. To learn more about this process, see
|
11 | * {@link https://help.shopify.com/api/embedded-apps/shop-origin | Getting and storing the shop origin}.
|
12 | * @public
|
13 | */
|
14 | export declare function createApp(config: AppConfig): ClientApplication<any>;
|
15 | export default createApp;
|
16 | export * from './MessageTransport';
|
17 | export * from './client';
|