fb-test-module
v1.0.35
Published
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
Downloads
10
Readme
TestNpmModule
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
Actions from 'fb-test-module/dist/BaseAction
-Logout
Session
Actions from 'fb-test-module/dist/Session/Actions'
- createSession
- removeSession
Selector from 'fb-test-module/dist/Session/Selector'
- SessionHelper.getSessionStatus
- SessionHelper.getSessionToken
- SessionHelper.getSessionId
- SessionHelper.getSessionUserId
- SessionHelper.getSessionError
User
Actions from 'fb-test-module/dist/User/Actions'
- getUser
- removeUser
Selector from 'fb-test-module/dist/User/Selector'
- UserHelper.getUserId
- UserHelper.getUserStatus
- UserHelper.getUserError
- UserHelper.getUserNickname
- UserHelper.getUserProfile
- UserHelper.getUserEmail
Videos
##Actions from 'fb-test-module/dist/Videos/Actions'
- getAllVideo ##Selector from 'fb-test-module/dist/Videos/Selector'
- VideoHelper.getVideoList