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

13 lines (12 loc) 303 B
import { ApiType } from '../BaseType'; import { VIDEO_ENTITY } from './Type'; export const getAllVideo = () => ({ type: ApiType.Dialogram, payload: { meta: { entity: VIDEO_ENTITY, method: "get", url: "/api/user/videos", } } })