fb-test-module
Version:
How to use: ``` import {store, getStore} from 'fb-test-module'; conf.DialogramApi = "API_BASE_URL"; conf.Platform = "mobile"; //use "web" if you are on webApp getStore(); //Inject store in your provider ``` and you'r readyt to go. # Base ## Act
20 lines (19 loc) • 500 B
TypeScript
export declare const SuccessApiCall: (entity: any) => {
type: string;
};
export declare const FailureApiCall: (entity: any, code: any, message: any) => {
type: string;
payload: {
data: {
code: any;
message: any;
};
};
};
export declare const LoadingApiCall: (entity: any) => {
type: string;
};
export declare const setEntity: (action: any, response: any) => any;
export declare const Logout: () => {
type: string;
};