UNPKG

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

15 lines (14 loc) 383 B
"use strict"; 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/" } } });