Example #1
0
import { dep } from 'worona-deps';

export const selectors = {
  get getCssAssets() { return dep('build', 'selectors', 'getCssAssets'); },
  get getThemeName() { return dep('build', 'selectors', 'getThemeName'); },
};

export const actions = {
  get packageAssetFileDownloaded() {
    return dep('build', 'actions', 'packageAssetFileDownloaded');
  },
};

export const store = {
  get history() {
    return dep('build', 'store', 'history');
  },
};
Example #2
0
import { dep } from 'worona-deps';

export const libs = {
  get call() {
    return dep('connection', 'libs', 'call');
  },
  get subscription() {
    return dep('subscriptions', 'libs', 'subscription');
  },
  get push() {
    return dep('router', 'libs', 'push');
  },
};

export const reducerCreators = {
  get collectionCreator() {
    return dep('subscriptions', 'reducerCreators', 'collectionCreator');
  },
  get isReadyCreator() {
    return dep('subscriptions', 'reducerCreators', 'isReadyCreator');
  },
};

export const sagaCreators = {
  get collectionWatcherCreator() {
    return dep('subscriptions', 'sagaCreators', 'collectionWatcherCreator');
  },
  get subscriptionWatcherCreator() {
    return dep('subscriptions', 'sagaCreators', 'subscriptionWatcherCreator');
  },
};
Example #3
0
import { dep } from 'worona-deps';

export const store = {
  get dispatch() {
    return dep('build', 'store', 'dispatch');
  },
};

export const types = {
  get LOGOUT_SUCCEED() {
    return dep('accounts', 'types', 'LOGOUT_SUCCEED');
  },
  get ROUTER_DID_CHANGE() {
    return dep('router', 'types', 'ROUTER_DID_CHANGE');
  },
  get DELETE_SITE_REQUESTED() {
    return dep('sites', 'types', 'DELETE_SITE_REQUESTED');
  },
};

export const actions = {
  get createAccountRequested() {
    return dep('accounts', 'actions', 'createAccountRequested');
  },
  get loginRequested() {
    return dep('accounts', 'actions', 'loginRequested');
  },
  get logoutRequested() {
    return dep('accounts', 'actions', 'logoutRequested');
  },
  get logoutSucceed() {