{"size": 1002, "ext": "js", "max_stars_repo_path": "src/plugins/VueScreens/store/constants.js", "max_stars_repo_name": "vyushin/vue-screens", "max_stars_repo_stars_event_min_datetime": "2017-06-28T14:40:30.000Z", "max_stars_repo_stars_event_max_datetime": "2017-11-09T15:17:44.000Z", "max_issues_repo_path": "dist/VueScreens/store/constants.js", "max_issues_repo_name": "vyushin/vue-screens", "max_issues_repo_issues_event_min_datetime": "2017-07-03T06:52:09.000Z", "max_issues_repo_issues_event_max_datetime": "2017-08-25T18:16:09.000Z", "max_forks_repo_path": "src/plugins/VueScreens/store/constants.js", "max_forks_repo_name": "vyushin/vue-screens", "max_forks_repo_forks_event_min_datetime": "2017-11-17T07:14:06.000Z", "max_forks_repo_forks_event_max_datetime": "2017-11-17T07:14:06.000Z"}
{"max_stars_count": 6, "max_issues_count": 1, "max_forks_count": 1, "avg_line_length": 31.3125, "max_line_length": 63, "alphanum_fraction": 0.622754491}
import util from '../util';

const   VS_SET_OPTIONS          = 'VueScreens/setOptions',
        VS_GET_OPTIONS          = 'VueScreens/getOptions',
        VS_GET_SCREENS          = 'VueScreens/getScreens',
        VS_RM_SCREENS           = 'VueScreens/rmScreens',
        VS_SET_ACTIVE_SCREEN    = 'VueScreens/setActiveScreen',
        VS_ADD_SCREEN           = 'VueScreens/addScreen',
        VS_REPLACE_SCREENS      = 'VueScreens/replaceScreens',
        VS_SHUFFLE              = 'VueScreens/shuffleScreens';

function getWithoutNamespaces() {
    let result = {};
    Object.keys(this).map(key => {
        let exceptions = ['getWithoutNamespaces'];
        if (util.isFalse(util.inArray(exceptions, key)))
        result[key] = this[key].replace(/^VueScreens\//, '')
    });
    return result;
}

export {
    VS_SET_OPTIONS,
    VS_GET_OPTIONS,
    VS_GET_SCREENS,
    VS_RM_SCREENS,
    VS_SET_ACTIVE_SCREEN,
    VS_ADD_SCREEN,
    VS_REPLACE_SCREENS,
    VS_SHUFFLE,
    getWithoutNamespaces
};