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
18 lines (17 loc) • 450 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
const BaseType_1 = require("../BaseType");
const Type_1 = require("./Type");
exports.getUser = () => ({
type: BaseType_1.ApiType.Dialogram,
payload: {
meta: {
entity: Type_1.USER_ENTITY,
method: "get",
url: "/api/user/"
}
}
});
exports.removeUser = () => ({
type: Type_1.REMOVE_USER,
});
;